Skip to content

Add attributes proto for proxy config. #197

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

Merged
merged 7 commits into from
Oct 13, 2017

Conversation

qiwzhang
Copy link
Contributor

No description provided.

@googlebot googlebot added the cla: yes Set by the Google CLA bot to indicate the author of a PR has signed the Google CLA. label Oct 11, 2017
@qiwzhang qiwzhang requested review from ayj and kyessenov October 11, 2017 23:13
@qiwzhang qiwzhang added this to the Istio 0.3 milestone Oct 11, 2017
// * Client Proxy to pass attributes to server Proxy.
//

// Defines attributes for use in proxy configuration.
Copy link
Contributor

Choose a reason for hiding this comment

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

A bit of context may help explain why these attributes are needed by proxy and why it's different from istio.mixer.v1.Attributes, e.g.

"The proxy produces attributes using information from traffic
requests and connections (e.g. HTTP). Some attributes are
configured per-proxy as part of the proxy configuration,
e.g. source.uid, destination.uid. Attributes may be
forwarded from the client to server proxy.

Attributes is a list of attributes. It is suitable for
configuring the proxy with sets of attributes to be included in
each request to the mixer and forwarded to the server proxy. It
differs from other [attribute][istio.mixer.v1.Attributes]
representations in that it is stateless and does not require
maintaining a global or per-connection dictionary of words."


package istio.proxy.v1.config;

// Specifies Istio Mixer attributes for Envoy Mixer filter.
Copy link
Contributor

Choose a reason for hiding this comment

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

https://github.com/istio/api/blob/master/mixer/v1/attributes.proto already provides an explanation of attributes. That said, it still might be nice to have a quick blurb about what an attribute is for those browsing generating docs without needed to refer to a similarly named but slightly different file with its own attribute definition.

"Attributes represents a set of typed name/value pairs. An Istio
attribute carries a specific piece of information such as the
error code of an API request, the latency of an API request, or
the original IP address of a TCP connection. For example:

request.path: xyz/abc
request.size: 234
request.time: 12:34:56.789 04/17/2017
source.ip: 192.168.0.1
target.service: example

The common baseline set of attributes available in most Istio
deployments is defined here."

Copy link
Contributor

Choose a reason for hiding this comment

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

Can we have on definition imported from mixer and not have two definitions for attributes?

Copy link
Member

Choose a reason for hiding this comment

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

Yes please. why not use the one from mixer? This seems like duplication. Also, there is no restriction that all proxy specific stuff should be under proxy/v1/config. proxy is bad name (should have been routing). Mixer protos are still used by Envoy (especially the check stuff).

Copy link
Contributor

@ayj ayj Oct 12, 2017

Choose a reason for hiding this comment

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

@rshriram - I asked this question earlier. The answer is that the mixer version of Attributes is optimized through the use of global and per-connection dictionaries. The former requires negotiating the dictionary version. The latter is stateful. Apply the same mechanism for proxy-to-proxy requires solving the same problems. Also, we'd like to use the non-optimized version of Attributes for a subsequent PR which introduces a new IDL configuration for generating API related attributes based on path, etc. We would like to use the unoptimized version of Attributes for this purpose.

Can we have on definition imported from mixer and not have two definitions for attributes?

Moving this and some of the other forthcoming mixer related proxy related protos under mixer/v1 sounds reasonable. We'll need another name for @Attribute to avoid conflict with the optimized version that's already present. UncompressedAttribute, ExpandedAttribute, ProxyAttribute?

@ayj
Copy link
Contributor

ayj commented Oct 12, 2017 via email

@kyessenov
Copy link
Contributor

Message itself. I understand that mixer definition is transport-optimized. So we need another definition in mixer proper to hold non-optimized attribute proto.

@qiwzhang
Copy link
Contributor Author

I think Mixer doesn't need a proper attributes defined in proto format. Probably proxy config is the first place to define a proper attributes proto. @geeknoid

@qiwzhang
Copy link
Contributor Author

qiwzhang commented Oct 12, 2017 via email

@rshriram
Copy link
Member

rshriram commented Oct 12, 2017 via email

@geeknoid
Copy link
Contributor

This is not a Mixer definition, it doesn't belong with Mixer stuff.

@qiwzhang
Copy link
Contributor Author

PTAL
Call it "UnCompressedAttributes" and moved into mixer/v1/attributes.proto.

@ayj
Copy link
Contributor

ayj commented Oct 12, 2017

