@@ -72,6 +76,47 @@ public class ServiceMetaInfoAdapter extends ServiceMetaInfo {
this(any.getValue());
}
/**
* This method does the reverse conversion of https://github.com/istio/proxy/blob/938a9485a4286f0ce824b76df221a9bb6c8a6989/extensions/common/proto_util.cc#L112. It extracts the metadata from the
* {@link FlatNode flat buffer node} so that we can reuse the logic of {@link FieldsHelper}.
*
* @param node the flat buffer node where to extract the metadata