Skip to content

runtime: Add boolean parsing functionality#8476

Merged
mattklein123 merged 6 commits intoenvoyproxy:masterfrom
tonya11en:get_boolean
Oct 4, 2019
Merged

runtime: Add boolean parsing functionality#8476
mattklein123 merged 6 commits intoenvoyproxy:masterfrom
tonya11en:get_boolean

Conversation

@tonya11en
Copy link
Copy Markdown
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
Signed-off-by: Tony Allen <tallen@lyft.com>
Signed-off-by: Tony Allen <tallen@lyft.com>
Signed-off-by: Tony Allen <tallen@lyft.com>
@repokitteh-read-only
Copy link
Copy Markdown

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 <tallen@lyft.com>
Signed-off-by: Tony Allen <tallen@lyft.com>
@mattklein123 mattklein123 self-assigned this Oct 3, 2019
Copy link
Copy Markdown
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

Signed-off-by: Tony Allen <tallen@lyft.com>
Copy link
Copy Markdown
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
Signed-off-by: Tony Allen <tallen@lyft.com>
nandu-vinodan pushed a commit to nandu-vinodan/envoy that referenced this pull request Oct 17, 2019
Signed-off-by: Tony Allen <tallen@lyft.com>
@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