Commit Graph

311 Commits (09dcb0be982037f381635c1fa01b4a74e9cc7dbe)

Author SHA1 Message Date
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
8 years ago
Frank Schroeder 0e931a713c agent: fix failing test from localState decoupling
8 years ago
Frank Schroeder 7bbfef7000 api: refactor: unify naming of API tests
8 years ago
Frank Schroeder 8edeabce9a api: refactor: prefix all API tests with API_
8 years ago
Preetha Appan 9eaf56bfe3 Fix socket file handle leaks from old blocking queries upon consul reload. This fixes issue #3018
8 years ago
Frank Schröder 825f72f5ef agent: support custom header and method for http checks (#3106)
8 years ago
James Phillips 3baa703d02 Merge pull request #3077 from jwasinger/issue-2850
8 years ago
Jared Wasinger d2ef61d079 Prevent Session.Destroy from leaving open TCP connections
8 years ago
Kyle Havlovitz 4e44db87e3
Don't overwrite Transport's TLS config if it's been set
8 years ago
Kyle Havlovitz 04f1ff78f8 Remove superfluous default HttpClient check in NewClient
8 years ago
Frank Schroeder 96c677fdba test: make test less flaky
8 years ago
Frank Schroeder 65b5c51ec7 test: add helper for ioutil.TempDir/TempFile
8 years ago
Frank Schroeder 3522a41bad test: include test name in temp file/dir
8 years ago
James Phillips c1d196152f
Fixes vet errors.
8 years ago
James Phillips ddfa57765c
retry: Removes the description parameter.
8 years ago
Frank Schroeder 21a82a0a16
test: Refactor WaitForResult tests with retry
8 years ago
Kyle Havlovitz cd56a5ebdd Add separate option for verifying incoming HTTPS traffic (#2974)
8 years ago
Frank Schroeder 9685bdcd0b api: Add ServiceTags to Health state endpoint (#153)
8 years ago
James Phillips 05b1cabba9 Merge pull request #2947 from bogdanov1609/added_ACLReplication
8 years ago
James Phillips 36725cef11 Tweaks ACL replication struct name.
8 years ago
James Phillips 138abeb5f7 Tweaks ACL replication status struct name.
8 years ago
Frank Schroeder 3e00e36f41 golint: Untangle if blocks with return in else
8 years ago
Ivan Bogdanov 1ebd6402fd API: Add ACLReplication
8 years ago
Frank Schröder 6dd2804d09 Issue #2905: Add check-not-exists to TXN endpoint
8 years ago
Kyle Havlovitz c6d0b4cf90 Make the API client's httpClient more pluggable (#2926)
8 years ago
Frank Schröder c40621ae10 Add datacenter to catalog node API (#2917)
8 years ago
Kyle Havlovitz ae6bf56ee1
Add tls client options to api/cli
8 years ago
Brian Shumate f499584c38
API: Add struct fields, fixes #2882
8 years ago
James Phillips 08f81ebddb
Moves operator sub-functions into their own files.
8 years ago
Kyle Havlovitz da9c825592
Add CLI/API endpoints for removing peer by ID
8 years ago
Seth Vargo 0170a28ec9
Use new APIs
8 years ago
Kyle Havlovitz 390f41d8d5
Add advanced autopilot features
8 years ago
James Phillips 3f3889022e
Tweaks the agent leave test to patch an occasional local failure.
8 years ago
James Phillips 7d011d7d77
Adds missing area API.
8 years ago
James Phillips e91377fa26
Cleans up based on review feedback.
8 years ago
James Phillips 3a0739cdfc
Tweaks the join response to be more useful.
8 years ago
James Phillips 79e192fd07
Adds public API for the network area endpoints.
8 years ago
James Phillips 472f1bd63e
Adds router into RPC paths with work in progress on coordinates.
8 years ago
Kyle Havlovitz 5353221666
Reorganized cluster health check loop and logic
8 years ago
Kyle Havlovitz 51b11cd344
Fix an issue with changing server IDs and add a few UX enhancements around autopilot features
8 years ago
Kyle Havlovitz 9b4497de09
Cleaned up and reorganized some autopilot-related code
8 years ago
Kyle Havlovitz 2eefe3ca5b
Add autopilot server health tracking
8 years ago
Kyle Havlovitz 92c8b9c3a0
Rename DeadServerCleanup and make wording adjustments
8 years ago
Kyle Havlovitz c1f776c78b
Added operator autopilot subcommands
8 years ago
Kyle Havlovitz c2e7f45002
Add CAS capability to autopilot config endpoint
8 years ago
Kyle Havlovitz 1c24c5d8d6
Add docs and api client methods for autopilot config
8 years ago
Jeff Mitchell 44733caf5c Update unix dial functions to use DialContext with new go-cleanhttp
8 years ago
Kyle Havlovitz c9abafab92
Update docs and give better error for unknown client scheme
8 years ago
Kyle Havlovitz a7a6ee9f4c
Allow prefixing -http-addr with http/https schemes
8 years ago
Kyle Havlovitz bad037fb58
Cleanup and formatting adjustments
8 years ago
Kyle Havlovitz abdf1fbab3
Convert keyring command to use base.Command
8 years ago
James Phillips 585958746a
Lets the leave unit test proceed even after an EOF.
8 years ago
Kyle Havlovitz a55968f009
Merge branch 'master' into f-prepared-query-nodemeta
8 years ago
Kyle Havlovitz 3f3d7f9891
Add tests for node meta in prepared queries and update docs
8 years ago
James Phillips 6ca0173907
Adds catalog support for node IDs.
8 years ago
James Phillips bd605e330c
Adds basic support for node IDs.
8 years ago
Kyle Havlovitz 5acd69b4fc
Add node metadata filtering to remaining health/catalog endpoints
8 years ago
Kyle Havlovitz 023b6533e0
Fix formatting
8 years ago
Kyle Havlovitz 87c0283bb1
Update client api and docs for node metadata
8 years ago
James Phillips 0ed6b1bb18
Bans anonymous queries that aren't tied to a session.
8 years ago
James Phillips 0282dd908a Merge pull request #2531 from alicebob/txntypes
8 years ago
Kyle Havlovitz bd69c6d871 Add reload/leave http endpoints (#2516)
8 years ago
Seth Vargo f7958983e4
Return the correct type
8 years ago
Seth Vargo 7520ce2d49 Merge pull request #2544 from hashicorp/sethvargo/best_status
8 years ago
James Phillips d079e62d57 Merge pull request #2530 from coffeehc/master
8 years ago
Seth Vargo 190249424b
Do not log
8 years ago
Seth Vargo 4179aacf11
Add an API method for determining the best status
8 years ago
Kyle Havlovitz 8079c49c0a Add QueryOptions to api package's monitor
8 years ago
Kyle Havlovitz 124f907063 Add monitor http endpoint
8 years ago
Harmen 92b2369f82 fix KVOp types
8 years ago
James Phillips a5baa091c8
Runs `go fmt`.
8 years ago
Kyle Havlovitz dcdadd012f Fix keyring doc method wording
8 years ago
Kyle Havlovitz 6bd65c668b Combine keyring endpoints into one
8 years ago
Kyle Havlovitz dd3368c19e Add keyring http endpoints
8 years ago
coffee a5e08845c2 adapt to server's checker field TLSSkipVerify type
8 years ago