-
Notifications
You must be signed in to change notification settings - Fork 1.1k
chore: move bigquery-jdbc to top-level module #13249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
fbf70f6
chore(bqjdbc): move bq jdbc to top level
logachev d178c84
Update pom.xml
logachev 513da0a
fix pipelines
logachev 103814b
Add repo-metadata
logachev 670b528
feedback
logachev 2cc9ae6
Change codeowner team
logachev da114ad
feedback
logachev 54fbf6d
Merge branch 'main' into kirl/move_jdbc
logachev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,158 @@ | ||
| # Copyright 2026 Google LLC | ||
| # | ||
| # Licensed under the Apache License, Version 2.0 (the "License"); | ||
| # you may not use this file except in compliance with the License. | ||
| # You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
| # Github action job to test core java library features on | ||
| # downstream client libraries before they are released. | ||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| pull_request: | ||
| name: java-bigquery-jdbc ci | ||
| env: | ||
| BUILD_SUBDIR: java-bigquery-jdbc | ||
| jobs: | ||
| filter: | ||
| runs-on: ubuntu-latest | ||
| outputs: | ||
| library: ${{ steps.filter.outputs.library }} | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1 | ||
| id: filter | ||
| with: | ||
| filters: | | ||
| library: | ||
| - 'java-bigquery/**' | ||
| - 'java-bigquery-jdbc/**' | ||
| - 'java-bigquerystorage/**' | ||
| - '.github/workflows/java-bigquery-jdbc-ci.yaml' | ||
| - 'google-auth-library-java/**/*.java' | ||
| - 'google-auth-library-java/**/pom.xml' | ||
| - 'sdk-platform-java/**/*.java' | ||
| - 'sdk-platform-java/java-shared-dependencies/**/pom.xml' | ||
| - 'sdk-platform-java/gapic-generator-java-pom-parent/pom.xml' | ||
| units: | ||
| needs: filter | ||
| if: ${{ needs.filter.outputs.library == 'true' }} | ||
| runs-on: ubuntu-latest | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| java: [11, 17, 21, 25] | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-java@v4 | ||
| with: | ||
| distribution: temurin | ||
| java-version: ${{matrix.java}} | ||
| - run: java -version | ||
| - run: .kokoro/build.sh | ||
| env: | ||
| JOB_TYPE: test | ||
| units-java8: | ||
| needs: filter | ||
| if: ${{ needs.filter.outputs.library == 'true' }} | ||
| # Building using Java 17 and run the tests with Java 8 runtime | ||
| name: "units (8)" | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-java@v4 | ||
| with: | ||
| java-version: 8 | ||
| distribution: temurin | ||
| - name: "Set jvm system property environment variable for surefire plugin (unit tests)" | ||
| # Maven surefire plugin (unit tests) allows us to specify JVM to run the tests. | ||
| # https://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html#jvm | ||
| run: echo "SUREFIRE_JVM_OPT=-Djvm=${JAVA_HOME}/bin/java -P !java17" >> $GITHUB_ENV | ||
| shell: bash | ||
| - uses: actions/setup-java@v4 | ||
| with: | ||
| java-version: 17 | ||
| distribution: temurin | ||
| - run: .kokoro/build.sh | ||
| env: | ||
| JOB_TYPE: test | ||
| windows: | ||
| needs: filter | ||
| if: ${{ needs.filter.outputs.library == 'true' }} | ||
| runs-on: windows-latest | ||
| steps: | ||
| - name: Support longpaths | ||
| run: git config --system core.longpaths true | ||
| - name: Support longpaths | ||
| run: git config --system core.longpaths true | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-java@v4 | ||
| with: | ||
| distribution: temurin | ||
| java-version: 8 | ||
| - run: java -version | ||
| - run: .kokoro/build.sh | ||
| env: | ||
| JOB_TYPE: test | ||
| dependencies: | ||
| needs: filter | ||
| if: ${{ needs.filter.outputs.library == 'true' }} | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-java@v4 | ||
| with: | ||
| distribution: temurin | ||
| java-version: 17 | ||
| - run: .kokoro/dependencies.sh | ||
| javadoc: | ||
| needs: filter | ||
| if: ${{ needs.filter.outputs.library == 'true' }} | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-java@v4 | ||
| with: | ||
| distribution: temurin | ||
| java-version: 17 | ||
| - run: java -version | ||
| - run: .kokoro/build.sh | ||
| env: | ||
| JOB_TYPE: javadoc | ||
| lint: | ||
| needs: filter | ||
| if: ${{ needs.filter.outputs.library == 'true' }} | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| with: | ||
| fetch-depth: 0 | ||
| - uses: actions/setup-java@v4 | ||
| with: | ||
| distribution: temurin | ||
| java-version: 17 | ||
| - run: java -version | ||
| - run: .kokoro/build.sh | ||
| env: | ||
| JOB_TYPE: lint | ||
| HEAD_SHA: ${{ github.event.pull_request.head.sha || github.sha }} | ||
| BASE_SHA: ${{ github.event.pull_request.base.sha || github.event.before }} | ||
| required: | ||
| needs: [ units, units-java8, windows, dependencies, javadoc, lint ] | ||
| name: conditional-required-check | ||
| if: ${{ always() }} # Always run even if any "needs" jobs fail | ||
| runs-on: ubuntu-22.04 | ||
| steps: | ||
| - name: Fail if any previous failure | ||
| if: ${{ contains(needs.*.result, 'failure') }} | ||
| run: exit 1 | ||
| - name: Success otherwise | ||
| run: echo "Success!" | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| { | ||
| "api_shortname": "bigquery-jdbc", | ||
| "name_pretty": "BigQuery JDBC", | ||
| "product_documentation": "https://cloud.google.com/bigquery", | ||
| "client_documentation": "https://docs.cloud.google.com/bigquery/docs/jdbc-for-bigquery", | ||
| "release_level": "stable", | ||
| "language": "java", | ||
| "min_java_version": 8, | ||
| "repo": "googleapis/google-cloud-java", | ||
| "repo_short": "google-cloud-java", | ||
| "distribution_name": "com.google.cloud:google-cloud-bigquery-jdbc", | ||
| "library_type": "OTHER", | ||
| "codeowner_team": "@googleapis/bigquery-developer-tools-team", | ||
| "recommended_package": "com.google.cloud.bigquery.jdbc" | ||
| } |
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -201,13 +201,16 @@ | |
|
|
||
| <parent> | ||
| <groupId>com.google.cloud</groupId> | ||
| <artifactId>google-cloud-bigquery-parent</artifactId> | ||
| <version>2.67.0-SNAPSHOT</version><!-- {x-version-update:google-cloud-bigquery:current} --> | ||
| <artifactId>google-cloud-jar-parent</artifactId> | ||
| <version>1.87.0-SNAPSHOT</version><!-- {x-version-update:google-cloud-java:current} --> | ||
| <relativePath>../google-cloud-jar-parent/pom.xml</relativePath> | ||
| </parent> | ||
|
|
||
| <dependencies> | ||
| <dependency> | ||
| <groupId>com.google.cloud</groupId> | ||
| <artifactId>google-cloud-bigquery</artifactId> | ||
| <version>2.67.0-SNAPSHOT</version><!-- {x-version-update:google-cloud-bigquery:current} --> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>com.google.cloud</groupId> | ||
|
|
@@ -358,6 +361,7 @@ | |
| <dependency> | ||
| <groupId>org.mockito</groupId> | ||
| <artifactId>mockito-junit-jupiter</artifactId> | ||
| <version>4.11.0</version> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| <scope>test</scope> | ||
| </dependency> | ||
| <dependency> | ||
|
|
@@ -406,6 +410,14 @@ | |
| </build> | ||
| </profile> | ||
|
|
||
| <!-- skip tests if bulkTests profile is enabled (when testing the rest of the monorepo) --> | ||
| <profile> | ||
| <id>bulkTests</id> | ||
| <properties> | ||
| <skipTests>true</skipTests> | ||
| </properties> | ||
| </profile> | ||
|
|
||
| <!-- Profile used inside docker --> | ||
| <profile> | ||
| <id>docker</id> | ||
|
|
||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.