Commit graph

7730 commits

Author SHA1 Message Date
Pierre Souchay 24185ada0d Fixed Meta name for JSON + Added unit tests for HCL/JSON 2018-04-24 16:39:43 +02:00
Pierre Souchay 956b6213dc Removed Nanoseconds cast as requested by @banks 2018-04-24 16:30:10 +02:00
Pierre Souchay 9ddf7af82d Removed content negotiation of Prometheus as requested by @banks 2018-04-24 16:28:30 +02:00
Matt Keeler f7e331ccf2
Update CHANGELOG.md 2018-04-23 12:37:34 -07:00
Matt Keeler c1cd109f4d
Merge pull request #4037 from pierresouchay/dns_large_responses_binary_search
Perform a binary search to find optimal size of DNS responses
2018-04-23 15:35:39 -04:00
Jeff Escalante 988ceca737 adjust analytics and scripts for turbolinks 2018-04-23 13:05:39 -04:00
Pierre Souchay ee47eb7d7d Added Missing Service Meta synchronization and field 2018-04-21 17:34:29 +02:00
Pierre Souchay cf3cd546c8 More Tests cases compression/no compression 2018-04-21 17:18:39 +02:00
Pierre Souchay a3b028d1d7 Removed unecessary copy of Extra and index 2018-04-20 22:51:04 +02:00
Matt Keeler 9ddb9ca70b
Update CHANGELOG.md 2018-04-20 12:39:26 -04:00
Matt Keeler 3026ac4198
Merge pull request #4024 from jen20/signal-notify-once
Only call signal.Notify once during agent startup
2018-04-20 12:37:01 -04:00
Jack Pearkes 5bb45bf954
Merge pull request #4035 from hashicorp/website-description-default
website: set a default page description
2018-04-20 08:25:11 -07:00
Patrick DeVivo ca77868149 Add consul-kv-json (#4050)
* Add consul-kv-json to community tools
* alphabetize
2018-04-19 16:23:47 -05:00
Mitchell Hashimoto a3385014ac
Merge pull request #4049 from hashicorp/f-vendor-new
vendor: add hashstructure and mock
2018-04-19 10:42:29 -05:00
Mitchell Hashimoto 17af5e6a24
vendor: add hashstructure and mock 2018-04-19 08:10:05 -07:00
Jack Pearkes 46c570c414
Merge pull request #4044 from pierresouchay/add_consul_templaterb_tool
Add consul-templaterb to community tools
2018-04-18 15:52:40 -07:00
Pierre Souchay fbed04dbc2 gem, not GEM + Added information about process management 2018-04-19 00:21:30 +02:00
Pierre Souchay 5d0060a9c3 Use safer stringVal() 2018-04-18 23:18:16 +02:00
Pierre Souchay 6e71d8bb44 Added unit test on key length 2018-04-18 23:07:25 +02:00
Pierre Souchay ef7a35b203 Added unit tests for bad meta values 2018-04-18 22:57:33 +02:00
Pierre Souchay 5c4d8940ea [BUGFIX] Added Service Meta support in configuration files
Fixes https://github.com/hashicorp/consul/issues/4045

Was not added by mistake in https://github.com/hashicorp/consul/pull/3881
2018-04-18 22:18:58 +02:00
Pierre Souchay fa1b858065 Add consul-templaterb to community tools 2018-04-18 19:17:58 +02:00
Pierre Souchay e1240556f9 Improved unit tests debug info when it fails 2018-04-18 14:18:17 +02:00
Pierre Souchay 7db49828bd Fixed sync of Extra in binarySearch 2018-04-18 14:17:44 +02:00
Pierre Souchay 615faf9196 Revert timeout changes 2018-04-17 13:40:57 +02:00
Pierre Souchay 6706ff9f0b Run new test in parallel 2018-04-17 10:36:12 +02:00
Pierre Souchay e95c510948 Increase timeout in travis tests 2018-04-17 10:01:41 +02:00
Pierre Souchay 49aaf4155b More test cases + travis flacky 2018-04-17 09:42:08 +02:00
Pierre Souchay f2fc163b92 Added Unit tests + fixed boudary limit 2018-04-17 09:31:30 +02:00
Pierre Souchay 146152170f Added comment for function dnsBinaryTruncate 2018-04-17 01:10:52 +02:00
Pierre Souchay 9a819b5b29 Perform a binary search to find optimal size of DNS responses
Will fix https://github.com/hashicorp/consul/issues/4036

Instead of removing one by one the entries, find the optimal
size using binary search.

For SRV records, with 5k nodes, duration of DNS lookups is
divided by 4 or more.
2018-04-17 00:50:00 +02:00
Jack Pearkes b78ba5428a website: set a default page description
This is related to the updated unfurling behavior, see
https://github.com/hashicorp/terraform-website/pull/242.
2018-04-16 14:23:09 -07:00
Jack Pearkes 4df67b15e9
Merge pull request #4029 from freddygv/dnsutils-vagrant-cluster
Enables dig in vagrant-cluster demo by installing dnsutils
2018-04-13 15:45:28 -07:00
Preetha Appan d89545b01e
Put tree back into dev mode 2018-04-13 17:17:29 -05:00
Jack Pearkes 890cf47acb website: fix a broken link 2018-04-13 10:33:29 -07:00
Jack Pearkes fa7bf785ad website: bump version of middleman used in packer build 2018-04-13 10:29:50 -07:00
Kyle Havlovitz 8acead4210
Update website to download version 1.0.7 2018-04-13 10:25:40 -07:00
Kyle Havlovitz 189b19c678
Release v1.0.7 2018-04-13 10:05:42 -07:00
Kyle Havlovitz 2ac0669362
Update static assets 2018-04-13 10:05:30 -07:00
freddygv 230b9f8fbf Enables dig in cluster demo by installing dnsutils 2018-04-13 18:01:42 +01:00
Kyle Havlovitz be10300d06
Update make static-assets goal and run format 2018-04-13 09:57:25 -07:00
Jack Pearkes 62190439c4 ui: update version of ui compile deps 2018-04-13 09:40:46 -07:00
Kyle Havlovitz be4faac818
Update middleman docker image to 0.3.35 2018-04-13 09:22:12 -07:00
Jack Pearkes d02d7e0956 update middleman-hashicorp to 0.3.35 2018-04-13 09:11:32 -07:00
Kyle Havlovitz 9802427bb8
Put the tree in 1.0.7 release mode 2018-04-13 08:58:27 -07:00
Matt Keeler 42867dba4d
Update CHANGELOG.md 2018-04-12 12:13:19 -04:00
Matt Keeler ed94d356e0
Merge pull request #4023 from hashicorp/f-near-ip
Add near=_ip support for prepared queries
2018-04-12 12:10:48 -04:00
Matt Keeler d604642792 GH-3798: More PR Updates
Update docs a little
Update/add tests. Make sure all the various ways of determining the source IP work
Update X-Forwarded-For header parsing. This can be a comma separated list with the first element being the original IP so we now handle csv data there.
Got rid of error return from sourceAddrFromRequest
2018-04-12 10:40:46 -04:00
Matt Keeler aa9151738a GH-3798: A couple more PR updates
Test HTTP/DNS source IP without header/extra EDNS data.
Add WARN log for when prepared query with near=_ip is executed without specifying the source ip
2018-04-12 10:10:37 -04:00
Matt Keeler 3a0f7789ec GH-3798: A few more PR updates 2018-04-11 20:32:35 -04:00