Commit Graph

996 Commits (070c91cb23c3e78b97952083faf86e32a76c7037)

Author SHA1 Message Date
Mitchell Hashimoto 82a50245e0
agent/consul: support intention description, meta is non-nil
7 years ago
Mitchell Hashimoto c12690b837
agent/consul/fsm: add tests for intention requests
7 years ago
Mitchell Hashimoto a9743f4f15
agent,agent/consul: set default namespaces
7 years ago
Mitchell Hashimoto 10c370c0fb
agent/consul: set CreatedAt, UpdatedAt on intentions
7 years ago
Mitchell Hashimoto d57a3ca2af
agent: GET /v1/connect/intentions/match
7 years ago
Mitchell Hashimoto 93de03fe8b
agent/consul: RPC endpoint for Intention.Match
7 years ago
Mitchell Hashimoto f93edadbbe
agent/consul/state: IntentionMatch for performing match resolution
7 years ago
Mitchell Hashimoto 377479c01a
agent/structs: IntentionPrecedenceSorter for sorting based on precedence
7 years ago
Mitchell Hashimoto dca483b4a2
agent: PUT /v1/connect/intentions/:id
7 years ago
Mitchell Hashimoto faeb583162
agent: DELETE /v1/connect/intentions/:id
7 years ago
Mitchell Hashimoto fb02e53536
agent/consul: test that Apply works to delete an intention
7 years ago
Mitchell Hashimoto 4417f37ede
agent/consul/state,fsm: support for deleting intentions
7 years ago
Mitchell Hashimoto 1b44c1befa
agent/consul: creating intention must not have ID set
7 years ago
Mitchell Hashimoto 771b1737e3
agent/consul: support updating intentions
7 years ago
Mitchell Hashimoto 0d96cdc0a5
agent: GET /v1/connect/intentions/:id
7 years ago
Mitchell Hashimoto 274bfdd864
agent: POST /v1/connect/intentions
7 years ago
Mitchell Hashimoto 5a1fb35d6e
agent: GET /v1/connect/intentions endpoint
7 years ago
Mitchell Hashimoto e8c4156f07
agent/consul: Intention.Get endpoint
7 years ago
Mitchell Hashimoto 9e307e178e
agent/consul: Intention.Apply, FSM methods, very little validation
7 years ago
Mitchell Hashimoto 212a272989
agent/consul: start Intention RPC endpoints, starting with List
7 years ago
Mitchell Hashimoto 9639bfb1be
agent/consul/state: list intentions
7 years ago
Mitchell Hashimoto cc8a6f7f15
agent/consul/state: initial work on intentions memdb table
7 years ago
Guido Iaquinti f7fe6c2a87 Attach server.Name label to client.rpc.failed
7 years ago
Guido Iaquinti 3d230dee80 Attach server.ID label to client.rpc.failed
7 years ago
Guido Iaquinti e85e63c18c Client: add metric for failed RPC calls to server
7 years ago
Matt Keeler 88a8c5e968
Merge pull request #4156 from hashicorp/enterprise-coexistence
7 years ago
Jack Pearkes aa1c993806
Merge pull request #4013 from sethvargo/sethvargo/user_agent
7 years ago
Matt Keeler 27fe219918
Merge pull request #4131 from pierresouchay/enable_full_dns_compression
7 years ago
Matt Keeler 1fbe828c35 Add RunWithConfig and put Run signature back to normal
7 years ago
Matt Keeler 53fbe2b111 Update unit tests to reflect change to func signature
7 years ago
Matt Keeler 8e0e239e42 Allow passing in a config to the watch plan to use when creating the API client
7 years ago
Pierre Souchay fa37f262eb Fixed comments for max DNS records returned as requested by @mkeeler
7 years ago
Seth Vargo accb85a6a9
Use new discover and useragent libs
7 years ago
Matt Keeler b6e9abe926 Allow for easy enterprise/oss coexistence
7 years ago
Matt Keeler 0d197c32dc Add BadRequestError handling
7 years ago
Wim 16ce8d9ed2 Add service reverse lookup tests
7 years ago
Wim d10e6d0292 Do reverse service lookup only if address doesn't match node
7 years ago
Wim 5c04864b28 Add support for reverse lookup of services
7 years ago
Pierre Souchay bb92420873 Test fix, trying to pass Travis tests
7 years ago
Pierre Souchay 486417a0fc Ensure to never send messages more than 64k
7 years ago
Pierre Souchay cfa5986df7 Fixed unit tests and updated limits
7 years ago
Pierre Souchay 6e80b6b127 Re-Enable compression while computing Len(), so we can send more answers
7 years ago
Matt Keeler cfd09c88c6 Update bindata_assetfs for 1.1
7 years ago
Paul Banks 863ac12811
v1.1.0 UI Build
7 years ago
Paul Banks ff37194fc0
Go fmt cleanup
7 years ago
Preetha Appan ca67094619
Change default raft threshold config values and add a section to upgrade notes
7 years ago
Preetha Appan 3ff5fd6ec5
More docs and removed SnapShotInterval from raft timing struct stanza
7 years ago
Preetha Appan d721da7b67
Also make snapshot interval configurable
7 years ago
Preetha Appan ad09865562
fix spacing
7 years ago
Preetha Appan 66f31cd25a
Make raft snapshot commit threshold configurable
7 years ago
Kyle Havlovitz 876d251b95
Merge pull request #4108 from hashicorp/vendor-go-discover
7 years ago
Kyle Havlovitz 48560848fc
Move cloud auto-join docs to a separate page and add Triton
7 years ago
Jack Pearkes 291e8b83ae
Merge pull request #4097 from hashicorp/remove-deprecated
7 years ago
John Cowen e5eeb0aa7c
UI V2 (#4086)
7 years ago
Paul Banks 92c6fe0b1e
Make it work for WAN join too and add tests
7 years ago
Dominik Lekse ba9991a145
Added support for sockaddr templates in start-join and retry-join configuration
7 years ago
Kyle Havlovitz 75953273e2
Remove unused retry join structs from config
7 years ago
Kyle Havlovitz ba3971d2c1
Remove deprecated metric names
7 years ago
Kyle Havlovitz b73323aa42
Remove the script field from checks in favor of args
7 years ago
Paul Banks b7fa3358d1
Merge pull request #3970 from pierresouchay/node_health_should_change_service_index
7 years ago
Kyle Havlovitz cc214d45b6
Remove support for EnableTagOverride in config files
7 years ago
Kyle Havlovitz 6461087c25
Remove support for CheckID field in service check definitions
7 years ago
Dino Lukman d538b5666c Fix telemetry default prefix filter
7 years ago
Jack Pearkes 733c0df0a0
Merge pull request #4021 from fomentia/master
7 years ago
Paul Banks c8db140ff7
Merge pull request #4047 from pierresouchay/added_missing_meta_in_service_definition
7 years ago
Pierre Souchay 303997ff55 Improved unit test (example close to actual value)
7 years ago
Paul Banks 4de68fcb4b
Merge pull request #4016 from pierresouchay/support_for_prometheus
7 years ago
Pierre Souchay eccc223480 Fixed Meta name for JSON + Added unit tests for HCL/JSON
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 c715408c87 More Tests cases compression/no compression
7 years ago
Pierre Souchay 076ecf9712 Removed unecessary copy of Extra and index
7 years ago
Pierre Souchay 06a181955d Use safer stringVal()
7 years ago
Pierre Souchay 9bb15730a6 Added unit test on key length
7 years ago
Pierre Souchay 2f5e67534d Added unit tests for bad meta values
7 years ago
Pierre Souchay d2ab3deacf [BUGFIX] Added Service Meta support in configuration files
7 years ago
Pierre Souchay 36827418b7 Improved unit tests debug info when it fails
7 years ago
Pierre Souchay 728c5308df Fixed sync of Extra in binarySearch
7 years ago
Pierre Souchay 9243daeb0e Run new test in parallel
7 years ago
Pierre Souchay 5b4905e11d More test cases + travis flacky
7 years ago
Pierre Souchay fadfb95e07 Added Unit tests + fixed boudary limit
7 years ago
Pierre Souchay c838376dfa Added comment for function dnsBinaryTruncate
7 years ago
Pierre Souchay 94c0bf978a Perform a binary search to find optimal size of DNS responses
7 years ago
Kyle Havlovitz 2a636275ad
Update static assets
7 years ago
Kyle Havlovitz af4be34a2a
Update make static-assets goal and run format
7 years ago
Matt Keeler d926679278
Merge pull request #4023 from hashicorp/f-near-ip
7 years ago
Matt Keeler 0619efc254 GH-3798: More PR Updates
7 years ago
Matt Keeler 136efeb3be GH-3798: A couple more PR updates
7 years ago
Matt Keeler cec8d5145b GH-3798: A few more PR updates
7 years ago
Matt Keeler d065d3a6db GH-3798: Updates for PR
7 years ago
Matt Keeler 283a7942c4 GH-3798: Wrap DNS request validation in a retry
7 years ago
Jack Pearkes 265359959b
Merge pull request #4015 from hashicorp/ui-service-tags
7 years ago
Matt Keeler 5794fa8837 GH-3798: Add DNS near=_ip test
7 years ago
Matt Keeler de403d6515 GH-3798: Add HTTP prepared query near=_ip test
7 years ago
Matt Keeler 45a537def9 GH-3798: Add near=_ip support for prepared queries
7 years ago
Isaac Williams 01f5db46e8 Close HTTP response in Agent test (HTTPAPI_MethodNotAllowed_OSS)
7 years ago
Paul Banks 0d8993e338
Allow ignoring checks by ID when defining a PreparedQuery. Fixes #3727.
7 years ago
Pierre Souchay a680c8e91b Clearer documentation and comments for enabling Prometheus support
7 years ago
Pierre Souchay 27362320e8 Enable compression / automatic Mime-Type detection for Prometheus endpoint
7 years ago
Matt Keeler 39c17084b6
Merge pull request #4006 from kjothen/patch-1
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
Jack Pearkes eb447f51e6 api/ui: return tags on internal UI endpoints
7 years ago
Matt Keeler 0d1d03c793
Merge pull request #3752 from yfouquet/issue_3687
7 years ago
Yoann 0f6e05d4c1 Add support for compression in http api
7 years ago
Preetha 2c931c92d4
Merge pull request #3998 from zte-opensource/wip-fix-shutdown
7 years ago
Kieran Othen e4b7465193
Update check.go
7 years ago
Matt Keeler 27899f9f46
Merge pull request #3948 from pierresouchay/fix_tcp_dns_limit
7 years ago
Preetha a67d27c756
Adds discovery_max_stale (#4004)
7 years ago
Preetha 1609b2c6b7
Merge pull request #3994 from hashicorp/f-rename-servicemeta
7 years ago
runsisi b082c8d3ab minor fix for endpoints shutdown
7 years ago
Matt Keeler ea6767d8bc
Merge pull request #3990 from hashicorp/b-gh-3854
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
Preetha 3c96d64eaa
Merge pull request #3984 from hashicorp/f-allow-federation-disable
7 years ago
Matt Keeler ebc6f414ac Formatting update
7 years ago
Pierre Souchay 980189a33f Added validation of ServiceMeta in Catalog
7 years ago
Preetha Appan 226cb2e95c
fix typo and remove comment
7 years ago
Matt Keeler 3facce6bfa GH-3854: Warn when node name isnt a valid DNS label
7 years ago
Preetha Appan 010a459365
Remove unnecessary nil checks
7 years ago
Preetha Appan 6c0bb5a810
Fix test and remove unused method
7 years ago
Preetha Appan d77ab91123
Allows disabling WAN federation by setting serf WAN port to -1
7 years ago
Pierre Souchay 18baff80ae Merge remote-tracking branch 'origin/master' into node_health_should_change_service_index
7 years ago
Pierre Souchay 5fb1b18073 More test cases
7 years ago
Pierre Souchay 39a7b5c20d Added new test regarding checks index
7 years ago
Pierre Souchay dd9efb755a Fixed minor typo in comments
7 years ago
Guido Iaquinti 8cd11d5888 Add package name to log output
7 years ago
Josh Soref 94835a2715 Spelling (#3958)
7 years ago
Paul Banks a8f7681c70
Merge pull request #3962 from canterberry/upgrade/tls-cipher-suites
7 years ago
Pierre Souchay b6914617d9 Fixed typo in comments
7 years ago
Pierre Souchay 5e974843f1 Refactoring to have clearer code without weird bool
7 years ago
Pierre Souchay a44b9e84b1 [BUGFIX] When a node level check is removed, ensure all services of node are notified
7 years ago
Preetha Appan 2eed7766a8
cleanup unit test code a bit
7 years ago
Preetha c87699abf2
Merge pull request #3885 from eddsteel/support-options-requests
7 years ago
Devin Canterberry 2187ab1e1c
🎨 Formatting changes only; convert leading space to tabs
7 years ago
Devin Canterberry 7236c95e11
Match expectation of TLSCipherSuites to values of tls_cipher_suites
7 years ago
Devin Canterberry a61abcd931
🐛 Formatting changes only; add missing trailing commas
7 years ago
Devin Canterberry c901307a47
🔒 Update supported TLS cipher suites
7 years ago
Pierre Souchay aebfcb6767 Fixed minor typo (+ travis tests is unstable)
7 years ago
Pierre Souchay 93fa1f6f49 Optimize size for SRV records, should improve performance a bit
7 years ago
Preetha 210cfe5ef9
Merge pull request #3940 from pierresouchay/dns_max_size
7 years ago
Pierre Souchay d0e45f22df Fixed wrong format of debug msg in unit test
7 years ago
Pierre Souchay ce3f47a75d Performance optimization for services having more than 2k records
7 years ago
Pierre Souchay 7d59249d96 Avoid issue with compression of DNS messages causing overflow
7 years ago
Pierre Souchay 419bf29041 Cleaner Unit tests from suggestions from @preetapan
7 years ago
Pierre Souchay b77fd5ce9d 64000 max limit to DNS messages since there is overhead
7 years ago
Pierre Souchay be39fb20cc [BUGFIX] do not break when TCP DNS answer exceeds 64k
7 years ago
Mitchell Hashimoto 8217564c48
agent/consul/fsm: begin using testify/assert
7 years ago
Pierre Souchay 0b7f620dc6 Allow to control the number of A/AAAA Record returned by DNS
7 years ago
Edd Steel 41b1d45cc7
Re-use defined endpoints for tests
7 years ago
Paul Banks 9a47449c6d
Merge pull request #3899 from pierresouchay/fix_blocking_queries_index
7 years ago
Pierre Souchay 360dc1dd8d Simplified error handling for maxIndexForService
7 years ago
Paul Banks dbaabb1dbc
Fix test running in non-bash shells
7 years ago
Paul Banks 6da6e086ef
Merge pull request #3900 from hashicorp/fix-monitor-sigint-3891
7 years ago
Preetha Appan 80791d5b21
Remove extra newline
7 years ago
Preetha Appan 907b97b7f2
Unit test that calls revokeLeadership twice to make sure its idempotent
7 years ago
Preetha Appan f59abcc394
Make sure revokeLeadership is called if establishLeadership errors
7 years ago
Alex Dadgar 18bf9647d5 Test autopilots start/stop idempotency
7 years ago
Alex Dadgar 33c5afdb31 Improve autopilot shutdown to be idempotent
7 years ago
Pierre Souchay a8d3745104 Fixed comments for function maxIndexForService
7 years ago
Pierre Souchay 09351ba9a6 [Revert] Only update services if tags are different
7 years ago
Pierre Souchay 60454b570a Only update services if tags are different
7 years ago
Pierre Souchay a05d38737c Enable Raft index optimization per service name on health endpoint
7 years ago
Paul Banks de58eb1820
Fixes #3891: agent monitor no longer unresponsive before logs stream.
7 years ago
Pierre Souchay 4f10fae3c3 Get only first service to test whether we have to cleanup index of a service
7 years ago
Pierre Souchay bac8fb046f Fixed comment about raftIndex + use test.Helper()
7 years ago
Pierre Souchay 73127ef407 Services Indexes modified per service instead of using a global Index
7 years ago
Edd Steel d0f0d67b4a
Clarify comments
7 years ago
Edd Steel f770f360e9 Test every endpoint for OPTIONS/MethodNotFound
7 years ago
Edd Steel c5f0bb3711 Allow endpoints to handle OPTIONS/MethodNotFound themselves
7 years ago
Edd Steel f5af8b0f03
Initialise `allowedMethods` in init()
7 years ago
Kyle Havlovitz 139b98a427
Fix the coordinate update endpoint not passing the ACL token
7 years ago
Edd Steel 77f19f7505
Support OPTIONS requests
7 years ago
Andrei Burd b608091014 adding human readability for dns requests debug log (#3751)
7 years ago
Pierre Souchay b259b1609c Merge remote-tracking branch 'origin/master' into service_metadata
7 years ago
Pierre Souchay 9a57dfd68a Fixed TestSanitize unit test
7 years ago
James Phillips 3724e49ddf
Fixes a panic on TCP-based DNS lookups.
7 years ago
Pierre Souchay 66fdf445e8 Added unit tests for structs and fixed PartialClone()
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
James Phillips 11f6961e47
Adds a more robust unit test for index churn.
7 years ago
Pierre Souchay 80dde5465b Added support for Service Metadata
7 years ago
James Phillips d9a6e2a901
Makes server manager shift away from failed servers from Serf events.
7 years ago
James Phillips fc155dac19
Adds a before/after test for #3845.
7 years ago
James Phillips 533f65b7a6
Merge pull request #3845 from 42wim/tagfix
7 years ago
Kyle Havlovitz f6ecaa4a1c
Add enterprise default config section
7 years ago
James Phillips e748c63fff
Merge pull request #3855 from hashicorp/pr-3782-slackpad
7 years ago
James Phillips 5f31c8d8d3
Changes "TLS" to "GRPCUseTLS" since it only applies to GRPC checks.
7 years ago
Wim ce771f1fb3 Fix service tags not added to health check. Part two
7 years ago
Veselkov Konstantin 5f38e1148a fix refactoring
7 years ago
Veselkov Konstantin 8e16bd7d77 fix refactoring
7 years ago
Veselkov Konstantin 7de57ba4de remove golint warnings
7 years ago
James Phillips 9cd602de06
Improves user lookup error message.
7 years ago
Kyle Havlovitz 144e6e7d31
Remove nonvoter from metadata.Server
7 years ago
James Phillips 64acd0ade0
Gets rid of named return parameters.
7 years ago
James Phillips b443bd1438
Moves non-stdlib includes into their own section.
7 years ago
Kyle Havlovitz bfeb09983b
Reset clusterHealth when autopilot starts
7 years ago
Kyle Havlovitz 17805e4634
Move autopilot health loop into leader operations
7 years ago
James Phillips c190b35b0e
Updates web assets to latest.
7 years ago
Kyle Havlovitz cde1e7ceb6
Merge pull request #3821 from hashicorp/persist-file-handling
7 years ago
Kyle Havlovitz f156b12b22
Merge pull request #3820 from hashicorp/serfwan-port-fix
7 years ago
James Phillips 93fd6bfeb4
Moves the coordinate fetch after the ACL check.
7 years ago
Kyle Havlovitz 68ae92cb8c
Don't remove the files, just log an error
7 years ago
Kyle Havlovitz 8c5be2dd97
Enforce a valid port for the Serf WAN since it can't be disabled.
7 years ago
Kyle Havlovitz 4e325a6b8f
Add graceful handling of malformed persisted service/check files.
7 years ago
James Hartig aedab91a66 Resolve symlinks in config directory
7 years ago
James Phillips 9509aa6c4b
Adds the NodeID field back to the /v1/agent/self Config block.
7 years ago
James Phillips ebcd1787db
Adds more info about how to fix the private IP error.
7 years ago
James Phillips 48cfe6ff5f
Fixes crash where body was optional for PQ endpoint (it is not).
7 years ago
Dmytro Kostiuchenko 1a10b08e82 Add gRPC health-check #3073
7 years ago
Diptanu Choudhury 294151c1ad Using labels
7 years ago
Diptanu Choudhury 006eab2394 Added telemetry around Catalog APIs
7 years ago
James Phillips 5b88b8df38
Updates the checked in web assets.
7 years ago
James Phillips 6412d8d9aa
Updates the built-in web assets.
7 years ago
James Phillips 7a46d9c1e3
Wraps HTTP mux to ban all non-printable characters from paths.
7 years ago
James Phillips 2edc11b44c
Updates the built-in web UI assets.
7 years ago
James Phillips da6a4635b0
Fixes a `go fmt` cleanup.
7 years ago
Kyle Havlovitz 11a0c9cc58
Fix vet error
7 years ago
Kyle Havlovitz 77dc52f430
Move autopilot initializing to oss file
7 years ago
Kyle Havlovitz 039e7f1880
Move autopilot setup to a separate file
7 years ago
Kyle Havlovitz d08ab9fd19
Make some final tweaks to autopilot package
7 years ago
Kyle Havlovitz a86d11ec0a
Merge pull request #3737 from hashicorp/autopilot-refactor
7 years ago
James Phillips 06f980061e
Merge pull request #3728 from weiwei04/fix_globalRPC_goroutine_leak
7 years ago
James Phillips f491a55e47
Merge pull request #3642 from yfouquet/master
7 years ago
James Phillips ca3f9024ac
Works around mapstructure behavior to enable sessions with no checks.
7 years ago
Kyle Havlovitz 324c2ecb53
Expose IsPotentialVoter for advanced autopilot logic
7 years ago
James Phillips 98e837167e
Changes maps to merge vs. overwrite when processing configs.
7 years ago
Kyle Havlovitz 12bf61c851
Merge branch 'master' into autopilot-refactor
7 years ago
Kyle Havlovitz d6b266c045
A few last autopilot adjustments
7 years ago
Kyle Havlovitz 2310687c1d
More autopilot reorganizing
7 years ago
James Phillips 46742a5041
Adds TODOs referencing #3744.
7 years ago
James Phillips 2892f91d0b
Copies the autopilot settings from the runtime config.
7 years ago
Kyle Havlovitz b92f895c23
More refactoring to make autopilot consul-agnostic
7 years ago
Yoann Fouquet 986148cfe5 [Fix] Service tags not added to health checks
7 years ago
Kyle Havlovitz de28555671
Move autopilot to a standalone package
7 years ago
James Phillips d12e81860f
Moves Serf helper into lib to fix import cycle in consul-enterprise.
7 years ago
James Phillips 5065f3d82e
Turns of intent queue warnings and enables dynamic queue sizing.
7 years ago
Wei Wei cc9648c957 fix globalRPC goroutine leak
7 years ago
James Phillips 3e46544085
Creates a registration mechanism for snapshot and restore.
7 years ago
James Phillips f53f521072
Begins split out of snapshots from the main FSM class.
7 years ago
James Phillips c8e763667f
Creates a registration mechanism for FSM commands.
7 years ago
James Phillips 78292662d7
Moves the FSM into its own package.
7 years ago
James Phillips e810697e06
Resolves an FSM snapshot TODO.
7 years ago
James Phillips aa61159b74
Creates a registration mechanism for schemas.
7 years ago
James Phillips 93ff33b1be
Creates a registration mechanism for RPC endpoints.
7 years ago
James Phillips 68f100c8df
Creates HTTP endpoint registry.
7 years ago
James Phillips 679775418f
Moves coordinate disabled logic down into endpoints.
7 years ago
James Phillips 29367cd5ae
Moves ACL disabled response logic down into endpoints.
7 years ago
James Phillips 44d824a58f
Renames "segments" to "segment" to be consistent with other files.
7 years ago
James Phillips 8bf1f57737
Renames stubs to be more consistent.
7 years ago
James Phillips 8abd2050fa
Sheds monotonic time info so tombstone GC bins work properly.
7 years ago
James Phillips de57a9ef51
Gives back the lock before writing to the expire channel.
7 years ago
James Phillips 34c13925d4
Skips files with unknown extensions when not forcing a format.
7 years ago
James Phillips 1e49c157c5
Adds a snapshot agent stub to the config structure.
7 years ago
James Phillips 990fbbb86b
Cleans up check logging.
7 years ago
James Phillips f19ba41144
Moves the LAN event handler after the router is created.
7 years ago
James Phillips 17737ee030
Revert "Adds a small sleep to make sure we are in the next GC bucket."
7 years ago
James Phillips 24475048e2
Adds a sleep to make sure we are in the next GC bucket, ups time.
7 years ago
James Phillips c57884fffe
Skips the tombstone GC test in Travis for now.
7 years ago
James Phillips cd935ebe6c
Adds missing os import.
7 years ago
James Phillips f6b7dcbcf6
Removes bogus getPort() in favor of freeport.
7 years ago
James Phillips 8579225c27
Skips IPv6 test in Travis.
7 years ago
James Phillips 2937656f8e
Adds a longer retry period for the AE deferred output test.
7 years ago
James Phillips 7b966e2d26
Tightens timing up and reorders GC test to be less flaky.
7 years ago
James Phillips 7c6ab5e783
Doubles the GC timing.
7 years ago
James Phillips 8de7c77482
Opens up test timing a little more.
7 years ago
James Phillips c46612f691
Shifts off a gran boundary to help make test less flaky.
7 years ago
James Phillips f31856c1b7
Opens up the tombstone GC test timing.
7 years ago
James Phillips 93f68555d0
Adds enable_agent_tls_for_checks configuration option which allows (#3661)
7 years ago
James Phillips 85e678fbdd
Saves the cycled server list after a failed ping when rebalancing. (#3662)
7 years ago
James Phillips 099b143838
Double-books the HTTP metrics w/ and w/o the "consul" prefix.
7 years ago
James Phillips 4a2cafe525
Adds HTTP/2 support to Consul's HTTPS server. (#3657)
7 years ago
James Phillips aa199ab6ba
Makes the metrics ACL test call the right endpoint.
7 years ago
Preetha Appan b15d8db851 Sets tty in docker client back to true, as a potential fix for docker exec weirdness
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 c4375d5a47
Merge pull request #3622 from hashicorp/coordinate-node-endpoint
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
Frank Schröder 874e350b2f config: add -config-format option (#3626)
7 years ago
Frank Schröder a052255f86 vendor: update go-discover (#3634)
7 years ago
Kyle Havlovitz 1e3b0d441b
Factor out registerNodes function
7 years ago
James Phillips 6bf55d16a2
Relaxes Autopilot promotion logic. (#3623)
7 years ago
Frank Schroeder c72e6bdb37
docker: fix failing test
7 years ago
Frank Schroeder 7c0e5036a8
docker: render errors with %v since they can be nil
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
Frank Schroeder ca9aac746f
agent: add /v1/coordianate/node/:node endpoint
7 years ago
Frank Schroeder b4d8c26194
docker: add comment about "connection reset by peer" error
7 years ago
Frank Schroeder 164ec3ec39
docker: stop previous check on replace
7 years ago
Frank Schroeder e774b46f82
docker: close idle connections on stop
7 years ago
Frank Schroeder 94726ef105
docker: do not alloc a tty since this is not interactive
7 years ago
Frank Schroeder a1b47d99c1
docker: make sure to log the error when we fall through
7 years ago
Frank Schroeder 51a18c2557
docker: ignore "connection reset by peer"
7 years ago
Kyle Havlovitz ce4e8c46fa
Add deregister critical service field and refactor duration parsing
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