consul/website/source
Frank Schröder 1e461110e6 agent: consolidate handling of 405 Method Not Allowed (#3405)
* agent: consolidate http method not allowed checks

This patch uses the error handling of the http handlers to handle HTTP
method not allowed errors across all available endpoints. It also adds a
test for testing whether the endpoints respond with the correct status
code.

* agent: do not panic on metrics tests

* agent: drop other tests for MethodNotAllowed

* agent: align /agent/join with reality

/agent/join uses PUT instead of GET as documented.

* agent: align /agent/check/{fail,warn,pass} with reality

/agent/check/{fail,warn,pass} uses PUT instead of GET as documented.

* fix some tests

* Drop more tests for method not allowed

* Align TestAgent_RegisterService_InvalidAddress with reality

* Changes API client join to use PUT instead of GET.

* Fixes agent endpoint verbs and removes obsolete tests.

* Updates the change log.
2017-09-25 23:11:19 -07:00
..
api agent: consolidate handling of 405 Method Not Allowed (#3405) 2017-09-25 23:11:19 -07:00
assets add enterprise badge style alert boxes, change guides/areas.html.md to erb file 2017-06-04 01:30:21 -04:00
docs Bumps default Raft protocol to version 3. (#3477) 2017-09-25 15:27:04 -07:00
intro Adds new config to make script checks opt-in, updates documentation. (#3284) 2017-07-17 11:20:35 -07:00
layouts Adds documentation for Sentinel integration in Consul Enterprise. 2017-09-19 09:02:53 -05:00
.gitignore website: bulk copy from serf 2014-02-07 16:41:03 -08:00
404.html.md Tweaks 404 message. 2017-04-14 09:00:59 -07:00
android-manifest.json.erb Move to new branding 2017-03-30 18:46:50 -04:00
community.html.erb Remove people from community section (#3352) 2017-08-02 12:05:45 -07:00
downloads.html.erb Move to new branding 2017-03-30 18:46:50 -04:00
downloads_tools.html.erb Merge pull request #2869 from liozN/master 2017-04-11 23:04:07 -07:00
favicon.ico Move to new branding 2017-03-30 18:46:50 -04:00
index.html.erb Fix homepage css 2017-04-18 12:57:05 -04:00
microsoft-tile.xml.builder Move to new branding 2017-03-30 18:46:50 -04:00
robots.txt Use new Markdown syntaxes and add SEO descriptions 2014-10-19 19:42:13 -04:00
security.html.erb Move to new branding 2017-03-30 18:46:50 -04:00
sitemap.xml.builder Add robots.txt and sitemap 2014-10-19 19:41:12 -04:00