Eric Anderson
5ec0187e23
examples: Fix WORKSPACE to allow referencing grpc-xds
2024-07-23 16:11:44 -07:00
Eric Anderson
36e687f9d9
examples: Add bzlmod support
...
This also updates the version number of the grpc-java module as part of
the release process.
2024-07-23 08:32:13 -07:00
Eric Anderson
85e0a01ecd
util: Mark GracefulSwitchLB.switchTo() deprecated
2024-07-23 08:31:49 -07:00
Eric Anderson
9269050125
examples: For Bazel, remove compat repo for maven_install
...
It hasn't been needed since 0064991 . In that commit the main WORKSPACE
was cleaned up, but not the examples.
2024-07-22 16:35:42 -07:00
Kannan J
0aa976c4eb
V1reflectionservice ( #11237 )
...
V1 version of the proto reflection service, as the v1.alpha service has been deprecated.
* Create V1 alpha service wrapping underlying V1 service, by modifying the ServerServiceDefinition.
* Create ProtoReflectionService for the v1alpha proto by producing a ServerServiceDefinition constructed from that of the v1 service but with the service and method names and proto descriptors modified.
Issue #6724 .
2024-07-19 19:27:13 +05:30
Eric Anderson
704123ed65
Upgrade Truth to 1.4.4
2024-07-17 21:02:23 -07:00
Eric Anderson
1ec5fab749
RELEASING.md: Simplify steps and add post-release upgrade ( #11384 )
2024-07-16 09:43:36 -07:00
erm-g
516dec989a
util: Align AdvancedTlsX509{Key and Trust}Manager ( #11385 )
...
* Swap internal key/cert args
* Deprecate *FromFile methods
* Test for client trusted socket
2024-07-16 12:33:19 -04:00
Sreenithi Sridharan
92f4fde61b
Increase timeout of the LB test suite to 5 hours ( #11356 ).
2024-07-16 10:58:19 +05:30
Eric Anderson
7ba293f49f
Upgrade ErrorProne Core to 2.28.0
2024-07-12 14:59:20 -07:00
Eric Anderson
2452730192
Name old undertow servlet lib with version number
...
This makes it clearer it isn't intended to be upgraded. We do this
already for the other servlet containers (e.g., jetty-servlet10).
2024-07-12 11:31:24 -07:00
Eric Anderson
8ce4456f2c
kokoro: Port android.sh to Kokoro Ubuntu 22.04
...
Java 8 isn't installed, and was needed by the old Android SDK. With the
current SDK, it can work on Java 11 but it needs some dependencies
installed.
Python 2.7 isn't available any more, but instead of porting to Python 3,
it was just replaced with a curl command.
2024-07-12 07:47:42 -07:00
Eric Anderson
64ac792b5e
Upgrade Gradle and Gradle plugins
2024-07-11 16:28:51 -07:00
Eric Anderson
a977385187
Upgrade dependencies
...
The GSON upgrade slightly changed an error string, so the test was
updated to be less of a change detector.
Some OpenTelemetry dependencies are alpha versions, so needed an
adjustment in build.gradle to accept the versions. Similarly, Undertow
includes Final in its version numbers which needs to be accepted.
2024-07-11 15:09:00 -07:00
maleo
6dd6ca9f90
Remove udpa aa repo alias for xds
2024-07-11 10:47:23 -07:00
cfredri4
dcb1c018c6
Fix AdvancedTlsX509TrustManager to handle client side validation of socket
2024-07-11 10:25:00 -07:00
erm-g
658cbf6cfe
util: Stabilize AdvancedTlsX509TrustManager
2024-07-11 09:11:48 -07:00
Andrey Ermolov
b181e495ab
ExperimantalApi to deprecated methods
2024-07-11 08:21:19 -07:00
Larry Safran
506192872e
Restore old behavior of NettyAdaptiveCumulator, but avoid using that class if Netty is on version 4.1.111 or later. ( #11367 )
2024-07-10 10:38:46 -07:00
erm-g
ecae9b797d
security: Add updateIdentityCredentials methods to AdvancedTlsX509KeyManager. ( #11358 )
...
Add new 'updateIdentityCredentials' methods with swapped (chain, key) signatures.
2024-07-10 12:30:27 +05:30
John Cormie
21dec30924
Establish a default connect timeout. ( #11359 )
...
Enables the timer added in #11137
2024-07-09 12:46:21 -07:00
Eric Anderson
0ff3f8e4ac
kokoro: Adjust android CIs to work with Ubuntu 22.04 image
...
It doesn't have Android SDK nor the VERSION file. See also d654707838
2024-07-09 08:16:24 -07:00
Eric Anderson
77b3bb77ef
buildSrc: Avoid duplicating group in checkForUpdates
...
getModule() returns a ModuleIdentifier, not a string. And the
identifier's toString() includes the module's group.
2024-07-09 08:12:55 -07:00
Eric Anderson
47aa7b9bca
Upgrade Checkstyle to 10.17.0
...
The code changes are to place all overloaded methods next to each other.
2024-07-09 08:12:33 -07:00
Matthieu MOREL
37d19babff
use grpc-proto bazel_dep instead of http_archive ( #11349 )
2024-07-09 13:01:43 +05:30
Eric Anderson
64cf9e8c20
Update README etc to reference 1.65.0
2024-07-08 12:43:25 -07:00
Eric Anderson
71eb5fb9f0
compiler: Upgrade from CentOS 7 to AlmaLinux 8
...
CentOS 7 became end-of-life on July 1st and is no longer working. We now
dynamically link against libstdc++, as RHEL 8 doesn't support static
linking: https://access.redhat.com/articles/rhel8-abi-compatibility
We now use objdump in check-artifact for all linux architectures. This
avoids using a mix of objdump and ldd. ldd shows transitive
dependencies, which is less convenient.
2024-07-03 13:26:14 -07:00
Eric Anderson
0454b9e328
xds: Avoid switchTo in PriorityLb
2024-07-03 10:32:38 -07:00
Eric Anderson
dfb22ba97c
xds: Avoid switchTo in ClusterImplLb and ClusterResolverLb
2024-07-03 10:32:38 -07:00
Eric Anderson
749b2e0abc
util: Avoid switchTo in OutlierDetectionLb
2024-07-03 10:32:38 -07:00
Eric Anderson
2c49cc4197
xds: Avoid switchTo in WrrLocalityLb and WeightedTargetLb
2024-07-03 10:32:38 -07:00
Eric Anderson
ebed04798c
util: Add GracefulSwitchLb config
...
This is to replace switchTo(), to allow composing GracefulSwitchLb with
other helpers like MultiChildLb. It also prevents users of
GracefulSwitchLb from needing to use ServiceConfigUtil.
2024-07-03 10:32:38 -07:00
João Vitor Stein
062ebb4d77
grpc-core: use retryThrottling from defaultServiceConfig
2024-07-03 08:19:22 -07:00
Benjamin Peterson
6e25c03a7b
core: remove GrpcUtil.getHost
...
This utility is not relevant on supported JDK versions anymore.
2024-07-02 08:18:03 -07:00
Larry Safran
ccfd351a2e
Enable new PickFirst LB ( #11348 )
2024-06-28 16:30:54 -07:00
Larry Safran
0b68eff120
core:Change address deduping to be across EAGs ( #11345 )
...
* Change dedup to be cross EAG, not just within an EAG
2024-06-28 14:58:50 -07:00
yifeizhuang
9e2145970a
doc: add document on WRR configure examples from service config and xds ( #11344 )
2024-06-27 16:55:38 -07:00
Larry Safran
7a53fa8bc1
Dualstack interop testing enablement ( #11231 )
...
* Have java test server listen on appropriate address based upon new optional flag "address_type"
2024-06-27 16:37:48 -07:00
Larry Safran
3777c303f5
deduplicate addresses within a single EAG ( #11342 )
2024-06-27 16:12:24 -07:00
Larry Safran
603033f1fa
Add null check to cleanup to avoid NPE ( #11340 )
2024-06-27 14:08:05 -07:00
cooper
25a8b7c507
Support setting onReadyThreshold through AbstractStub
...
Add copy of the onReadyThreshold property when copying CallOptions(fix bug)
2024-06-27 09:36:49 -07:00
Eric Anderson
e7c3803b5a
xds: Remove unused opencensus-proto dependency
...
opencensus-proto is old generated code, which is not compatible with
protobuf-java 4.27.2 and may not be fixed since the project is dead.
Since it is unused, I think this doesn't cause any trouble for
downstream users trying to use protobuf-java 4.x. Related to #11015 .
2024-06-26 15:30:31 -07:00
John Cormie
5770114d08
google-java-format binder/src/*/*.java ( #11297 )
...
https://github.com/grpc/grpc-java/blob/master/CONTRIBUTING.md#code-style
We've been talking about an incremental approach in https://github.com/grpc/grpc-java/issues/1664 but https://github.com/google/google-java-format/issues/1114 causes a bunch of manual formatting toil every time I run ~/google-java-format-diff.py because we have a LOT of lines >100 characters. Establishing a gjf-clean baseline will make things a lot easier for me.
2024-06-24 09:42:31 -07:00
Matthew Stevenson
46e54aeb4b
util: Add ExperimentalApi to AdvancedTlsX509KeyManager
...
There may be reordering of `updateIdentityCredentialsFromFile()`
arguments. Avoid making it stable while it is being evaluated.
2024-06-24 09:20:43 -07:00
Vindhya Ningegowda
4849e0a191
core: Add label values size validation in MetricRecorder ( #11306 )
...
Enhance MetricRecorder: Validate label values count against registered label keys count for default record APIs
2024-06-21 17:06:55 -07:00
Vindhya Ningegowda
1eec1459c2
Remove unused imports from CSM Observability example ( #11307 )
2024-06-21 16:17:33 -07:00
Vindhya Ningegowda
9e287f939e
all:Add GCP CSM Observability ( #11305 )
2024-06-21 14:35:39 -07:00
Vindhya Ningegowda
1aabc12955
Upgrade OpenTelemetry to 1.39.0 ( #11300 )
2024-06-21 14:35:24 -07:00
Vindhya Ningegowda
a409a1b459
examples: Add gRPC OpenTelemetry example ( #11299 )
...
Add gRPC OpenTelemetry example. The example uses Prometheus exporter to export metrics and can be verified locally.
It also provides an example using LoggingMetricExporter to export and log the metrics using java.util.logging.
2024-06-21 14:35:02 -07:00
Larry Safran
9b39b3ec6b
Eliminate NPE after recovering from a temporary name resolution failure. ( #11298 )
...
* Eliminate NPE after recovering from a temporary name resolution failure.
* Add test case for 2 failing subchannels to make sure it causes channel to go into TF.
2024-06-21 13:20:44 -07:00