Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions .github/.OwlBot.lock.yaml

This file was deleted.

1 change: 0 additions & 1 deletion .github/sync-repo-settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,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'
- pattern: java7
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/hermetic_library_generation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,12 @@ name: Hermetic library generation upon generation config change through pull req
on:
pull_request:

env:
HEAD_REF: ${{ github.head_ref }}

jobs:
library_generation:
# skip pull requests coming from a forked repository
# skip pull requests come from a forked repository
if: github.event.pull_request.head.repo.full_name == github.repository
runs-on: ubuntu-latest
steps:
Expand All @@ -35,6 +38,6 @@ jobs:
[ -z "$(git config user.name)" ] && git config --global user.name "cloud-java-bot"
bash .github/scripts/hermetic_library_generation.sh \
--target_branch ${{ github.base_ref }} \
--current_branch ${{ github.head_ref }}
--current_branch $HEAD_REF
env:
GH_TOKEN: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/unmanaged_dependency_check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ jobs:
# repository
.kokoro/build.sh
- name: Unmanaged dependency check
uses: googleapis/sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check@google-cloud-shared-dependencies/v3.32.0
uses: googleapis/sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check@google-cloud-shared-dependencies/v3.33.0
with:
bom-path: google-cloud-pubsublite-bom/pom.xml
2 changes: 1 addition & 1 deletion .kokoro/presubmit/graalvm-native-17.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Configure the docker image for kokoro-trampoline.
env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.32.0"
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.33.0"
}

env_vars: {
Expand Down
2 changes: 1 addition & 1 deletion .kokoro/presubmit/graalvm-native.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Configure the docker image for kokoro-trampoline.
env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.32.0"
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.33.0"
}

env_vars: {
Expand Down
14 changes: 7 additions & 7 deletions .repo-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@
"api_shortname": "pubsublite",
"name_pretty": "Cloud Pub/Sub Lite",
"product_documentation": "https://cloud.google.com/pubsub/lite/docs",
"api_description": "is designed to provide reliable,\nmany-to-many, asynchronous messaging between applications. Publisher\napplications can send messages to a topic and other applications can\nsubscribe to that topic to receive the messages. By decoupling senders and\nreceivers, Google Cloud Pub/Sub allows developers to communicate between\nindependently written applications.\n\nCompared to Google Pub/Sub, Pub/Sub Lite provides partitioned zonal data\nstorage with predefined capacity. Both products present a similar API, but\nPub/Sub Lite has more usage caveats.\n\nSee the [Google Pub/Sub Lite docs](https://cloud.google.com/pubsub/quickstart-console#before-you-begin) for more details on how to activate\nPub/Sub Lite for your project, as well as guidance on how to choose between\nCloud Pub/Sub and Pub/Sub Lite.",
"api_description": "is designed to provide reliable, many-to-many, asynchronous messaging between applications. Publisher\\napplications can send messages to a topic and other applications can\\nsubscribe to that topic to receive the messages. By decoupling senders and\\nreceivers, Google Cloud Pub/Sub allows developers to communicate between\\nindependently written applications.\\n\\nCompared to Google Pub/Sub, Pub/Sub Lite provides partitioned zonal data\\nstorage with predefined capacity. Both products present a similar API, but\\nPub/Sub Lite has more usage caveats.\\n\\nSee the [Google Pub/Sub Lite docs](https://cloud.google.com/pubsub/quickstart-console#before-you-begin) for more details on how to activate\\nPub/Sub Lite for your project, as well as guidance on how to choose between\\nCloud Pub/Sub and Pub/Sub Lite.",
"client_documentation": "https://cloud.google.com/java/docs/reference/google-cloud-pubsublite/latest/history",
"release_level": "stable",
"transport": "grpc",
"requires_billing": true,
"language": "java",
"min_java_version": 8,
"repo": "googleapis/java-pubsublite",
"repo_short": "java-pubsublite",
"distribution_name": "com.google.cloud:google-cloud-pubsublite",
"codeowner_team": "@googleapis/api-pubsublite",
"library_type": "GAPIC_COMBO",
"api_id": "pubsublite.googleapis.com",
"recommended_package": "com.google.cloud.pubsublite.cloudpubsub"
}
"library_type": "GAPIC_COMBO",
"requires_billing": true,
"codeowner_team": "@googleapis/api-pubsublite",
"recommended_package": "com.google.cloud.pubsublite.cloudpubsub",
"min_java_version": 8
}
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Changelog

