Skip to content

Commit 921a502

Browse files
committed
Add CEL types to the message printer
1 parent 877dfc0 commit 921a502

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

xds/src/main/java/io/grpc/xds/MessagePrinter.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616

1717
package io.grpc.xds;
1818

19+
import com.github.xds.type.matcher.v3.CelMatcher;
20+
import com.github.xds.type.matcher.v3.HttpAttributesCelMatchInput;
1921
import com.google.protobuf.Descriptors.Descriptor;
2022
import com.google.protobuf.InvalidProtocolBufferException;
2123
import com.google.protobuf.Message;
@@ -63,6 +65,8 @@ private static JsonFormat.Printer newPrinter() {
6365
// RLQS
6466
.add(RateLimitQuotaFilterConfig.getDescriptor())
6567
.add(RateLimitQuotaOverride.getDescriptor())
68+
.add(HttpAttributesCelMatchInput.getDescriptor())
69+
.add(CelMatcher.getDescriptor())
6670
// UpstreamTlsContext and DownstreamTlsContext in v3 are not transitively imported
6771
// by top-level resource types.
6872
.add(UpstreamTlsContext.getDescriptor())

0 commit comments

Comments
 (0)