Commit graph

5913 commits

Author SHA1 Message Date
Seth Vargo b20902b7e2
Parse values given to ?passing in the API
This PR fixes GH-2212 in the most backwards-compatible way I can think
of. If the user does not pass a value for `?passing`, it's assumed to be
true, which mirrors the current behavior. However, if the user passes
any value for passing, that value is parsed as a bool using strconv.

It's important to note that this is technically a breaking change.
Previously using `?passing=false` would return only passing nodes. While
this behavior is obviously incorrect, it was the previous behavior. We
should call this out very clearly in the CHANGELOG.
2017-06-09 14:36:00 -04:00
James Phillips 2f2131bab4
Puts the tree into 0.9.0 dev mode. 2017-06-09 08:27:15 -07:00
James Phillips e23f044cf3
Bumps the website version to 0.8.4. 2017-06-09 08:03:24 -07:00
James Phillips 67a22d0b5c
Release v0.8.4 2017-06-09 07:44:26 -07:00
James Phillips 883d70651e
Puts the tree into 0.8.4. release mode. 2017-06-09 07:34:00 -07:00
James Phillips e3ed6fbc22
Removes obsolete Windows build scripts. 2017-06-09 01:13:28 -07:00
James Phillips 8e817ab2a5
Removes obsolete Windows batch file and instructions.
We officially just cross-compile to Windows, and soon will have the normal
Go build working. Since we no longer have any cgo dependencies, none of this
complexity is really needed.
2017-06-09 01:11:38 -07:00
James Phillips 1051e2ede8 Merge pull request #3133 from hashicorp/less-parallel
Makes tests less parallel and relaxes timing.
2017-06-09 00:02:35 -07:00
James Phillips a5cc8434ce
Opens up timing bound on flaky test. 2017-06-08 21:37:52 -07:00
James Phillips fa72c33c9c
Removes t.Parallel() on any consul package tests that use a test server. 2017-06-08 21:34:07 -07:00
James Phillips e759b115d3 Merge pull request #3128 from hashicorp/broken-tests
Fixes HTTP header compare by including standard headers.
2017-06-08 14:11:15 -07:00
James Phillips a7c910be7c
Fixes HTTP header compare by including standard headers. 2017-06-08 14:10:46 -07:00
Frank Schroeder 17051c6870 agent: fix time.Duration parsing
The duration can be passed as a string, a float64 or a time.Duration
and this patch handles this properly.
2017-06-08 22:42:49 +02:00
James Phillips 40988edbda Create CHANGELOG.md 2017-06-08 13:16:32 -07:00
Preetha Appan b71c263175 Updated changelog 2017-06-08 13:04:53 -07:00
preetapan e534d47dae Merge pull request #3127 from hashicorp/s3_encrypt_doc
Added documentation for new s3 server side encryption
2017-06-08 12:44:53 -07:00
Preetha Appan 59e2592872 Added documentation for new s3 server side encryption 2017-06-08 11:39:10 -07:00
James Phillips aee83d9117 Merge pull request #3126 from hashicorp/doc-eureka
website: Add a vs Eureka. Fixes #1295
2017-06-08 11:04:28 -07:00
Armon Dadgar 55cd3b950d website: Add a vs Eureka. Fixes #1295 2017-06-08 11:00:30 -07:00
James Phillips efa2fd42e1 Create CHANGELOG.md 2017-06-08 07:25:19 -07:00
James Phillips 303a9040aa Create CHANGELOG.md 2017-06-08 07:24:42 -07:00
James Phillips 911fe07580 Create CHANGELOG.md 2017-06-08 07:22:29 -07:00
James Phillips c66dc7ac5b Merge pull request #3124 from hashicorp/log-signal-events
agent: log events and exit code to the log file
2017-06-08 07:21:24 -07:00
Seth Vargo b4cc95de6e
Update middleman 2017-06-08 08:49:43 -04:00
Frank Schroeder 1a8499316f
test: log exit code in cluster.bash 2017-06-08 14:06:10 +02:00
Frank Schroeder d284d061c9
agent: log events and exit code to the log file
This patch logs the signals, events, errors and the exit
code to the log file instead of printing it on the console.
This should provide a more complete picture for debugging.
2017-06-08 10:07:55 +02:00
Frank Schroeder d98f0f7bab
log: use prefix [ERR] instead of [ERROR] 2017-06-08 09:50:47 +02:00
James Phillips 536915fa9a Fixes version reference in encryption docs. 2017-06-07 21:31:48 -07:00
James Phillips e32b42a222
Updates static assets to latest. 2017-06-07 21:16:59 -07:00
James Phillips 0dd7aa570a Merge pull request #3123 from hashicorp/upgrade-warn
Changes FSM catalog info messages into warnings.
2017-06-07 20:47:06 -07:00
James Phillips 91d77c5c22
Changes FSM catalog info messages into warnings. 2017-06-07 20:46:39 -07:00
James Phillips a634eb7b21 Update CHANGELOG.md 2017-06-07 10:42:55 -07:00
James Phillips fd7c3c5cfa Merge pull request #3121 from hashicorp/increase-graceful-timeout
agent: increase graceful shutdown timeout
2017-06-07 10:42:19 -07:00
James Phillips a50a6289bb Merge pull request #3118 from katiebayes/master
Add enterprise badges and update middleman version
2017-06-07 10:41:57 -07:00
James Phillips c42c9c3a9d Merge pull request #3120 from hashicorp/better-shutdown-logs
agent: log different shutdown stages
2017-06-07 10:41:37 -07:00
James Phillips 7e22b0da8b Merge pull request #3119 from hashicorp/contrib-cluster-test-script
test: add script for starting a multi-node cluster
2017-06-07 10:41:02 -07:00
James Phillips a62dfd8fa4 Update CHANGELOG.md 2017-06-07 10:39:51 -07:00
Frank Schroeder 247e44e787
agent: increase graceful shutdown timeout
When triggering a leave through an INT/TERM signal the hard-coded
timeout of 5 seconds is too short to complete the leave successfully.
Therefore, the agent always times out.