## [1.14.0](https://github.com/googleapis/java-pubsublite/compare/v1.13.8...v1.14.0) (2024-08-02)


### Features

* Enable hermetic library generation ([#1667](https://github.com/googleapis/java-pubsublite/issues/1667)) ([732ad63](https://github.com/googleapis/java-pubsublite/commit/732ad63fdaff21fee3125004fd6a487c11ce7e5b))


### Dependencies

* Update dependency com.google.cloud:google-cloud-bom to v0.224.0 ([#1678](https://github.com/googleapis/java-pubsublite/issues/1678)) ([edaf955](https://github.com/googleapis/java-pubsublite/commit/edaf955c70639a40c81b2351199cedd928a17b38))
* Update dependency com.google.cloud:google-cloud-pubsub to v1.132.0 ([#1694](https://github.com/googleapis/java-pubsublite/issues/1694)) ([f6695b8](https://github.com/googleapis/java-pubsublite/commit/f6695b8221db46c840cad130230b41da8d107f53))
* Update dependency com.google.cloud:sdk-platform-java-config to v3.33.0 ([#1691](https://github.com/googleapis/java-pubsublite/issues/1691)) ([aeea3eb](https://github.com/googleapis/java-pubsublite/commit/aeea3eb6accfaf274876e98f432225d11ec84e1b))

## [1.13.8](https://github.com/googleapis/java-pubsublite/compare/v1.13.7...v1.13.8) (2024-06-25)


Expand Down
6 changes: 3 additions & 3 deletions generation_config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
gapic_generator_version: 2.42.0
googleapis_commitish: 0606cbcec6e416faa824c98a6d4eda4c22cfdb29
libraries_bom_version: 26.38.0
gapic_generator_version: 2.43.0
googleapis_commitish: c37b7f00ae5b9ce0d33ae28473d993cdaa5550cb
libraries_bom_version: 26.43.0
libraries:
- api_shortname: pubsublite
name_pretty: Cloud Pub/Sub Lite
Expand Down
10 changes: 5 additions & 5 deletions google-cloud-pubsublite-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-pubsublite-bom</artifactId>
<version>1.13.9-SNAPSHOT</version><!-- {x-version-update:google-cloud-pubsublite:current} -->
<version>1.14.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-pubsublite:current} -->
<packaging>pom</packaging>
<parent>
<groupId>com.google.cloud</groupId>
<artifactId>sdk-platform-java-config</artifactId>
<version>3.32.0</version>
<version>3.33.0</version>
</parent>

<name>Google Cloud pubsublite BOM</name>
Expand Down Expand Up @@ -52,17 +52,17 @@
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-pubsublite</artifactId>
<version>1.13.9-SNAPSHOT</version><!-- {x-version-update:google-cloud-pubsublite:current} -->
<version>1.14.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-pubsublite:current} -->
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>grpc-google-cloud-pubsublite-v1</artifactId>
<version>1.13.9-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-pubsublite-v1:current} -->
<version>1.14.1-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-pubsublite-v1:current} -->
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-cloud-pubsublite-v1</artifactId>
<version>1.13.9-SNAPSHOT</version><!-- {x-version-update:proto-google-cloud-pubsublite-v1:current} -->
<version>1.14.1-SNAPSHOT</version><!-- {x-version-update:proto-google-cloud-pubsublite-v1:current} -->
</dependency>
</dependencies>
</dependencyManagement>
Expand Down
10 changes: 5 additions & 5 deletions google-cloud-pubsublite/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
<parent>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-pubsublite-parent</artifactId>
<version>1.13.9-SNAPSHOT</version><!-- {x-version-update:google-cloud-pubsublite:current} -->
<version>1.14.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-pubsublite:current} -->
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-pubsublite</artifactId>
<version>1.13.9-SNAPSHOT</version><!-- {x-version-update:google-cloud-pubsublite:current} -->
<version>1.14.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-pubsublite:current} -->
<packaging>jar</packaging>
<name>Google Cloud Pub/Sub Lite</name>
<url>https://github.com/googleapis/java-pubsublite</url>
Expand Down Expand Up @@ -38,7 +38,7 @@
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-pubsub</artifactId>
<version>1.131.0</version>
<version>1.132.0</version>
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
Expand All @@ -47,12 +47,12 @@
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-cloud-pubsublite-v1</artifactId>
<version>1.13.9-SNAPSHOT</version><!-- {x-version-update:google-cloud-pubsublite:current} -->
<version>1.14.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-pubsublite:current} -->
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>grpc-google-cloud-pubsublite-v1</artifactId>
<version>1.13.9-SNAPSHOT</version><!-- {x-version-update:google-cloud-pubsublite:current} -->
<version>1.14.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-pubsublite:current} -->
</dependency>
<dependency>
<groupId>com.google.flogger</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

