Skip to content

runtime: add comment capability#2019

Merged
danielhochman merged 4 commits intomasterfrom
runtime-comments
Nov 9, 2017
Merged

runtime: add comment capability#2019
danielhochman merged 4 commits intomasterfrom
runtime-comments

Conversation

@danielhochman
Copy link
Copy Markdown
Contributor

Signed-off-by: Daniel Hochman [email protected]

runtime: add comment capability

Risk Level: Low

// Remove any comments. Comments are only allowed at the beginning of the file. A comment
// is a line starting with a '#' character. Comments can span multiple lines if each line
// starts with a '#' character. Comments are useful for placeholder files with no value.
while (!entry.string_value_.empty()) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

nit: I would probably add a new function fileReadAllLines or something which returns an std::list<std::string>. That function is very easy to write using C++ std primitives. Then this function becomes a lot clearer to write.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

yeah or that. master doesn't currently depend on absl yet, so could also use the split implementation in StringUtil. The small benefit I see to doing a native impl is that it would correctly handle cross platform line endings IIRC.

Signed-off-by: Daniel Hochman <[email protected]>
Signed-off-by: Daniel Hochman <[email protected]>
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.

LGTM. small nit

Lines starting with ``#`` as the first character are treated as comments.

Comments can be used to provide context on an existing value.
Comments are also useful in an otherwise empty file to keep a placeholder for deployment in
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

nit: AFAIK this won't render as another paragraph. Either line break or reflow with the previous sentence.

Signed-off-by: Daniel Hochman <[email protected]>
@danielhochman danielhochman merged commit 8a09c48 into master Nov 9, 2017
@danielhochman danielhochman deleted the runtime-comments branch November 9, 2017 23:56
Shikugawa pushed a commit to Shikugawa/envoy that referenced this pull request Mar 28, 2020
This commit updates the TCP Cluster Rewrite filter name to
envoy.filters.network.tcp_cluster_rewrite.

Signed-off-by: Venil Noronha <[email protected]>
Shikugawa pushed a commit to Shikugawa/envoy that referenced this pull request Mar 28, 2020
…2020)

This commit updates the TCP Cluster Rewrite filter name to
envoy.filters.network.tcp_cluster_rewrite.

