Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runtime: Add boolean parsing functionality #8476

Merged
merged 6 commits into from
Oct 4, 2019

Conversation

tonya11en
Copy link
Member

A patch to add the ability to parse boolean feature flags using the canonical JSON encoding for boolean values. This is a direct transfer of the code written in #8360, so that we don't lump two non-trivial changes in a single patch.

Risk Level:
Low. There were some minor changes to featureEnabled and the deprecated variant to use this instead of the custom function implemented in the runtime implementation.

Testing:
Unit tests.

Docs Changes:
API docs modified.

Tony Allen added 3 commits October 3, 2019 12:02
@repokitteh-read-only
Copy link

CC @envoyproxy/api-shepherds: Your approval is needed for changes made to api/.

🐱

Caused by: #8476 was opened by tonya11en.

see: more, trace.

Tony Allen added 2 commits October 3, 2019 13:27
Signed-off-by: Tony Allen <[email protected]>
Signed-off-by: Tony Allen <[email protected]>
@mattklein123 mattklein123 self-assigned this Oct 3, 2019
Copy link
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks this makes sense, one comment.

/wait

api/envoy/api/v2/core/base.proto Outdated Show resolved Hide resolved
Signed-off-by: Tony Allen <[email protected]>
Copy link
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@mattklein123 mattklein123 merged commit 2bd1bd9 into envoyproxy:master Oct 4, 2019
danzh2010 pushed a commit to danzh2010/envoy that referenced this pull request Oct 4, 2019
nandu-vinodan pushed a commit to nandu-vinodan/envoy that referenced this pull request Oct 17, 2019
@tonya11en tonya11en deleted the get_boolean branch November 13, 2019 04:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants