Skip to content

Commit

Permalink
Merge pull request istio#285 from istio/mixer_yamls
Browse files Browse the repository at this point in the history
bookinfo yaml config files for mixer tasks
  • Loading branch information
frankbu authored May 17, 2017
2 parents 09cb873 + ef86b78 commit 1948dee
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 46 deletions.
42 changes: 0 additions & 42 deletions samples/apps/bookinfo/mixer-rule-additional-telemetry.yaml

This file was deleted.

6 changes: 3 additions & 3 deletions samples/apps/bookinfo/mixer-rule-ratings-denial.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
rules:
- selector: source.labels["app"]=="reviews" && source.labels["version"] == "v3"
aspects:
- kind: denials
- selector: source.labels["app"]=="reviews" && source.labels["version"] == "v3"
aspects:
- kind: denials
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
rules:
- selector: source.labels["app"]=="reviews" && source.labels["version"] == "v3"
aspects:
- kind: quotas
params:
quotas:
- descriptorName: RequestCount
maxAmount: 1
expiration: 1s
2 changes: 1 addition & 1 deletion samples/apps/bookinfo/mixer-rule-ratings-ratelimit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ rules:
params:
quotas:
- descriptorName: RequestCount
maxAmount: 5
maxAmount: 1
expiration: 1s

0 comments on commit 1948dee

Please sign in to comment.