This value should probably configurable.
2017-06-07 13:12:34 +02:00
Frank Schroeder fc2ed18423
agent: log differnt shutdown stages
Log the different code paths during shutdown.
2017-06-07 13:11:04 +02:00
Frank Schroeder 42fe8e513e
test: add script for starting a multi-node cluster 2017-06-07 13:08:19 +02:00
Frank Schroeder 3e7d84fbd9
Update CHANGELOG.md 2017-06-07 09:53:11 +02:00
Katie Bayes 4fe8375a65 update middleman version from 25 to 26 2017-06-06 20:12:32 -04:00
Frank Schröder e206ab5cb6 agent: support custom header and method for http checks (#3106)
This patch adds support for custom headers and
method for HTTP checks.

Fixes #2474
Fixes #2657
Fixes #3106
2017-06-07 01:11:56 +02:00
Katie Bayes 6e684217f8 Merge branch 'master' of https://github.com/katiebayes/consul 2017-06-06 16:02:32 -04:00
Katie Bayes 8e914975a3 update middleman version 2017-06-06 16:00:11 -04:00
James Phillips ccfa5dbbac Merge pull request #3116 from hashicorp/reup-certs
Updates unit test certs for another year.
2017-06-05 19:23:04 -07:00
James Phillips 12a0a9ceb1
Updates unit test certs for another year. 2017-06-05 19:22:20 -07:00
James Phillips 68b663895d Merge pull request #3114 from hashicorp/minor_readme_fixes
update README to mention using CONSUL_DEV
2017-06-05 17:34:52 -07:00
Preetha Appan 68373449b0 update README to mention using CONSUL_DEV 2017-06-05 15:49:50 -07:00
Frank Schroeder 0133ab135a test: refactor TestDecodeConfig test
This patch refactors the multiple tests for
DecodeConfig into a single table-driven test
that tests most fields individually.
2017-06-04 23:55:12 +02:00