open-consul/website
Frank Schröder c7cc62ab5a 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
..
scripts Remove people from community section (#3352) 2017-08-02 12:05:45 -07:00
source agent: consolidate handling of 405 Method Not Allowed (#3405) 2017-09-25 23:11:19 -07:00
Gemfile Update middleman-hashicorp to 0.3.28 for mega nav fixes (#3194) 2017-06-26 11:26:56 -07:00
Gemfile.lock Update middleman-hashicorp to 0.3.28 for mega nav fixes (#3194) 2017-06-26 11:26:56 -07:00
LICENSE.md Update license 2017-03-08 11:40:06 -08:00
Makefile Update middleman-hashicorp to 0.3.28 for mega nav fixes (#3194) 2017-06-26 11:26:56 -07:00
README.md Update middleman-hashicorp 2017-03-08 11:26:11 -08:00
config.rb Bumps website version to 0.9.3. 2017-09-08 10:22:11 -07:00
packer.json Remove people from community section (#3352) 2017-08-02 12:05:45 -07:00
redirects.txt Remove people from community section (#3352) 2017-08-02 12:05:45 -07:00

README.md

Consul Website

This subdirectory contains the entire source for the Consul Website. This is a Middleman project, which builds a static site from these source files.

Contributions Welcome!

If you find a typo or you feel like you can improve the HTML, CSS, or JavaScript, we welcome contributions. Feel free to open issues or pull requests like any normal GitHub project, and we'll merge it in.

Running the Site Locally

Running the site locally is simple. Clone this repo and run make website.

Then open up http://localhost:4567. Note that some URLs you may need to append ".html" to make them work (in the navigation).