Repository navigation
test(bigquery-jdbc): align ITOpenTelemetryTest with per-connection proxy, TrustStore, and GAPIC Logging - #15374
Open
keshavdandeva wants to merge 1 commit into
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request refactors ITOpenTelemetryTest.java to improve integration testing configurations. It replaces the global system-property-based proxy setup with explicit, scoped CloseableHttpClient and TransportChannelProvider configurations, supporting authenticated proxies and custom SSL trust stores. Additionally, it migrates the log verification from the legacy Logging service to LoggingClient and adds a 24-hour time bound to the log query. The feedback suggests throwing an explicit IllegalStateException if a custom SSL trust store is provided but the channel builder is not an instance of NettyChannelBuilder, preventing silent failures during SSL configuration.
…oxy, TrustStore, and GAPIC Logging
keshavdandeva
force-pushed
the
fix/jdbc-telemetry-v2-4b-it-telemetry-alignment
branch
from
December 3, 2026 13:31
b6ef057 to
79edfe9
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Aligns
ITOpenTelemetryTestverification clients with GAPICLoggingClientand per-connection proxy,SSLTrustStore*, anduniverseDomainsettings parsed from the connection URL.Key Decisions
LoggingClientfor log verification: Replaces the legacycom.google.cloud.logging.Loggingverification client inverifyAndFetchLogs(...)withcom.google.cloud.logging.v2.LoggingClientso verification queries honor customTransportChannelProvider(HTTP CONNECT proxy +SSLTrustStore*) anduniverseDomainjust like the driver under test.ServiceAccountCredentialswithApache5HttpTransporthonoring connection proxy and TrustStore settings when configured, scopes them withhttps://www.googleapis.com/auth/cloud-platform, and closes the underlyingCloseableHttpClientvia aVerificationCredentialsAutoCloseablewrapper.Behavior Changes
ITOpenTelemetryTestverification reads for Cloud Logging (LoggingClient) and Cloud Trace (TraceServiceClient) now propagateProxyHost,ProxyPort,ProxyUid,ProxyPwd,SSLTrustStore*, anduniverseDomainfromCONNECTION_URLinto both OAuth token refresh and gRPC verification channels.