File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
xds/src/main/java/io/grpc/xds Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 1616
1717package io .grpc .xds ;
1818
19+ import com .github .xds .type .v3 .TypedStruct ;
1920import com .google .protobuf .Descriptors .Descriptor ;
2021import com .google .protobuf .InvalidProtocolBufferException ;
2122import com .google .protobuf .Message ;
3233import io .envoyproxy .envoy .extensions .filters .http .rbac .v3 .RBACPerRoute ;
3334import io .envoyproxy .envoy .extensions .filters .http .router .v3 .Router ;
3435import io .envoyproxy .envoy .extensions .filters .network .http_connection_manager .v3 .HttpConnectionManager ;
36+ import io .envoyproxy .envoy .extensions .load_balancing_policies .round_robin .v3 .RoundRobin ;
37+ import io .envoyproxy .envoy .extensions .load_balancing_policies .wrr_locality .v3 .WrrLocality ;
3538import io .envoyproxy .envoy .extensions .transport_sockets .tls .v3 .DownstreamTlsContext ;
3639import io .envoyproxy .envoy .extensions .transport_sockets .tls .v3 .UpstreamTlsContext ;
3740import io .grpc .xds .client .MessagePrettyPrinter ;
@@ -65,7 +68,10 @@ private static JsonFormat.Printer newPrinter() {
6568 .add (RouteConfiguration .getDescriptor ())
6669 .add (Cluster .getDescriptor ())
6770 .add (ClusterConfig .getDescriptor ())
68- .add (ClusterLoadAssignment .getDescriptor ());
71+ .add (ClusterLoadAssignment .getDescriptor ())
72+ .add (WrrLocality .getDescriptor ())
73+ .add (TypedStruct .getDescriptor ())
74+ .add (RoundRobin .getDescriptor ());
6975 try {
7076 @ SuppressWarnings ("unchecked" )
7177 Class <? extends Message > routeLookupClusterSpecifierClass =
You can’t perform that action at this time.
0 commit comments