Commit Graph

488 Commits (10daa79bbdc06b04dd6d5bed6a593609ebb1fb51)

Author SHA1 Message Date
Alvin Huang 7252679232 add serf check to TestAPI_ClientPutGetDelete, TestAPI_ClientWatchGet
6 years ago
Alvin Huang d93c82e966 add serf check to TestAPI_SemaphoreConflict
6 years ago
Alvin Huang f98512f1a3 add serf check to TestAPI_Snapshot
6 years ago
Alvin Huang a5bd6d7c00 add serf check to TestAPI_AgentServices_ManagedConnectProxyDeprecatedUpstreams
6 years ago
Alvin Huang 5f2e709c3f remove serf check
6 years ago
Alvin Huang fe7b841e4a add serf check to TestAPI_SemaphoreConflict
6 years ago
Matt Keeler acfd87c673
Improve Connect with Prepared Queries (#5291)
6 years ago
Matt Keeler 1885cf78f6
Fall back to using old fields when marshaling
6 years ago
Kyle Havlovitz 1a4978fb94
Re-add ReadableDuration types to health check definition
6 years ago
Hans Hasselberg 174099593a
agent: display messages from serf in cli (#5236)
6 years ago
Kyle Havlovitz 5bdf130767
Merge pull request #4869 from hashicorp/txn-checks
6 years ago
Paul Banks ef9f27cbc8
connect: tame thundering herd of CSRs on CA rotation (#5228)
6 years ago
Kyle Havlovitz 21380021af txn: update existing txn api docs with new operations
6 years ago
Paul Banks bb7145f27d
agent: add default weights to service in local state to prevent AE churn (#5126)
6 years ago
Grégoire Seux 4f62a3b528 Implement /v1/agent/health/service/<service name> endpoint (#3551)
6 years ago
Pierre Souchay f4dc8b42e0 [Travis][UnstableTests] Fixed unstable tests in travis (#5013)
6 years ago
Kyle Havlovitz 67bac7a815 api: add support for new txn operations
6 years ago
Kyle Havlovitz ab58986ac3 txn: add node operations
6 years ago
Kyle Havlovitz b371ea8783 Add check operations to transaction api
6 years ago
Philipp Gillé 2de7fefedd Remove wrong space character (#4910)
6 years ago
Matt Keeler db2cf01406 Adds documentation for the new ACL APIs (#4851)
6 years ago
Rémi Lapeyre f8e56d5365 Add support for multiple checks in Consul Client (#4849)
6 years ago
Matt Keeler d238cb181c
New ACL API Tests (#4848)
6 years ago
Matt Keeler a02a6be6b9
Implement CLI token cloning & special ID handling (#4827)
6 years ago
Matt Keeler 18b29c45c4
New ACLs (#4791)
6 years ago
Jack Pearkes 8c684db488 New command: consul debug (#4754)
6 years ago
Rebecca Zanzig 34e5516834 Support multiple tags for health and catalog http api endpoints (#4717)
6 years ago
Pierre Souchay 251156eb68 Added SOA configuration for DNS settings. (#4714)
6 years ago
R.B. Boyer c310451b2b cli: avoid passing envoy bootstrap configuration as arguments (#4747)
6 years ago
Paul Banks 161482d2cd Fix up tests broken by master merge; add proxy tests to services command (and fix it!); actually run the proxycfg.Manager
6 years ago
Paul Banks dca1303d05 Connect Envoy Command (#4735)
6 years ago
Paul Banks e812f5516a Add -sidecar-for and new /agent/service/:service_id endpoint (#4691)
6 years ago
Paul Banks 1e7eace066 Add SidecarService Syntax sugar to Service Definition (#4686)
6 years ago
Paul Banks b83bbf248c Add Proxy Upstreams to Service Definition (#4639)
6 years ago
Paul Banks 88388d760d Support Agent Caching for Service Discovery Results (#4541)
6 years ago
Freddy 524192c919 Improve resilience of api pkg tests (#4676)
6 years ago
Pierre Souchay 22500f242e Fix unstable tests in agent, api, and command/watch
6 years ago
Pierre Souchay eddcf228ea Implementation of Weights Data structures (#4468)
6 years ago
Freddy 4c5758d891
Remove operator_area note from godoc overview (#4603)
6 years ago
Siva Prasad 771e0bafd2
Addresses the flakiness of CatalogNodes (#4530)
6 years ago
Pierre Souchay cec5d72396 BUGFIX: Unit test relying on WaitForLeader() did not work due to wrong test (#4472)
6 years ago
Geoffrey Grosenbach 827fbac3ab Copy-and-paste Go client example (#4448)
6 years ago
Kyle Havlovitz ed87949385
Merge pull request #4400 from hashicorp/leaf-cert-ttl
6 years ago
Paul Banks 8cbeb29e73
Fixes #4421: General solution to stop blocking queries with index 0 (#4437)
6 years ago
Kyle Havlovitz d6ca015a42
connect/ca: add configurable leaf cert TTL
6 years ago
Matt Keeler 7572ca0f37
Merge pull request #4374 from hashicorp/feature/proxy-env-vars
6 years ago
Matt Keeler 7dfd2ab316 Add some tests for GenerateEnv
6 years ago
Matt Keeler c54b43bef3 PR Updates
6 years ago
Matt Keeler 3b6eef8ec6 Pass around an API Config object and convert to env vars for the managed proxy
6 years ago
Hamish 9043966efd Fix lock and semaphore timeouts
6 years ago
Mitchell Hashimoto 1c3e9af316
agent: 400 error on invalid UUID format, api handles errors properly
7 years ago
Kyle Havlovitz 162daca4d7 revert go changes to hide rotation config
7 years ago
Kyle Havlovitz c20bbf8760 connect/ca: hide the RotationPeriod config field since it isn't used yet
7 years ago
Kyle Havlovitz bc997688e3 connect/ca: update Consul provider to use new cross-sign CSR method
7 years ago
Paul Banks b5f24a21cb Fix test broken by final telemetry PR change!
7 years ago
Paul Banks 597e55e8e2 Misc test fixes
7 years ago
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