Yes please. why not use the one from mixer? This seems like duplication. Also, there is no restriction that all proxy specific stuff should be under proxy/v1/config. proxy is bad name (should have been routing). Mixer protos are still used by Envoy (especially the check stuff

This is not a Mixer definition, it doesn't belong with Mixer stuff.

Organizing config by component breaks down when config spans both components, e.g. mixer_filter_config for proxy.

edit: it also couples intent with implementation. Suppose we introduce a new config type which is initially handled by the proxy but we later decide to move that logic to mixer. Do we need to add a new type? move the proto around?

@ayj
Copy link
Contributor

ayj commented Oct 12, 2017

Neither location is ideal given our component-level organization of config and the fact that proxy_mixer_filter_config logically spans both components. Can we follow the existing conventions of putting configuration used by the proxy (and distributed by pilot) under v1/proxy/?

@@ -54,6 +54,36 @@ option (gogoproto.gostring_all) = false;
// Each type of value is encoded into one of the so-called transport types present
// in this message.
//
// Defines a list of attributes in uncompressed format.
message UnCompressedAttributes {
Copy link
Contributor

Choose a reason for hiding this comment

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

s/UnCompressedAttributes/UncompressedAttributes

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@@ -54,6 +54,36 @@ option (gogoproto.gostring_all) = false;
// Each type of value is encoded into one of the so-called transport types present
// in this message.
//
// Defines a list of attributes in uncompressed format.
Copy link
Member

Choose a reason for hiding this comment

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

Please define the doc tags to make sure the doc gen does not document this file.. Take a look at other files for reference. Welcome to the docs madness.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@rshriram
The change is added to an existing file. Do I still need to define the doc tag?
Beside, I don't find any doc tags in this file. What does it look like?

@mandarjog
Copy link
Contributor

@qiwzhang where / how do you plan to use the uncompressed attributes ?

ayj added a commit to ayj/api that referenced this pull request Oct 13, 2017
See https://goo.gl/aw9M1w for a design proposal on "Istio API spec and
attribute generation".

See https://goo.gl/3WTUfW for the list of API attributes.

NOTE: this depends on istio#197 for
UncompressedAttribute definition.
ayj added a commit to ayj/api that referenced this pull request Oct 13, 2017
See https://goo.gl/aw9M1w for a design proposal on "Istio API spec and
attribute generation".

See https://goo.gl/3WTUfW for the list of API attributes.

NOTE: this depends on istio#197 for
UncompressedAttribute definition.
@qiwzhang qiwzhang merged commit 782bac5 into istio:master Oct 13, 2017
@qiwzhang qiwzhang deleted the attribute_proto branch October 13, 2017 17:10
@rshriram
Copy link
Member

rshriram commented Oct 13, 2017 via email

incfly pushed a commit to incfly/api that referenced this pull request Jun 13, 2018
* Refactory the mixer config loading.

* fix format

* Add integration test.

* updated README.md

* s/send/sent/
incfly pushed a commit to incfly/api that referenced this pull request Jun 13, 2018
* Point to googleapi in service control client. (istio#91)

* Point to googleapi in service control client.

* Use git repository for service-control-client.

* Merge latest changes from master (istio#104)

* Get attributes from envoy config. (istio#87)

* Send all attributes.

* Remove unused const strings.

* Address comment.

* updated SHA to point to newer envoy with RDS API feature (istio#94)

* Disable travis on stable branches (istio#96)

* Publish debug binaries (no release yet) (istio#98)

* Copies the binary instead of linking for release (istio#102)

* Extract quota config from service config. (istio#101)

* Add metric_cost in config.

* Remove group rules.

* Call loadQuotaConfig in config::create.

* Update latest update from master branch (istio#106)

* Get attributes from envoy config. (istio#87)

* Send all attributes.

* Remove unused const strings.

* Address comment.

* updated SHA to point to newer envoy with RDS API feature (istio#94)

* Disable travis on stable branches (istio#96)

* Publish debug binaries (no release yet) (istio#98)

* Copies the binary instead of linking for release (istio#102)

* Added quota contoll without the service control client library (istio#93)

* Added quota contoll without the service control client library

* Applied code review

* Applied code review

* Resolve conflicts

* Resolve conflicts

* Fixed format error reported by script/check-style

* Fixed a bug at Aggregated::GetAuthToken that causes Segmentation Fault

* Changed usage of template funcion

* Applied latest changes from the repo

* Applied latest changes from the repo

* Applied latest changes from the repo

* Adde comments

* Updated log information

* Applied istio#101

* Changed metric_cost_map to metric_cost_vector

* Fixed test case compilation error

* Fixed test case compilation error

* Add unit test for quota config. (istio#108)

* Add unit test for quota config.

* Add comments.

* Update test specifics.

* Merge latest changes from master branch (istio#112)

* Get attributes from envoy config. (istio#87)

* Send all attributes.

* Remove unused const strings.

* Address comment.

* updated SHA to point to newer envoy with RDS API feature (istio#94)

* Disable travis on stable branches (istio#96)

* Publish debug binaries (no release yet) (istio#98)

* Copies the binary instead of linking for release (istio#102)

* Not to use api_key if its service is not actived. (istio#109)

* If QuotaControl service is not available, return utils::Status::OK (istio#113)

* If QuotaControl service is not available, return utils::Status::OK

* Updated comment

* Return HTTP status code 429 on google.rpc.Code.RESOURCE_EXHAUSTED (istio#119)

* Fixed incorrectly resolved conflicts (istio#123)

* Added unit test cases for rate limiting (istio#124)

* Fixed incorrectly resolved conflicts

* Added unit test cases for rate limiting

* Added unit test cases for rate limiting

* Added unit test cases for rate limiting

* Added unit test cases for rate limiting

* Added unit test cases for rate limiting

* Added unit test cases for rate limiting

* Rename response.http.code (istio#125) (istio#128)

* Added handling of error code QUOTA_SYSTEM_UNAVAILABLE (istio#148)

* Integrated service control client library with quota cache aggregation (istio#149)

* Fixed error on merge (istio#151)

* Integrated service control client library with quota cache aggregation

* Fixed error on merge

* Fixed the compatibility issue with the latest update on esp (istio#152)

* Removed copied proto files (istio#208)

* Set default allocate quota request timeout to 1sec and applied latest service control client library change (istio#211)

* Merged key_restriction related changes from master (istio#213)

* Merge latest changes from master branch (istio#217)

* Not call report if decodeHeaders is not called. (istio#150)

* Update mixerclient with sync-ed grpc write and fail-fast. (istio#155)

* Update mixerclient with sync-ed write and fail-fast.

* Update to latest test.

* Update again

* Update envoy to PR553 (istio#156)

* Update envoy to PR553

* Update libevent to 2.1.8

* Uses a specific version of the Shared Pipeline lib (istio#158)

* Update lyft/envoy commit Id to latest. (istio#161)

* Update lyft/envoy commit Id to latest.

* Remove the comment about pull request

* Add new line - will delete in next commit.

* Update repositories.bzl (istio#169)

* Always set response latency (istio#172)

* Update mixerclient to sync_transport change. (istio#178)

* Use opaque config to turn on/off forward attribute and mixer filter (istio#179)

* Modify mixer filter

* Swap defaults

* Make the filter decoder only

* cache mixer disabled decision

* Fix a bug in opaque config change and test it out (istio#182)

* Fix a bug and test it out

* Update filter type

* Update README.md

* Update mixer client to mixer api with gogoproto. (istio#184)

* Move .bazelrc to tools/bazel.rc (istio#186)

* Move .bazelrc to tools/bazel.rc

* Update Jenkinsfile with latest version of pipeline

* Support apikey based traffic restriction (istio#189)

* b/36368559 support apikey based traffic restriction

* Fixed code formatting

* Fix crash in unreachable/overloaded RDS (istio#190)

* Add mixer client end to end integration test. (istio#177)

* Add mixer client end to end integration test.

* Split some repositories into a separate file.

* use real mixer for fake mixer_server.

* Test repository

* use mixer bzl file.

* Use mixer repositories

* Not to use mixer repository.

* Add return line at the end of WORKSPACE.

* Fix broken link (istio#193)

* Make quota call (istio#192)

* hookup quota call

* Make quota call.

* Update indent.

* Update envoy and update configs (istio#195)

* Update envoy and update configs

* Use gcc-4.9 for travis

* Use bazel 0.4.5

* Fix SHA of lightstep-tracer-common

* Enable check cache and refactory mixer config loading  (istio#197)

* Refactory the mixer config loading.

* fix format

* Add integration test.

* updated README.md

* s/send/sent/

* Split into separate tests. (istio#201)

* Update README on how to enable check cache. (istio#204)

* Update README on how to enable check cache.

* Update the comment.

* build: support Envoy native Bazel build. (istio#210)

* build: support Envoy native Bazel build.

This patch switches the Envoy build from src/envoy/repositories.bzl to
using the upstream native build.

See envoyproxy/envoy#663 for the corresponding changes
on the Envoy side.

* Use Envoy master with BUILD.wip rename merged.

* Fix clang-format issues.

* Fixes bazel.rc issues (istio#212)

* Fixes bazel rc issues

* Update Jenkins to latest pipeline version

* Updated the commit id of cloudendpoints/service-control-client-cxx (istio#218)

* Update commitid of cloudendpoints/service-control-client-cxx repo (istio#220)
incfly pushed a commit to incfly/api that referenced this pull request Jun 13, 2018
* Created check security rules file and a few dummy/helper functions. (istio#40)

* Created check security rules file and a few dummy/helper functions.

And added it to check work flow.

* Fix format.

* Firebase: Merge from master. (istio#53)

* Simple TCP server to show how to retrieve original dest IP:port after an iptables redirect (istio#38)

* Simple TCP server to show how to retrieve original dest IP:port after an iptables redirect

* Fixed style.

* Rebase Envoy (istio#41)

* Update prototype to use iptables (istio#42)

* Rebase to fixed Envoy (istio#43)

* Handle HEAD request. (istio#34)

* Handle HEAD request.

* Try with GET if HEAD fails.

* Address comments.

* Format file.

* Expose bazel target (istio#48)

* Try again (istio#49)

* Enable ESP to invoke Firebase Security rules. (istio#54)

* Enable ESP to invoke Firebase Security rules.

* Address code review comments.

* Remove some debug logs

* Add proto file to capture TestRulesetRequest.

* clang-format files

* Resolve a merge issue with previous commit

* Allow security rules to disabled via serverconfig

* format file

* Addressed Wayne's review comments.

* Add firebase server to Server Config.

* Address Lizan's review comments

* Address review comments.

* Disable check rules service by default.

* Address more review comments.

* Fix a check.

* Delete unwanted constant.

* Address Wayne's comments and add a simple config test.

* Address a review comment.

* Add negative test case for config

* Address code review

* Remove unwanted const std::string

* Merge from master into firebase (istio#65)

* Simple TCP server to show how to retrieve original dest IP:port after an iptables redirect (istio#38)

* Simple TCP server to show how to retrieve original dest IP:port after an iptables redirect

* Fixed style.

* Rebase Envoy (istio#41)

* Update prototype to use iptables (istio#42)

* Rebase to fixed Envoy (istio#43)

* Handle HEAD request. (istio#34)

* Handle HEAD request.

* Try with GET if HEAD fails.

* Address comments.

* Format file.

* Expose bazel target (istio#48)

* Try again (istio#49)

* Integrate with mixer client. (istio#55)

* Integrate with mixer client.

* Restore  repositories.bzl back.

* Add originIp and originHost attributes. (istio#56)

* Add uuid-dev dependency in README.md (istio#45)

* Extract originIp and OriginHost. (istio#57)

* Extract originIp and OriginHost.

* Make header x-forwarded-host const.

* Update buckets for UI. (istio#58)

* Update buckets for UI.

* Only update time_distribution.

* Add targetService attribute. (istio#59)

* Use envoy new access_log handler for sending Report. (istio#60)

* use access_log handler.

* Not to use Loggable base class.

* Update to the latest envoy with istio#396. (istio#61)

* Fix tclap dependency fetching error (istio#62)

* Update the auth checke to use service.experimental.authorization.providerwq!

* Update the auth check to use service.experimental.authorization.provider

* Update the auth check to use service.experimental.authorization.provider (istio#67)

* Update the auth check to use service.experimental.authorization.provider

* Address comments and revert accidental change.

* Remove unnecessary added accidentally.

* Another patch

* fix the logic

* fix lint

* Fix broken test and add unit tests

* Fix comments

* Fix style check

* revert style for raw string

* fix small lint

* fix small lint

* fix small lint

* Unit tests for check security rules. (istio#75)

* Unit tests for check security rules.

* format

* Address review comments.

* Fix typos

* Merge from master to firebase (istio#143)

* Simple TCP server to show how to retrieve original dest IP:port after an iptables redirect (istio#38)

* Simple TCP server to show how to retrieve original dest IP:port after an iptables redirect

* Fixed style.

* Rebase Envoy (istio#41)

* Update prototype to use iptables (istio#42)

* Rebase to fixed Envoy (istio#43)

* Handle HEAD request. (istio#34)

* Handle HEAD request.

* Try with GET if HEAD fails.

* Address comments.

* Format file.

* Expose bazel target (istio#48)

* Try again (istio#49)

* Integrate with mixer client. (istio#55)

* Integrate with mixer client.

* Restore  repositories.bzl back.

* Add originIp and originHost attributes. (istio#56)

* Add uuid-dev dependency in README.md (istio#45)

* Extract originIp and OriginHost. (istio#57)

* Extract originIp and OriginHost.

* Make header x-forwarded-host const.

* Update buckets for UI. (istio#58)

* Update buckets for UI.

* Only update time_distribution.

* Add targetService attribute. (istio#59)

* Use envoy new access_log handler for sending Report. (istio#60)

* use access_log handler.

* Not to use Loggable base class.

* Update to the latest envoy with istio#396. (istio#61)

* Fix tclap dependency fetching error (istio#62)

* Integrate mixer client directly with envoy. (istio#66)

* Integrate mixer client directly with envoy.

* Send response header in Report.

* rename filter name from esp to mixer.

* add README.

* Add release binary script. (istio#68)

* Push tar.gz to GCS (istio#69)

* Push tar.gz to GCS

* Rename envoy_esp

* Remove mixer_client from api_manager. (istio#72)

* Update mixer client SHA. (istio#74)

* Update readme. (istio#73)

* Adds Jenkinsfile and updates release-binary to create a SHA. (istio#71)

* Adds Jenkinsfile and update release-binary
* Update Jenkinsfile and gitignore
* Fixes typo and use normal build Node
* Uses default bazel config
* Using batch mode
* Update bazel memory settings
* Do not use Jenkins bazel env
* Set .bazelrc for postsubmit

* Update grpc and protobuf (istio#70)

* protobuf v3.2.0
* grpc v1.1.1
* Align auth lib with grpc 1.1.1

* Add sourceService. (istio#78)

* Add script to build docker image. (istio#77)

* Add script to build docker image.

* Add start_envoy for docker image.

* Use official attribute names (istio#80)

* Use official attribute names

* fix format

* Creates a KEY for mixer client dep. Updates release-binary (istio#79)

* Updated mixer repo to use a key for commit

* release-binary skip build if file exists.

* Update src/envoy/mixer/README. (istio#82)

* Fix src/envoy/mixer/README.md (istio#85)

* Get attributes from envoy config. (istio#87)

* Send all attributes.

* Remove unused const strings.

* Address comment.

* updated SHA to point to newer envoy with RDS API feature (istio#94)

* Disable travis on stable branches (istio#96)

* Publish debug binaries (no release yet) (istio#98)

* Copies the binary instead of linking for release (istio#102)

* Not to use api_key if its service is not actived. (istio#109)

* Update envoy and add c-ares (istio#107)

* Update envoy and add c-ares depedencies

* Update release script with debug and normal binary

* remove debug ls

* formatting

* Send StatusCode Attributes to Mixer. (istio#110)

* Add send_attribute filter. (istio#115)

* Add send_attribute filter.

* Fix format

* rename variable serialized_attributes_

* Address the comments.

* Fail request if api_key is not valid. (istio#116)

* Fail request if api_key is not valid.

* Format code.

* Update comments.

* Address comment.

* Rename response.http.code (istio#125)

* Send headers as string map. (istio#129)

* Send headers as string map.

* Remove origin.ip and origin.host.

* Fix format

* unify bazel's docker build targets with other istio repos (istio#127)

* update base debug docker image reference (istio#133)

* Update postsubmit to create docker images (istio#132)

* Adding config release for bazel build (istio#135)

* Fix mixer client crash. (istio#136)

* Get mixerclient with response parsing. (istio#138)

* Update nghttp2 to sync with envoy (istio#140)

* Fix src/envoy/mixer/README.md

* Update nghttp2 to sync with envoy

* update

* fix typo

* Merge from master to firebase (istio#159)

* Simple TCP server to show how to retrieve original dest IP:port after an iptables redirect (istio#38)

* Simple TCP server to show how to retrieve original dest IP:port after an iptables redirect

* Fixed style.

* Rebase Envoy (istio#41)

* Update prototype to use iptables (istio#42)

* Rebase to fixed Envoy (istio#43)

* Handle HEAD request. (istio#34)

* Handle HEAD request.

* Try with GET if HEAD fails.

* Address comments.

* Format file.

* Expose bazel target (istio#48)

* Try again (istio#49)

* Integrate with mixer client. (istio#55)

* Integrate with mixer client.

* Restore  repositories.bzl back.

* Add originIp and originHost attributes. (istio#56)

* Add uuid-dev dependency in README.md (istio#45)

* Extract originIp and OriginHost. (istio#57)

* Extract originIp and OriginHost.

* Make header x-forwarded-host const.

* Update buckets for UI. (istio#58)

* Update buckets for UI.

* Only update time_distribution.

* Add targetService attribute. (istio#59)

* Use envoy new access_log handler for sending Report. (istio#60)

* use access_log handler.

* Not to use Loggable base class.

* Update to the latest envoy with istio#396. (istio#61)

* Fix tclap dependency fetching error (istio#62)

* Integrate mixer client directly with envoy. (istio#66)

* Integrate mixer client directly with envoy.

* Send response header in Report.

* rename filter name from esp to mixer.

* add README.

* Add release binary script. (istio#68)

* Push tar.gz to GCS (istio#69)

* Push tar.gz to GCS

* Rename envoy_esp

* Remove mixer_client from api_manager. (istio#72)

* Update mixer client SHA. (istio#74)

* Update readme. (istio#73)

* Adds Jenkinsfile and updates release-binary to create a SHA. (istio#71)

* Adds Jenkinsfile and update release-binary
* Update Jenkinsfile and gitignore
* Fixes typo and use normal build Node
* Uses default bazel config
* Using batch mode
* Update bazel memory settings
* Do not use Jenkins bazel env
* Set .bazelrc for postsubmit

* Update grpc and protobuf (istio#70)

* protobuf v3.2.0
* grpc v1.1.1
* Align auth lib with grpc 1.1.1

* Add sourceService. (istio#78)

* Add script to build docker image. (istio#77)

* Add script to build docker image.

* Add start_envoy for docker image.

* Use official attribute names (istio#80)

* Use official attribute names

* fix format

* Creates a KEY for mixer client dep. Updates release-binary (istio#79)

* Updated mixer repo to use a key for commit

* release-binary skip build if file exists.

* Update src/envoy/mixer/README. (istio#82)

* Fix src/envoy/mixer/README.md (istio#85)

* Get attributes from envoy config. (istio#87)

* Send all attributes.

* Remove unused const strings.

* Address comment.

* updated SHA to point to newer envoy with RDS API feature (istio#94)

* Disable travis on stable branches (istio#96)

* Publish debug binaries (no release yet) (istio#98)

* Copies the binary instead of linking for release (istio#102)

* Not to use api_key if its service is not actived. (istio#109)

* Update envoy and add c-ares (istio#107)

* Update envoy and add c-ares depedencies

* Update release script with debug and normal binary

* remove debug ls

* formatting

* Send StatusCode Attributes to Mixer. (istio#110)

* Add send_attribute filter. (istio#115)

* Add send_attribute filter.

* Fix format

* rename variable serialized_attributes_

* Address the comments.

* Fail request if api_key is not valid. (istio#116)

* Fail request if api_key is not valid.

* Format code.

* Update comments.

* Address comment.

* Rename response.http.code (istio#125)

* Send headers as string map. (istio#129)

* Send headers as string map.

* Remove origin.ip and origin.host.

* Fix format

* unify bazel's docker build targets with other istio repos (istio#127)

* update base debug docker image reference (istio#133)

* Update postsubmit to create docker images (istio#132)

* Adding config release for bazel build (istio#135)

* Fix mixer client crash. (istio#136)

* Get mixerclient with response parsing. (istio#138)

* Update nghttp2 to sync with envoy (istio#140)

* Fix src/envoy/mixer/README.md

* Update nghttp2 to sync with envoy

* update

* fix typo

* Populate origin.user attribute from the SAN field of client cert (istio#142)

* Test

* test

* test

* revert file

* address comments

* test

* fix typo

* fix format

* fix format

* Update to latest mixer_client. (istio#145)

* Update to latest mixer_client.

* Updated the sha.

* Not call report if decodeHeaders is not called. (istio#150)

* Update mixerclient with sync-ed grpc write and fail-fast. (istio#155)

* Update mixerclient with sync-ed write and fail-fast.

* Update to latest test.

* Update again

* Update envoy to PR553 (istio#156)

* Update envoy to PR553

* Update libevent to 2.1.8

* Update the Commit id for envoy

* Allow for HTTP based function from Firebase rules (istio#202)

* Allow for HTTP based function from Firebase rules

* Fix code style check

* Added more comments.

* Fix style issues.

* Address code review comments from Limin and Lizan.

* Add more comments and address CR comments.

* Fix a typo.

* Address Wayne's CR comments.

* Merge from master to firebase (istio#237)

* Simple TCP server to show how to retrieve original dest IP:port after an iptables redirect (istio#38)

* Simple TCP server to show how to retrieve original dest IP:port after an iptables redirect

* Fixed style.

* Rebase Envoy (istio#41)

* Update prototype to use iptables (istio#42)

* Rebase to fixed Envoy (istio#43)

* Handle HEAD request. (istio#34)

* Handle HEAD request.

* Try with GET if HEAD fails.

* Address comments.

* Format file.

* Expose bazel target (istio#48)

* Try again (istio#49)

* Integrate with mixer client. (istio#55)

* Integrate with mixer client.

* Restore  repositories.bzl back.

* Add originIp and originHost attributes. (istio#56)

* Add uuid-dev dependency in README.md (istio#45)

* Extract originIp and OriginHost. (istio#57)

* Extract originIp and OriginHost.

* Make header x-forwarded-host const.

* Update buckets for UI. (istio#58)

* Update buckets for UI.

* Only update time_distribution.

* Add targetService attribute. (istio#59)

* Use envoy new access_log handler for sending Report. (istio#60)

* use access_log handler.

* Not to use Loggable base class.

* Update to the latest envoy with istio#396. (istio#61)

* Fix tclap dependency fetching error (istio#62)

* Integrate mixer client directly with envoy. (istio#66)

* Integrate mixer client directly with envoy.

* Send response header in Report.

* rename filter name from esp to mixer.

* add README.

* Add release binary script. (istio#68)

* Push tar.gz to GCS (istio#69)

* Push tar.gz to GCS

* Rename envoy_esp

* Remove mixer_client from api_manager. (istio#72)

* Update mixer client SHA. (istio#74)

* Update readme. (istio#73)

* Adds Jenkinsfile and updates release-binary to create a SHA. (istio#71)

* Adds Jenkinsfile and update release-binary
* Update Jenkinsfile and gitignore
* Fixes typo and use normal build Node
* Uses default bazel config
* Using batch mode
* Update bazel memory settings
* Do not use Jenkins bazel env
* Set .bazelrc for postsubmit

* Update grpc and protobuf (istio#70)

* protobuf v3.2.0
* grpc v1.1.1
* Align auth lib with grpc 1.1.1

* Add sourceService. (istio#78)

* Add script to build docker image. (istio#77)

* Add script to build docker image.

* Add start_envoy for docker image.

* Use official attribute names (istio#80)

* Use official attribute names

* fix format

* Creates a KEY for mixer client dep. Updates release-binary (istio#79)

* Updated mixer repo to use a key for commit

* release-binary skip build if file exists.

* Update src/envoy/mixer/README. (istio#82)

* Fix src/envoy/mixer/README.md (istio#85)

* Get attributes from envoy config. (istio#87)

* Send all attributes.

* Remove unused const strings.

* Address comment.

* updated SHA to point to newer envoy with RDS API feature (istio#94)

* Disable travis on stable branches (istio#96)

* Publish debug binaries (no release yet) (istio#98)

* Copies the binary instead of linking for release (istio#102)

* Not to use api_key if its service is not actived. (istio#109)

* Update envoy and add c-ares (istio#107)

* Update envoy and add c-ares depedencies

* Update release script with debug and normal binary

* remove debug ls

* formatting

* Send StatusCode Attributes to Mixer. (istio#110)

* Add send_attribute filter. (istio#115)

* Add send_attribute filter.

* Fix format

* rename variable serialized_attributes_

* Address the comments.

* Fail request if api_key is not valid. (istio#116)

* Fail request if api_key is not valid.

* Format code.

* Update comments.

* Address comment.

* Rename response.http.code (istio#125)

* Send headers as string map. (istio#129)

* Send headers as string map.

* Remove origin.ip and origin.host.

* Fix format

* unify bazel's docker build targets with other istio repos (istio#127)

* update base debug docker image reference (istio#133)

* Update postsubmit to create docker images (istio#132)

* Adding config release for bazel build (istio#135)

* Fix mixer client crash. (istio#136)

* Get mixerclient with response parsing. (istio#138)

* Update nghttp2 to sync with envoy (istio#140)

* Fix src/envoy/mixer/README.md

* Update nghttp2 to sync with envoy

* update

* fix typo

* Populate origin.user attribute from the SAN field of client cert (istio#142)

* Test

* test

* test

* revert file

* address comments

* test

* fix typo

* fix format

* fix format

* Update to latest mixer_client. (istio#145)

* Update to latest mixer_client.

* Updated the sha.

* Not call report if decodeHeaders is not called. (istio#150)

* Update mixerclient with sync-ed grpc write and fail-fast. (istio#155)

* Update mixerclient with sync-ed write and fail-fast.

* Update to latest test.

* Update again

* Update envoy to PR553 (istio#156)

* Update envoy to PR553

* Update libevent to 2.1.8

* Uses a specific version of the Shared Pipeline lib (istio#158)

* Update lyft/envoy commit Id to latest. (istio#161)

* Update lyft/envoy commit Id to latest.

* Remove the comment about pull request

* Add new line - will delete in next commit.

* Update repositories.bzl (istio#169)

* Always set response latency (istio#172)

* Update mixerclient to sync_transport change. (istio#178)

* Use opaque config to turn on/off forward attribute and mixer filter (istio#179)

* Modify mixer filter

* Swap defaults

* Make the filter decoder only

* cache mixer disabled decision

* Fix a bug in opaque config change and test it out (istio#182)

* Fix a bug and test it out

* Update filter type

* Update README.md

* Update mixer client to mixer api with gogoproto. (istio#184)

* Move .bazelrc to tools/bazel.rc (istio#186)

* Move .bazelrc to tools/bazel.rc

* Update Jenkinsfile with latest version of pipeline

* Support apikey based traffic restriction (istio#189)

* b/36368559 support apikey based traffic restriction

* Fixed code formatting

* Fix crash in unreachable/overloaded RDS (istio#190)

* Add mixer client end to end integration test. (istio#177)

* Add mixer client end to end integration test.

* Split some repositories into a separate file.

* use real mixer for fake mixer_server.

* Test repository

* use mixer bzl file.

* Use mixer repositories

* Not to use mixer repository.

* Add return line at the end of WORKSPACE.

* Fix broken link (istio#193)

* Make quota call (istio#192)

* hookup quota call

* Make quota call.

* Update indent.

* Update envoy and update configs (istio#195)

* Update envoy and update configs

* Use gcc-4.9 for travis

* Use bazel 0.4.5

* Fix SHA of lightstep-tracer-common

* Enable check cache and refactory mixer config loading  (istio#197)

* Refactory the mixer config loading.

* fix format

* Add integration test.

* updated README.md

* s/send/sent/

* Split into separate tests. (istio#201)

* Update README on how to enable check cache. (istio#204)

* Update README on how to enable check cache.

* Update the comment.

* build: support Envoy native Bazel build. (istio#210)

* build: support Envoy native Bazel build.

This patch switches the Envoy build from src/envoy/repositories.bzl to
using the upstream native build.

See envoyproxy/envoy#663 for the corresponding changes
on the Envoy side.

* Use Envoy master with BUILD.wip rename merged.

* Fix clang-format issues.

* Fixes bazel.rc issues (istio#212)

* Fixes bazel rc issues

* Update Jenkins to latest pipeline version

* Fix go build (istio#224)

* Use TranscoderInputStream to reduce confusion around ByteCount() (istio#225)

* Add TranscoderInputStream to reduce confusion

* fix_format

* Merge latest changes from rate_limiting to master (istio#221)

* Point to googleapi in service control client. (istio#91)

* Point to googleapi in service control client.

* Use git repository for service-control-client.

* Merge latest changes from master (istio#104)

* Get attributes from envoy config. (istio#87)

* Send all attributes.

* Remove unused const strings.

* Address comment.

* updated SHA to point to newer envoy with RDS API feature (istio#94)

* Disable travis on stable branches (istio#96)

* Publish debug binaries (no release yet) (istio#98)

* Copies the binary instead of linking for release (istio#102)

* Extract quota config from service config. (istio#101)

* Add metric_cost in config.

* Remove group rules.

* Call loadQuotaConfig in config::create.

* Update latest update from master branch (istio#106)

* Get attributes from envoy config. (istio#87)

* Send all attributes.

* Remove unused const strings.

* Address comment.

* updated SHA to point to newer envoy with RDS API feature (istio#94)

* Disable travis on stable branches (istio#96)

* Publish debug binaries (no release yet) (istio#98)

* Copies the binary instead of linking for release (istio#102)

* Added quota contoll without the service control client library (istio#93)

* Added quota contoll without the service control client library

* Applied code review

* Applied code review

* Resolve conflicts

* Resolve conflicts

* Fixed format error reported by script/check-style

* Fixed a bug at Aggregated::GetAuthToken that causes Segmentation Fault

* Changed usage of template funcion

* Applied latest changes from the repo

* Applied latest changes from the repo

* Applied latest changes from the repo

* Adde comments

* Updated log information

* Applied istio#101

* Changed metric_cost_map to metric_cost_vector

* Fixed test case compilation error

* Fixed test case compilation error

* Add unit test for quota config. (istio#108)

* Add unit test for quota config.

* Add comments.

* Update test specifics.

* Merge latest changes from master branch (istio#112)

* Get attributes from envoy config. (istio#87)

* Send all attributes.

* Remove unused const strings.

* Address comment.

* updated SHA to point to newer envoy with RDS API feature (istio#94)

* Disable travis on stable branches (istio#96)

* Publish debug binaries (no release yet) (istio#98)

* Copies the binary instead of linking for release (istio#102)

* Not to use api_key if its service is not actived. (istio#109)

* If QuotaControl service is not available, return utils::Status::OK (istio#113)

* If QuotaControl service is not available, return utils::Status::OK

* Updated comment

* Return HTTP status code 429 on google.rpc.Code.RESOURCE_EXHAUSTED (istio#119)

* Fixed incorrectly resolved conflicts (istio#123)

* Added unit test cases for rate limiting (istio#124)

* Fixed incorrectly resolved conflicts

* Added unit test cases for rate limiting

* Added unit test cases for rate limiting

* Added unit test cases for rate limiting

* Added unit test cases for rate limiting

* Added unit test cases for rate limiting

* Added unit test cases for rate limiting

* Rename response.http.code (istio#125) (istio#128)

* Added handling of error code QUOTA_SYSTEM_UNAVAILABLE (istio#148)

* Integrated service control client library with quota cache aggregation (istio#149)

* Fixed error on merge (istio#151)

* Integrated service control client library with quota cache aggregation

* Fixed error on merge

* Fixed the compatibility issue with the latest update on esp (istio#152)

* Removed copied proto files (istio#208)

* Set default allocate quota request timeout to 1sec and applied latest service control client library change (istio#211)

* Merged key_restriction related changes from master (istio#213)

* Merge latest changes from master branch (istio#217)

* Not call report if decodeHeaders is not called. (istio#150)

* Update mixerclient with sync-ed grpc write and fail-fast. (istio#155)

* Update mixerclient with sync-ed write and fail-fast.

* Update to latest test.

* Update again

* Update envoy to PR553 (istio#156)

* Update envoy to PR553

* Update libevent to 2.1.8

* Uses a specific version of the Shared Pipeline lib (istio#158)

* Update lyft/envoy commit Id to latest. (istio#161)

* Update lyft/envoy commit Id to latest.

* Remove the comment about pull request

* Add new line - will delete in next commit.

* Update repositories.bzl (istio#169)

* Always set response latency (istio#172)

* Update mixerclient to sync_transport change. (istio#178)

* Use opaque config to turn on/off forward attribute and mixer filter (istio#179)

* Modify mixer filter

* Swap defaults

* Make the filter decoder only

* cache mixer disabled decision

* Fix a bug in opaque config change and test it out (istio#182)

* Fix a bug and test it out

* Update filter type

* Update README.md

* Update mixer client to mixer api with gogoproto. (istio#184)

* Move .bazelrc to tools/bazel.rc (istio#186)

* Move .bazelrc to tools/bazel.rc

* Update Jenkinsfile with latest version of pipeline

* Support apikey based traffic restriction (istio#189)

* b/36368559 support apikey based traffic restriction

* Fixed code formatting

* Fix crash in unreachable/overloaded RDS (istio#190)

* Add mixer client end to end integration test. (istio#177)

* Add mixer client end to end integration test.

* Split some repositories into a separate file.

* use real mixer for fake mixer_server.

* Test repository

* use mixer bzl file.

* Use mixer repositories

* Not to use mixer repository.

* Add return line at the end of WORKSPACE.

* Fix broken link (istio#193)

* Make quota call (istio#192)

* hookup quota call

* Make quota call.

* Update indent.

* Update envoy and update configs (istio#195)

* Update envoy and update configs

* Use gcc-4.9 for travis

* Use bazel 0.4.5

* Fix SHA of lightstep-tracer-common

* Enable check cache and refactory mixer config loading  (istio#197)

* Refactory the mixer config loading.

* fix format

* Add integration test.

* updated README.md

* s/send/sent/

* Split into separate tests. (istio#201)

* Update README on how to enable check cache. (istio#204)

* Update README on how to enable check cache.

* Update the comment.

* build: support Envoy native Bazel build. (istio#210)

* build: support Envoy native Bazel build.

This patch switches the Envoy build from src/envoy/repositories.bzl to
using the upstream native build.

See envoyproxy/envoy#663 for the corresponding changes
on the Envoy side.

* Use Envoy master with BUILD.wip rename merged.

* Fix clang-format issues.

* Fixes bazel.rc issues (istio#212)

* Fixes bazel rc issues

* Update Jenkins to latest pipeline version

* Updated the commit id of cloudendpoints/service-control-client-cxx (istio#218)

* Update commitid of cloudendpoints/service-control-client-cxx repo (istio#220)

* Send delta metrics for intermediate reports. (istio#219)

* Send delta metrics for intermediate reports.

* Move last_request_bytes/last_response_bytes to RequestContext.

* Handle final report.

* Address comment.

* Update attributes to match the canonical attribute list. (istio#232)

* Update response.http.code to response.code and response.latency to response.duration to line up with the canonical attributes in istio/istio.github.io/docs/concepts/attributes.md

* Format according to clang-format

* Add envoy Buffer based TranscoderInputStream (istio#231)

* Add envoy Buffer based TranscoderInputStream

* fix format

* A few doc changes for consistency across repos. (istio#235)

* Add repositories.bzl

* Added missing export setting in bazel configuration (istio#236)

* Added export missing in bazel configuration

* Added export missing in bazel configuration

* Allow HTTP functions in firebase rules to specify audience (istio#244)

* Allow HTTP functions in firebase rules to specify audience

* Allow GetAuthToken to ignore cache and fix style checks.

* Fix GetAuthToken

* Address Wayne's comment

* Check for empty response body

* Remove .bazelrc.jenkins file not present in the master branch.

* Remove forward_attribute_filter.cc not present in master.
incfly pushed a commit to incfly/api that referenced this pull request Jun 13, 2018
* rename

* Rename Attributes to CompressedAttributes.
nacx pushed a commit to nacx/api that referenced this pull request Feb 23, 2022
* slight install doc improvement

Signed-off-by: Liam White <[email protected]>

* do words good

Signed-off-by: Liam White <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Set by the Google CLA bot to indicate the author of a PR has signed the Google CLA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants