From c11246bc56905d7d4c57c155185b45eaeedf1d7f Mon Sep 17 00:00:00 2001 From: cloud-java-bot <122572305+cloud-java-bot@users.noreply.github.com> Date: Mon, 8 Jul 2024 11:15:07 -0400 Subject: [PATCH 1/7] chore: Update generation configuration at Fri Jul 5 02:16:12 UTC 2024 (#2103) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: Update generation configuration at Wed Jul 3 00:13:55 UTC 2024 * chore: generate libraries at Wed Jul 3 00:14:23 UTC 2024 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: Update generation configuration at Thu Jul 4 02:16:36 UTC 2024 * chore: generate libraries at Thu Jul 4 02:16:59 UTC 2024 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: Update generation configuration at Fri Jul 5 02:16:12 UTC 2024 * chore: generate libraries at Fri Jul 5 02:16:34 UTC 2024 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot --- .repo-metadata.json | 9 +++++---- README.md | 4 ++++ generation_config.yaml | 4 ++-- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.repo-metadata.json b/.repo-metadata.json index f30706ceb..0c8364b05 100644 --- a/.repo-metadata.json +++ b/.repo-metadata.json @@ -1,19 +1,20 @@ { "api_shortname": "pubsub", "name_pretty": "Cloud Pub/Sub", - "api_reference": "https://cloud.google.com/pubsub/", "product_documentation": "https://cloud.google.com/pubsub/docs/", - "client_documentation": "https://cloud.google.com/java/docs/reference/google-cloud-pubsub/latest/history", "api_description": "is designed to provide reliable, many-to-many, asynchronous messaging between applications. Publisher applications can send messages to a topic and other applications can subscribe to that topic to receive the messages. By decoupling senders and receivers, Google Cloud Pub/Sub allows developers to communicate between independently written applications.", - "issue_tracker": "https://issuetracker.google.com/savedsearches/559741", + "client_documentation": "https://cloud.google.com/java/docs/reference/google-cloud-pubsub/latest/history", "release_level": "stable", + "transport": "both", "language": "java", "repo": "googleapis/java-pubsub", "repo_short": "java-pubsub", "distribution_name": "com.google.cloud:google-cloud-pubsub", - "codeowner_team": "@googleapis/api-pubsub", "api_id": "pubsub.googleapis.com", "library_type": "GAPIC_COMBO", "requires_billing": true, + "api_reference": "https://cloud.google.com/pubsub/", + "codeowner_team": "@googleapis/api-pubsub", + "issue_tracker": "https://issuetracker.google.com/savedsearches/559741", "recommended_package": "com.google.cloud.pubsub.v1" } \ No newline at end of file diff --git a/README.md b/README.md index eb350d3d0..b446529b4 100644 --- a/README.md +++ b/README.md @@ -320,6 +320,10 @@ Samples are in the [`samples/`](https://github.com/googleapis/java-pubsub/tree/m To get help, follow the instructions in the [shared Troubleshooting document][troubleshooting]. +## Transport + +Cloud Pub/Sub uses both gRPC and HTTP/JSON for the transport layer. + ## Supported Java Versions Java 8 or above is required for using this client. diff --git a/generation_config.yaml b/generation_config.yaml index e7b53b6d9..7f9f93bd9 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,6 +1,6 @@ gapic_generator_version: 2.42.0 -googleapis_commitish: 6f289d775912966eb0cf04bda91e5e355c998d30 -libraries_bom_version: 26.38.0 +googleapis_commitish: 7976ffadc0f21ee9149708c0c97ef000e15de1eb +libraries_bom_version: 26.42.0 libraries: - api_shortname: pubsub name_pretty: Cloud Pub/Sub From 464e56137860e1102e5589071075e043d2531f29 Mon Sep 17 00:00:00 2001 From: Diego Marquez Date: Mon, 8 Jul 2024 12:57:50 -0400 Subject: [PATCH 2/7] chore: make the owlbot postprocessor check non-required (#2104) We will soon disable the Owlbot postprocessor. This is part of the effort to enable hermetic generation in this repo ([context](https://docs.google.com/document/d/1wrpyBtphdenM3BNelcnpBKGADYrGJUo686HXvSA0h-0/edit?pli=1&tab=t.0#bookmark=kix.914gcjvdwt3u)) --- .github/sync-repo-settings.yaml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/.github/sync-repo-settings.yaml b/.github/sync-repo-settings.yaml index 875095277..80d26801c 100644 --- a/.github/sync-repo-settings.yaml +++ b/.github/sync-repo-settings.yaml @@ -15,7 +15,6 @@ branchProtectionRules: - units (11) - 'Kokoro - Test: Integration' - cla/google - - OwlBot Post Processor - 'Kokoro - Test: Java GraalVM Native Image' - 'Kokoro - Test: Java 17 GraalVM Native Image' - javadoc @@ -34,7 +33,6 @@ branchProtectionRules: - 'Kokoro - Test: Integration' - Kokoro - Against Pub/Sub Lite samples - cla/google - - OwlBot Post Processor - pattern: java7 isAdminEnforced: true requiredApprovingReviewCount: 1 @@ -50,7 +48,6 @@ branchProtectionRules: - 'Kokoro - Test: Integration' - Kokoro - Against Pub/Sub Lite samples - cla/google - - OwlBot Post Processor - pattern: 1.114.x isAdminEnforced: true requiredApprovingReviewCount: 1 @@ -66,7 +63,6 @@ branchProtectionRules: - 'Kokoro - Test: Integration' - Kokoro - Against Pub/Sub Lite samples - cla/google - - OwlBot Post Processor - pattern: 1.116.x isAdminEnforced: true requiredApprovingReviewCount: 1 @@ -82,7 +78,6 @@ branchProtectionRules: - 'Kokoro - Test: Integration' - Kokoro - Against Pub/Sub Lite samples - cla/google - - OwlBot Post Processor - pattern: 1.117.x isAdminEnforced: true requiredApprovingReviewCount: 1 @@ -98,7 +93,6 @@ branchProtectionRules: - 'Kokoro - Test: Integration' - Kokoro - Against Pub/Sub Lite samples - cla/google - - OwlBot Post Processor - pattern: 1.120.x isAdminEnforced: true requiredApprovingReviewCount: 1 @@ -114,7 +108,6 @@ branchProtectionRules: - 'Kokoro - Test: Integration' - Kokoro - Against Pub/Sub Lite samples - cla/google - - OwlBot Post Processor - 'Kokoro - Test: Java GraalVM Native Image' - 'Kokoro - Test: Java 17 GraalVM Native Image' - pattern: 1.121.x @@ -132,7 +125,6 @@ branchProtectionRules: - 'Kokoro - Test: Integration' - Kokoro - Against Pub/Sub Lite samples - cla/google - - OwlBot Post Processor - 'Kokoro - Test: Java GraalVM Native Image' - 'Kokoro - Test: Java 17 GraalVM Native Image' - pattern: 1.123.x @@ -149,7 +141,6 @@ branchProtectionRules: - 'Kokoro - Test: Integration' - Kokoro - Against Pub/Sub Lite samples - cla/google - - OwlBot Post Processor - 'Kokoro - Test: Java GraalVM Native Image' - 'Kokoro - Test: Java 17 GraalVM Native Image' - pattern: 1.125.x @@ -165,7 +156,6 @@ branchProtectionRules: - units (11) - 'Kokoro - Test: Integration' - cla/google - - OwlBot Post Processor - 'Kokoro - Test: Java GraalVM Native Image' - 'Kokoro - Test: Java 17 GraalVM Native Image' - javadoc From 68f4b01c04ba6527746c4bde8e1f0034b6b59715 Mon Sep 17 00:00:00 2001 From: Diego Marquez Date: Mon, 8 Jul 2024 13:00:31 -0400 Subject: [PATCH 3/7] chore: disable the Owl Bot post-processor (#2102) --- .github/.OwlBot.lock.yaml | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 .github/.OwlBot.lock.yaml diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml deleted file mode 100644 index 359fe71c1..000000000 --- a/.github/.OwlBot.lock.yaml +++ /dev/null @@ -1,17 +0,0 @@ -# Copyright 2024 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -docker: - image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:72f0d373307d128b2cb720c5cb4d90b31f0e86529dd138c632710ae0c69efae3 -# created: 2024-06-05T18:32:21.724930324Z From 0b51cc30248329c47ac7e804f8903bde2fddedb5 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 8 Jul 2024 23:09:52 +0200 Subject: [PATCH 4/7] chore(deps): update dependency com.google.cloud:libraries-bom to v26.43.0 (#2107) --- samples/native-image-sample/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/native-image-sample/pom.xml b/samples/native-image-sample/pom.xml index 91bfe85e4..c182ae0b9 100644 --- a/samples/native-image-sample/pom.xml +++ b/samples/native-image-sample/pom.xml @@ -30,7 +30,7 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd"> com.google.cloud libraries-bom - 26.42.0 + 26.43.0 pom import diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 5f9cf65b9..5d4261825 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -45,7 +45,7 @@ com.google.cloud libraries-bom - 26.42.0 + 26.43.0 pom import From 4e17c34880d0498d2bd891ea7caa8fe095054016 Mon Sep 17 00:00:00 2001 From: cloud-java-bot <122572305+cloud-java-bot@users.noreply.github.com> Date: Wed, 10 Jul 2024 16:44:54 -0400 Subject: [PATCH 5/7] chore: Update generation configuration at Wed Jul 10 02:17:03 UTC 2024 (#2109) * chore: Update generation configuration at Tue Jul 9 02:17:13 UTC 2024 * chore: Update generation configuration at Wed Jul 10 02:17:03 UTC 2024 * chore: generate libraries at Wed Jul 10 02:17:23 UTC 2024 --- README.md | 4 ++-- generation_config.yaml | 4 ++-- renovate.json | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index b446529b4..6166c7893 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.42.0 + 26.43.0 pom import @@ -52,7 +52,7 @@ If you are using Maven without the 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:26.42.0') +implementation platform('com.google.cloud:libraries-bom:26.43.0') implementation 'com.google.cloud:google-cloud-pubsub' ``` diff --git a/generation_config.yaml b/generation_config.yaml index 7f9f93bd9..c644dddde 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,6 +1,6 @@ gapic_generator_version: 2.42.0 -googleapis_commitish: 7976ffadc0f21ee9149708c0c97ef000e15de1eb -libraries_bom_version: 26.42.0 +googleapis_commitish: 3ce84c2ca3f3e453e62bbb9bffb62f3f8ec3f016 +libraries_bom_version: 26.43.0 libraries: - api_shortname: pubsub name_pretty: Cloud Pub/Sub diff --git a/renovate.json b/renovate.json index 58c97664e..df71c3b5a 100644 --- a/renovate.json +++ b/renovate.json @@ -20,7 +20,7 @@ "customManagers": [ { "customType": "regex", - "fileMatch": [ + "fileMatch": [ "^.kokoro/presubmit/graalvm-native.*.cfg$" ], "matchStrings": ["value: \"gcr.io/cloud-devrel-public-resources/graalvm.*:(?.*?)\""], @@ -30,7 +30,7 @@ { "customType": "regex", "fileMatch": [ - "^.github/workflows/unmanaged_dependency_check.yaml$" + "^.github/workflows/unmanaged_dependency_check.yaml$" ], "matchStrings": ["uses: googleapis/sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check@google-cloud-shared-dependencies/v(?.+?)\\n"], "depNameTemplate": "com.google.cloud:sdk-platform-java-config", From c0b7ac10f60eebb177a55dd9c629837db8231522 Mon Sep 17 00:00:00 2001 From: cloud-java-bot <122572305+cloud-java-bot@users.noreply.github.com> Date: Fri, 12 Jul 2024 09:10:11 -0400 Subject: [PATCH 6/7] chore: Update generation configuration at Thu Jul 11 02:18:01 UTC 2024 (#2112) --- generation_config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generation_config.yaml b/generation_config.yaml index c644dddde..c98375b66 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,5 +1,5 @@ gapic_generator_version: 2.42.0 -googleapis_commitish: 3ce84c2ca3f3e453e62bbb9bffb62f3f8ec3f016 +googleapis_commitish: 19577edb4d439db98d2fb1f6f48f2e1b29fba099 libraries_bom_version: 26.43.0 libraries: - api_shortname: pubsub From 87ee9d0fb936891455f38e3a98518437a5c58c45 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 15 Jul 2024 17:55:00 +0200 Subject: [PATCH 7/7] build(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.3.1 (#2111) --- samples/native-image-sample/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/native-image-sample/pom.xml b/samples/native-image-sample/pom.xml index c182ae0b9..6f6f56c0f 100644 --- a/samples/native-image-sample/pom.xml +++ b/samples/native-image-sample/pom.xml @@ -124,7 +124,7 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd"> org.apache.maven.plugins maven-surefire-plugin - 3.3.0 + 3.3.1 **/*IT