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 16
16
17
17
package io .grpc .xds ;
18
18
19
+ import com .github .xds .type .v3 .TypedStruct ;
19
20
import com .google .protobuf .Descriptors .Descriptor ;
20
21
import com .google .protobuf .InvalidProtocolBufferException ;
21
22
import com .google .protobuf .Message ;
32
33
import io .envoyproxy .envoy .extensions .filters .http .rbac .v3 .RBACPerRoute ;
33
34
import io .envoyproxy .envoy .extensions .filters .http .router .v3 .Router ;
34
35
import 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 ;
35
38
import io .envoyproxy .envoy .extensions .transport_sockets .tls .v3 .DownstreamTlsContext ;
36
39
import io .envoyproxy .envoy .extensions .transport_sockets .tls .v3 .UpstreamTlsContext ;
37
40
import io .grpc .xds .client .MessagePrettyPrinter ;
@@ -65,7 +68,10 @@ private static JsonFormat.Printer newPrinter() {
65
68
.add (RouteConfiguration .getDescriptor ())
66
69
.add (Cluster .getDescriptor ())
67
70
.add (ClusterConfig .getDescriptor ())
68
- .add (ClusterLoadAssignment .getDescriptor ());
71
+ .add (ClusterLoadAssignment .getDescriptor ())
72
+ .add (WrrLocality .getDescriptor ())
73
+ .add (TypedStruct .getDescriptor ())
74
+ .add (RoundRobin .getDescriptor ());
69
75
try {
70
76
@ SuppressWarnings ("unchecked" )
71
77
Class <? extends Message > routeLookupClusterSpecifierClass =
You can’t perform that action at this time.
0 commit comments