From 38a097536e325d28801cba9f36a1f0aba9ff6daa Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 30 Apr 2021 15:28:03 +0000 Subject: [PATCH 01/15] chore: release 1.24.1-SNAPSHOT (#791) :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-bigtable-bom/pom.xml | 14 +++++++------- google-cloud-bigtable-deps-bom/pom.xml | 2 +- google-cloud-bigtable-emulator/pom.xml | 8 ++++---- google-cloud-bigtable/pom.xml | 10 +++++----- grpc-google-cloud-bigtable-admin-v2/pom.xml | 8 ++++---- grpc-google-cloud-bigtable-v2/pom.xml | 8 ++++---- pom.xml | 2 +- proto-google-cloud-bigtable-admin-v2/pom.xml | 8 ++++---- proto-google-cloud-bigtable-v2/pom.xml | 8 ++++---- samples/snapshot/pom.xml | 2 +- versions.txt | 12 ++++++------ 11 files changed, 41 insertions(+), 41 deletions(-) diff --git a/google-cloud-bigtable-bom/pom.xml b/google-cloud-bigtable-bom/pom.xml index 24394f95ee..550e3a9793 100644 --- a/google-cloud-bigtable-bom/pom.xml +++ b/google-cloud-bigtable-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-bigtable-bom - 1.24.0 + 1.24.1-SNAPSHOT pom com.google.cloud @@ -72,32 +72,32 @@ com.google.cloud google-cloud-bigtable - 1.24.0 + 1.24.1-SNAPSHOT com.google.cloud google-cloud-bigtable-emulator - 0.133.0 + 0.133.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigtable-admin-v2 - 1.24.0 + 1.24.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigtable-v2 - 1.24.0 + 1.24.1-SNAPSHOT com.google.api.grpc proto-google-cloud-bigtable-admin-v2 - 1.24.0 + 1.24.1-SNAPSHOT com.google.api.grpc proto-google-cloud-bigtable-v2 - 1.24.0 + 1.24.1-SNAPSHOT diff --git a/google-cloud-bigtable-deps-bom/pom.xml b/google-cloud-bigtable-deps-bom/pom.xml index f13908c63f..31405c16b5 100644 --- a/google-cloud-bigtable-deps-bom/pom.xml +++ b/google-cloud-bigtable-deps-bom/pom.xml @@ -12,7 +12,7 @@ com.google.cloud google-cloud-bigtable-deps-bom - 1.24.0 + 1.24.1-SNAPSHOT pom diff --git a/google-cloud-bigtable-emulator/pom.xml b/google-cloud-bigtable-emulator/pom.xml index a9d94b24b5..fa376175cc 100644 --- a/google-cloud-bigtable-emulator/pom.xml +++ b/google-cloud-bigtable-emulator/pom.xml @@ -5,7 +5,7 @@ 4.0.0 google-cloud-bigtable-emulator - 0.133.0 + 0.133.1-SNAPSHOT Google Cloud Java - Bigtable Emulator https://github.com/googleapis/java-bigtable @@ -14,7 +14,7 @@ com.google.cloud google-cloud-bigtable-parent - 1.24.0 + 1.24.1-SNAPSHOT scm:git:git@github.com:googleapis/java-bigtable.git @@ -80,14 +80,14 @@ com.google.cloud google-cloud-bigtable-deps-bom - 1.24.0 + 1.24.1-SNAPSHOT pom import com.google.cloud google-cloud-bigtable-bom - 1.24.0 + 1.24.1-SNAPSHOT pom import diff --git a/google-cloud-bigtable/pom.xml b/google-cloud-bigtable/pom.xml index 62e2882463..4623f6b521 100644 --- a/google-cloud-bigtable/pom.xml +++ b/google-cloud-bigtable/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-bigtable - 1.24.0 + 1.24.1-SNAPSHOT jar Google Cloud Bigtable https://github.com/googleapis/java-bigtable @@ -12,11 +12,11 @@ com.google.cloud google-cloud-bigtable-parent - 1.24.0 + 1.24.1-SNAPSHOT - 1.24.0 + 1.24.1-SNAPSHOT google-cloud-bigtable @@ -39,14 +39,14 @@ com.google.cloud google-cloud-bigtable-deps-bom - 1.24.0 + 1.24.1-SNAPSHOT pom import com.google.cloud google-cloud-bigtable-bom - 1.24.0 + 1.24.1-SNAPSHOT pom import diff --git a/grpc-google-cloud-bigtable-admin-v2/pom.xml b/grpc-google-cloud-bigtable-admin-v2/pom.xml index f98e32a91e..480fa7c29b 100644 --- a/grpc-google-cloud-bigtable-admin-v2/pom.xml +++ b/grpc-google-cloud-bigtable-admin-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-bigtable-admin-v2 - 1.24.0 + 1.24.1-SNAPSHOT grpc-google-cloud-bigtable-admin-v2 GRPC library for grpc-google-cloud-bigtable-admin-v2 com.google.cloud google-cloud-bigtable-parent - 1.24.0 + 1.24.1-SNAPSHOT @@ -18,14 +18,14 @@ com.google.cloud google-cloud-bigtable-deps-bom - 1.24.0 + 1.24.1-SNAPSHOT pom import com.google.cloud google-cloud-bigtable-bom - 1.24.0 + 1.24.1-SNAPSHOT pom import diff --git a/grpc-google-cloud-bigtable-v2/pom.xml b/grpc-google-cloud-bigtable-v2/pom.xml index 64117825d9..a46e67fb53 100644 --- a/grpc-google-cloud-bigtable-v2/pom.xml +++ b/grpc-google-cloud-bigtable-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-bigtable-v2 - 1.24.0 + 1.24.1-SNAPSHOT grpc-google-cloud-bigtable-v2 GRPC library for grpc-google-cloud-bigtable-v2 com.google.cloud google-cloud-bigtable-parent - 1.24.0 + 1.24.1-SNAPSHOT @@ -18,14 +18,14 @@ com.google.cloud google-cloud-bigtable-deps-bom - 1.24.0 + 1.24.1-SNAPSHOT pom import com.google.cloud google-cloud-bigtable-bom - 1.24.0 + 1.24.1-SNAPSHOT pom import diff --git a/pom.xml b/pom.xml index 9ba6059b3f..5bbf708f42 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ google-cloud-bigtable-parent pom - 1.24.0 + 1.24.1-SNAPSHOT Google Cloud Bigtable Parent https://github.com/googleapis/java-bigtable diff --git a/proto-google-cloud-bigtable-admin-v2/pom.xml b/proto-google-cloud-bigtable-admin-v2/pom.xml index 6e5614579d..f7be73fe20 100644 --- a/proto-google-cloud-bigtable-admin-v2/pom.xml +++ b/proto-google-cloud-bigtable-admin-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-bigtable-admin-v2 - 1.24.0 + 1.24.1-SNAPSHOT proto-google-cloud-bigtable-admin-v2 PROTO library for proto-google-cloud-bigtable-admin-v2 com.google.cloud google-cloud-bigtable-parent - 1.24.0 + 1.24.1-SNAPSHOT @@ -18,14 +18,14 @@ com.google.cloud google-cloud-bigtable-deps-bom - 1.24.0 + 1.24.1-SNAPSHOT pom import com.google.cloud google-cloud-bigtable-bom - 1.24.0 + 1.24.1-SNAPSHOT pom import diff --git a/proto-google-cloud-bigtable-v2/pom.xml b/proto-google-cloud-bigtable-v2/pom.xml index 3ee74ae8ab..f6b5cdf71d 100644 --- a/proto-google-cloud-bigtable-v2/pom.xml +++ b/proto-google-cloud-bigtable-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-bigtable-v2 - 1.24.0 + 1.24.1-SNAPSHOT proto-google-cloud-bigtable-v2 PROTO library for proto-google-cloud-bigtable-v2 com.google.cloud google-cloud-bigtable-parent - 1.24.0 + 1.24.1-SNAPSHOT @@ -18,14 +18,14 @@ com.google.cloud google-cloud-bigtable-deps-bom - 1.24.0 + 1.24.1-SNAPSHOT pom import com.google.cloud google-cloud-bigtable-bom - 1.24.0 + 1.24.1-SNAPSHOT pom import diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index c31da14890..df08435bea 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-bigtable - 1.24.0 + 1.24.1-SNAPSHOT diff --git a/versions.txt b/versions.txt index 78e11ad7ee..d5a31f6b1c 100644 --- a/versions.txt +++ b/versions.txt @@ -1,9 +1,9 @@ # Format: # module:released-version:current-version -google-cloud-bigtable:1.24.0:1.24.0 -grpc-google-cloud-bigtable-admin-v2:1.24.0:1.24.0 -grpc-google-cloud-bigtable-v2:1.24.0:1.24.0 -proto-google-cloud-bigtable-admin-v2:1.24.0:1.24.0 -proto-google-cloud-bigtable-v2:1.24.0:1.24.0 -google-cloud-bigtable-emulator:0.133.0:0.133.0 +google-cloud-bigtable:1.24.0:1.24.1-SNAPSHOT +grpc-google-cloud-bigtable-admin-v2:1.24.0:1.24.1-SNAPSHOT +grpc-google-cloud-bigtable-v2:1.24.0:1.24.1-SNAPSHOT +proto-google-cloud-bigtable-admin-v2:1.24.0:1.24.1-SNAPSHOT +proto-google-cloud-bigtable-v2:1.24.0:1.24.1-SNAPSHOT +google-cloud-bigtable-emulator:0.133.0:0.133.1-SNAPSHOT From 7662edff42b24d0734a6894d3b4385120a060deb Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 30 Apr 2021 20:20:03 +0200 Subject: [PATCH 02/15] chore(deps): update dependency com.google.cloud:google-cloud-bigtable to v1.24.0 (#792) [![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-bigtable](https://togithub.com/googleapis/java-bigtable) | `1.23.2` -> `1.24.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-bigtable/1.24.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-bigtable/1.24.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-bigtable/1.24.0/compatibility-slim/1.23.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-bigtable/1.24.0/confidence-slim/1.23.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-bigtable ### [`v1.24.0`](https://togithub.com/googleapis/java-bigtable/blob/master/CHANGELOG.md#​1240-httpswwwgithubcomgoogleapisjava-bigtablecomparev1232v1240-2021-04-30) [Compare Source](https://togithub.com/googleapis/java-bigtable/compare/v1.23.2...v1.24.0) ##### Features - allow restore backup to different instance ([#​515](https://www.github.com/googleapis/java-bigtable/issues/515)) ([8a5e60e](https://www.github.com/googleapis/java-bigtable/commit/8a5e60e8ed116d36810cc4059539228768726912)), closes [#​789](https://www.github.com/googleapis/java-bigtable/issues/789) ##### [1.23.2](https://www.github.com/googleapis/java-bigtable/compare/v1.23.1...v1.23.2) (2021-04-23) ##### Dependencies - update dependency com.google.cloud:google-cloud-shared-dependencies to v1 ([#​781](https://www.github.com/googleapis/java-bigtable/issues/781)) ([dbf856f](https://www.github.com/googleapis/java-bigtable/commit/dbf856f93942cbec48433821da8e5a96e61a9d7e)) ##### [1.23.1](https://www.github.com/googleapis/java-bigtable/compare/v1.23.0...v1.23.1) (2021-04-20) ##### Bug Fixes - **docs:** correct docs for CUSTOMER_MANAGED_ENCRYPTION ([#​737](https://www.github.com/googleapis/java-bigtable/issues/737)) ([b3bb7f7](https://www.github.com/googleapis/java-bigtable/commit/b3bb7f77610e48e849766a6e9dbacb98fc3f9811)) ##### Dependencies - update dependency com.google.cloud:google-cloud-shared-dependencies to v0.21.1 ([#​741](https://www.github.com/googleapis/java-bigtable/issues/741)) ([cfdd0cd](https://www.github.com/googleapis/java-bigtable/commit/cfdd0cd760f9273e644cddc492d9c4d5327498e7))
--- ### Configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- 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-bigtable). --- samples/install-without-bom/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index de27513b5a..cc0f3cd084 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -29,7 +29,7 @@ com.google.cloud google-cloud-bigtable - 1.23.2 + 1.24.0 From f7c7f0cd76354714ea104ad2857ebd4ef7f87d5f Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 30 Apr 2021 13:16:03 -0700 Subject: [PATCH 03/15] chore: regenerate README (#786) This PR was generated using Autosynth. :rainbow:
Log from Synthtool ``` 2021-04-27 14:20:21,220 synthtool [DEBUG] > Executing /root/.cache/synthtool/java-bigtable/.github/readme/synth.py. On branch autosynth-readme nothing to commit, working tree clean 2021-04-27 14:20:22,546 synthtool [DEBUG] > Wrote metadata to .github/readme/synth.metadata/synth.metadata. ```
Full log will be available here: https://source.cloud.google.com/results/invocations/ead04954-9102-4cbb-8720-2984bae7e8a9/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) --- .github/readme/synth.metadata/synth.metadata | 4 ++-- README.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/readme/synth.metadata/synth.metadata b/.github/readme/synth.metadata/synth.metadata index 3e84f801da..62b79a1327 100644 --- a/.github/readme/synth.metadata/synth.metadata +++ b/.github/readme/synth.metadata/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-bigtable.git", - "sha": "ae6a61063a5b640d70fd7d4444cd199066f7c8e3" + "sha": "b3aa17d4dca7e0d3af48718014a2c95c7cab12c4" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "5a6f30b8bb7672cf237c4f75d5aa96bfba170e7f" + "sha": "6244244abd0da5ef750e3bbb63fa22ec6803b4db" } } ] diff --git a/README.md b/README.md index 866f55f8fc..66daf645b9 100644 --- a/README.md +++ b/README.md @@ -51,12 +51,12 @@ compile 'com.google.cloud:google-cloud-bigtable' ``` If you are using Gradle without BOM, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-bigtable:1.23.1' +compile 'com.google.cloud:google-cloud-bigtable:1.23.2' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigtable" % "1.23.1" +libraryDependencies += "com.google.cloud" % "google-cloud-bigtable" % "1.23.2" ``` ## Authentication From d2935856e3c70f2bb3a8215db6647e7d62ed947a Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 30 Apr 2021 13:34:06 -0700 Subject: [PATCH 04/15] chore: regenerate README (#793) This PR was generated using Autosynth. :rainbow:
Log from Synthtool ``` 2021-04-30 20:18:26,463 synthtool [DEBUG] > Executing /root/.cache/synthtool/java-bigtable/.github/readme/synth.py. On branch autosynth-readme nothing to commit, working tree clean 2021-04-30 20:18:27,798 synthtool [DEBUG] > Wrote metadata to .github/readme/synth.metadata/synth.metadata. ```
Full log will be available here: https://source.cloud.google.com/results/invocations/aecdb662-a1e5-450d-bfaa-6a47ce55bc74/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) --- .github/readme/synth.metadata/synth.metadata | 4 ++-- README.md | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/readme/synth.metadata/synth.metadata b/.github/readme/synth.metadata/synth.metadata index 62b79a1327..612f90b253 100644 --- a/.github/readme/synth.metadata/synth.metadata +++ b/.github/readme/synth.metadata/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-bigtable.git", - "sha": "b3aa17d4dca7e0d3af48718014a2c95c7cab12c4" + "sha": "f7c7f0cd76354714ea104ad2857ebd4ef7f87d5f" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "6244244abd0da5ef750e3bbb63fa22ec6803b4db" + "sha": "06a8cd0ff7e81b05e6c503eab510ec622384caa7" } } ] diff --git a/README.md b/README.md index 66daf645b9..3f5f61e2af 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file com.google.cloud libraries-bom - 20.1.0 + 20.2.0 pom import @@ -38,25 +38,25 @@ If you are using Maven without BOM, add this to your dependencies: com.google.cloud google-cloud-bigtable - 1.23.1 + 1.24.0 ``` If you are using Gradle 5.x or later, add this to your dependencies ```Groovy -implementation platform('com.google.cloud:libraries-bom:20.1.0') +implementation platform('com.google.cloud:libraries-bom:20.2.0') compile 'com.google.cloud:google-cloud-bigtable' ``` If you are using Gradle without BOM, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-bigtable:1.23.2' +compile 'com.google.cloud:google-cloud-bigtable:1.24.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigtable" % "1.23.2" +libraryDependencies += "com.google.cloud" % "google-cloud-bigtable" % "1.24.0" ``` ## Authentication From 0016c9cd41be53829c9f1202ffd123c2e1b01f0b Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 3 May 2021 16:36:53 -0700 Subject: [PATCH 05/15] build(java): switch to release-please for release tagging (#795) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/365e70b4-7159-4e70-a1b0-64c8c145bd28/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) --- .github/release-please.yml | 3 ++- synth.metadata | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/release-please.yml b/.github/release-please.yml index dce2c84509..8ca7f9cabc 100644 --- a/.github/release-please.yml +++ b/.github/release-please.yml @@ -1,2 +1,3 @@ +bumpMinorPreMajor: true +handleGHRelease: true releaseType: java-yoshi -bumpMinorPreMajor: true \ No newline at end of file diff --git a/synth.metadata b/synth.metadata index 08240b29c8..74b12b4f16 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-bigtable.git", - "sha": "b3bb7f77610e48e849766a6e9dbacb98fc3f9811" + "sha": "d2935856e3c70f2bb3a8215db6647e7d62ed947a" } }, { From be81ef8f0a07ec776f50511ba4086d5d3737f071 Mon Sep 17 00:00:00 2001 From: Emily Ball Date: Tue, 4 May 2021 18:04:09 -0700 Subject: [PATCH 06/15] chore: cloud-rad doc generation (#794) * chore: cloud-rad doc generation * chore: remove config --- .kokoro/release/publish_javadoc11.sh | 2 +- pom.xml | 33 ++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 1 deletion(-) diff --git a/.kokoro/release/publish_javadoc11.sh b/.kokoro/release/publish_javadoc11.sh index 48d59447b6..c8184c2b58 100755 --- a/.kokoro/release/publish_javadoc11.sh +++ b/.kokoro/release/publish_javadoc11.sh @@ -38,7 +38,7 @@ export VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3) # V3 generates docfx yml from javadoc # generate yml -mvn clean site -B -q -P docFX +mvn clean javadoc:aggregate-jar -B -q -P docFX # copy README to docfx-yml dir and rename index.md cp README.md target/docfx-yml/index.md diff --git a/pom.xml b/pom.xml index 5bbf708f42..0958e1ec78 100644 --- a/pom.xml +++ b/pom.xml @@ -286,6 +286,39 @@ + + + docFX + + + + org.apache.maven.plugins + maven-javadoc-plugin + 3.2.0 + + com.microsoft.doclet.DocFxDoclet + false + ${env.KOKORO_GFILE_DIR}/docfx-doclet-1.0-SNAPSHOT-jar-with-dependencies-172556.jar + + -outputpath ${project.build.directory}/docfx-yml + + -excludeclasses com\.google\.cloud\.bigtable\.admin\.v2\.internal\.:com\.google\.cloud\.bigtable\.admin\.v2\.BaseBigtableInstanceAdminClient:com\.google\.cloud\.bigtable\.admin\.v2\.BaseBigtableInstanceAdminSettings:com\.google\.cloud\.bigtable\.admin\.v2\.stub\.GrpcBigtableInstanceAdminCallableFactory:com\.google\.cloud\.bigtable\.admin\.v2\.stub\.GrpcBigtableInstanceAdminStub:com\.google\.cloud\.bigtable\.admin\.v2\.stub\.BigtableInstanceAdminStub:com\.google\.cloud\.bigtable\.admin\.v2\.BaseBigtableTableAdminClient:com\.google\.cloud\.bigtable\.admin\.v2\.BaseBigtableTableAdminSettings:com\.google\.cloud\.bigtable\.admin\.v2\.stub\.GrpcBigtableTableAdminCallableFactory:com\.google\.cloud\.bigtable\.admin\.v2\.stub\.GrpcBigtableTableAdminStub:com\.google\.cloud\.bigtable\.admin\.v2\.stub\.BigtableTableAdminStub:com\.google\.cloud\.bigtable\.admin\.v2\.stub\.EnhancedBigtableTableAdminStub:com\.google\.cloud\.bigtable\.data\.v2\.internal\.:com\.google\.cloud\.bigtable\.data\.v2\.BaseBigtableDataClient:com\.google\.cloud\.bigtable\.data\.v2\.BaseBigtableDataSettings:com\.google\.cloud\.bigtable\.data\.v2\.stub\.BigtableStub:com\.google\.cloud\.bigtable\.data\.v2\.stub\.BigtableStubSettings:com\.google\.cloud\.bigtable\.data\.v2\.stub\.GrpcBigtableStub:com\.google\.cloud\.bigtable\.data\.v2\.stub\.GrpcBigtableCallableFactory:com\.google\.cloud\.bigtable\.data\.v2\.stub\.EnhancedBigtableStub:com\.google\.cloud\.bigtable\.data\.v2\.stub\.mutaterows\.:com\.google\.cloud\.bigtable\.data\.v2\.stub\.readrows\.:com\.google\.cloud\.bigtable\.data\.v2\.stub\.metrics\. + + + + + aggregate + + aggregate + + + + + + + + + proto-google-cloud-bigtable-v2 grpc-google-cloud-bigtable-v2 From 83e0e8cf2cdbc143c10ce0f8b053096d61d5686f Mon Sep 17 00:00:00 2001 From: Mattie Fu Date: Thu, 6 May 2021 17:03:39 -0400 Subject: [PATCH 07/15] fix: fix flaky test (#798) --- .../v2/stub/DynamicFlowControlCallableTest.java | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/DynamicFlowControlCallableTest.java b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/DynamicFlowControlCallableTest.java index 426bcdc7c1..4db1f5a31f 100644 --- a/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/DynamicFlowControlCallableTest.java +++ b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/DynamicFlowControlCallableTest.java @@ -39,6 +39,7 @@ import java.util.Map; import java.util.concurrent.Future; import java.util.concurrent.TimeUnit; +import java.util.concurrent.atomic.AtomicBoolean; import org.junit.Before; import org.junit.Rule; import org.junit.Test; @@ -268,19 +269,30 @@ public ApiFuture> futureCall( private void createFlowControlEvent(final FlowController flowController) throws Exception { flowController.reserve(INITIAL_ELEMENT, 0); + final AtomicBoolean threadStarted = new AtomicBoolean(false); Thread t = new Thread( new Runnable() { @Override public void run() { try { + threadStarted.set(true); flowController.reserve(1, 0); } catch (Exception e) { } } }); t.start(); - Thread.sleep(10); + // Wait 5 seconds for the thread to start, and 50 milliseconds after it's started to make sure + // flowController.reserve(1, 0) is blocked and creates a throttling event. It should never take + // so long. + for (int i = 0; i < 1000; i++) { + if (threadStarted.get()) { + break; + } + Thread.sleep(5); + } + Thread.sleep(50); flowController.release(INITIAL_ELEMENT, 0); t.join(); flowController.release(1, 0); From 04f8ad463d1fa9efe0ab941ee5f3d0794baed814 Mon Sep 17 00:00:00 2001 From: Igor Bernstein Date: Fri, 7 May 2021 10:43:25 -0400 Subject: [PATCH 08/15] fix: filter limit constant (#787) * fix: filter limit constant Should 20 KB not 20 MB * fix test --- .../com/google/cloud/bigtable/data/v2/models/Query.java | 6 +++--- .../com/google/cloud/bigtable/data/v2/models/QueryTest.java | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/Query.java b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/Query.java index 765fa01205..986a0ca1a5 100644 --- a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/Query.java +++ b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/Query.java @@ -43,8 +43,8 @@ public final class Query implements Serializable { private static final long serialVersionUID = -316972783499434755L; - // bigtable can server the largest filter size of 20MB. - private static final int MAX_FILTER_SIZE = 20 * 1024 * 1024; + // bigtable can server the largest filter size of 20KB. + private static final int MAX_FILTER_SIZE = 20 * 1024; private final String tableId; private transient ReadRowsRequest.Builder builder = ReadRowsRequest.newBuilder(); @@ -170,7 +170,7 @@ public Query filter(Filters.Filter filter) { RowFilter rowFilter = filter.toProto(); Preconditions.checkArgument( - rowFilter.getSerializedSize() < MAX_FILTER_SIZE, "filter size can't be more than 20MB"); + rowFilter.getSerializedSize() < MAX_FILTER_SIZE, "filter size can't be more than 20KB"); builder.setFilter(rowFilter); return this; diff --git a/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/models/QueryTest.java b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/models/QueryTest.java index bf6abcd168..a6204890b4 100644 --- a/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/models/QueryTest.java +++ b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/models/QueryTest.java @@ -123,7 +123,7 @@ public void filterTestWithExceptions() { assertThat(actualException).isInstanceOf(NullPointerException.class); actualException = null; - int maxFilterSize = 20 * 1024 * 1024; + int maxFilterSize = 20 * 1024; ByteString largeValue = ByteString.copyFrom(new byte[maxFilterSize + 1]); try { @@ -131,7 +131,7 @@ public void filterTestWithExceptions() { } catch (Exception ex) { actualException = ex; } - assertThat(actualException).hasMessageThat().contains("filter size can't be more than 20MB"); + assertThat(actualException).hasMessageThat().contains("filter size can't be more than 20KB"); } @Test From 7a03622dadbe8abecf6b3e15ded4e327207532ae Mon Sep 17 00:00:00 2001 From: Igor Bernstein Date: Mon, 10 May 2021 10:07:30 -0400 Subject: [PATCH 09/15] chore(test): improve resource handling in tests (#801) * chore(test): improve resource handling in tests * fix resource cleanup: time based resource cleanup expected a prefix followed by a number, but some tests inserted a string in between which would prevent clean. Now all prefixes are generated in a single place * fix cleanup contention: concurrent tests will try to cleanup resources at the same time. Mitigate this by swallowing not found error * fix concurrent test runs: the prefix was based on time only, which would causes tests running in the same second to clobber each other * optimize backup test to only create a single new instance * shorten clean up of backups * tweaks * reverse logic in cross instance restore --- .../admin/v2/it/BigtableBackupIT.java | 210 +++++++--------- .../bigtable/admin/v2/it/BigtableCmekIT.java | 3 +- .../v2/it/BigtableInstanceAdminClientIT.java | 11 +- .../v2/it/BigtableTableAdminClientIT.java | 2 +- .../bigtable/data/v2/it/BulkMutateIT.java | 16 +- .../test_helpers/env/AbstractTestEnv.java | 230 +++++++++++++++--- 6 files changed, 293 insertions(+), 179 deletions(-) diff --git a/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/it/BigtableBackupIT.java b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/it/BigtableBackupIT.java index 94bbfa1ab1..f0591ca6c7 100644 --- a/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/it/BigtableBackupIT.java +++ b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/it/BigtableBackupIT.java @@ -21,8 +21,7 @@ import static io.grpc.Status.Code.NOT_FOUND; import static org.junit.Assert.fail; -import com.google.api.core.ApiFuture; -import com.google.api.core.ApiFutures; +import com.google.api.gax.batching.Batcher; import com.google.api.gax.rpc.ApiException; import com.google.cloud.Policy; import com.google.cloud.bigtable.admin.v2.BigtableInstanceAdminClient; @@ -38,11 +37,10 @@ import com.google.cloud.bigtable.admin.v2.models.Table; import com.google.cloud.bigtable.admin.v2.models.UpdateBackupRequest; import com.google.cloud.bigtable.data.v2.BigtableDataClient; -import com.google.cloud.bigtable.data.v2.models.RowMutation; -import com.google.cloud.bigtable.test_helpers.env.AbstractTestEnv; +import com.google.cloud.bigtable.data.v2.models.RowMutationEntry; import com.google.cloud.bigtable.test_helpers.env.EmulatorEnv; import com.google.cloud.bigtable.test_helpers.env.TestEnvRule; -import com.google.common.collect.Lists; +import com.google.common.base.Stopwatch; import com.google.protobuf.ByteString; import io.grpc.StatusRuntimeException; import java.io.IOException; @@ -52,7 +50,10 @@ import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; import java.util.logging.Logger; -import org.junit.*; +import org.junit.AfterClass; +import org.junit.BeforeClass; +import org.junit.ClassRule; +import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; import org.threeten.bp.Duration; @@ -60,56 +61,36 @@ @RunWith(JUnit4.class) public class BigtableBackupIT { - @ClassRule public static TestEnvRule testEnvRule = new TestEnvRule(); + @ClassRule public static final TestEnvRule testEnvRule = new TestEnvRule(); private static final Logger LOGGER = Logger.getLogger(BigtableBackupIT.class.getName()); private static final int[] BACKOFF_DURATION = {2, 4, 8, 16, 32, 64, 128, 256, 512, 1024}; - private static final String TEST_TABLE_SUFFIX = "test-table-for-backup-it"; - private static final String TEST_BACKUP_SUFFIX = "test-backup-for-backup-it"; - private static BigtableTableAdminClient tableAdmin; private static BigtableInstanceAdminClient instanceAdmin; private static BigtableDataClient dataClient; - private static String targetInstance; private static String targetCluster; private static Table testTable; - private static String prefix; @BeforeClass - public static void createClient() - throws IOException, InterruptedException, ExecutionException, TimeoutException { + public static void setUpClass() throws InterruptedException { assume() .withMessage("BigtableInstanceAdminClient is not supported on Emulator") .that(testEnvRule.env()) .isNotInstanceOf(EmulatorEnv.class); + tableAdmin = testEnvRule.env().getTableAdminClient(); instanceAdmin = testEnvRule.env().getInstanceAdminClient(); + dataClient = testEnvRule.env().getDataClient(); - targetCluster = AbstractTestEnv.TEST_CLUSTER_PREFIX + Instant.now().getEpochSecond(); - targetInstance = - AbstractTestEnv.TEST_INSTANCE_PREFIX + "backup-" + Instant.now().getEpochSecond(); - - instanceAdmin.createInstance( - CreateInstanceRequest.of(targetInstance) - .addCluster(targetCluster, testEnvRule.env().getPrimaryZone(), 3, StorageType.SSD) - .setDisplayName("backups-test-instance") - .addLabel("state", "readytodelete") - .setType(Type.PRODUCTION)); - - // Setup a prefix to avoid collisions between concurrent test runs - prefix = String.format("020%d", System.currentTimeMillis()); - - tableAdmin = testEnvRule.env().getTableAdminClientForInstance(targetInstance); - dataClient = testEnvRule.env().getDataClientForInstance(targetInstance); - + targetCluster = testEnvRule.env().getPrimaryClusterId(); testTable = createAndPopulateTestTable(tableAdmin, dataClient); } @AfterClass - public static void closeClient() { + public static void tearDownClass() { if (testTable != null) { try { tableAdmin.deleteTable(testTable.getId()); @@ -117,32 +98,13 @@ public static void closeClient() { // Ignore. } } - - if (targetInstance != null) { - instanceAdmin.deleteInstance(targetInstance); - } - - if (tableAdmin != null) { - tableAdmin.close(); - } - - if (dataClient != null) { - dataClient.close(); - } - } - - @Before - public void setup() { - if (tableAdmin == null) { - throw new AssumptionViolatedException( - "Required properties are not set, skipping integration tests."); - } } @Test - public void createAndGetBackupTest() throws InterruptedException { - Instant expireTime = Instant.now().plus(Duration.ofDays(15)); - String backupId = generateId(TEST_BACKUP_SUFFIX); + public void createAndGetBackupTest() { + String backupId = testEnvRule.env().newPrefix(); + Instant expireTime = Instant.now().plus(Duration.ofHours(6)); + CreateBackupRequest request = CreateBackupRequest.of(targetCluster, backupId) .setSourceTableId(testTable.getId()) @@ -185,9 +147,9 @@ public void createAndGetBackupTest() throws InterruptedException { } @Test - public void listBackupTest() throws InterruptedException { - String backupId1 = generateId("list-1-" + TEST_BACKUP_SUFFIX); - String backupId2 = generateId("list-2-" + TEST_BACKUP_SUFFIX); + public void listBackupTest() { + String backupId1 = testEnvRule.env().newPrefix(); + String backupId2 = testEnvRule.env().newPrefix(); try { tableAdmin.createBackup(createBackupRequest(backupId1)); @@ -206,8 +168,8 @@ public void listBackupTest() throws InterruptedException { } @Test - public void updateBackupTest() throws InterruptedException { - String backupId = generateId("update-" + TEST_BACKUP_SUFFIX); + public void updateBackupTest() { + String backupId = testEnvRule.env().newPrefix(); tableAdmin.createBackup(createBackupRequest(backupId)); Instant expireTime = Instant.now().plus(Duration.ofDays(20)); @@ -223,7 +185,7 @@ public void updateBackupTest() throws InterruptedException { @Test public void deleteBackupTest() throws InterruptedException { - String backupId = generateId("delete-" + TEST_BACKUP_SUFFIX); + String backupId = testEnvRule.env().newPrefix(); tableAdmin.createBackup(createBackupRequest(backupId)); tableAdmin.deleteBackup(targetCluster, backupId); @@ -248,8 +210,8 @@ public void deleteBackupTest() throws InterruptedException { @Test public void restoreTableTest() throws InterruptedException, ExecutionException { - String backupId = generateId("restore-" + TEST_BACKUP_SUFFIX); - String restoredTableId = generateId("restored-table"); + String backupId = testEnvRule.env().newPrefix(); + String restoredTableId = testEnvRule.env().newPrefix() + "-restore"; tableAdmin.createBackup(createBackupRequest(backupId)); // Wait 2 minutes so that the RestoreTable API will trigger an optimize restored @@ -282,62 +244,65 @@ public void restoreTableTest() throws InterruptedException, ExecutionException { @Test public void crossInstanceRestoreTest() throws InterruptedException, IOException, ExecutionException, TimeoutException { - String backupId = generateId("cross-" + TEST_BACKUP_SUFFIX); - String restoredTableId = generateId("restored-table-2"); - - // Set up a new instance to test cross-instance restore. The source backup is stored in this - // instance. - String sourceInstance = - AbstractTestEnv.TEST_INSTANCE_PREFIX + "backup-" + Instant.now().getEpochSecond(); - String sourceCluster = AbstractTestEnv.TEST_CLUSTER_PREFIX + Instant.now().getEpochSecond(); + String backupId = testEnvRule.env().newPrefix(); + String restoredTableId = testEnvRule.env().newPrefix(); + + // Create the backup + tableAdmin.createBackup( + CreateBackupRequest.of(targetCluster, backupId) + .setSourceTableId(testTable.getId()) + .setExpireTime(Instant.now().plus(Duration.ofHours(6)))); + + Stopwatch stopwatch = Stopwatch.createStarted(); + + // Set up a new instance to test cross-instance restore. The backup will be restored here + String targetInstance = testEnvRule.env().newPrefix(); instanceAdmin.createInstance( - CreateInstanceRequest.of(sourceInstance) - .addCluster(sourceCluster, testEnvRule.env().getSecondaryZone(), 3, StorageType.SSD) - .setDisplayName("backups-source-test-instance") + CreateInstanceRequest.of(targetInstance) + .addCluster(targetInstance, testEnvRule.env().getSecondaryZone(), 1, StorageType.SSD) + .setDisplayName("backups-dest-test-instance") .addLabel("state", "readytodelete") .setType(Type.PRODUCTION)); - BigtableTableAdminClient sourceTableAdmin = - testEnvRule.env().getTableAdminClientForInstance(sourceInstance); - Table sourceTable = - createAndPopulateTestTable( - sourceTableAdmin, testEnvRule.env().getDataClientForInstance(sourceInstance)); - sourceTableAdmin.createBackup( - CreateBackupRequest.of(sourceCluster, backupId) - .setSourceTableId(sourceTable.getId()) - .setExpireTime(Instant.now().plus(Duration.ofHours(6)))); - // Wait 2 minutes so that the RestoreTable API will trigger an optimize restored - // table operation. - Thread.sleep(120 * 1000); + try (BigtableTableAdminClient destTableAdmin = + testEnvRule.env().getTableAdminClientForInstance(targetInstance)) { - try { - RestoreTableRequest req = - RestoreTableRequest.of(sourceInstance, sourceCluster, backupId) - .setTableId(restoredTableId); - RestoredTableResult result = tableAdmin.restoreTable(req); - assertWithMessage("Incorrect restored table id") - .that(result.getTable().getId()) - .isEqualTo(restoredTableId); - assertWithMessage("Incorrect instance id") - .that(result.getTable().getInstanceId()) - .isEqualTo(targetInstance); - - // The assertion might be missing if the test is running against a HDD cluster or an - // optimization is not necessary. - assertWithMessage("Empty OptimizeRestoredTable token") - .that(result.getOptimizeRestoredTableOperationToken()) - .isNotNull(); - tableAdmin.awaitOptimizeRestoredTable(result.getOptimizeRestoredTableOperationToken()); - tableAdmin.getTable(restoredTableId); - } finally { - sourceTableAdmin.deleteBackup(sourceCluster, backupId); - instanceAdmin.deleteInstance(sourceInstance); + // Wait 2 minutes so that the RestoreTable API will trigger an optimize restored + // table operation. + Thread.sleep( + Duration.ofMinutes(2) + .minus(Duration.ofMillis(stopwatch.elapsed(TimeUnit.MILLISECONDS))) + .toMillis()); + + try { + RestoreTableRequest req = + RestoreTableRequest.of(testEnvRule.env().getInstanceId(), targetCluster, backupId) + .setTableId(restoredTableId); + RestoredTableResult result = destTableAdmin.restoreTable(req); + assertWithMessage("Incorrect restored table id") + .that(result.getTable().getId()) + .isEqualTo(restoredTableId); + assertWithMessage("Incorrect instance id") + .that(result.getTable().getInstanceId()) + .isEqualTo(targetInstance); + + // The assertion might be missing if the test is running against a HDD cluster or an + // optimization is not necessary. + assertWithMessage("Empty OptimizeRestoredTable token") + .that(result.getOptimizeRestoredTableOperationToken()) + .isNotNull(); + destTableAdmin.awaitOptimizeRestoredTable(result.getOptimizeRestoredTableOperationToken()); + destTableAdmin.getTable(restoredTableId); + } finally { + tableAdmin.deleteBackup(targetCluster, backupId); + instanceAdmin.deleteInstance(targetInstance); + } } } @Test - public void backupIamTest() throws InterruptedException { - String backupId = generateId("iam-" + TEST_BACKUP_SUFFIX); + public void backupIamTest() { + String backupId = testEnvRule.env().newPrefix(); try { tableAdmin.createBackup(createBackupRequest(backupId)); @@ -373,31 +338,24 @@ private CreateBackupRequest createBackupRequest(String backupId) { .setExpireTime(Instant.now().plus(Duration.ofDays(15))); } - private static String generateId(String name) { - return prefix + "-" + name; - } - private static Table createAndPopulateTestTable( BigtableTableAdminClient tableAdmin, BigtableDataClient dataClient) - throws InterruptedException, ExecutionException, TimeoutException { - Table testTable = - tableAdmin.createTable( - CreateTableRequest.of(generateId(TEST_TABLE_SUFFIX)).addFamily("cf1")); + throws InterruptedException { + String tableId = testEnvRule.env().newPrefix(); + Table testTable = tableAdmin.createTable(CreateTableRequest.of(tableId).addFamily("cf1")); // Populate test data. byte[] rowBytes = new byte[1024]; Random random = new Random(); random.nextBytes(rowBytes); - List> futures = Lists.newArrayList(); - for (int i = 0; i < 10; i++) { - ApiFuture future = - dataClient.mutateRowAsync( - RowMutation.create(testTable.getId(), "test-row-" + i) - .setCell("cf1", ByteString.EMPTY, ByteString.copyFrom(rowBytes))); - futures.add(future); + try (Batcher batcher = dataClient.newBulkMutationBatcher(tableId)) { + for (int i = 0; i < 10; i++) { + batcher.add( + RowMutationEntry.create("test-row-" + i) + .setCell("cf1", ByteString.EMPTY, ByteString.copyFrom(rowBytes))); + } } - ApiFutures.allAsList(futures).get(3, TimeUnit.MINUTES); return testTable; } } diff --git a/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/it/BigtableCmekIT.java b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/it/BigtableCmekIT.java index 60af52d6bd..5e0e75564a 100644 --- a/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/it/BigtableCmekIT.java +++ b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/it/BigtableCmekIT.java @@ -33,7 +33,6 @@ import com.google.cloud.bigtable.admin.v2.models.StorageType; import com.google.cloud.bigtable.common.Status; import com.google.cloud.bigtable.common.Status.Code; -import com.google.cloud.bigtable.test_helpers.env.AbstractTestEnv; import com.google.cloud.bigtable.test_helpers.env.EmulatorEnv; import com.google.cloud.bigtable.test_helpers.env.TestEnvRule; import com.google.common.collect.ImmutableSet; @@ -89,7 +88,7 @@ public static void validatePlatform() throws IOException { assertThat(kmsKeyName).isNotNull(); assertThat(kmsKeyName).isNotEmpty(); - instanceId = AbstractTestEnv.TEST_INSTANCE_PREFIX + Instant.now().getEpochSecond(); + instanceId = testEnvRule.env().newPrefix(); clusterId1 = instanceId + "-c1"; clusterId2 = instanceId + "-c2"; clusterId3 = instanceId + "-c3"; diff --git a/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/it/BigtableInstanceAdminClientIT.java b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/it/BigtableInstanceAdminClientIT.java index 9b41444c7f..67a3a01362 100644 --- a/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/it/BigtableInstanceAdminClientIT.java +++ b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/it/BigtableInstanceAdminClientIT.java @@ -15,7 +15,6 @@ */ package com.google.cloud.bigtable.admin.v2.it; -import static com.google.cloud.bigtable.test_helpers.env.AbstractTestEnv.TEST_APP_PREFIX; import static com.google.common.truth.Truth.assertThat; import static com.google.common.truth.Truth.assertWithMessage; import static com.google.common.truth.TruthJUnit.assume; @@ -32,7 +31,6 @@ import com.google.cloud.bigtable.admin.v2.models.StorageType; import com.google.cloud.bigtable.admin.v2.models.UpdateAppProfileRequest; import com.google.cloud.bigtable.admin.v2.models.UpdateInstanceRequest; -import com.google.cloud.bigtable.test_helpers.env.AbstractTestEnv; import com.google.cloud.bigtable.test_helpers.env.EmulatorEnv; import com.google.cloud.bigtable.test_helpers.env.TestEnvRule; import java.util.List; @@ -42,7 +40,6 @@ import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; -import org.threeten.bp.Instant; @RunWith(JUnit4.class) public class BigtableInstanceAdminClientIT { @@ -69,7 +66,7 @@ public void setUp() { @Test public void appProfileTest() { - String testAppProfile = TEST_APP_PREFIX + Instant.now().getEpochSecond(); + String testAppProfile = testEnvRule.env().newPrefix(); AppProfile newlyCreatedAppProfile = client.createAppProfile( @@ -118,8 +115,8 @@ public void iamUpdateTest() { /** To optimize test run time, instance & cluster creation is tested at the same time */ @Test public void instanceAndClusterCreationDeletionTest() { - String newInstanceId = AbstractTestEnv.TEST_INSTANCE_PREFIX + Instant.now().getEpochSecond(); - String newClusterId = newInstanceId + "-c1"; + String newInstanceId = testEnvRule.env().newPrefix(); + String newClusterId = newInstanceId; client.createInstance( CreateInstanceRequest.of(newInstanceId) @@ -155,7 +152,7 @@ public void instanceAndClusterCreationDeletionTest() { // This will avoid the need to copy any existing tables and will also reduce flakiness in case a // previous run failed to clean up a cluster in the secondary zone. private void clusterCreationDeletionTestHelper(String newInstanceId) { - String newClusterId = AbstractTestEnv.TEST_CLUSTER_PREFIX + Instant.now().getEpochSecond(); + String newClusterId = testEnvRule.env().newPrefix(); boolean isClusterDeleted = false; client.createCluster( CreateClusterRequest.of(newInstanceId, newClusterId) diff --git a/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/it/BigtableTableAdminClientIT.java b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/it/BigtableTableAdminClientIT.java index 2dc64b6407..7bfee9ead9 100644 --- a/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/it/BigtableTableAdminClientIT.java +++ b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/it/BigtableTableAdminClientIT.java @@ -61,7 +61,7 @@ public class BigtableTableAdminClientIT { @Before public void setUp() { tableAdmin = testEnvRule.env().getTableAdminClient(); - tableId = testEnvRule.env().generateTableId(testNameRule.getMethodName()); + tableId = testEnvRule.env().newPrefix(); } @After diff --git a/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it/BulkMutateIT.java b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it/BulkMutateIT.java index 402efd7b90..612cd7435a 100644 --- a/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it/BulkMutateIT.java +++ b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it/BulkMutateIT.java @@ -21,11 +21,13 @@ import com.google.api.gax.batching.FlowControlEventStats; import com.google.cloud.bigtable.data.v2.BigtableDataClient; import com.google.cloud.bigtable.data.v2.BigtableDataSettings; +import com.google.cloud.bigtable.data.v2.models.BulkMutation; import com.google.cloud.bigtable.data.v2.models.Query; import com.google.cloud.bigtable.data.v2.models.Row; import com.google.cloud.bigtable.data.v2.models.RowMutationEntry; import com.google.cloud.bigtable.test_helpers.env.TestEnvRule; import java.io.IOException; +import java.util.Objects; import java.util.UUID; import org.junit.ClassRule; import org.junit.Test; @@ -44,12 +46,14 @@ public void test() throws IOException, InterruptedException { // Set target latency really low so it'll trigger adjusting thresholds BigtableDataSettings.Builder builder = settings.toBuilder().enableBatchMutationLatencyBasedThrottling(2L); - BigtableDataClient client = BigtableDataClient.create(builder.build()); - BatcherImpl batcher = - (BatcherImpl) client.newBulkMutationBatcher(testEnvRule.env().getTableId()); - try { + + try (BigtableDataClient client = BigtableDataClient.create(builder.build()); + BatcherImpl batcher = + (BatcherImpl) + client.newBulkMutationBatcher(testEnvRule.env().getTableId())) { FlowControlEventStats events = batcher.getFlowController().getFlowControlEventStats(); - long initialThreashold = batcher.getFlowController().getCurrentElementCountLimit(); + long initialThreashold = + Objects.requireNonNull(batcher.getFlowController().getCurrentElementCountLimit()); assertThat(batcher.getFlowController().getCurrentElementCountLimit()) .isNotEqualTo(batcher.getFlowController().getMinElementCountLimit()); assertThat(batcher.getFlowController().getCurrentElementCountLimit()) @@ -77,8 +81,6 @@ public void test() throws IOException, InterruptedException { Query.create(testEnvRule.env().getTableId()) .rowKey(rowPrefix + "test-key" + initial)); assertThat(row.getCells()).hasSize(1); - } finally { - batcher.close(); } } } diff --git a/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/test_helpers/env/AbstractTestEnv.java b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/test_helpers/env/AbstractTestEnv.java index 02b972ba48..b3c25db169 100644 --- a/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/test_helpers/env/AbstractTestEnv.java +++ b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/test_helpers/env/AbstractTestEnv.java @@ -15,6 +15,8 @@ */ package com.google.cloud.bigtable.test_helpers.env; +import com.google.api.core.ApiFuture; +import com.google.api.gax.rpc.NotFoundException; import com.google.cloud.bigtable.admin.v2.BigtableInstanceAdminClient; import com.google.cloud.bigtable.admin.v2.BigtableInstanceAdminSettings; import com.google.cloud.bigtable.admin.v2.BigtableTableAdminClient; @@ -25,9 +27,16 @@ import com.google.cloud.bigtable.data.v2.BigtableDataClient; import com.google.cloud.bigtable.data.v2.BigtableDataSettings; import com.google.common.base.MoreObjects; +import com.google.common.base.Preconditions; import com.google.common.collect.ImmutableList; import java.io.IOException; +import java.util.ArrayList; +import java.util.HashMap; import java.util.List; +import java.util.Map; +import java.util.Random; +import java.util.concurrent.ExecutionException; +import java.util.concurrent.atomic.AtomicInteger; import org.threeten.bp.Instant; import org.threeten.bp.temporal.ChronoUnit; @@ -38,10 +47,16 @@ */ public abstract class AbstractTestEnv { + /** + * Used for temporary resources created in tests. It will be combined with timestamp and a counter + * to create unique names which can be garbage collected. + */ private static final String PREFIX = "temp-"; - public static final String TEST_INSTANCE_PREFIX = "temp-instance-"; - public static final String TEST_CLUSTER_PREFIX = "temp-cluster-"; - public static final String TEST_APP_PREFIX = "temp-Ap-"; + + private static final AtomicInteger prefixCounter = new AtomicInteger(0); + private static final int SUFFIX = new Random().nextInt(Integer.MAX_VALUE); + + private String primaryClusterId = null; public enum ConnectionMode { DEFAULT, @@ -75,6 +90,38 @@ public abstract BigtableTableAdminClient getTableAdminClientForInstance(String i public abstract String getInstanceId(); + /** Try to guess the primary cluster id */ + public synchronized String getPrimaryClusterId() { + if (primaryClusterId != null) { + return primaryClusterId; + } + + List clusters = getInstanceAdminClient().listClusters(getInstanceId()); + Map byId = new HashMap<>(); + for (Cluster cluster : clusters) { + byId.put(cluster.getId(), cluster); + } + + Cluster cluster = null; + + cluster = byId.get(getInstanceId()); + if (cluster == null) { + // gcloud-devel setup + cluster = byId.get(getInstanceId() + "-cluster"); + } + if (cluster == null) { + cluster = byId.get(getInstanceId() + "-c0"); + } + primaryClusterId = + Preconditions.checkNotNull( + cluster, + "Failed to guess the primary cluster for projects/%s/instances/%s", + getProjectId(), + getInstanceId()) + .getId(); + return primaryClusterId; + } + public abstract String getTableId(); public abstract String getKmsKeyName(); @@ -83,16 +130,18 @@ public String getFamilyId() { return "cf"; } - public String generateTableId(String suffix) { - return newPrefix() + "-" + suffix; - } - - private static String newPrefix() { + public String newPrefix() { return newPrefix(Instant.now()); } private static String newPrefix(Instant instant) { - return String.format(PREFIX + "015%d", instant.getEpochSecond()); + // Sortable resource prefix - time, process identifier, serial counterck + return String.format( + "%s-%x-%x", newTimePrefix(instant), SUFFIX, prefixCounter.getAndIncrement()); + } + + private static String newTimePrefix(Instant instant) { + return String.format(PREFIX + "08%x", instant.getEpochSecond()); } public boolean isInstanceAdminSupported() { @@ -127,57 +176,166 @@ public List getMultipleZonesInSameRegion() { return ImmutableList.of("us-east1-b", "us-east1-c"); } - void cleanUpStale() { - cleanupStaleTables(); + void cleanUpStale() throws ExecutionException, InterruptedException, IOException { + String stalePrefix = newPrefix(Instant.now().minus(1, ChronoUnit.DAYS)); + + cleanupStaleTables(stalePrefix); if (isInstanceAdminSupported()) { - cleanUpStaleAppProfile(); - cleanUpStaleClusters(); - cleanUpStaleInstances(); + cleanUpStaleAppProfile(stalePrefix); + cleanUpStaleClusters(stalePrefix); + cleanUpStaleInstances(stalePrefix); } } - private void cleanupStaleTables() { - String stalePrefix = newPrefix(Instant.now().minus(1, ChronoUnit.DAYS)); - + /** + * Clean up AppProfile that were dynamically created in the default instance that have been + * orphaned. + * + * @param stalePrefix + */ + private void cleanupStaleTables(String stalePrefix) { for (String tableId : getTableAdminClient().listTables()) { if (!tableId.startsWith(PREFIX)) { continue; } if (stalePrefix.compareTo(tableId) > 0) { - getTableAdminClient().deleteTable(tableId); + try { + getTableAdminClient().deleteTable(tableId); + } catch (NotFoundException ignored) { + + } } } } - private void cleanUpStaleAppProfile() { - String staleAPPattern = TEST_APP_PREFIX + Instant.now().minus(1, ChronoUnit.DAYS); - + /** + * Clean up AppProfile that were dynamically created in the default instance that have been + * orphaned. + * + * @param stalePrefix + */ + private void cleanUpStaleAppProfile(String stalePrefix) { for (AppProfile appProfile : getInstanceAdminClient().listAppProfiles(getInstanceId())) { - String appProfileId = appProfile.getId(); - if (appProfileId.startsWith(staleAPPattern) && staleAPPattern.compareTo(appProfileId) > 0) { - getInstanceAdminClient().deleteAppProfile(getInstanceId(), appProfileId, true); + if (!appProfile.getId().startsWith(PREFIX)) { + continue; + } + boolean isNewerThanStale = appProfile.getId().compareTo(stalePrefix) > 0; + if (isNewerThanStale) { + continue; + } + try { + getInstanceAdminClient().deleteAppProfile(getInstanceId(), appProfile.getId(), true); + } catch (NotFoundException ignored) { + } } } - private void cleanUpStaleClusters() { - String staleClusterId = TEST_CLUSTER_PREFIX + Instant.now().minus(1, ChronoUnit.DAYS); - + /** + * Clean up clusters that were dynamically created in the default instance that have been + * orphaned. + * + * @param stalePrefix + */ + private void cleanUpStaleClusters(String stalePrefix) + throws ExecutionException, InterruptedException { for (Cluster cluster : getInstanceAdminClient().listClusters(getInstanceId())) { - String clusterId = cluster.getId(); - if (clusterId.startsWith(staleClusterId) && staleClusterId.compareTo(clusterId) > 0) { - getInstanceAdminClient().deleteCluster(getInstanceId(), clusterId); + if (!cluster.getId().startsWith(PREFIX)) { + continue; + } + boolean isNewerThanStale = cluster.getId().compareTo(stalePrefix) > 0; + if (isNewerThanStale) { + continue; + } + + try { + deleteBackups(getTableAdminClient(), cluster.getId()); + } catch (NotFoundException ignored) { + } + + try { + getInstanceAdminClient().deleteCluster(getInstanceId(), cluster.getId()); + } catch (NotFoundException ignored) { } } } - private void cleanUpStaleInstances() { - String staleInstanceId = TEST_INSTANCE_PREFIX + Instant.now().minus(1, ChronoUnit.DAYS); + /** + * Clean up dynamically created (non-default) instances that have been orphaned. + * + * @param stalePrefix + */ + private void cleanUpStaleInstances(String stalePrefix) + throws IOException, ExecutionException, InterruptedException { + for (Instance instance : getInstanceAdminClient().listInstances()) { + if (!instance.getId().startsWith(PREFIX)) { + continue; + } + boolean isNewerThanStale = instance.getId().compareTo(stalePrefix) > 0; + if (isNewerThanStale) { + continue; + } + try { + deleteInstance(instance.getId()); + } catch (NotFoundException ignored) { + + } + } + } + + /** Delete an instance with all of its resources. */ + private void deleteInstance(String instanceId) + throws IOException, ExecutionException, InterruptedException { + BigtableTableAdminSettings settings = + getTableAdminSettings().toBuilder().setInstanceId(instanceId).build(); + + // Delete all child resources (backups & clusters) that wont be automatically deleted + try (BigtableTableAdminClient tableAdmin = BigtableTableAdminClient.create(settings)) { + List clusters = getInstanceAdminClient().listClusters(instanceId); + + boolean isFirstCluster = true; + + for (Cluster cluster : clusters) { + deleteBackups(tableAdmin, cluster.getId()); + // Skip the first cluster so that it can be delete by deleteInstance (instances can't exist + // without clusters) + if (!isFirstCluster) { + try { + getInstanceAdminClient().deleteCluster(instanceId, cluster.getId()); + } catch (NotFoundException ignored) { + + } + } + isFirstCluster = false; + } + } + + // Delete everything else + try { + getInstanceAdminClient().deleteInstance(instanceId); + } catch (NotFoundException ignored) { + + } + } + + private void deleteBackups(BigtableTableAdminClient tableAdmin, String clusterId) + throws ExecutionException, InterruptedException { + List> futures = new ArrayList<>(); + + for (String backupId : tableAdmin.listBackups(clusterId)) { + ApiFuture f = tableAdmin.deleteBackupAsync(clusterId, backupId); + futures.add(f); + } - for (Instance ins : getInstanceAdminClient().listInstances()) { - String insId = ins.getId(); - if (insId.startsWith(staleInstanceId) && staleInstanceId.compareTo(insId) > 0) { - getInstanceAdminClient().deleteInstance(insId); + for (ApiFuture future : futures) { + try { + future.get(); + } catch (ExecutionException e) { + // Ignore not found + if (e.getCause() instanceof NotFoundException) { + continue; + } + throw e; } } } From e1aaec0727e4fc43388b33c1bfbed9d2b7a890cb Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 10 May 2021 07:31:42 -0700 Subject: [PATCH 10/15] chore: adding cloud-rad java xrefs (#800) * changes without context autosynth cannot find the source of changes triggered by earlier changes in this repository, or by version upgrades to tools such as linters. * chore: adding cloud-rad java xrefs Source-Author: Emily Ball Source-Date: Thu May 6 11:48:47 2021 -0700 Source-Repo: googleapis/synthtool Source-Sha: 046994f491c02806aea60118e214a9edd67f5ab7 Source-Link: https://github.com/googleapis/synthtool/commit/046994f491c02806aea60118e214a9edd67f5ab7 --- .kokoro/release/publish_javadoc11.sh | 9 ++++++++- synth.metadata | 4 ++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.kokoro/release/publish_javadoc11.sh b/.kokoro/release/publish_javadoc11.sh index c8184c2b58..2fe27e2c83 100755 --- a/.kokoro/release/publish_javadoc11.sh +++ b/.kokoro/release/publish_javadoc11.sh @@ -38,7 +38,7 @@ export VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3) # V3 generates docfx yml from javadoc # generate yml -mvn clean javadoc:aggregate-jar -B -q -P docFX +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 @@ -49,6 +49,13 @@ pushd target/docfx-yml python3 -m docuploader create-metadata \ --name ${NAME} \ --version ${VERSION} \ + --xrefs devsite://java/gax \ + --xrefs devsite://java/google-cloud-core \ + --xrefs devsite://java/api-common \ + --xrefs devsite://java/proto-google-common-protos \ + --xrefs devsite://java/google-api-client \ + --xrefs devsite://java/google-http-client \ + --xrefs devsite://java/protobuf \ --language java # upload yml to production bucket diff --git a/synth.metadata b/synth.metadata index 74b12b4f16..a92d60f536 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-bigtable.git", - "sha": "d2935856e3c70f2bb3a8215db6647e7d62ed947a" + "sha": "83e0e8cf2cdbc143c10ce0f8b053096d61d5686f" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "8285c2b4cdbc3771d031ad91e1c4ec9e55fff45d" + "sha": "046994f491c02806aea60118e214a9edd67f5ab7" } } ], From b0e72a352679d5cb6c226e7ccc7ab80089941326 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 10 May 2021 19:30:43 +0200 Subject: [PATCH 11/15] chore(deps): update dependency com.google.cloud:libraries-bom to v20.3.0 (#802) --- 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 b16ea48c0c..82aa9ceca8 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 20.2.0 + 20.3.0 pom import From 5ccc4be2ec871f0736b49a1990bc2a11993e65f4 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 10 May 2021 10:52:05 -0700 Subject: [PATCH 12/15] chore: regenerate README (#803) This PR was generated using Autosynth. :rainbow:
Log from Synthtool ``` 2021-05-10 17:36:57,709 synthtool [DEBUG] > Executing /root/.cache/synthtool/java-bigtable/.github/readme/synth.py. On branch autosynth-readme nothing to commit, working tree clean 2021-05-10 17:36:58,902 synthtool [DEBUG] > Wrote metadata to .github/readme/synth.metadata/synth.metadata. ```
Full log will be available here: https://source.cloud.google.com/results/invocations/a7fb10f8-f0b2-469a-92ff-6b1da363b796/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) --- .github/readme/synth.metadata/synth.metadata | 4 ++-- README.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/readme/synth.metadata/synth.metadata b/.github/readme/synth.metadata/synth.metadata index 612f90b253..f90025d043 100644 --- a/.github/readme/synth.metadata/synth.metadata +++ b/.github/readme/synth.metadata/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-bigtable.git", - "sha": "f7c7f0cd76354714ea104ad2857ebd4ef7f87d5f" + "sha": "b0e72a352679d5cb6c226e7ccc7ab80089941326" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "06a8cd0ff7e81b05e6c503eab510ec622384caa7" + "sha": "6726988c677bb78385868bfc48dbfa2fe981d44a" } } ] diff --git a/README.md b/README.md index 3f5f61e2af..fe63b53f37 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file com.google.cloud libraries-bom - 20.2.0 + 20.3.0 pom import @@ -45,7 +45,7 @@ If you are using Maven without BOM, add this to your dependencies: If you are using Gradle 5.x or later, add this to your dependencies ```Groovy -implementation platform('com.google.cloud:libraries-bom:20.2.0') +implementation platform('com.google.cloud:libraries-bom:20.3.0') compile 'com.google.cloud:google-cloud-bigtable' ``` From a498687d15dd9af35c57b0df6d08c87ef36833da Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 11 May 2021 03:22:22 +0200 Subject: [PATCH 13/15] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v1.1.0 (#805) 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-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `1.0.0` -> `1.1.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/1.1.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/1.1.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/1.1.0/compatibility-slim/1.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/1.1.0/confidence-slim/1.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-shared-dependencies ### [`v1.1.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​110-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare100v110-2021-05-10) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v1.0.0...v1.1.0) ##### Dependencies - update dependency com.google.protobuf:protobuf-bom to v3.16.0 ([#​348](https://www.github.com/googleapis/java-shared-dependencies/issues/348)) ([0aacfde](https://www.github.com/googleapis/java-shared-dependencies/commit/0aacfdeec70e30803734db8287c47e4fad5481ef)) - update gax.version to v1.64.0 ([#​345](https://www.github.com/googleapis/java-shared-dependencies/issues/345)) ([478bd35](https://www.github.com/googleapis/java-shared-dependencies/commit/478bd35296293e81c7e70157f50bfbebdc1bb54d)) - update iam.version to v1.0.13 ([#​343](https://www.github.com/googleapis/java-shared-dependencies/issues/343)) ([3637923](https://www.github.com/googleapis/java-shared-dependencies/commit/363792392b71deff5cc5731104b631122fba5e61))
--- ### 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, check this box. --- 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-bigtable). --- google-cloud-bigtable-deps-bom/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/google-cloud-bigtable-deps-bom/pom.xml b/google-cloud-bigtable-deps-bom/pom.xml index 31405c16b5..a4dcf6350f 100644 --- a/google-cloud-bigtable-deps-bom/pom.xml +++ b/google-cloud-bigtable-deps-bom/pom.xml @@ -75,7 +75,7 @@ com.google.cloud google-cloud-shared-dependencies - 1.0.0 + 1.1.0 pom import From f5e5d5ac196529d5b070ef5fd8118038fec2e2de Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 11 May 2021 11:42:37 -0700 Subject: [PATCH 14/15] docs: update the comments in Cloud Bigtable RestoreTable API to reflect the new API capability (#804) Committer: @liubonan PiperOrigin-RevId: 372995286 Source-Author: Google APIs Source-Date: Mon May 10 13:05:07 2021 -0700 Source-Repo: googleapis/googleapis Source-Sha: 43d201c7deb4639441d0cbb1c734f1e974b566eb Source-Link: https://github.com/googleapis/googleapis/commit/43d201c7deb4639441d0cbb1c734f1e974b566eb --- .../v2/BaseBigtableTableAdminClient.java | 6 ++-- .../admin/v2/BigtableTableAdminGrpc.java | 8 +++--- .../admin/v2/RestoreTableRequest.java | 28 +++++++++---------- .../v2/RestoreTableRequestOrBuilder.java | 8 +++--- .../admin/v2/bigtable_table_admin.proto | 6 ++-- synth.metadata | 6 ++-- 6 files changed, 31 insertions(+), 31 deletions(-) diff --git a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java index d8b683878d..b194906689 100644 --- a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java +++ b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java @@ -2621,7 +2621,7 @@ public final UnaryCallable listBackupsC // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Create a new table by restoring from a completed backup. The new table must be in the same - * instance as the instance containing the backup. The returned table [long-running + * project as the instance containing the backup. The returned table [long-running * operation][google.longrunning.Operation] can be used to track the progress of the operation, * and to cancel it. The [metadata][google.longrunning.Operation.metadata] field type is * [RestoreTableMetadata][google.bigtable.admin.RestoreTableMetadata]. The @@ -2653,7 +2653,7 @@ public final OperationFuture restoreTableAsync( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Create a new table by restoring from a completed backup. The new table must be in the same - * instance as the instance containing the backup. The returned table [long-running + * project as the instance containing the backup. The returned table [long-running * operation][google.longrunning.Operation] can be used to track the progress of the operation, * and to cancel it. The [metadata][google.longrunning.Operation.metadata] field type is * [RestoreTableMetadata][google.bigtable.admin.RestoreTableMetadata]. The @@ -2685,7 +2685,7 @@ public final OperationFuture restoreTableAsync( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Create a new table by restoring from a completed backup. The new table must be in the same - * instance as the instance containing the backup. The returned table [long-running + * project as the instance containing the backup. The returned table [long-running * operation][google.longrunning.Operation] can be used to track the progress of the operation, * and to cancel it. The [metadata][google.longrunning.Operation.metadata] field type is * [RestoreTableMetadata][google.bigtable.admin.RestoreTableMetadata]. The diff --git a/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminGrpc.java b/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminGrpc.java index 3bbfc6bef7..84fe98d181 100644 --- a/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminGrpc.java +++ b/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminGrpc.java @@ -1363,7 +1363,7 @@ public void listBackups( * *
      * Create a new table by restoring from a completed backup. The new table
-     * must be in the same instance as the instance containing the backup.  The
+     * must be in the same project as the instance containing the backup.  The
      * returned table [long-running operation][google.longrunning.Operation] can
      * be used to track the progress of the operation, and to cancel it.  The
      * [metadata][google.longrunning.Operation.metadata] field type is
@@ -1929,7 +1929,7 @@ public void listBackups(
      *
      * 
      * Create a new table by restoring from a completed backup. The new table
-     * must be in the same instance as the instance containing the backup.  The
+     * must be in the same project as the instance containing the backup.  The
      * returned table [long-running operation][google.longrunning.Operation] can
      * be used to track the progress of the operation, and to cancel it.  The
      * [metadata][google.longrunning.Operation.metadata] field type is
@@ -2308,7 +2308,7 @@ public com.google.bigtable.admin.v2.ListBackupsResponse listBackups(
      *
      * 
      * Create a new table by restoring from a completed backup. The new table
-     * must be in the same instance as the instance containing the backup.  The
+     * must be in the same project as the instance containing the backup.  The
      * returned table [long-running operation][google.longrunning.Operation] can
      * be used to track the progress of the operation, and to cancel it.  The
      * [metadata][google.longrunning.Operation.metadata] field type is
@@ -2678,7 +2678,7 @@ protected BigtableTableAdminFutureStub build(
      *
      * 
      * Create a new table by restoring from a completed backup. The new table
-     * must be in the same instance as the instance containing the backup.  The
+     * must be in the same project as the instance containing the backup.  The
      * returned table [long-running operation][google.longrunning.Operation] can
      * be used to track the progress of the operation, and to cancel it.  The
      * [metadata][google.longrunning.Operation.metadata] field type is
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequest.java
index 6025af320c..60162d220f 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequest.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequest.java
@@ -178,8 +178,8 @@ public SourceCase getSourceCase() {
    *
    * 
    * Required. The name of the instance in which to create the restored
-   * table. This instance must be the parent of the source backup. Values are
-   * of the form `projects/<project>/instances/<instance>`.
+   * table. This instance must be in the same project as the source backup.
+   * Values are of the form `projects/<project>/instances/<instance>`.
    * 
* * @@ -205,8 +205,8 @@ public java.lang.String getParent() { * *
    * Required. The name of the instance in which to create the restored
-   * table. This instance must be the parent of the source backup. Values are
-   * of the form `projects/<project>/instances/<instance>`.
+   * table. This instance must be in the same project as the source backup.
+   * Values are of the form `projects/<project>/instances/<instance>`.
    * 
* * @@ -751,8 +751,8 @@ public Builder clearSource() { * *
      * Required. The name of the instance in which to create the restored
-     * table. This instance must be the parent of the source backup. Values are
-     * of the form `projects/<project>/instances/<instance>`.
+     * table. This instance must be in the same project as the source backup.
+     * Values are of the form `projects/<project>/instances/<instance>`.
      * 
* * @@ -777,8 +777,8 @@ public java.lang.String getParent() { * *
      * Required. The name of the instance in which to create the restored
-     * table. This instance must be the parent of the source backup. Values are
-     * of the form `projects/<project>/instances/<instance>`.
+     * table. This instance must be in the same project as the source backup.
+     * Values are of the form `projects/<project>/instances/<instance>`.
      * 
* * @@ -803,8 +803,8 @@ public com.google.protobuf.ByteString getParentBytes() { * *
      * Required. The name of the instance in which to create the restored
-     * table. This instance must be the parent of the source backup. Values are
-     * of the form `projects/<project>/instances/<instance>`.
+     * table. This instance must be in the same project as the source backup.
+     * Values are of the form `projects/<project>/instances/<instance>`.
      * 
* * @@ -828,8 +828,8 @@ public Builder setParent(java.lang.String value) { * *
      * Required. The name of the instance in which to create the restored
-     * table. This instance must be the parent of the source backup. Values are
-     * of the form `projects/<project>/instances/<instance>`.
+     * table. This instance must be in the same project as the source backup.
+     * Values are of the form `projects/<project>/instances/<instance>`.
      * 
* * @@ -849,8 +849,8 @@ public Builder clearParent() { * *
      * Required. The name of the instance in which to create the restored
-     * table. This instance must be the parent of the source backup. Values are
-     * of the form `projects/<project>/instances/<instance>`.
+     * table. This instance must be in the same project as the source backup.
+     * Values are of the form `projects/<project>/instances/<instance>`.
      * 
* * diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequestOrBuilder.java index 38df514193..f55e5f6108 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequestOrBuilder.java @@ -28,8 +28,8 @@ public interface RestoreTableRequestOrBuilder * *
    * Required. The name of the instance in which to create the restored
-   * table. This instance must be the parent of the source backup. Values are
-   * of the form `projects/<project>/instances/<instance>`.
+   * table. This instance must be in the same project as the source backup.
+   * Values are of the form `projects/<project>/instances/<instance>`.
    * 
* * @@ -44,8 +44,8 @@ public interface RestoreTableRequestOrBuilder * *
    * Required. The name of the instance in which to create the restored
-   * table. This instance must be the parent of the source backup. Values are
-   * of the form `projects/<project>/instances/<instance>`.
+   * table. This instance must be in the same project as the source backup.
+   * Values are of the form `projects/<project>/instances/<instance>`.
    * 
* * diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_table_admin.proto b/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_table_admin.proto index d979dba597..ff2076c50e 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_table_admin.proto +++ b/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_table_admin.proto @@ -270,7 +270,7 @@ service BigtableTableAdmin { } // Create a new table by restoring from a completed backup. The new table - // must be in the same instance as the instance containing the backup. The + // must be in the same project as the instance containing the backup. The // returned table [long-running operation][google.longrunning.Operation] can // be used to track the progress of the operation, and to cancel it. The // [metadata][google.longrunning.Operation.metadata] field type is @@ -335,8 +335,8 @@ service BigtableTableAdmin { // [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]. message RestoreTableRequest { // Required. The name of the instance in which to create the restored - // table. This instance must be the parent of the source backup. Values are - // of the form `projects//instances/`. + // table. This instance must be in the same project as the source backup. + // Values are of the form `projects//instances/`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { diff --git a/synth.metadata b/synth.metadata index a92d60f536..a7baf3e0ff 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,15 +4,15 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-bigtable.git", - "sha": "83e0e8cf2cdbc143c10ce0f8b053096d61d5686f" + "sha": "5ccc4be2ec871f0736b49a1990bc2a11993e65f4" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "1305ca41d554eb0725237561e34129373bb8cbc1", - "internalRef": "362856902" + "sha": "43d201c7deb4639441d0cbb1c734f1e974b566eb", + "internalRef": "372995286" } }, { From 56435ff7d4299184604113f4b21f7240219a99b2 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 13 May 2021 16:10:15 +0000 Subject: [PATCH 15/15] chore: release 1.24.1 (#799) :robot: I have created a release \*beep\* \*boop\* --- ### [1.24.1](https://www.github.com/googleapis/java-bigtable/compare/v1.24.0...v1.24.1) (2021-05-11) ### Bug Fixes * filter limit constant ([#787](https://www.github.com/googleapis/java-bigtable/issues/787)) ([04f8ad4](https://www.github.com/googleapis/java-bigtable/commit/04f8ad463d1fa9efe0ab941ee5f3d0794baed814)) * fix flaky test ([#798](https://www.github.com/googleapis/java-bigtable/issues/798)) ([83e0e8c](https://www.github.com/googleapis/java-bigtable/commit/83e0e8cf2cdbc143c10ce0f8b053096d61d5686f)) ### Dependencies * update dependency com.google.cloud:google-cloud-shared-dependencies to v1.1.0 ([#805](https://www.github.com/googleapis/java-bigtable/issues/805)) ([a498687](https://www.github.com/googleapis/java-bigtable/commit/a498687d15dd9af35c57b0df6d08c87ef36833da)) ### Documentation * update the comments in Cloud Bigtable RestoreTable API to reflect the new API capability ([#804](https://www.github.com/googleapis/java-bigtable/issues/804)) ([f5e5d5a](https://www.github.com/googleapis/java-bigtable/commit/f5e5d5ac196529d5b070ef5fd8118038fec2e2de)) --- 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 | 18 ++++++++++++++++++ google-cloud-bigtable-bom/pom.xml | 14 +++++++------- google-cloud-bigtable-deps-bom/pom.xml | 2 +- google-cloud-bigtable-emulator/pom.xml | 8 ++++---- google-cloud-bigtable/pom.xml | 10 +++++----- grpc-google-cloud-bigtable-admin-v2/pom.xml | 8 ++++---- grpc-google-cloud-bigtable-v2/pom.xml | 8 ++++---- pom.xml | 2 +- proto-google-cloud-bigtable-admin-v2/pom.xml | 8 ++++---- proto-google-cloud-bigtable-v2/pom.xml | 8 ++++---- samples/snapshot/pom.xml | 2 +- versions.txt | 12 ++++++------ 12 files changed, 59 insertions(+), 41 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f640e9ee45..bdbe807eac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,23 @@ # Changelog +### [1.24.1](https://www.github.com/googleapis/java-bigtable/compare/v1.24.0...v1.24.1) (2021-05-11) + + +### Bug Fixes + +* filter limit constant ([#787](https://www.github.com/googleapis/java-bigtable/issues/787)) ([04f8ad4](https://www.github.com/googleapis/java-bigtable/commit/04f8ad463d1fa9efe0ab941ee5f3d0794baed814)) +* fix flaky test ([#798](https://www.github.com/googleapis/java-bigtable/issues/798)) ([83e0e8c](https://www.github.com/googleapis/java-bigtable/commit/83e0e8cf2cdbc143c10ce0f8b053096d61d5686f)) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v1.1.0 ([#805](https://www.github.com/googleapis/java-bigtable/issues/805)) ([a498687](https://www.github.com/googleapis/java-bigtable/commit/a498687d15dd9af35c57b0df6d08c87ef36833da)) + + +### Documentation + +* update the comments in Cloud Bigtable RestoreTable API to reflect the new API capability ([#804](https://www.github.com/googleapis/java-bigtable/issues/804)) ([f5e5d5a](https://www.github.com/googleapis/java-bigtable/commit/f5e5d5ac196529d5b070ef5fd8118038fec2e2de)) + ## [1.24.0](https://www.github.com/googleapis/java-bigtable/compare/v1.23.2...v1.24.0) (2021-04-30) diff --git a/google-cloud-bigtable-bom/pom.xml b/google-cloud-bigtable-bom/pom.xml index 550e3a9793..2fa681e61a 100644 --- a/google-cloud-bigtable-bom/pom.xml +++ b/google-cloud-bigtable-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-bigtable-bom - 1.24.1-SNAPSHOT + 1.24.1 pom com.google.cloud @@ -72,32 +72,32 @@ com.google.cloud google-cloud-bigtable - 1.24.1-SNAPSHOT + 1.24.1 com.google.cloud google-cloud-bigtable-emulator - 0.133.1-SNAPSHOT + 0.133.1 com.google.api.grpc grpc-google-cloud-bigtable-admin-v2 - 1.24.1-SNAPSHOT + 1.24.1 com.google.api.grpc grpc-google-cloud-bigtable-v2 - 1.24.1-SNAPSHOT + 1.24.1 com.google.api.grpc proto-google-cloud-bigtable-admin-v2 - 1.24.1-SNAPSHOT + 1.24.1 com.google.api.grpc proto-google-cloud-bigtable-v2 - 1.24.1-SNAPSHOT + 1.24.1 diff --git a/google-cloud-bigtable-deps-bom/pom.xml b/google-cloud-bigtable-deps-bom/pom.xml index a4dcf6350f..9d76681b3f 100644 --- a/google-cloud-bigtable-deps-bom/pom.xml +++ b/google-cloud-bigtable-deps-bom/pom.xml @@ -12,7 +12,7 @@ com.google.cloud google-cloud-bigtable-deps-bom - 1.24.1-SNAPSHOT + 1.24.1 pom diff --git a/google-cloud-bigtable-emulator/pom.xml b/google-cloud-bigtable-emulator/pom.xml index fa376175cc..2d6688cad1 100644 --- a/google-cloud-bigtable-emulator/pom.xml +++ b/google-cloud-bigtable-emulator/pom.xml @@ -5,7 +5,7 @@ 4.0.0 google-cloud-bigtable-emulator - 0.133.1-SNAPSHOT + 0.133.1 Google Cloud Java - Bigtable Emulator https://github.com/googleapis/java-bigtable @@ -14,7 +14,7 @@ com.google.cloud google-cloud-bigtable-parent - 1.24.1-SNAPSHOT + 1.24.1 scm:git:git@github.com:googleapis/java-bigtable.git @@ -80,14 +80,14 @@ com.google.cloud google-cloud-bigtable-deps-bom - 1.24.1-SNAPSHOT + 1.24.1 pom import com.google.cloud google-cloud-bigtable-bom - 1.24.1-SNAPSHOT + 1.24.1 pom import diff --git a/google-cloud-bigtable/pom.xml b/google-cloud-bigtable/pom.xml index 4623f6b521..9d6f53c5eb 100644 --- a/google-cloud-bigtable/pom.xml +++ b/google-cloud-bigtable/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-bigtable - 1.24.1-SNAPSHOT + 1.24.1 jar Google Cloud Bigtable https://github.com/googleapis/java-bigtable @@ -12,11 +12,11 @@ com.google.cloud google-cloud-bigtable-parent - 1.24.1-SNAPSHOT + 1.24.1 - 1.24.1-SNAPSHOT + 1.24.1 google-cloud-bigtable @@ -39,14 +39,14 @@ com.google.cloud google-cloud-bigtable-deps-bom - 1.24.1-SNAPSHOT + 1.24.1 pom import com.google.cloud google-cloud-bigtable-bom - 1.24.1-SNAPSHOT + 1.24.1 pom import diff --git a/grpc-google-cloud-bigtable-admin-v2/pom.xml b/grpc-google-cloud-bigtable-admin-v2/pom.xml index 480fa7c29b..56a8f3f7e2 100644 --- a/grpc-google-cloud-bigtable-admin-v2/pom.xml +++ b/grpc-google-cloud-bigtable-admin-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-bigtable-admin-v2 - 1.24.1-SNAPSHOT + 1.24.1 grpc-google-cloud-bigtable-admin-v2 GRPC library for grpc-google-cloud-bigtable-admin-v2 com.google.cloud google-cloud-bigtable-parent - 1.24.1-SNAPSHOT + 1.24.1 @@ -18,14 +18,14 @@ com.google.cloud google-cloud-bigtable-deps-bom - 1.24.1-SNAPSHOT + 1.24.1 pom import com.google.cloud google-cloud-bigtable-bom - 1.24.1-SNAPSHOT + 1.24.1 pom import diff --git a/grpc-google-cloud-bigtable-v2/pom.xml b/grpc-google-cloud-bigtable-v2/pom.xml index a46e67fb53..35bc5c24e1 100644 --- a/grpc-google-cloud-bigtable-v2/pom.xml +++ b/grpc-google-cloud-bigtable-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-bigtable-v2 - 1.24.1-SNAPSHOT + 1.24.1 grpc-google-cloud-bigtable-v2 GRPC library for grpc-google-cloud-bigtable-v2 com.google.cloud google-cloud-bigtable-parent - 1.24.1-SNAPSHOT + 1.24.1 @@ -18,14 +18,14 @@ com.google.cloud google-cloud-bigtable-deps-bom - 1.24.1-SNAPSHOT + 1.24.1 pom import com.google.cloud google-cloud-bigtable-bom - 1.24.1-SNAPSHOT + 1.24.1 pom import diff --git a/pom.xml b/pom.xml index 0958e1ec78..f30ebf750c 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ google-cloud-bigtable-parent pom - 1.24.1-SNAPSHOT + 1.24.1 Google Cloud Bigtable Parent https://github.com/googleapis/java-bigtable diff --git a/proto-google-cloud-bigtable-admin-v2/pom.xml b/proto-google-cloud-bigtable-admin-v2/pom.xml index f7be73fe20..d5c4f8a42f 100644 --- a/proto-google-cloud-bigtable-admin-v2/pom.xml +++ b/proto-google-cloud-bigtable-admin-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-bigtable-admin-v2 - 1.24.1-SNAPSHOT + 1.24.1 proto-google-cloud-bigtable-admin-v2 PROTO library for proto-google-cloud-bigtable-admin-v2 com.google.cloud google-cloud-bigtable-parent - 1.24.1-SNAPSHOT + 1.24.1 @@ -18,14 +18,14 @@ com.google.cloud google-cloud-bigtable-deps-bom - 1.24.1-SNAPSHOT + 1.24.1 pom import com.google.cloud google-cloud-bigtable-bom - 1.24.1-SNAPSHOT + 1.24.1 pom import diff --git a/proto-google-cloud-bigtable-v2/pom.xml b/proto-google-cloud-bigtable-v2/pom.xml index f6b5cdf71d..048e4f0331 100644 --- a/proto-google-cloud-bigtable-v2/pom.xml +++ b/proto-google-cloud-bigtable-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-bigtable-v2 - 1.24.1-SNAPSHOT + 1.24.1 proto-google-cloud-bigtable-v2 PROTO library for proto-google-cloud-bigtable-v2 com.google.cloud google-cloud-bigtable-parent - 1.24.1-SNAPSHOT + 1.24.1 @@ -18,14 +18,14 @@ com.google.cloud google-cloud-bigtable-deps-bom - 1.24.1-SNAPSHOT + 1.24.1 pom import com.google.cloud google-cloud-bigtable-bom - 1.24.1-SNAPSHOT + 1.24.1 pom import diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index df08435bea..6dfd4afd3a 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-bigtable - 1.24.1-SNAPSHOT + 1.24.1 diff --git a/versions.txt b/versions.txt index d5a31f6b1c..b698eff4ce 100644 --- a/versions.txt +++ b/versions.txt @@ -1,9 +1,9 @@ # Format: # module:released-version:current-version -google-cloud-bigtable:1.24.0:1.24.1-SNAPSHOT -grpc-google-cloud-bigtable-admin-v2:1.24.0:1.24.1-SNAPSHOT -grpc-google-cloud-bigtable-v2:1.24.0:1.24.1-SNAPSHOT -proto-google-cloud-bigtable-admin-v2:1.24.0:1.24.1-SNAPSHOT -proto-google-cloud-bigtable-v2:1.24.0:1.24.1-SNAPSHOT -google-cloud-bigtable-emulator:0.133.0:0.133.1-SNAPSHOT +google-cloud-bigtable:1.24.1:1.24.1 +grpc-google-cloud-bigtable-admin-v2:1.24.1:1.24.1 +grpc-google-cloud-bigtable-v2:1.24.1:1.24.1 +proto-google-cloud-bigtable-admin-v2:1.24.1:1.24.1 +proto-google-cloud-bigtable-v2:1.24.1:1.24.1 +google-cloud-bigtable-emulator:0.133.1:0.133.1