import com.google.api.core.ApiFunction;
import com.google.api.core.ApiFuture;
import com.google.api.core.ObsoleteApi;
import com.google.api.gax.core.GaxProperties;
import com.google.api.gax.core.GoogleCredentialsProvider;
import com.google.api.gax.core.InstantiatingExecutorProvider;
Expand Down Expand Up @@ -610,6 +611,7 @@ public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuild
}

/** Returns the default service endpoint. */
@ObsoleteApi("Use getEndpoint() instead")
public static String getDefaultEndpoint() {
return "pubsublite.googleapis.com:443";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

import com.google.api.core.ApiFunction;
import com.google.api.core.ApiFuture;
import com.google.api.core.ObsoleteApi;
import com.google.api.gax.core.GaxProperties;
import com.google.api.gax.core.GoogleCredentialsProvider;
import com.google.api.gax.core.InstantiatingExecutorProvider;
Expand Down Expand Up @@ -216,6 +217,7 @@ public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuild
}

/** Returns the default service endpoint. */
@ObsoleteApi("Use getEndpoint() instead")
public static String getDefaultEndpoint() {
return "pubsublite.googleapis.com:443";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
package com.google.cloud.pubsublite.v1.stub;

import com.google.api.core.ApiFunction;
import com.google.api.core.ObsoleteApi;
import com.google.api.gax.core.GaxProperties;
import com.google.api.gax.core.GoogleCredentialsProvider;
import com.google.api.gax.core.InstantiatingExecutorProvider;
Expand Down Expand Up @@ -118,6 +119,7 @@ public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuild
}

/** Returns the default service endpoint. */
@ObsoleteApi("Use getEndpoint() instead")
public static String getDefaultEndpoint() {
return "pubsublite.googleapis.com:443";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
package com.google.cloud.pubsublite.v1.stub;

import com.google.api.core.ApiFunction;
import com.google.api.core.ObsoleteApi;
import com.google.api.gax.core.GaxProperties;
import com.google.api.gax.core.GoogleCredentialsProvider;
import com.google.api.gax.core.InstantiatingExecutorProvider;
Expand Down Expand Up @@ -114,6 +115,7 @@ public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuild
}

/** Returns the default service endpoint. */
@ObsoleteApi("Use getEndpoint() instead")
public static String getDefaultEndpoint() {
return "pubsublite.googleapis.com:443";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
package com.google.cloud.pubsublite.v1.stub;

import com.google.api.core.ApiFunction;
import com.google.api.core.ObsoleteApi;
import com.google.api.gax.core.GaxProperties;
import com.google.api.gax.core.GoogleCredentialsProvider;
import com.google.api.gax.core.InstantiatingExecutorProvider;
Expand Down Expand Up @@ -115,6 +116,7 @@ public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuild
}

