Skip to content

Commit

Permalink
Update global dictionary (#98)
Browse files Browse the repository at this point in the history
* update istio api sha.

* update global dictionary.

* fix test
  • Loading branch information
qiwzhang authored Aug 18, 2017
1 parent cd95659 commit da54429
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mixerclient/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ cc_proto_library(

native.new_git_repository(
name = "mixerapi_git",
commit = "ee9769f5b3304d9e01cd7ed6fb1dbb9b08e96210",
commit = "a0ba5903ae2771eac13f80c3a936ed70fd3494d5",
remote = "https://github.com/istio/api.git",
build_file_content = BUILD,
)
Expand Down
2 changes: 1 addition & 1 deletion mixerclient/src/attribute_converter_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ default_words: "time-key"
default_words: "int-key2"
default_words: "key"
default_words: "value"
global_word_count: 111
global_word_count: 150
)";

class AttributeConverterTest : public ::testing::Test {
Expand Down
39 changes: 39 additions & 0 deletions mixerclient/src/global_dictionary.cc
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,45 @@ const std::vector<std::string> kGlobalWords{
"text/html; charset=utf-8",
"text/plain",
"text/plain; charset=utf-8",
"'0'",
"'1'",
"true",
"false",
"gzip, deflate",
"max-age=0",
"x-envoy-upstream-service-time",
"x-envoy-internal",
"x-envoy-expected-rq-timeout-ms",
"x-ot-span-context",
"x-b3-traceid",
"x-b3-sampled",
"x-b3-spanid",
"tcp",
"connection.id",
"connection.received.bytes",
"connection.received.bytes_total",
"connection.sent.bytes",
"connection.sent.bytes_total",
"connection.duration",
"context.protocol",
"context.timestamp",
"context.time",
"0",
"1",
"200",
"302",
"400",
"401",
"403",
"404",
"409",
"429",
"499",
"500",
"501",
"502",
"503",
"504",
};

} // namespace
Expand Down

0 comments on commit da54429

Please sign in to comment.