Commit Graph

382 Commits (f2ed3a3777c47450ca6ae994cabaa1f359e06ea1)

Author SHA1 Message Date
Paul Banks 96c416012e Misc rebase and test fixes
7 years ago
Paul Banks 43b48bc06b Get agent cache tests passing without global hit count (which is racy).
7 years ago
Paul Banks 05a8097c5d Fix misc test failures (some from other PRs)
7 years ago
Kyle Havlovitz 82a4b3c13f connect: fix two CA tests that were broken in a previous PR (#60)
7 years ago
Paul Banks 0824d1df5f Misc comment cleanups
7 years ago
Mitchell Hashimoto 71216631d7 api: update intention struct for precedence
7 years ago
Mitchell Hashimoto 77a8003475 api: change Connect to a query option
7 years ago
Mitchell Hashimoto b55f0641e6 api: support ExecuteConnect
7 years ago
Mitchell Hashimoto 297e4f272e api: support native connect
7 years ago
Paul Banks df2cb30b01 Make tests pass and clean proxy persistence. No detached child changes yet.
7 years ago
Paul Banks cdc7cfaa36 Abandon daemonize for simpler solution (preserving history):
7 years ago
Paul Banks ba0fb58a72 Make daemoinze an option on test binary without hacks. Misc fixes for racey or broken tests. Still failing on several though.
7 years ago
Kyle Havlovitz 74f225fcd2
Add client api support for CA config endpoints
7 years ago
Mitchell Hashimoto 3a6a750972
api: IntentionUpdate API
7 years ago
Mitchell Hashimoto f27711a319
api: IntentionDelete + tests
7 years ago
Mitchell Hashimoto 272211e171
command/intention/get: the get command without tests
7 years ago
Mitchell Hashimoto 988d7d984a
command/intention/finder: package for finding based on src/dst
7 years ago
Mitchell Hashimoto 961e9c1eaf
command/intention/create
7 years ago
Mitchell Hashimoto a5ecdc5798
api: IntentionCheck
7 years ago
Paul Banks 7c7c858a9a
More test cleanup
7 years ago
Paul Banks 4aeab3897c
Fixed many tests after rebase. Some still failing and seem unrelated to any connect changes.
7 years ago
Mitchell Hashimoto aaa2431350
agent: change connect command paths to be slices, not strings
7 years ago
Paul Banks e0e12e165b
TLS watching integrated into Service with some basic tests.
7 years ago
Paul Banks cd88b2a351
Basic `watch` support for connect proxy config and certificate endpoints.
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 88541bba17
Add tests all the way up through the endpoints to ensure duplicate src/destination is supported and so ultimately deny/allow nesting works.
7 years ago
Mitchell Hashimoto 97f5414d94
api: rename Authorize field to ClientCertURI
7 years ago
Mitchell Hashimoto 9638466b88
api: fix up some comments and rename IssuedCert to LeafCert
7 years ago
Mitchell Hashimoto 4689d8373a
api: IntentionMatch
7 years ago
Mitchell Hashimoto 663a12d96b
api: starting intention endpoints, reorganize files slightly
7 years ago
Mitchell Hashimoto 263e2c7cf7
api: endpoints for working with CA roots, agent authorize, etc.
7 years ago
Paul Banks 125555e1aa
require -> assert until rebase
7 years ago
Paul Banks 9309422fd9
Add Connect agent, catalog and health endpoints to api Client
7 years ago
Kyle Havlovitz b73323aa42
Remove the script field from checks in favor of args
7 years ago
Pierre Souchay c152cb7bdf Added Missing Service Meta synchronization and field
7 years ago
Paul Banks 0d8993e338
Allow ignoring checks by ID when defining a PreparedQuery. Fixes #3727.
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
Josh Soref 94835a2715 Spelling (#3958)
7 years ago
Anubhav Mishra 0813175340
fix typo
7 years ago
Pierre Souchay b259b1609c Merge remote-tracking branch 'origin/master' into service_metadata
7 years ago
Kyle Havlovitz c3e94970a0
Add gRPC fields to client api and agent check endpoint docs
7 years ago
Pierre Souchay 80dde5465b Added support for Service Metadata
7 years ago
Veselkov Konstantin 7de57ba4de remove golint warnings
7 years ago
James Hartig ac225b2e7d Added CheckID and Name to AgentServiceCheck struct
7 years ago
James Phillips 53a881becc
Tightens up the API test verification.
7 years ago
James Phillips ca3f9024ac
Works around mapstructure behavior to enable sessions with no checks.
7 years ago
James Phillips 3177c2b450
Opens up the timing on the metrics test so it's less flaky.
7 years ago
James Phillips 93f68555d0
Adds enable_agent_tls_for_checks configuration option which allows (#3661)
7 years ago
James Phillips 4a2cafe525
Adds HTTP/2 support to Consul's HTTPS server. (#3657)
7 years ago
James Phillips 172d5c0c40
Fetches metrics in the retry loop so there's some hope.
7 years ago
Kyle Havlovitz c9c083d843
Update AgentCheck struct in api
7 years ago
Kyle Havlovitz d3dd2b1402
Move check definition to a sub-struct
7 years ago
Kyle Havlovitz dbab3cd5f6
Merge branch 'master' into esm-changes
7 years ago
Kyle Havlovitz 021b2849c5
Remove redundant lines from coordinate test
7 years ago
Kyle Havlovitz b0536a96cc
Fill out the tests around coordinate/node functionality
7 years ago
Kyle Havlovitz a1d14019dd
Add tests around coordinate update endpoint
7 years ago
Kyle Havlovitz 2392545adc
Merge branch 'coordinate-node-endpoint' of github.com:hashicorp/consul into esm-changes
7 years ago
Kyle Havlovitz 5589eadcf5
Added Coordinate.Node rpc endpoint and client api method
7 years ago
Kyle Havlovitz ce4e8c46fa
Add deregister critical service field and refactor duration parsing
7 years ago
James Phillips 21f38bff6f
Adds retry to API metrics test (flaky test).
7 years ago
Kyle Havlovitz 291455f475
Added coordinate update http endpoint
7 years ago
Kyle Havlovitz d56936e27a
Added remaining HTTP health check fields to structs
7 years ago
Kyle Havlovitz a7c42a6c2a
Expose SkipNodeUpdate field and some health check info in the http api
7 years ago
Ryan Slade dcb392df46 Simplify string(buf.Bytes()) to buf.String() (#3590)
7 years ago
James Phillips 53f67c3993 Fixes API client for ScriptArgs and updates documentation. (#3589)
7 years ago
Ryan Slade 85e4aea9d1 Replace time.Now().Sub(x) with time.Since(x)
7 years ago
James Phillips 575d70aaa7
Cleans up some drift between the OSS and Enterprise trees.
7 years ago
James Bardin fea32fb7d7 retry locks on network errors (#3553)
7 years ago
Artiom Diomin 2e229617ce Fix example code formatting in godoc
7 years ago
Frank Schröder ce887a0c45 Provide stable config for agent/self (#3532)
7 years ago
Frank Schröder 21118cafeb Recursive sanitize (#3505)
7 years ago
Preetha Appan 3c4a108769 Move Raft protocol version for list peers end point to server side, fix unit tests. This fixes #3449
7 years ago
Preetha Appan 00840929ea Fix import order
7 years ago
preetapan 73951d8319 Merge pull request #3494 from hashicorp/enforce_json_extension
7 years ago
James Phillips 45646ac3f4 Bumps default Raft protocol to version 3. (#3477)
7 years ago
Preetha Appan a4331a480c Fix one more unit test that created a config file
7 years ago
Frank Schröder 12216583a1 New config parser, HCL support, multiple bind addrs (#3480)
7 years ago
James Phillips 00605c0214
Shows the segment name in the keyring API and command output.
7 years ago
James Phillips 1a117ba0a8
Makes the all segments query explict, and the default for `consul members`.
7 years ago
Kyle Havlovitz 20296d4a89
Change segment list endpoint in docs/client api
7 years ago
Kyle Havlovitz 62102a537e
Organize segments for a cleaner split between enterprise and OSS
7 years ago
Kyle Havlovitz 21513b0393
Update coord display in ui to account for segments
7 years ago
Kyle Havlovitz 2ada0439d4
Add rpc_listener option to segment config
7 years ago
James Phillips b1a15e0c3d
Adds open source side of network segments (feature is Enterprise-only).
7 years ago
Illirgway e0cc1ce679 Fix bug with unused (replaced with "") CONSUL_HTTP_AUTH in some places
7 years ago
James Phillips 6ccf724c0c
Adds a guard to make sure that empty log lines don't close consul monitor.
7 years ago
Kyle Havlovitz 5b998cacb1
Update api structs for metrics endpoint
7 years ago
Kyle Havlovitz d5634fe2a8
Add support for labels/filters from go-metrics
7 years ago
James Phillips 4bee2e49f5 Adds secure introduction for the ACL replication token. (#3357)
7 years ago
James Phillips c0a5ad7903 Adds a new /v1/acl/bootstrap API (#3349)
7 years ago
James Phillips 496b0bcf07 Adds support for agent-side ACL token management via API instead of config files. (#3324)
7 years ago
Kyle Havlovitz 19eae3d14b
Add UpgradeVersionTag to autopilot config
7 years ago
James Phillips 1791d99a10 Adds new config to make script checks opt-in, updates documentation. (#3284)
7 years ago
James Phillips 8d0a048408 Expands and rework context support in the API client. (#3273)
7 years ago
James Bardin deb43fea6b accept recv-only channels for cancellations (#3271)
7 years ago
Frank Schroeder 9c54f30c94 api: fix TestAPI_CatalogNodes test
7 years ago
Frank Schroeder 0e931a713c agent: fix failing test from localState decoupling
7 years ago
Frank Schroeder 7bbfef7000 api: refactor: unify naming of API tests
7 years ago
Frank Schroeder 8edeabce9a api: refactor: prefix all API tests with API_
7 years ago