Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps: update gapic-showcase to v0.33.0 #2653

Merged
merged 3 commits into from
Apr 22, 2024
Merged
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
11 changes: 0 additions & 11 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -106,17 +106,6 @@ http_archive(
urls = ["https://github.com/googleapis/disco-to-proto3-converter/archive/%s.zip" % _disco_to_proto3_converter_commit],
)

# Showcase
_showcase_version = "0.28.2"

http_archive(
name = "com_google_gapic_showcase",
strip_prefix = "gapic-showcase-%s" % _showcase_version,
urls = [
"https://github.com/googleapis/gapic-showcase/archive/refs/tags/v%s.zip" % _showcase_version,
],
)

http_archive(
name = "rules_pkg",
sha256 = "8a298e832762eda1830597d64fe7db58178aa84cd5926d76d5b744d6558941c2",
Expand Down
2 changes: 1 addition & 1 deletion showcase/gapic-showcase/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</parent>

<properties>
<gapic-showcase.version>0.30.0</gapic-showcase.version>
<gapic-showcase.version>0.33.0</gapic-showcase.version>
</properties>

<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
* .setHeader("header-1221270899")
* .setOtherHeader("otherHeader-2026585667")
* .setRequestId("requestId693933066")
* .setOtherRequestId("otherRequestId1248995034")
* .build();
* EchoResponse response = echoClient.echo(request);
* }
Expand Down Expand Up @@ -440,6 +441,7 @@ public final OperationsClient getHttpJsonOperationsClient() {
* .setHeader("header-1221270899")
* .setOtherHeader("otherHeader-2026585667")
* .setRequestId("requestId693933066")
* .setOtherRequestId("otherRequestId1248995034")
* .build();
* EchoResponse response = echoClient.echo(request);
* }
Expand Down Expand Up @@ -471,6 +473,7 @@ public final EchoResponse echo(EchoRequest request) {
* .setHeader("header-1221270899")
* .setOtherHeader("otherHeader-2026585667")
* .setRequestId("requestId693933066")
* .setOtherRequestId("otherRequestId1248995034")
* .build();
* ApiFuture<EchoResponse> future = echoClient.echoCallable().futureCall(request);
* // Do something.
Expand Down Expand Up @@ -620,6 +623,7 @@ public final ServerStreamingCallable<ExpandRequest, EchoResponse> expandCallable
* .setHeader("header-1221270899")
* .setOtherHeader("otherHeader-2026585667")
* .setRequestId("requestId693933066")
* .setOtherRequestId("otherRequestId1248995034")
* .build();
* requestObserver.onNext(request);
* }
Expand Down Expand Up @@ -650,6 +654,7 @@ public final ClientStreamingCallable<EchoRequest, EchoResponse> collectCallable(
* .setHeader("header-1221270899")
* .setOtherHeader("otherHeader-2026585667")
* .setRequestId("requestId693933066")
* .setOtherRequestId("otherRequestId1248995034")
* .build();
* bidiStream.send(request);
* for (EchoResponse response : bidiStream) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
* .setHeader("header-1221270899")
* .setOtherHeader("otherHeader-2026585667")
* .setRequestId("requestId693933066")
* .setOtherRequestId("otherRequestId1248995034")
* .build();
* EchoResponse response = echoClient.echo(request);
* }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,9 @@ protected GrpcEchoStub(
if (Strings.isNullOrEmpty(request.getRequestId())) {
requestBuilder.setRequestId(UUID.randomUUID().toString());
}
if (Strings.isNullOrEmpty(request.getOtherRequestId())) {
requestBuilder.setOtherRequestId(UUID.randomUUID().toString());
}
return requestBuilder.build();
})
.build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -668,6 +668,9 @@ protected HttpJsonEchoStub(
if (Strings.isNullOrEmpty(request.getRequestId())) {
requestBuilder.setRequestId(UUID.randomUUID().toString());
}
if (Strings.isNullOrEmpty(request.getOtherRequestId())) {
requestBuilder.setOtherRequestId(UUID.randomUUID().toString());
}
return requestBuilder.build();
})
.build();
Expand Down

Large diffs are not rendered by default.

Loading
Loading