config: add sample config in text proto format.#1657
config: add sample config in text proto format.#1657PiotrSikora wants to merge 2 commits intoenvoyproxy:masterfrom
Conversation
Support for parsing configs in the text proto was added in commit ca8572e, but there were no tests or examples that verified that this feature really works. Signed-off-by: Piotr Sikora <piotrsikora@google.com>
|
@htuch this is pretty ugly, any ideas if there are |
|
There aren't, @jmillikin-stripe has proposed we adopt Any for well-known protos. I'm unconvinced that proto text is desirable in general; it's not properly standardized and we already have a well supported text format (which Google is preferring going forward for proto text representation). I would drop this review for this reason. |
|
+1 I'm not sure we really want to demonstrate this to people. IMO we should push people towards JSON/YAML. It looks much nicer. |
|
I agree that due to use of |
|
Even though using |
|
I don't really have a super strong opinion about this. As long as the proto library supports this we can support it. I don't want to really encourage people to use this though. @htuch ? @PiotrSikora I think you need to push an empty commit to kick the DCO bot. |
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
|
Let's resolve #1680 first so we can decide where we want to go with proto text. |
|
What's our current thinking on this one? Personally I'm tempted to skip it. Note that @jmillikin-stripe did add test coverage for a basic proto text test, it's just written out in code. @PiotrSikora @htuch @jmillikin-stripe ? (This doesn't mean not supporting it via load, it just doesn't mean publicizing it). |
|
I'm fine with not having an example. |
|
Let's make #1680 happen first, then we can support an example/test which will be readable. |
It's not actually clear to me that we should fix that issue, but let's discuss there. |
|
Let's close this out for now, feel free to reopen when we have some progress on #1680. |
* Update_Dependencies (envoyproxy#1657) * Use mTLS mode enum to decide authentication result. * Clang * Use NOT_REACHED macros for default case. * Clang
Description: Exposes a StreamIntel struct on all response callbacks. Currently set up to contain stream ID, connection ID and attempt count, but eventually can furnish a variety of stream properties, context, and metrics. Risk Level: Moderate Testing: Local & CI Docs Changes: Upcoming in separate PR Signed-off-by: Mike Schore <mike.schore@gmail.com> Signed-off-by: JP Simard <jp@jpsim.com>
Description: Exposes a StreamIntel struct on all response callbacks. Currently set up to contain stream ID, connection ID and attempt count, but eventually can furnish a variety of stream properties, context, and metrics. Risk Level: Moderate Testing: Local & CI Docs Changes: Upcoming in separate PR Signed-off-by: Mike Schore <mike.schore@gmail.com> Signed-off-by: JP Simard <jp@jpsim.com>
Support for parsing configs in the text proto was added in commit
ca8572e, but there were no tests
or examples that verified that this feature really works.