Signed-off-by: Venil Noronha <[email protected]>
Shikugawa pushed a commit to Shikugawa/envoy that referenced this pull request Mar 28, 2020
* Improve performance by removing MD5 for check cache keys (envoyproxy#2002)

* Improve performance by removing MD5 for check cache keys

Signed-off-by: Wayne Zhang <[email protected]>

* not to allocate memory from stack

Signed-off-by: Wayne Zhang <[email protected]>

* Make debug string readable

Signed-off-by: Wayne Zhang <[email protected]>

* alts: remove ALTS (envoyproxy#2003)

Signed-off-by: Lizan Zhou <[email protected]>

* Use std::hash for check cache. (envoyproxy#2009)

Signed-off-by: Wayne Zhang <[email protected]>

* Remove tests to compare signature values (envoyproxy#2015)

Signed-off-by: Wayne Zhang <[email protected]>

* update sample envoy config to latest version (envoyproxy#2016)

* Add a new TCP cluster rewrite filter (envoyproxy#2017)

* Add a new TCP cluster rewrite filter

This commit adds a new TCP cluster rewrite filter which allows users to
rewrite TCP cluster names obtained via TLS SNI by matching via regex
configuration.

Signed-off-by: Venil Noronha <[email protected]>

* Make TCP cluster rewrite stackable on SNI filter

This commit updates the TCP Cluster Rewrite filter to be stackable on
the SNI Cluster filter.

Signed-off-by: Venil Noronha <[email protected]>

* Update TCP Cluster Rewrite filter name (envoyproxy#2019)

This commit updates the TCP Cluster Rewrite filter name to
envoy.filters.network.tcp_cluster_rewrite.

Signed-off-by: Venil Noronha <[email protected]>

* Enable TCP Cluster Rewrite filter registration (envoyproxy#2021)

This commit enables the static registration of the TCP Cluster Rewrite
filter by updating the build configuration.

Signed-off-by: Venil Noronha <[email protected]>

* Update Envoy SHA to 4ef8562 (envoyproxy#2023)

Envoy /server_info API was inconsistent intermittently causing errors on
a Proxy update on Istio. This update will bring in the API fix to Istio.

Signed-off-by: Venil Noronha <[email protected]>

* add proxy postsubmit periodic (envoyproxy#2025)
Shikugawa pushed a commit to Shikugawa/envoy that referenced this pull request Mar 28, 2020
* Improve performance by removing MD5 for check cache keys (envoyproxy#2002)

* Improve performance by removing MD5 for check cache keys

Signed-off-by: Wayne Zhang <[email protected]>

* not to allocate memory from stack

Signed-off-by: Wayne Zhang <[email protected]>

* Make debug string readable

Signed-off-by: Wayne Zhang <[email protected]>

* alts: remove ALTS (envoyproxy#2003)

Signed-off-by: Lizan Zhou <[email protected]>

* Use std::hash for check cache. (envoyproxy#2009)

Signed-off-by: Wayne Zhang <[email protected]>

* Remove tests to compare signature values (envoyproxy#2015)

Signed-off-by: Wayne Zhang <[email protected]>

* update sample envoy config to latest version (envoyproxy#2016)

* Add a new TCP cluster rewrite filter (envoyproxy#2017)

* Add a new TCP cluster rewrite filter

This commit adds a new TCP cluster rewrite filter which allows users to
rewrite TCP cluster names obtained via TLS SNI by matching via regex
configuration.

Signed-off-by: Venil Noronha <[email protected]>

* Make TCP cluster rewrite stackable on SNI filter

This commit updates the TCP Cluster Rewrite filter to be stackable on
the SNI Cluster filter.

Signed-off-by: Venil Noronha <[email protected]>

* Update TCP Cluster Rewrite filter name (envoyproxy#2019)

This commit updates the TCP Cluster Rewrite filter name to
envoy.filters.network.tcp_cluster_rewrite.

Signed-off-by: Venil Noronha <[email protected]>

* Enable TCP Cluster Rewrite filter registration (envoyproxy#2021)

This commit enables the static registration of the TCP Cluster Rewrite
filter by updating the build configuration.

Signed-off-by: Venil Noronha <[email protected]>

* Update Envoy SHA to 4ef8562 (envoyproxy#2023)

Envoy /server_info API was inconsistent intermittently causing errors on
a Proxy update on Istio. This update will bring in the API fix to Istio.

Signed-off-by: Venil Noronha <[email protected]>

* add proxy postsubmit periodic (envoyproxy#2025)

* Update Envoy SHA to c41fa71 (envoyproxy#2029)

* Update Envoy SHA

Signed-off-by: JimmyCYJ <[email protected]>

* Fix format.

Signed-off-by: JimmyCYJ <[email protected]>

* bazel: Allow to distdir all dependencies (envoyproxy#2034)

To use --distdir option of Bazel (which allows to use previously
fetched tarballs instead of downloading dependencies during
build), all dependencies should use http instead of git and need
to have sha256 sums specified.

Signed-off-by: Michal Rostecki <[email protected]>

* bazel: Remove BoringSSL repository (envoyproxy#2035)

Pull request envoyproxy#2002 removed signature calculation which was using
BoringSSL as a dependency. BoringSSL is not needed anymore.

Signed-off-by: Michal Rostecki <[email protected]>

* Update Envoy SHA to fcc68f1 (envoyproxy#2037)

* Update Envoy SHA to fcc68f1

Signed-off-by: JimmyCYJ <[email protected]>

* Update SHA256

Signed-off-by: JimmyCYJ <[email protected]>
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.

3 participants