Commit Graph

85 Commits (bc07ff49834ec22bd2630725dbf7c3dbc8f72e02)

Author SHA1 Message Date
Paul Banks 1722734313
Verify trust domain on /authorize calls
7 years ago
Mitchell Hashimoto e54e69d11f
agent: verify local proxy tokens for CA leaf + tests
7 years ago
Mitchell Hashimoto a099c27b07
agent: verify proxy token for ProxyConfig endpoint + tests
7 years ago
Mitchell Hashimoto 171bf8d599
agent: clean up defaulting of proxy configuration
7 years ago
Mitchell Hashimoto 3d3eee2f6e
agent: resolve some conflicts and fix tests
7 years ago
Paul Banks e0e12e165b
TLS watching integrated into Service with some basic tests.
7 years ago
Paul Banks 90c574ebaa
Wire up agent leaf endpoint to cache framework to support blocking.
7 years ago
Paul Banks cd88b2a351
Basic `watch` support for connect proxy config and certificate endpoints.
7 years ago
Mitchell Hashimoto 6c01e402e0
agent: augment /v1/connect/authorize to cache intentions
7 years ago
Mitchell Hashimoto 6902d721d6
agent: initialize the cache and cache the CA roots
7 years ago
Paul Banks 36dbd878c9
Adds `api` client code and tests for new Proxy Config endpoint, registering with proxy and seeing proxy config in /agent/services list.
7 years ago
Paul Banks 730da74369
Fix various test failures and vet warnings.
7 years ago
Paul Banks 1e72ad66f5
Refactor localBlockingQuery to use memdb.WatchSet. Much simpler and correct as a bonus!
7 years ago
Paul Banks d73f079d0f
Add X-Consul-ContentHash header; implement removing all proxies; add load/unload test.
7 years ago
Paul Banks 2a69663448
Agent Connect Proxy config endpoint with hash-based blocking
7 years ago
Paul Banks 3e3f0e1f31
HTTP agent registration allows proxy to be defined.
7 years ago
Mitchell Hashimoto 95da20ffd7
agent: rename authorize param ClientID to ClientCertURI
7 years ago
Mitchell Hashimoto 6e57233913
agent: add TODO for verification
7 years ago
Mitchell Hashimoto 5a47a53c70
acl: IntentionDefault => IntentionDefaultAllow
7 years ago
Mitchell Hashimoto ac72a0c5fd
agent: ACL checks for authorize, default behavior
7 years ago
Mitchell Hashimoto 6dc2db94ea
agent/structs: String format for Intention, used for logging
7 years ago
Mitchell Hashimoto fb7bccc690
agent: bolster commenting for clearer understandability
7 years ago
Mitchell Hashimoto 9a987d6452
agent: default deny on connect authorize endpoint
7 years ago
Mitchell Hashimoto 86a8ce45b9
agent: /v1/agent/connect/authorize is functional, with tests
7 years ago
Mitchell Hashimoto 70d1d5bf06
agent: get rid of method checks since they're done in the http layer
7 years ago
Mitchell Hashimoto d28ee70a56
agent: implement an always-200 authorize endpoint
7 years ago
Mitchell Hashimoto c2588262b7
agent: /v1/connect/ca/leaf/:service_id
7 years ago
Mitchell Hashimoto 578db06600
agent/consul: tests for CA endpoints
7 years ago
Mitchell Hashimoto e7536e5485
agent: /v1/connect/ca/roots
7 years ago
Mitchell Hashimoto 714026dfb7
agent: validate service entry on register
7 years ago
Paul Banks c8db140ff7
Merge pull request #4047 from pierresouchay/added_missing_meta_in_service_definition
7 years ago
Pierre Souchay 26388503e0 Removed Nanoseconds cast as requested by @banks
7 years ago
Pierre Souchay 62a68a008d Removed content negotiation of Prometheus as requested by @banks
7 years ago
Pierre Souchay c152cb7bdf Added Missing Service Meta synchronization and field
7 years ago
Pierre Souchay 27362320e8 Enable compression / automatic Mime-Type detection for Prometheus endpoint
7 years ago
Pierre Souchay 93a01b0949 Now use prometheus_retention_time > 0 to enable prometheus support
7 years ago
Pierre Souchay fd98fb1449 Added support exposing metrics in Prometheus format
7 years ago
Yoann 0f6e05d4c1 Add support for compression in http api
7 years ago
Preetha Appan c7581d68c6
Renames agent API layer for service metadata to "meta" for consistency
7 years ago
Preetha daa61c5803
Merge pull request #3881 from pierresouchay/service_metadata
7 years ago
Pierre Souchay 980189a33f Added validation of ServiceMeta in Catalog
7 years ago
Guido Iaquinti 8cd11d5888 Add package name to log output
7 years ago
Josh Soref 94835a2715 Spelling (#3958)
7 years ago
Preetha c87699abf2
Merge pull request #3885 from eddsteel/support-options-requests
7 years ago
Paul Banks de58eb1820
Fixes #3891: agent monitor no longer unresponsive before logs stream.
7 years ago
Edd Steel 77f19f7505
Support OPTIONS requests
7 years ago
Pierre Souchay b259b1609c Merge remote-tracking branch 'origin/master' into service_metadata
7 years ago
James Phillips c2a59f1e6c
Addresses additional state mutations.
7 years ago
James Phillips 1c6de1d623
Fixes all the racy output-side updates to tags.
7 years ago
Pierre Souchay 80dde5465b Added support for Service Metadata
7 years ago