/** Returns the default service endpoint. */
@ObsoleteApi("Use getEndpoint() instead")
public static String getDefaultEndpoint() {
return "pubsublite.googleapis.com:443";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
package com.google.cloud.pubsublite.v1.stub;

import com.google.api.core.ApiFunction;
import com.google.api.core.ObsoleteApi;
import com.google.api.gax.core.GaxProperties;
import com.google.api.gax.core.GoogleCredentialsProvider;
import com.google.api.gax.core.InstantiatingExecutorProvider;
Expand Down Expand Up @@ -137,6 +138,7 @@ public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuild
}

/** Returns the default service endpoint. */
@ObsoleteApi("Use getEndpoint() instead")
public static String getDefaultEndpoint() {
return "pubsublite.googleapis.com:443";
}
Expand Down
6 changes: 3 additions & 3 deletions grpc-google-cloud-pubsublite-v1/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.google.api.grpc</groupId>
<artifactId>grpc-google-cloud-pubsublite-v1</artifactId>
<version>1.13.9-SNAPSHOT</version><!-- {x-version-update:google-cloud-pubsublite:current} -->
<version>1.14.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-pubsublite:current} -->
<name>grpc-google-cloud-pubsublite-v1</name>
<description>GRPC library for grpc-google-cloud-pubsublite-v1</description>
<parent>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-pubsublite-parent</artifactId>
<version>1.13.9-SNAPSHOT</version><!-- {x-version-update:google-cloud-pubsublite:current} -->
<version>1.14.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-pubsublite:current} -->
<relativePath>../pom.xml</relativePath>
</parent>
<dependencies>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-cloud-pubsublite-v1</artifactId>
<version>1.13.9-SNAPSHOT</version><!-- {x-version-update:google-cloud-pubsublite:current} -->
<version>1.14.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-pubsublite:current} -->
</dependency>
<dependency>
<groupId>io.grpc</groupId>
Expand Down
12 changes: 6 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
<parent>
<groupId>com.google.cloud</groupId>
<artifactId>sdk-platform-java-config</artifactId>
<version>3.32.0</version>
<version>3.33.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-pubsublite-parent</artifactId>
<version>1.13.9-SNAPSHOT</version><!-- {x-version-update:google-cloud-pubsublite:current} -->
<version>1.14.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-pubsublite:current} -->
<packaging>pom</packaging>
<name>Google Cloud Pub/Sub Lite Parent</name>
<url>https://github.com/googleapis/java-pubsublite</url>
Expand All @@ -25,22 +25,22 @@
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-cloud-pubsublite-v1</artifactId>
<version>1.13.9-SNAPSHOT</version><!-- {x-version-update:proto-google-cloud-pubsublite-v1:current} -->
<version>1.14.1-SNAPSHOT</version><!-- {x-version-update:proto-google-cloud-pubsublite-v1:current} -->
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>grpc-google-cloud-pubsublite-v1</artifactId>
<version>1.13.9-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-pubsublite-v1:current} -->
<version>1.14.1-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-pubsublite-v1:current} -->
</dependency>
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-pubsublite</artifactId>
<version>1.13.9-SNAPSHOT</version><!-- {x-version-update:google-cloud-pubsublite:current} -->
<version>1.14.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-pubsublite:current} -->
</dependency>
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-bom</artifactId>
<version>0.221.0</version>
<version>0.224.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down
4 changes: 2 additions & 2 deletions proto-google-cloud-pubsublite-v1/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-cloud-pubsublite-v1</artifactId>
<version>1.13.9-SNAPSHOT</version><!-- {x-version-update:google-cloud-pubsublite:current} -->
<version>1.14.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-pubsublite:current} -->
<name>proto-google-cloud-pubsublite-v1</name>
<description>PROTO library for proto-google-cloud-pubsublite-v1</description>
<parent>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-pubsublite-parent</artifactId>
<version>1.13.9-SNAPSHOT</version><!-- {x-version-update:google-cloud-pubsublite:current} -->
<version>1.14.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-pubsublite:current} -->
<relativePath>../pom.xml</relativePath>
</parent>
<dependencies>
Expand Down
Loading