From bc6816e08b45e103eb09c2b9fcd6245d7fb1d5f5 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 19 Oct 2021 18:20:11 +0000 Subject: [PATCH 01/18] chore: release 2.1.6-SNAPSHOT (#558) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- google-cloud-bigqueryconnection-bom/pom.xml | 12 ++++++------ google-cloud-bigqueryconnection/pom.xml | 4 ++-- grpc-google-cloud-bigqueryconnection-v1/pom.xml | 4 ++-- grpc-google-cloud-bigqueryconnection-v1beta1/pom.xml | 4 ++-- pom.xml | 12 ++++++------ proto-google-cloud-bigqueryconnection-v1/pom.xml | 4 ++-- .../pom.xml | 4 ++-- samples/snapshot/pom.xml | 2 +- versions.txt | 10 +++++----- 9 files changed, 28 insertions(+), 28 deletions(-) diff --git a/google-cloud-bigqueryconnection-bom/pom.xml b/google-cloud-bigqueryconnection-bom/pom.xml index cb97b22c..83c6a748 100644 --- a/google-cloud-bigqueryconnection-bom/pom.xml +++ b/google-cloud-bigqueryconnection-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-bigqueryconnection-bom - 2.1.5 + 2.1.6-SNAPSHOT pom com.google.cloud @@ -52,27 +52,27 @@ com.google.cloud google-cloud-bigqueryconnection - 2.1.5 + 2.1.6-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigqueryconnection-v1 - 2.1.5 + 2.1.6-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigqueryconnection-v1beta1 - 0.9.5 + 0.9.6-SNAPSHOT com.google.api.grpc proto-google-cloud-bigqueryconnection-v1 - 2.1.5 + 2.1.6-SNAPSHOT com.google.api.grpc proto-google-cloud-bigqueryconnection-v1beta1 - 0.9.5 + 0.9.6-SNAPSHOT diff --git a/google-cloud-bigqueryconnection/pom.xml b/google-cloud-bigqueryconnection/pom.xml index 5bfaf3cd..7e5ee63d 100644 --- a/google-cloud-bigqueryconnection/pom.xml +++ b/google-cloud-bigqueryconnection/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-bigqueryconnection - 2.1.5 + 2.1.6-SNAPSHOT jar Google Cloud BigQuery Connections https://github.com/googleapis/java-bigqueryconnection @@ -11,7 +11,7 @@ com.google.cloud google-cloud-bigqueryconnection-parent - 2.1.5 + 2.1.6-SNAPSHOT google-cloud-bigqueryconnection diff --git a/grpc-google-cloud-bigqueryconnection-v1/pom.xml b/grpc-google-cloud-bigqueryconnection-v1/pom.xml index 13ef6a07..2cd51237 100644 --- a/grpc-google-cloud-bigqueryconnection-v1/pom.xml +++ b/grpc-google-cloud-bigqueryconnection-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-bigqueryconnection-v1 - 2.1.5 + 2.1.6-SNAPSHOT grpc-google-cloud-bigqueryconnection-v1 GRPC library for grpc-google-cloud-bigqueryconnection-v1 com.google.cloud google-cloud-bigqueryconnection-parent - 2.1.5 + 2.1.6-SNAPSHOT diff --git a/grpc-google-cloud-bigqueryconnection-v1beta1/pom.xml b/grpc-google-cloud-bigqueryconnection-v1beta1/pom.xml index 5abeb9d3..07ca63d5 100644 --- a/grpc-google-cloud-bigqueryconnection-v1beta1/pom.xml +++ b/grpc-google-cloud-bigqueryconnection-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-bigqueryconnection-v1beta1 - 0.9.5 + 0.9.6-SNAPSHOT grpc-google-cloud-bigqueryconnection-v1beta1 GRPC library for grpc-google-cloud-bigqueryconnection-v1beta1 com.google.cloud google-cloud-bigqueryconnection-parent - 2.1.5 + 2.1.6-SNAPSHOT diff --git a/pom.xml b/pom.xml index 54e5af8d..075985ec 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-bigqueryconnection-parent pom - 2.1.5 + 2.1.6-SNAPSHOT Google Cloud BigQuery Connections Parent https://github.com/googleapis/java-bigqueryconnection @@ -62,27 +62,27 @@ com.google.cloud google-cloud-bigqueryconnection - 2.1.5 + 2.1.6-SNAPSHOT com.google.api.grpc proto-google-cloud-bigqueryconnection-v1 - 2.1.5 + 2.1.6-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigqueryconnection-v1 - 2.1.5 + 2.1.6-SNAPSHOT com.google.api.grpc proto-google-cloud-bigqueryconnection-v1beta1 - 0.9.5 + 0.9.6-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigqueryconnection-v1beta1 - 0.9.5 + 0.9.6-SNAPSHOT diff --git a/proto-google-cloud-bigqueryconnection-v1/pom.xml b/proto-google-cloud-bigqueryconnection-v1/pom.xml index 5c74fc9e..5678dbf6 100644 --- a/proto-google-cloud-bigqueryconnection-v1/pom.xml +++ b/proto-google-cloud-bigqueryconnection-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-bigqueryconnection-v1 - 2.1.5 + 2.1.6-SNAPSHOT proto-google-cloud-bigqueryconnection-v1 PROTO library for proto-google-cloud-bigqueryconnection-v1 com.google.cloud google-cloud-bigqueryconnection-parent - 2.1.5 + 2.1.6-SNAPSHOT diff --git a/proto-google-cloud-bigqueryconnection-v1beta1/pom.xml b/proto-google-cloud-bigqueryconnection-v1beta1/pom.xml index b36b035e..6e3ee379 100644 --- a/proto-google-cloud-bigqueryconnection-v1beta1/pom.xml +++ b/proto-google-cloud-bigqueryconnection-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-bigqueryconnection-v1beta1 - 0.9.5 + 0.9.6-SNAPSHOT proto-google-cloud-bigqueryconnection-v1beta1 PROTO library for proto-google-cloud-bigqueryconnection-v1beta1 com.google.cloud google-cloud-bigqueryconnection-parent - 2.1.5 + 2.1.6-SNAPSHOT diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 2f6cfbca..5bb32287 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-bigqueryconnection - 2.1.5 + 2.1.6-SNAPSHOT diff --git a/versions.txt b/versions.txt index 1f53f196..fb1276f6 100644 --- a/versions.txt +++ b/versions.txt @@ -1,8 +1,8 @@ # Format: # module:released-version:current-version -google-cloud-bigqueryconnection:2.1.5:2.1.5 -grpc-google-cloud-bigqueryconnection-v1:2.1.5:2.1.5 -grpc-google-cloud-bigqueryconnection-v1beta1:0.9.5:0.9.5 -proto-google-cloud-bigqueryconnection-v1:2.1.5:2.1.5 -proto-google-cloud-bigqueryconnection-v1beta1:0.9.5:0.9.5 +google-cloud-bigqueryconnection:2.1.5:2.1.6-SNAPSHOT +grpc-google-cloud-bigqueryconnection-v1:2.1.5:2.1.6-SNAPSHOT +grpc-google-cloud-bigqueryconnection-v1beta1:0.9.5:0.9.6-SNAPSHOT +proto-google-cloud-bigqueryconnection-v1:2.1.5:2.1.6-SNAPSHOT +proto-google-cloud-bigqueryconnection-v1beta1:0.9.5:0.9.6-SNAPSHOT From 04ecf5082c35351cc33760faf23dc7e5b3e8546b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 19 Oct 2021 22:41:27 +0200 Subject: [PATCH 02/18] chore(deps): update dependency com.google.cloud:google-cloud-bigqueryconnection to v2.1.5 (#559) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): update dependency com.google.cloud:google-cloud-bigqueryconnection to v2.1.5 * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot --- README.md | 6 +++--- samples/install-without-bom/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 77a40974..96fdbccd 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-bigqueryconnection - 2.1.4 + 2.1.5 ``` @@ -27,13 +27,13 @@ If you are using Maven, add this to your pom.xml file: If you are using Gradle without BOM, add this to your dependencies ```Groovy -implementation 'com.google.cloud:google-cloud-bigqueryconnection:2.1.4' +implementation 'com.google.cloud:google-cloud-bigqueryconnection:2.1.5' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigqueryconnection" % "2.1.4" +libraryDependencies += "com.google.cloud" % "google-cloud-bigqueryconnection" % "2.1.5" ``` ## Authentication diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 68dd7c1b..b7ab295a 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -29,7 +29,7 @@ com.google.cloud google-cloud-bigqueryconnection - 2.1.4 + 2.1.5 diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index e78c5c3f..88933a02 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -40,7 +40,7 @@ com.google.cloud google-cloud-bigqueryconnection - 2.1.4 + 2.1.5 From f784a1a6b086c7225177fe221843be1f2a195444 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 22 Oct 2021 00:12:36 +0200 Subject: [PATCH 03/18] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.2.0 (#561) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `1.1.0` -> `1.2.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.0/compatibility-slim/1.1.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.0/confidence-slim/1.1.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-shared-config ### [`v1.2.0`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​120-httpswwwgithubcomgoogleapisjava-shared-configcomparev110v120-2021-10-21) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.1.0...v1.2.0) ##### Features - Introduce Native Image testing build script changes ([#​1240](https://www.togithub.com/googleapis/java-shared-config/issues/1240)) ([#​334](https://www.togithub.com/googleapis/java-shared-config/issues/334)) ([4643cf1](https://www.github.com/googleapis/java-shared-config/commit/4643cf15be0b37fa8fa905d544d438cda7ef2ecd)) ##### Bug Fixes - **java:** downgrade native maven plugin version ([#​335](https://www.togithub.com/googleapis/java-shared-config/issues/335)) ([5834284](https://www.github.com/googleapis/java-shared-config/commit/5834284176fb34713d10082ce04f3b6abba85ad8))
--- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-bigqueryconnection). --- google-cloud-bigqueryconnection-bom/pom.xml | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/google-cloud-bigqueryconnection-bom/pom.xml b/google-cloud-bigqueryconnection-bom/pom.xml index 83c6a748..5bb8c73b 100644 --- a/google-cloud-bigqueryconnection-bom/pom.xml +++ b/google-cloud-bigqueryconnection-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 1.1.0 + 1.2.0 Google Cloud BigQuery Connections BOM diff --git a/pom.xml b/pom.xml index 075985ec..b8f7323b 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.1.0 + 1.2.0 From 5a8ce2e13aad83d5eb7dba256559238d60a3d89d Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 25 Oct 2021 11:56:55 -0400 Subject: [PATCH 04/18] fix(java): java 17 dependency arguments (#1266) (#562) Source-Link: https://github.com/googleapis/synthtool/commit/cb2755306975de4c54ea549c9deb25703b3731bb Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:a3ac08d167454718ff057b97a1950d3cb5e16fc39fb3f355d90276285a6cac75 Co-authored-by: Owl Bot --- .github/.OwlBot.lock.yaml | 2 +- .kokoro/dependencies.sh | 10 ++++------ 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index dc53bbb5..0df65ebe 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:d4b2141d65566523dfd523f63c6e6899ab1281463bce182a9f600e74b0511875 + digest: sha256:a3ac08d167454718ff057b97a1950d3cb5e16fc39fb3f355d90276285a6cac75 diff --git a/.kokoro/dependencies.sh b/.kokoro/dependencies.sh index 9a5105d7..d7476cfe 100755 --- a/.kokoro/dependencies.sh +++ b/.kokoro/dependencies.sh @@ -38,15 +38,13 @@ function determineMavenOpts() { | sed -E 's/^(1\.[0-9]\.0).*$/\1/g' ) - case $javaVersion in - "17") + if [[ $javaVersion == 17* ]] + then # MaxPermSize is no longer supported as of jdk 17 echo -n "-Xmx1024m" - ;; - *) + else echo -n "-Xmx1024m -XX:MaxPermSize=128m" - ;; - esac + fi } export MAVEN_OPTS=$(determineMavenOpts) From ddb9521ef6bc22553f52b4b4e84a3fe398748649 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 27 Oct 2021 02:46:41 +0200 Subject: [PATCH 05/18] chore(deps): update dependency com.google.cloud:libraries-bom to v24 (#564) --- samples/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 88933a02..84b6c543 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -28,7 +28,7 @@ com.google.cloud libraries-bom - 23.1.0 + 24.0.0 pom import From 97b1b89bab4d1fd3224c1bc94753e352a159f448 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 4 Nov 2021 20:56:28 +0000 Subject: [PATCH 06/18] chore(java): remove pin on Apache Maven 3.8.1 from github actions (#1268) (#565) --- .github/.OwlBot.lock.yaml | 2 +- .github/workflows/ci.yaml | 17 +---------------- 2 files changed, 2 insertions(+), 17 deletions(-) diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index 0df65ebe..5a79fcd5 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:a3ac08d167454718ff057b97a1950d3cb5e16fc39fb3f355d90276285a6cac75 + digest: sha256:ed012741acaae5d03e011244585a1f0625a596d31568967d77772aa5a0a51d5e diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2425d723..d95a11a2 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -12,9 +12,6 @@ jobs: java: [8, 11, 17] steps: - uses: actions/checkout@v2 - - uses: stCarolas/setup-maven@v4 - with: - maven-version: 3.8.1 - uses: actions/setup-java@v2 with: distribution: zulu @@ -27,9 +24,6 @@ jobs: runs-on: windows-latest steps: - uses: actions/checkout@v2 - - uses: stCarolas/setup-maven@v4 - with: - maven-version: 3.8.1 - uses: actions/setup-java@v2 with: distribution: zulu @@ -45,9 +39,6 @@ jobs: java: [8, 11, 17] steps: - uses: actions/checkout@v2 - - uses: stCarolas/setup-maven@v4 - with: - maven-version: 3.8.1 - uses: actions/setup-java@v2 with: distribution: zulu @@ -58,9 +49,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: stCarolas/setup-maven@v4 - with: - maven-version: 3.8.1 - uses: actions/setup-java@v2 with: distribution: zulu @@ -73,9 +61,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: stCarolas/setup-maven@v4 - with: - maven-version: 3.8.1 - uses: actions/setup-java@v2 with: distribution: zulu @@ -83,4 +68,4 @@ jobs: - run: java -version - run: .kokoro/build.sh env: - JOB_TYPE: clirr + JOB_TYPE: clirr \ No newline at end of file From 1ee043401a7404b78882a95629d3e613aa962f86 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Sat, 6 Nov 2021 00:36:23 +0000 Subject: [PATCH 07/18] Update ci.yaml (#1275) (#567) --- .github/.OwlBot.lock.yaml | 2 +- .github/workflows/ci.yaml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index 5a79fcd5..994dd04b 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:ed012741acaae5d03e011244585a1f0625a596d31568967d77772aa5a0a51d5e + digest: sha256:fecf6bd85f19eb046d913982ea36f6d434f9a49ab0545d25e31186aa64367c0c diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d95a11a2..93b337c6 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -8,6 +8,7 @@ jobs: units: runs-on: ubuntu-latest strategy: + fail-fast: false matrix: java: [8, 11, 17] steps: @@ -68,4 +69,4 @@ jobs: - run: java -version - run: .kokoro/build.sh env: - JOB_TYPE: clirr \ No newline at end of file + JOB_TYPE: clirr From eebe70aeee9ef187cd6311d2e06464f5e00377b1 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 8 Nov 2021 21:44:22 +0000 Subject: [PATCH 08/18] chore: cleanup cloud RAD generation (#1269) (#568) --- .github/.OwlBot.lock.yaml | 2 +- .kokoro/release/publish_javadoc11.sh | 10 +++------- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index 994dd04b..325daaa4 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:fecf6bd85f19eb046d913982ea36f6d434f9a49ab0545d25e31186aa64367c0c + digest: sha256:204b7af96e6d481f19b0ff377aa379d46bc56dd06e1cc7c523f361dd9cbfeeaa diff --git a/.kokoro/release/publish_javadoc11.sh b/.kokoro/release/publish_javadoc11.sh index 8aedd277..c455baf4 100755 --- a/.kokoro/release/publish_javadoc11.sh +++ b/.kokoro/release/publish_javadoc11.sh @@ -36,13 +36,9 @@ mvn clean install -B -q -DskipTests=true export NAME=google-cloud-bigqueryconnection export VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3) -# V3 generates docfx yml from javadoc -# generate yml -mvn clean site -B -q -P docFX - -# copy README to docfx-yml dir and rename index.md -cp README.md target/docfx-yml/index.md -# copy CHANGELOG to docfx-yml dir and rename history.md +# cloud RAD generation +mvn clean javadoc:aggregate -B -q -P docFX +# include CHANGELOG cp CHANGELOG.md target/docfx-yml/history.md pushd target/docfx-yml From f86efd16fa81985ed833432265e75bb3d43d2070 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 9 Nov 2021 00:22:14 +0100 Subject: [PATCH 09/18] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.2.1 (#569) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `1.2.0` -> `1.2.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.1/compatibility-slim/1.2.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.1/confidence-slim/1.2.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-shared-config ### [`v1.2.1`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​121-httpswwwgithubcomgoogleapisjava-shared-configcomparev120v121-2021-11-08) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.2.0...v1.2.1)
--- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-bigqueryconnection). --- google-cloud-bigqueryconnection-bom/pom.xml | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/google-cloud-bigqueryconnection-bom/pom.xml b/google-cloud-bigqueryconnection-bom/pom.xml index 5bb8c73b..22916cb5 100644 --- a/google-cloud-bigqueryconnection-bom/pom.xml +++ b/google-cloud-bigqueryconnection-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 1.2.0 + 1.2.1 Google Cloud BigQuery Connections BOM diff --git a/pom.xml b/pom.xml index b8f7323b..d96e101d 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.2.0 + 1.2.1 From f352c2f38fa3ea69aa7fd8f51afd1945095ec93d Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 9 Nov 2021 14:44:12 +0000 Subject: [PATCH 10/18] chore: update jre to 11 for linter (#1278) (#570) --- .github/.OwlBot.lock.yaml | 2 +- .github/workflows/ci.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index 325daaa4..886d0949 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:204b7af96e6d481f19b0ff377aa379d46bc56dd06e1cc7c523f361dd9cbfeeaa + digest: sha256:14ecf64ec36f67c7bf04e3dc0f68eafcc01df3955121c38862b695e2ae7515d8 diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 93b337c6..05de1f60 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -53,7 +53,7 @@ jobs: - uses: actions/setup-java@v2 with: distribution: zulu - java-version: 8 + java-version: 11 - run: java -version - run: .kokoro/build.sh env: From b90c49fda9f29bd4e1c55fece6a0f5fae7c85dcf Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 10 Nov 2021 21:36:25 +0100 Subject: [PATCH 11/18] deps: update dependency com.google.protobuf:protobuf-java-util to v3.19.1 (#560) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.protobuf:protobuf-java-util](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | `3.18.1` -> `3.19.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java-util/3.19.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java-util/3.19.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java-util/3.19.1/compatibility-slim/3.18.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java-util/3.19.1/confidence-slim/3.18.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
protocolbuffers/protobuf ### [`v3.19.1`](https://togithub.com/protocolbuffers/protobuf/releases/v3.19.1) [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v3.19.0...v3.19.1) ### Bazel - Ensure that release archives contain everything needed for Bazel ([#​9131](https://togithub.com/protocolbuffers/protobuf/issues/9131)) - Align dependency handling with Bazel best practices ([#​9165](https://togithub.com/protocolbuffers/protobuf/issues/9165)) ### JavaScript - Fix `ReferenceError: window is not defined` when getting the global object ([#​9156](https://togithub.com/protocolbuffers/protobuf/issues/9156)) ### Ruby - Fix memory leak in MessageClass.encode ([#​9150](https://togithub.com/protocolbuffers/protobuf/issues/9150)) ### [`v3.19.0`](https://togithub.com/protocolbuffers/protobuf/releases/v3.19.0) [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v3.18.1...v3.19.0) ### C++ - Make proto2::Message::DiscardUnknownFields() non-virtual - Separate RepeatedPtrField into its own header file - For default floating point values of 0, consider all bits significant - cmake: support `MSVC_RUNTIME_LIBRARY` property ([#​8851](https://togithub.com/protocolbuffers/protobuf/issues/8851)) - Fix shadowing warnings ([#​8926](https://togithub.com/protocolbuffers/protobuf/issues/8926)) - Fix for issue [#​8484](https://togithub.com/protocolbuffers/protobuf/issues/8484), constant initialization doesn't compile in msvc clang-cl environment ([#​8993](https://togithub.com/protocolbuffers/protobuf/issues/8993)) - Fix build on AIX and SunOS ([#​8373](https://togithub.com/protocolbuffers/protobuf/issues/8373)) ([#​9065](https://togithub.com/protocolbuffers/protobuf/issues/9065)) - Add Android stlport and default toolchains to BUILD. ([#​8290](https://togithub.com/protocolbuffers/protobuf/issues/8290)) ### Java - For default floating point values of 0, consider all bits significant - Annotate `//java/com/google/protobuf/util/...` with nullness annotations - Use ArrayList copy constructor ([#​7853](https://togithub.com/protocolbuffers/protobuf/issues/7853)) ### Kotlin - Switch Kotlin proto DSLs to be implemented with inline value classes - Fixing inlining and deprecation for repeated string fields ([#​9120](https://togithub.com/protocolbuffers/protobuf/issues/9120)) ### Python - Proto2 DecodeError now includes message name in error message - Make MessageToDict convert map keys to strings ([#​8122](https://togithub.com/protocolbuffers/protobuf/issues/8122)) - Add python-requires in setup.py ([#​8989](https://togithub.com/protocolbuffers/protobuf/issues/8989)) - Add python 3.10 ([#​9034](https://togithub.com/protocolbuffers/protobuf/issues/9034)) ### JavaScript - Skip exports if not available by CommonJS ([#​8856](https://togithub.com/protocolbuffers/protobuf/issues/8856)) - JS: Comply with CSP no-unsafe-eval. ([#​8864](https://togithub.com/protocolbuffers/protobuf/issues/8864)) ### PHP - Added "object" as a reserved name for PHP ([#​8962](https://togithub.com/protocolbuffers/protobuf/issues/8962)) ### Ruby - Override Map.clone to use Map's dup method ([#​7938](https://togithub.com/protocolbuffers/protobuf/issues/7938)) - Ruby: build extensions for arm64-darwin ([#​8232](https://togithub.com/protocolbuffers/protobuf/issues/8232)) - Add class method Timestamp.from_time to ruby well known types ([#​8562](https://togithub.com/protocolbuffers/protobuf/issues/8562)) - Adopt pure ruby DSL implementation for JRuby ([#​9047](https://togithub.com/protocolbuffers/protobuf/issues/9047)) - Add size to Map class ([#​8068](https://togithub.com/protocolbuffers/protobuf/issues/8068)) - Fix for descriptor_pb.rb: google/protobuf should be required first ([#​9121](https://togithub.com/protocolbuffers/protobuf/issues/9121)) ### C\# - Correctly set ExtensionRegistry when parsing with MessageParser, but using an already existing CodedInputStream ([#​7246](https://togithub.com/protocolbuffers/protobuf/issues/7246)) - \[C#] Make FieldDescriptor propertyName public ([#​7642](https://togithub.com/protocolbuffers/protobuf/issues/7642))
--- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-bigqueryconnection). --- samples/install-without-bom/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index b7ab295a..e1fac3f7 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -36,7 +36,7 @@ com.google.protobuf protobuf-java-util - 3.18.1 + 3.19.1 junit diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 5bb32287..83e81fc8 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -35,7 +35,7 @@ com.google.protobuf protobuf-java-util - 3.18.1 + 3.19.1 junit diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 84b6c543..5723e980 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -46,7 +46,7 @@ com.google.protobuf protobuf-java-util - 3.18.1 + 3.19.1 junit From 9c72bea05bc1d89cc2bbfd715d5327bba393cae4 Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Wed, 10 Nov 2021 15:53:49 -0500 Subject: [PATCH 12/18] revert "deps: update dependency com.google.protobuf:protobuf-java-util to v3.19.1 (#560)" (#573) This reverts commit b90c49fda9f29bd4e1c55fece6a0f5fae7c85dcf. --- samples/install-without-bom/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index e1fac3f7..b7ab295a 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -36,7 +36,7 @@ com.google.protobuf protobuf-java-util - 3.19.1 + 3.18.1 junit diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 83e81fc8..5bb32287 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -35,7 +35,7 @@ com.google.protobuf protobuf-java-util - 3.19.1 + 3.18.1 junit diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 5723e980..84b6c543 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -46,7 +46,7 @@ com.google.protobuf protobuf-java-util - 3.19.1 + 3.18.1 junit From 439d33c84be1bface3d24390178a32264d2b6e57 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 11 Nov 2021 12:09:06 -0500 Subject: [PATCH 13/18] chore: update Java and Python dependencies (#572) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: update Java and Python dependencies PiperOrigin-RevId: 408420890 Source-Link: https://github.com/googleapis/googleapis/commit/2921f9fb3bfbd16f6b2da0104373e2b47a80a65e Source-Link: https://github.com/googleapis/googleapis-gen/commit/6598ca8cbbf5226733a099c4506518a5af6ff74c Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNjU5OGNhOGNiYmY1MjI2NzMzYTA5OWM0NTA2NTE4YTVhZjZmZjc0YyJ9 * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot --- .../cloud/bigquery/connection/v1/ConnectionServiceGrpc.java | 1 + .../cloud/bigquery/connection/v1beta1/ConnectionServiceGrpc.java | 1 + 2 files changed, 2 insertions(+) diff --git a/grpc-google-cloud-bigqueryconnection-v1/src/main/java/com/google/cloud/bigquery/connection/v1/ConnectionServiceGrpc.java b/grpc-google-cloud-bigqueryconnection-v1/src/main/java/com/google/cloud/bigquery/connection/v1/ConnectionServiceGrpc.java index 8d1cedc3..3c517226 100644 --- a/grpc-google-cloud-bigqueryconnection-v1/src/main/java/com/google/cloud/bigquery/connection/v1/ConnectionServiceGrpc.java +++ b/grpc-google-cloud-bigqueryconnection-v1/src/main/java/com/google/cloud/bigquery/connection/v1/ConnectionServiceGrpc.java @@ -27,6 +27,7 @@ @javax.annotation.Generated( value = "by gRPC proto compiler", comments = "Source: google/cloud/bigquery/connection/v1/connection.proto") +@io.grpc.stub.annotations.GrpcGenerated public final class ConnectionServiceGrpc { private ConnectionServiceGrpc() {} diff --git a/grpc-google-cloud-bigqueryconnection-v1beta1/src/main/java/com/google/cloud/bigquery/connection/v1beta1/ConnectionServiceGrpc.java b/grpc-google-cloud-bigqueryconnection-v1beta1/src/main/java/com/google/cloud/bigquery/connection/v1beta1/ConnectionServiceGrpc.java index cd47a7b2..fed7c438 100644 --- a/grpc-google-cloud-bigqueryconnection-v1beta1/src/main/java/com/google/cloud/bigquery/connection/v1beta1/ConnectionServiceGrpc.java +++ b/grpc-google-cloud-bigqueryconnection-v1beta1/src/main/java/com/google/cloud/bigquery/connection/v1beta1/ConnectionServiceGrpc.java @@ -27,6 +27,7 @@ @javax.annotation.Generated( value = "by gRPC proto compiler", comments = "Source: google/cloud/bigquery/connection/v1beta1/connection.proto") +@io.grpc.stub.annotations.GrpcGenerated public final class ConnectionServiceGrpc { private ConnectionServiceGrpc() {} From e5907fe5b33ebabd17e3a1c6ccbd646c8ffaa217 Mon Sep 17 00:00:00 2001 From: Stephanie Wang Date: Thu, 11 Nov 2021 15:29:25 -0500 Subject: [PATCH 14/18] docs(samples): update AWS sample due to API changes (#576) AwsCrossAccountRole is replaced with AwsAccessRole Fixes #571 --- .../example/bigqueryconnection/CreateAwsConnection.java | 7 ++++--- .../example/bigqueryconnection/CreateAwsConnectionIT.java | 6 +++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/samples/snippets/src/main/java/com/example/bigqueryconnection/CreateAwsConnection.java b/samples/snippets/src/main/java/com/example/bigqueryconnection/CreateAwsConnection.java index 072025b3..f1a76db2 100644 --- a/samples/snippets/src/main/java/com/example/bigqueryconnection/CreateAwsConnection.java +++ b/samples/snippets/src/main/java/com/example/bigqueryconnection/CreateAwsConnection.java @@ -17,6 +17,7 @@ package com.example.bigqueryconnection; // [START bigqueryconnection_create_aws_connection] +import com.google.cloud.bigquery.connection.v1.AwsAccessRole; import com.google.cloud.bigquery.connection.v1.AwsCrossAccountRole; import com.google.cloud.bigquery.connection.v1.AwsProperties; import com.google.cloud.bigquery.connection.v1.Connection; @@ -54,12 +55,12 @@ public static void createAwsConnection( .setConnectionId(connectionId) .build(); Connection response = client.createConnection(request); - AwsCrossAccountRole role = response.getAws().getCrossAccountRole(); + AwsAccessRole role = response.getAws().getAccessRole(); System.out.println( "Aws connection created successfully : Aws userId :" - + role.getIamUserId() + + role.getIamRoleId() + " Aws externalId :" - + role.getExternalId()); + + role.getIdentity()); } } } diff --git a/samples/snippets/src/test/java/com/example/bigqueryconnection/CreateAwsConnectionIT.java b/samples/snippets/src/test/java/com/example/bigqueryconnection/CreateAwsConnectionIT.java index e7dc2d85..f4e1125e 100644 --- a/samples/snippets/src/test/java/com/example/bigqueryconnection/CreateAwsConnectionIT.java +++ b/samples/snippets/src/test/java/com/example/bigqueryconnection/CreateAwsConnectionIT.java @@ -19,7 +19,7 @@ import static com.google.common.truth.Truth.assertThat; import static junit.framework.TestCase.assertNotNull; -import com.google.cloud.bigquery.connection.v1.AwsCrossAccountRole; +import com.google.cloud.bigquery.connection.v1.AwsAccessRole; import com.google.cloud.bigquery.connection.v1.AwsProperties; import com.google.cloud.bigquery.connection.v1.Connection; import java.io.ByteArrayOutputStream; @@ -83,8 +83,8 @@ public void tearDown() throws IOException { @Test public void testCreateAwsConnection() throws IOException { String iamRoleId = String.format("arn:aws:iam::%s:role/%s", AWS_ACCOUNT_ID, AWS_ROLE_ID); - AwsCrossAccountRole role = AwsCrossAccountRole.newBuilder().setIamRoleId(iamRoleId).build(); - AwsProperties awsProperties = AwsProperties.newBuilder().setCrossAccountRole(role).build(); + AwsAccessRole awsRole = AwsAccessRole.newBuilder().setIamRoleId(iamRoleId).build(); + AwsProperties awsProperties = AwsProperties.newBuilder().setAccessRole(awsRole).build(); Connection connection = Connection.newBuilder().setAws(awsProperties).build(); CreateAwsConnection.createAwsConnection(PROJECT_ID, LOCATION, connectionId, connection); assertThat(bout.toString()).contains("Aws connection created successfully :"); From 0d90a26a21d233d0976600af74765134db2f14fe Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 11 Nov 2021 21:16:17 +0000 Subject: [PATCH 15/18] chore: update minimum java version to java 8 (#1281) (#575) --- .github/.OwlBot.lock.yaml | 2 +- README.md | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index 886d0949..5d788be0 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:14ecf64ec36f67c7bf04e3dc0f68eafcc01df3955121c38862b695e2ae7515d8 + digest: sha256:a744afda1956beb7bd6dc8d0b740a7839bbe402e34e2f4ef24589074db53ceb0 diff --git a/README.md b/README.md index 96fdbccd..e9d9110e 100644 --- a/README.md +++ b/README.md @@ -98,7 +98,7 @@ Cloud BigQuery Connection uses gRPC for the transport layer. ## Supported Java Versions -Java 7 or above is required for using this client. +Java 8 or above is required for using this client. Google's Java client libraries, [Google Cloud Client Libraries][cloudlibs] @@ -167,7 +167,6 @@ Apache 2.0 - See [LICENSE][license] for more information. Java Version | Status ------------ | ------ -Java 7 | [![Kokoro CI][kokoro-badge-image-1]][kokoro-badge-link-1] Java 8 | [![Kokoro CI][kokoro-badge-image-2]][kokoro-badge-link-2] Java 8 OSX | [![Kokoro CI][kokoro-badge-image-3]][kokoro-badge-link-3] Java 8 Windows | [![Kokoro CI][kokoro-badge-image-4]][kokoro-badge-link-4] From 8337fff6f67dce7c1d43f7d77fb571e8db4da1e7 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 12 Nov 2021 22:05:54 +0100 Subject: [PATCH 16/18] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v2.5.0 (#577) --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index d96e101d..37f5273d 100644 --- a/pom.xml +++ b/pom.xml @@ -54,7 +54,7 @@ UTF-8 github google-cloud-bigqueryconnection-parent - 2.4.0 + 2.5.0
From a7f2a79e355ae1a176d26aa6092a3c27e142bc5f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 12 Nov 2021 22:07:43 +0100 Subject: [PATCH 17/18] deps: update dependency com.google.protobuf:protobuf-java-util to v3.19.1 (#574) --- samples/install-without-bom/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index b7ab295a..e1fac3f7 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -36,7 +36,7 @@ com.google.protobuf protobuf-java-util - 3.18.1 + 3.19.1 junit diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 5bb32287..83e81fc8 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -35,7 +35,7 @@ com.google.protobuf protobuf-java-util - 3.18.1 + 3.19.1 junit diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 84b6c543..5723e980 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -46,7 +46,7 @@ com.google.protobuf protobuf-java-util - 3.18.1 + 3.19.1 junit From 757704d656a8155afaf0aec0f83ba8f1c6f4494f Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 15 Nov 2021 16:14:29 +0000 Subject: [PATCH 18/18] chore: release 2.1.6 (#563) :robot: I have created a release \*beep\* \*boop\* --- ### [2.1.6](https://www.github.com/googleapis/java-bigqueryconnection/compare/v2.1.5...v2.1.6) (2021-11-12) ### Bug Fixes * **java:** java 17 dependency arguments ([#1266](https://www.github.com/googleapis/java-bigqueryconnection/issues/1266)) ([#562](https://www.github.com/googleapis/java-bigqueryconnection/issues/562)) ([5a8ce2e](https://www.github.com/googleapis/java-bigqueryconnection/commit/5a8ce2e13aad83d5eb7dba256559238d60a3d89d)) ### Documentation * **samples:** update AWS sample due to API changes ([#576](https://www.github.com/googleapis/java-bigqueryconnection/issues/576)) ([e5907fe](https://www.github.com/googleapis/java-bigqueryconnection/commit/e5907fe5b33ebabd17e3a1c6ccbd646c8ffaa217)), closes [#571](https://www.github.com/googleapis/java-bigqueryconnection/issues/571) ### Dependencies * update dependency com.google.cloud:google-cloud-shared-dependencies to v2.5.0 ([#577](https://www.github.com/googleapis/java-bigqueryconnection/issues/577)) ([8337fff](https://www.github.com/googleapis/java-bigqueryconnection/commit/8337fff6f67dce7c1d43f7d77fb571e8db4da1e7)) * update dependency com.google.protobuf:protobuf-java-util to v3.19.1 ([#560](https://www.github.com/googleapis/java-bigqueryconnection/issues/560)) ([b90c49f](https://www.github.com/googleapis/java-bigqueryconnection/commit/b90c49fda9f29bd4e1c55fece6a0f5fae7c85dcf)) * update dependency com.google.protobuf:protobuf-java-util to v3.19.1 ([#574](https://www.github.com/googleapis/java-bigqueryconnection/issues/574)) ([a7f2a79](https://www.github.com/googleapis/java-bigqueryconnection/commit/a7f2a79e355ae1a176d26aa6092a3c27e142bc5f)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- CHANGELOG.md | 19 +++++++++++++++++++ google-cloud-bigqueryconnection-bom/pom.xml | 12 ++++++------ google-cloud-bigqueryconnection/pom.xml | 4 ++-- .../pom.xml | 4 ++-- .../pom.xml | 4 ++-- pom.xml | 12 ++++++------ .../pom.xml | 4 ++-- .../pom.xml | 4 ++-- samples/snapshot/pom.xml | 2 +- versions.txt | 10 +++++----- 10 files changed, 47 insertions(+), 28 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 52ab82b5..b1231dfa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,24 @@ # Changelog +### [2.1.6](https://www.github.com/googleapis/java-bigqueryconnection/compare/v2.1.5...v2.1.6) (2021-11-12) + + +### Bug Fixes + +* **java:** java 17 dependency arguments ([#1266](https://www.github.com/googleapis/java-bigqueryconnection/issues/1266)) ([#562](https://www.github.com/googleapis/java-bigqueryconnection/issues/562)) ([5a8ce2e](https://www.github.com/googleapis/java-bigqueryconnection/commit/5a8ce2e13aad83d5eb7dba256559238d60a3d89d)) + + +### Documentation + +* **samples:** update AWS sample due to API changes ([#576](https://www.github.com/googleapis/java-bigqueryconnection/issues/576)) ([e5907fe](https://www.github.com/googleapis/java-bigqueryconnection/commit/e5907fe5b33ebabd17e3a1c6ccbd646c8ffaa217)), closes [#571](https://www.github.com/googleapis/java-bigqueryconnection/issues/571) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.5.0 ([#577](https://www.github.com/googleapis/java-bigqueryconnection/issues/577)) ([8337fff](https://www.github.com/googleapis/java-bigqueryconnection/commit/8337fff6f67dce7c1d43f7d77fb571e8db4da1e7)) +* update dependency com.google.protobuf:protobuf-java-util to v3.19.1 ([#560](https://www.github.com/googleapis/java-bigqueryconnection/issues/560)) ([b90c49f](https://www.github.com/googleapis/java-bigqueryconnection/commit/b90c49fda9f29bd4e1c55fece6a0f5fae7c85dcf)) +* update dependency com.google.protobuf:protobuf-java-util to v3.19.1 ([#574](https://www.github.com/googleapis/java-bigqueryconnection/issues/574)) ([a7f2a79](https://www.github.com/googleapis/java-bigqueryconnection/commit/a7f2a79e355ae1a176d26aa6092a3c27e142bc5f)) + ### [2.1.5](https://www.github.com/googleapis/java-bigqueryconnection/compare/v2.1.4...v2.1.5) (2021-10-19) diff --git a/google-cloud-bigqueryconnection-bom/pom.xml b/google-cloud-bigqueryconnection-bom/pom.xml index 22916cb5..f0b0df16 100644 --- a/google-cloud-bigqueryconnection-bom/pom.xml +++ b/google-cloud-bigqueryconnection-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-bigqueryconnection-bom - 2.1.6-SNAPSHOT + 2.1.6 pom com.google.cloud @@ -52,27 +52,27 @@ com.google.cloud google-cloud-bigqueryconnection - 2.1.6-SNAPSHOT + 2.1.6 com.google.api.grpc grpc-google-cloud-bigqueryconnection-v1 - 2.1.6-SNAPSHOT + 2.1.6 com.google.api.grpc grpc-google-cloud-bigqueryconnection-v1beta1 - 0.9.6-SNAPSHOT + 0.9.6 com.google.api.grpc proto-google-cloud-bigqueryconnection-v1 - 2.1.6-SNAPSHOT + 2.1.6 com.google.api.grpc proto-google-cloud-bigqueryconnection-v1beta1 - 0.9.6-SNAPSHOT + 0.9.6 diff --git a/google-cloud-bigqueryconnection/pom.xml b/google-cloud-bigqueryconnection/pom.xml index 7e5ee63d..2f41d626 100644 --- a/google-cloud-bigqueryconnection/pom.xml +++ b/google-cloud-bigqueryconnection/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-bigqueryconnection - 2.1.6-SNAPSHOT + 2.1.6 jar Google Cloud BigQuery Connections https://github.com/googleapis/java-bigqueryconnection @@ -11,7 +11,7 @@ com.google.cloud google-cloud-bigqueryconnection-parent - 2.1.6-SNAPSHOT + 2.1.6 google-cloud-bigqueryconnection diff --git a/grpc-google-cloud-bigqueryconnection-v1/pom.xml b/grpc-google-cloud-bigqueryconnection-v1/pom.xml index 2cd51237..f7e9a8c9 100644 --- a/grpc-google-cloud-bigqueryconnection-v1/pom.xml +++ b/grpc-google-cloud-bigqueryconnection-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-bigqueryconnection-v1 - 2.1.6-SNAPSHOT + 2.1.6 grpc-google-cloud-bigqueryconnection-v1 GRPC library for grpc-google-cloud-bigqueryconnection-v1 com.google.cloud google-cloud-bigqueryconnection-parent - 2.1.6-SNAPSHOT + 2.1.6 diff --git a/grpc-google-cloud-bigqueryconnection-v1beta1/pom.xml b/grpc-google-cloud-bigqueryconnection-v1beta1/pom.xml index 07ca63d5..8eac5dd8 100644 --- a/grpc-google-cloud-bigqueryconnection-v1beta1/pom.xml +++ b/grpc-google-cloud-bigqueryconnection-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-bigqueryconnection-v1beta1 - 0.9.6-SNAPSHOT + 0.9.6 grpc-google-cloud-bigqueryconnection-v1beta1 GRPC library for grpc-google-cloud-bigqueryconnection-v1beta1 com.google.cloud google-cloud-bigqueryconnection-parent - 2.1.6-SNAPSHOT + 2.1.6 diff --git a/pom.xml b/pom.xml index 37f5273d..64c3b3c7 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-bigqueryconnection-parent pom - 2.1.6-SNAPSHOT + 2.1.6 Google Cloud BigQuery Connections Parent https://github.com/googleapis/java-bigqueryconnection @@ -62,27 +62,27 @@ com.google.cloud google-cloud-bigqueryconnection - 2.1.6-SNAPSHOT + 2.1.6 com.google.api.grpc proto-google-cloud-bigqueryconnection-v1 - 2.1.6-SNAPSHOT + 2.1.6 com.google.api.grpc grpc-google-cloud-bigqueryconnection-v1 - 2.1.6-SNAPSHOT + 2.1.6 com.google.api.grpc proto-google-cloud-bigqueryconnection-v1beta1 - 0.9.6-SNAPSHOT + 0.9.6 com.google.api.grpc grpc-google-cloud-bigqueryconnection-v1beta1 - 0.9.6-SNAPSHOT + 0.9.6 diff --git a/proto-google-cloud-bigqueryconnection-v1/pom.xml b/proto-google-cloud-bigqueryconnection-v1/pom.xml index 5678dbf6..c9c8ac75 100644 --- a/proto-google-cloud-bigqueryconnection-v1/pom.xml +++ b/proto-google-cloud-bigqueryconnection-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-bigqueryconnection-v1 - 2.1.6-SNAPSHOT + 2.1.6 proto-google-cloud-bigqueryconnection-v1 PROTO library for proto-google-cloud-bigqueryconnection-v1 com.google.cloud google-cloud-bigqueryconnection-parent - 2.1.6-SNAPSHOT + 2.1.6 diff --git a/proto-google-cloud-bigqueryconnection-v1beta1/pom.xml b/proto-google-cloud-bigqueryconnection-v1beta1/pom.xml index 6e3ee379..a566e486 100644 --- a/proto-google-cloud-bigqueryconnection-v1beta1/pom.xml +++ b/proto-google-cloud-bigqueryconnection-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-bigqueryconnection-v1beta1 - 0.9.6-SNAPSHOT + 0.9.6 proto-google-cloud-bigqueryconnection-v1beta1 PROTO library for proto-google-cloud-bigqueryconnection-v1beta1 com.google.cloud google-cloud-bigqueryconnection-parent - 2.1.6-SNAPSHOT + 2.1.6 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 83e81fc8..6e66ee0b 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-bigqueryconnection - 2.1.6-SNAPSHOT + 2.1.6 diff --git a/versions.txt b/versions.txt index fb1276f6..9d6db569 100644 --- a/versions.txt +++ b/versions.txt @@ -1,8 +1,8 @@ # Format: # module:released-version:current-version -google-cloud-bigqueryconnection:2.1.5:2.1.6-SNAPSHOT -grpc-google-cloud-bigqueryconnection-v1:2.1.5:2.1.6-SNAPSHOT -grpc-google-cloud-bigqueryconnection-v1beta1:0.9.5:0.9.6-SNAPSHOT -proto-google-cloud-bigqueryconnection-v1:2.1.5:2.1.6-SNAPSHOT -proto-google-cloud-bigqueryconnection-v1beta1:0.9.5:0.9.6-SNAPSHOT +google-cloud-bigqueryconnection:2.1.6:2.1.6 +grpc-google-cloud-bigqueryconnection-v1:2.1.6:2.1.6 +grpc-google-cloud-bigqueryconnection-v1beta1:0.9.6:0.9.6 +proto-google-cloud-bigqueryconnection-v1:2.1.6:2.1.6 +proto-google-cloud-bigqueryconnection-v1beta1:0.9.6:0.9.6