Commit Graph

123 Commits

Author SHA1 Message Date
mandarjog 2b5fabb787 Add source.service to global dictionary (#181)
Without this change, we get flooded with
```
0923 02:31:03.459056       1 protoBag.go:68] Attribute 'source.service' not in either global or message dictionaries
``` 
in Mixer logs.
2017-09-25 17:56:26 -07:00
guptasu 0ac7998e82 Add Template Extension proto inside istio.io/api/mixer/v1/template (#179)
* Add new Template extension proto.

* Rename package

* Add comment
2017-09-20 15:56:38 -07:00
Shriram Rajagopalan d2e01d950f lyft->envoyproxy (#176)
* lyft->envoyproxy

* remove uri restriction in doc
2017-09-15 16:34:41 -04:00
Shriram Rajagopalan f25de4f0d4 string destination to IstioService destination (#175) 2017-09-14 11:50:17 -04:00
Frank Budinsky f6180194f1 destination policy and egress rule cleanup (#174)
* destination policy and egress rule cleanup

* fix example indent

* remove tabs
2017-09-13 14:46:14 -04:00
Shriram Rajagopalan 6838a2bfc4 add service-zone flag to proxy config (#169)
* add availability zone flag

* Update proxy_mesh.proto

* Update proxy_mesh.proto

* Update proxy_mesh.proto
2017-09-10 19:11:53 -04:00
Kuat 0ab63a64b7 Separate individual static proxy variables from dynamic mesh variables (#168)
* split mesh config

* add fields

* add fields

* link them

* address comments
2017-09-08 14:31:20 -07:00
mandarjog 5eca337930 Update Mixer rule.selector to rule.match per design doc (#167)
* Update rule.selector to rule.match per design doc

* remove rule line
2017-09-07 16:44:53 -07:00
mandarjog 868d3e7093 Rename mixer rule.selector to rule.match (#166)
Update Mixer global dictionary with destination.* attributes
2017-09-07 16:32:36 -07:00
Shriram Rajagopalan 88dd261709 Use one domain per egress rule (#165)
* single domain egress

* use string destination

* update comment

* put IstioService back

* nits

* nits
2017-09-06 19:05:29 -04:00
Shriram Rajagopalan c0bca9d735 Option to disable mixer checks (#162)
Allow user to disable checks (but keep reports on) for mixer.
2017-08-31 14:49:15 -04:00
Kuat 311e590ce3 fix proto build error (#159) 2017-08-29 14:58:41 -07:00
Joy Zhang 9e60ad088f Add broker config api proto. (#156)
* Add broker config api proto.
* relink service/plan
2017-08-28 16:44:31 -07:00
Frank Budinsky abea1cde99 fix route destination override field (#158) 2017-08-24 18:04:50 -04:00
Frank Budinsky 51c21bac43 fix ingress destination (#157) 2017-08-24 17:33:41 -04:00
Frank Budinsky bafe010a46 Unified config api (#152)
* Unified config api

* address review comments

* address more review comments

* more changes to address review comments

* fix type and don't mention -n option

* more target to destination changes

* destination policy source/dest

* destination policy improvements
2017-08-24 17:14:43 -04:00
Kuat 846cbe5545 add HTTP PROXY port (#153) 2017-08-18 17:29:43 -07:00
Shriram Rajagopalan 06b20c18cd renumbering fields (#149) 2017-08-17 23:26:54 -07:00
Wayne Zhang a0ba5903ae Add common integer strings. (#146) 2017-08-16 20:42:25 -07:00
Wayne Zhang c4acc01117 add context.time (#145) 2017-08-16 16:32:01 -07:00
Shriram Rajagopalan a5832fc578 mark websocket routes (#144)
* mark websocket routes

* nits
2017-08-16 18:44:21 -04:00
Vadim Eisenberg c77e57cdaa added egress rule message format (#141)
* istio/istio#552 added egress rule message format

* istio/istio#552 make use_egress_proxy optional with default true

* istio/istio#552 remove 'optional' keyword

prohibited in proto3 syntax

* Revert "istio/istio#552 remove 'optional' keyword"

This reverts commit fd6caa3777.

* Revert "istio/istio#552 make use_egress_proxy optional with default true"

This reverts commit 7689334d08.

* istio/istio#552 added more comments

including explanation of HTTPS support

* removed warning about experimental API

* istio/istio#552 added a full stop and capitalized the next word

* istio/istio#552 improved documentation of the egress rules

- removed "routing rules applied to each proxy"
- replaced "redirected" with "allowed"

* istio/istio#552 replaced "from the microservices" with "by the microservices"

* istio/istio#552 rephrased the example rule explanation

instead of "redirect all traffic" - "allow traffic"

* istio/istio#552 fixed indentation of the example yaml

* istio/istio#552 removed "to allow multiple rules" from name comment

* istio/istio#552 removed the link to Envoy's documentation

* istio/istio#552 fixed explanation of ports field

instead of "list of ports to listen to"
"list of ports on which the external hosts are available"

* istio/istio#552 fixed comments on port and protocol

* istio/istio#552 put comment lines above the field definitions. added supported protocols

* istio/istio#552 replaced external hosts with external services

* istio/istio#552 added a comment for Port message

* istio/istio#552 rewrote the documentation of use_egress_proxy

* istio/istio#552 replaced thru with through

* istio/istio#552 added missing full stops and capitalization

* istio/istio#552 fixed a typo: "flase" -> false
2017-08-15 17:27:53 +03:00
Kuat 98f8bfa162 customize access and error logs (#142)
* stdout

* stderr
2017-08-10 18:43:34 -07:00
Douglas Reid 6eba433bfd Update global_dictionary.yaml with TCP attributes (#139)
To support TCP policy and telemetry, we are adding the following attributes to the global list:

- connection.id
- connection.received.bytes
- connection.received.bytes_total
- connection.sent.bytes
- connection.sent.bytes_total
- connection.duration
- context.protocol
- context.timestamp
2017-08-09 13:53:14 -07:00
guptasu bddebfdcdf Rename Constructor to Instance and instance_name to name. (#138) 2017-08-04 09:43:11 -07:00
Martin Taillefer 3a1b144389 Add a CONDITION_UNSEPECIFIED enum to follow style recommendations. (#137) 2017-08-03 11:01:36 -07:00
Wayne Zhang 2ee198c96b Add common strings to global dictionary. (#136) 2017-08-02 09:14:01 -07:00
Martin Taillefer 192ece51b2 More API tweaks. (#135)
Turns out we need to also match on "doesn't exist" for caching to work
properly. So add an "ABSENCE" match condition. Also, fold PREFIX into REGEX.
2017-08-01 14:28:21 -07:00
Martin Taillefer 6d69c4db3c Minor updates as suggested by Doug. (#134) 2017-08-01 11:35:21 -07:00
Martin Taillefer a781f76412 Add support for caching hints to CheckResponse. (#133) 2017-07-26 13:08:23 -07:00
Kuat 81edae14b0 Add a flag for multi-namespace setup (#132) 2017-07-10 13:21:25 -07:00
Martin Taillefer ee9769f5b3 Combine Quota functionality into the Check method. (#131) 2017-06-29 09:44:11 -07:00
guptasu 461bff9a03 New service config model (#128)
Define the new mixer configuration.

Defines the Constructor, Action, Handler and Rule concept for updated version of mixer configuration model.
2017-06-23 14:36:10 -07:00
Martin Taillefer cd2d47fbd6 Revert "Combine Quota functionality into the Check method. (#124)" (#130)
This reverts commit 71b04fb00f.
2017-06-20 13:03:19 -07:00
Martin Taillefer 71b04fb00f Combine Quota functionality into the Check method. (#124)
Check is now expressed as a series of conditions to check.
It can check preconditions (what we've traditionally associated
with Check), and it can check/allocate quotas.
2017-06-20 12:49:28 -07:00
Frank Budinsky 349c11b525 rule doc fixes (#129) 2017-06-20 13:09:55 -04:00
Andrew Seigner b64162cd90 Fix spelling in report.proto comment (#125) 2017-06-14 15:47:59 -07:00
Joy Zhang 4c6ad2918c Polish comments (#123) 2017-06-13 13:38:13 -07:00
Wayne Zhang da77a025c7 fix data type in global_word_count. (#121) 2017-06-09 10:51:30 -07:00
Kuat af5afdafc9 Introduce ingress rule (#120)
* Introduce ingress rule

* address comments

* revise comment
2017-06-08 17:18:27 -07:00
Wayne Zhang 025b195b73 Global dictionary in yaml (#119)
* add global dictionary yaml.

* only list most common http headers.

* added some popular words

* fix typo
2017-06-08 16:01:30 -07:00
Wayne Zhang f37b261b28 Add global_word_count field to support global dictionary expansion over time. 2017-06-08 05:38:18 -07:00
Kuat 5c9f6311c8 Add name field to a rule (#116)
* Add name field to a rule

This is necessary to make a route rule a self-contained object.

* updated examples
2017-06-07 15:28:33 -07:00
Kuat 9c20ee79d0 minor typos (#103)
* typos

* Update proxy_mesh.proto
2017-06-07 11:27:34 -07:00
Douglas Reid 94aa4ce91a Add support for sending statsd export config (#114)
This PR adds a configuration enable configuration of the proxy for statsd export via UDP. For envoy configuration, it will be used to populate the new "statsd_udp_ip_address" field.
2017-06-01 23:34:15 -07:00
Martin Taillefer 554f780bd5 Comment fixes. (#113) 2017-06-01 15:05:33 -07:00
Martin Taillefer 8edd0f7d57 Switch the Mixer API from gRPC streaming to gRPC unary.
THIS IS A BREAKING CHANGE. OLDER MIXER CLIENTS WILL STOP WORKING.
2017-06-01 10:07:14 -07:00
Martin Taillefer ae97de1806 Fix copyright. (#102) 2017-05-18 15:30:00 -07:00
Shriram Rajagopalan f7ee7c8dd6 Fix incorrect LB docs (#100) 2017-05-16 08:42:08 -07:00
Zack f4359c035c Update metric descriptor code comments so they'll be rendered correctly by docgen. Remove some whitespace from the MR desc (#97) 2017-05-08 13:28:47 -07:00