Commit Graph

726 Commits (9639bfb1be66ee1798f4e91c7c9acee208e39202)

Author SHA1 Message Date
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