Commit Graph

527 Commits (e44bcb971675b607a4ea3db9d7a8392598f2d349)

Author SHA1 Message Date
talwai 0a5434f2a0 Add DogStatsD configuration options to documentation source 2015-11-11 14:30:37 -05:00
Diptanu Choudhury c25d0f044f Some more grammer corrections and formatting to docker check docs 2015-10-28 14:56:55 -07:00
Diptanu Choudhury 1633cf9d1c Some changes to the docker check docs 2015-10-28 14:24:03 -07:00
Diptanu Choudhury e4f2887ba3 Added some docs for the docker check 2015-10-28 14:19:57 -07:00
Cameron Stokes 442461b030 Clarify format of the -atlas agent option. 2015-10-27 14:21:05 -07:00
Victor Trac 2b00e1cd6a Mote -> Note typo 2015-10-26 15:10:20 -05:00
James Phillips cef9402ab9 Updates docs for network coordinates. 2015-10-23 15:23:01 -07:00
James Phillips f9da231a1c Adds coordinate of agent to self endpoint. 2015-10-23 15:23:01 -07:00
James Phillips 33e3505aea Adds endpoints for raw network coordinates. 2015-10-23 15:23:01 -07:00
James Phillips 9c9195746f Changes ?near=self to a safer ?near=_agent, which is also clearer about what it does. 2015-10-23 15:23:01 -07:00
James Phillips 9caa5b3653 Adds distance sorting to health endpoint. Cleans up unit tests. 2015-10-23 15:23:01 -07:00
James Phillips e47eea3f3a Adds a magic "self" node name to distance queries. 2015-10-23 15:23:01 -07:00
James Phillips 36c78f5042 Adds sort of DCs in catalog queries based on RTT. Cleans up.
* Makes the catalog endpoint respect disabling coordinates for all
  RTT-sorting query types.
2015-10-23 15:23:01 -07:00
James Phillips 89c7203f31 Adds coordinate sorting support to catalog queries for nodes and service nodes. 2015-10-23 15:23:01 -07:00
Armon Dadgar 6a350d5d19 Merge pull request #1318 from daveadams/f-http-header-token
Allow specifying Consul token in an HTTP request header
2015-10-22 13:33:47 -07:00
David Adams b7bcb2a414 Add HTTP request header X-Consul-Token
Add support for an X-Consul-Token HTTP request header to specify the
token with which this request should be fulfilled. The header would have
precedence over the responding Agent's default token, but would have
lower precedence than a token specified in the query string.
2015-10-19 11:26:01 -05:00
James Phillips dc05fb728a Updates docs about new "acquire when you already have it" behavior. 2015-10-15 14:59:09 -07:00
Jeff Wang 0488dfd366 Make service lookup DNS documentation consistent 2015-09-23 23:16:34 -07:00
Jeff Wang ce66db8157 Make node lookup DNS documentation consistent 2015-09-23 23:09:52 -07:00
James Phillips 2f9ebdb135 Merge pull request #1187 from sfncook/enable_tag_drift_03
Enable tag drift 03
2015-09-11 15:35:32 -07:00
Shawn Cook 1f330add02 Doc changes in response to review. 2015-09-11 15:26:30 -07:00
Shawn Cook 598526eba2 Docs - add verbage to anti-entropy page. 2015-09-11 14:27:54 -07:00
Anthony Scalisi 10e028d599 remove various typos 2015-09-11 12:29:54 -07:00
Shawn Cook 4caf049c4c Update documentation for service definition 2015-09-11 09:32:54 -07:00
James Phillips 1387aba91b Fixes a typo in the telemetry docs. 2015-09-02 21:37:31 -07:00
Ryan Breen 80d26f9156 Merge pull request #1167 from railsguru/master
Add -http-port option to change the HTTP API port
2015-09-02 01:15:55 -04:00
Andy Lo-A-Foe bb5422af14 Position it alphabetically 2015-09-02 06:28:55 +02:00
Andy Lo-A-Foe 00b906774b Update agent options section on the website 2015-09-02 05:36:09 +02:00
Ryan Uber 4adc0b5c66 website: document precedence of Atlas endpoint inputs 2015-08-27 17:54:56 -07:00
Ryan Uber b8e82eee1c website: document atlas endpoint config 2015-08-27 11:31:29 -07:00
Ryan Uber b0fcb6c234 Merge pull request #1199 from hashicorp/f-scada-reload
SCADA client is reload-able
2015-08-26 11:46:50 -07:00
Ryan Uber 96e7b1869c website: add atlas token/infra to reloadable config 2015-08-25 17:21:29 -07:00
James Phillips 103fe83b4a Clarifies services docs a bit. 2015-08-25 16:12:19 -07:00
Cameron Stokes 23db28a5db Added detail about left/failed nodes and 72h reaping
Ref: https://groups.google.com/forum/#!searchin/consul-tool/left/consul-tool/KVl0u91uCdw/bfzrUO4r-1QJ
2015-08-06 17:37:48 -07:00
Peter Fern 916ff7e5fa Document `TCP` check type 2015-07-27 10:53:52 +10:00
ketzacoatl b63041c3b0 Minor improvement to `acl_master_token` docs
Confirm the expected format, and what happens if not provided.
2015-07-01 15:34:35 -04:00
Ryan Uber 6290cb93bd website: adding tag/service name dns compliance docs 2015-06-25 09:08:38 -07:00
Ryan Uber d0348d1291 Merge pull request #1004 from i0rek/advertise_addrs
Add advertise_addrs.
2015-06-23 12:32:07 -07:00
Hans Hasselberg 267e0caf81 Implement advertise_addrs for SerfLan, SerfWan and RPC.
Fixes #550.
This will make it possible to configure the advertised adresses for
SerfLan, SerfWan and RPC. It will enable multiple consul clients on a
single host which is very useful in a container environment.

This option might override advertise_addr and advertise_addr_wan
depending on the configuration.

It will be configureable with advertise_addrs. Example:

{
  "advertise_addrs": {
    "serf_lan": "10.0.120.91:4424",
    "serf_wan": "201.20.10.61:4423",
    "rpc": "10.20.10.61:4424"
  }
}
2015-06-23 21:23:45 +02:00
Ryan Uber c8b3e48cbf website: link to check pass/fail endpoint docs from checks page 2015-06-22 10:21:50 -07:00
Ryan Uber c8f76b5e2c website: document passing ACL tokens in catalog register/deregister 2015-06-15 11:45:30 -07:00
Christian Theune 74ac30c601 Wording. 2015-06-12 16:09:44 +02:00
Christian Theune 7211876688 Make behaviour of keyprefixes always matching all keys in a prefix more clear. 2015-06-12 16:07:42 +02:00
Ryan Uber e872587e19 website: document TTL check persistence 2015-06-05 17:15:57 -07:00
siddharthist 0dac1ea126 Clarify how intervals are parsed
Current docs only show second intervals and do not specify
other valid options, this commit specifically outlines how the times are
parsed.
2015-06-03 12:53:09 -05:00
Ryan Uber 32820fc9d2 website: add status field for check registration in http docs 2015-05-28 13:09:33 -07:00
Ryan Uber 1ae7710024 website: document setting initial status of health checks in config 2015-05-28 13:03:01 -07:00
Armon Dadgar ab3632e409 consul: lower default query time and add small stagger 2015-05-14 17:59:43 -07:00
Armon Dadgar 90d6204a1a website: document the new TLS changes 2015-05-11 16:22:10 -07:00
Cameron Ruatta 587cd35c6c Adding docs about configuration directory sub-directories 2015-05-11 10:36:50 -07:00
Cameron Ruatta 9271d94532 Adding documentation about specifying multiple configuration directories 2015-05-11 10:19:04 -07:00
Ryan Uber dd57071240 website: Document peers api consistency. Fixes #880 2015-05-06 12:13:28 -07:00
Armon Dadgar f3a8f907fb Merge pull request #909 from hashicorp/f-create
Support ACL upsert behavior
2015-05-06 11:22:11 -07:00
Ryan Uber 739d1fdf03 Merge pull request #891 from hashicorp/f-token
ACL tokens for service/check registration
2015-05-05 22:17:31 -07:00
Armon Dadgar c0f92c3256 website: Document new ACL upsert behavior 2015-05-05 19:25:27 -07:00
Armon Dadgar a86f31517b Merge pull request #816 from pepov/master
Support different advertise address for WAN gossip
2015-05-04 15:40:25 -07:00
Ryan Uber 5f140f1972 website: document statsite_prefix option 2015-05-03 16:54:19 -07:00
Ryan Uber 8d2834fb12 website: document service and check acl options 2015-04-28 14:28:06 -07:00
Vasily Vasilkov 3f5e767c30 Fix invalid link to sessions page 2015-04-22 12:40:27 +03:00
Cameron Ruatta c7d560bd7e Caps not necessary here 2015-04-20 20:59:45 -07:00
Cameron Ruatta b3c084382e Updating the docs to include information about registering a check with
a serviceid.
2015-04-20 20:56:26 -07:00
Ryan Breen 17c2644e39 Website: minor fix for docs/agent/http/agent.html. 2015-04-17 11:43:02 -04:00
Armon Dadgar eccd5a18f9 Merge pull request #844 from mkostrikin/patch-1
Small tip for gracefull kill
2015-04-10 10:43:09 -07:00
Ryan Uber e5797d9a86 website: fix typo 2015-04-08 09:59:23 -07:00
Maxim N. Kostrikin 362e44e678 Small tip for gracefull kill 2015-04-07 13:15:48 +05:00
Ryan Breen 0ad25ece43 Website: GH-831, mention that https port must be specified to start an https listener. 2015-04-03 22:12:00 -04:00
Ryan Breen 3035abd446 Website: GH-826 fix anchor links in /docs/agent/watches.html. 2015-03-31 17:22:50 -04:00
pepov 80dcc7fa08 update the docs: add advertise-wan cli and advertise_addr_wan json config 2015-03-28 16:08:20 +01:00
Ryan Uber 2fc6d530f3 website: document minimum session TTL setting 2015-03-27 11:34:27 -07:00
Ryan Breen 6e261622f8 Website: GH-730 for docs/agent/watches.html. 2015-03-26 14:18:51 -04:00
Ryan Breen f09817ada6 Website: GH-730 for docs/agent/telemetry.html. 2015-03-25 08:56:40 -04:00
Ryan Breen 220accc7d7 Website: GH-730 for docs/agent/encryption.html 2015-03-24 15:30:35 -04:00
Ryan Breen 0c21136a28 Website: GH-730 for docs/agent/dns.html. 2015-03-23 15:48:35 -04:00
Johannes 'fish' Ziemke f935a8a506 Add -domain command line flag to agent
This makes it possible to configure the domain on the command line
additionally to the config file.
2015-03-20 16:05:41 +01:00
tummychow 81545e9499 Add doc notes for HTTPS API
- the HTTPS API address can be configured just like any other address
- the verify_incoming setting also applies to the HTTPS API
2015-03-18 16:08:41 -07:00
Ryan Breen 8920da59ee Website: cleanup for intro/getting-started/checks.html. 2015-03-17 17:50:28 -04:00
Bob Potter 7386c49fd6 website: default health check is 'serfHealth' 2015-03-05 17:38:28 -08:00
Ryan Breen 57a9928d48 Website: GH-751 Link to anti-entropy doc everywhere that the term is used. 2015-03-04 10:22:53 -05:00
Ryan Breen 30b7cf7f1f Website: GH-747 change acl_master token to acl_master_token 2015-03-03 11:46:57 -05:00
Ryan Breen caf1783366 Website: GH-747 Add docs on acl_master_token installation. 2015-03-03 11:33:49 -05:00
Seth Vargo a022dfcb32 Be consistent in docs about Consul Replicate vs consul-replicate 2015-02-24 20:29:41 -05:00
Ryan Breen b9e72887e9 Website: Add links to options and commands referenced in docs/agent/basics.html and docs/guide/bootstrapping.html. 2015-02-24 14:11:11 -05:00
Ryan Breen f41dce97fd Manually specify anchors for each LI in options.html. This is necessary because the middleman-hashicorp logic only inserts anchors if the body of the LI contains no links. For consistent presentation, we need to specify all anchors rather than relying on middleman. 2015-02-24 12:30:17 -05:00
Ryan Breen 26ec7ca600 Website: /docs/agent/options Fix internal links in options.html to match the anchors created by middleman-hashicorp. 2015-02-23 15:34:46 -05:00
Ryan Breen a5b5eff31c Merge branch 'master' of github.com:hashicorp/consul 2015-02-23 14:45:00 -05:00
Ryan Breen 16600d498e Website: docs/agent/options.html Fix config-file reference. 2015-02-23 14:44:31 -05:00
Ryan Uber 2c3995b8c5 website: document -recursor arg for agent cli 2015-02-23 10:43:15 -08:00
Ryan Breen b78eb40ef4 s/data center/datacenter/g 2015-02-19 17:45:47 -05:00
Armon Dadgar 05ac51ca26 website: Adding Atlas docs 2015-02-18 15:15:01 -08:00
Armon Dadgar c650deb076 website: Document new options 2015-02-18 15:15:01 -08:00
Ryan Breen 802804a6cf Website: add some missing intra-page links in docs/agent/options 2015-02-16 20:51:04 -05:00
Ryan Breen abfe4061a8 Website: clean up a few intra-page links in docs/agent/options 2015-02-16 20:42:21 -05:00
Ryan Breen bfcdd210b7 Website: add intra-page links in docs/agent/options 2015-02-16 19:48:49 -05:00
Ryan Breen 3f23ac2fc7 Website: finalize edits for configuration file options in docs/agent/options. 2015-02-15 00:47:52 -05:00
Ryan Breen 0c22eb0039 Website: edits for configuration file options in docs/agent/options. 2015-02-15 00:43:01 -05:00
Armon Dadgar 9791cb1298 Merge pull request #695 from ryanbreen/session
Website: cleanup for docs/agent/http/session
2015-02-13 17:21:24 -08:00
Ryan Breen 75335db84f Website: tweak cleanup for the docs/agent/options Command-line options section. 2015-02-13 15:19:17 -05:00
Ryan Breen 96c4aecc17 Website: cleanup for the docs/agent/options Command-line options section. 2015-02-13 14:58:05 -05:00
Ryan Breen 679c5ddc50 Remove language about LockDelay parsing. 2015-02-12 20:34:40 -05:00
Armon Dadgar 20e936ead7 Merge pull request #692 from ryanbreen/kv
Website: cleanup of docs/agent/http/kv
2015-02-12 16:53:49 -08:00
Ryan Breen f325791590 More cleanup for docs/agent/http/session. 2015-02-12 15:15:53 -05:00
Ryan Breen d2bc6f156d Website: cleanup for docs/agent/http/session. 2015-02-12 14:50:54 -05:00
Ryan Breen 22162efccf Website: finalize cleanup of docs/agent/http/kv 2015-02-11 23:44:10 -05:00
Ryan Breen 1b6b1e09bd Website: cleanup of docs/agent/http/kv 2015-02-11 21:54:03 -05:00
Ryan Breen 03fad82b09 Website: finalize cleanup for docs/agent/http/health. 2015-02-10 15:52:22 -05:00
Ryan Breen 01c74378a5 Website: cleanup for docs/agent/http/health. 2015-02-10 15:49:21 -05:00
Armon Dadgar c6ec9dd844 Merge pull request #678 from ryanbreen/agent
Cleanup for docs/agent/http/agent.
2015-02-09 09:54:53 -08:00
Armon Dadgar d3df3673fa Merge pull request #681 from ryanbreen/catalog
Website: cleanup of docs/agent/http/catalog
2015-02-09 09:53:57 -08:00
Ryan Breen 6c9edb4eba Website: cleanup for docs/agent/http/event. 2015-02-09 11:24:23 -05:00
Ryan Breen b8beec0311 Website: finalize cleanup of docs/agent/http/catalog. 2015-02-08 12:49:02 -05:00
Ryan Breen 3df08cb7ab Website: edits for docs/agent/http/catalog. 2015-02-08 12:44:36 -05:00
Ryan Breen 75f9327fe4 Finalize cleanup of docs/agent/http/agent. 2015-02-07 17:43:43 -05:00
Ryan Breen b90fa33929 Cleanup for docs/agent/http/agent. 2015-02-07 17:36:10 -05:00
Ryan Breen 9e54778fbe Fixes for docs/agent/http/status 2015-02-06 13:47:32 -05:00
Ryan Uber 6cc9478c38 website: document http check timeout configuration 2015-02-05 23:30:08 -08:00
Armon Dadgar 7724fd8774 Merge pull request #673 from ryanbreen/watches
Very minor tweaks to docs/agent/watches
2015-02-05 09:43:54 -08:00
Ryan Breen a02bd2f586 Finalize cleanups for docs/agent/http/acl. 2015-02-05 12:02:03 -05:00
Ryan Breen 1fcded43af Cleanups for docs/agent/http/acl. 2015-02-05 11:52:29 -05:00
Ryan Breen f381aa554a Pare off unnecessary space. 2015-02-04 22:28:10 -05:00
Ryan Breen 6c30b2f39a Minor fixes for docs/agent/watches. 2015-02-04 22:25:29 -05:00
Ryan Breen b51730ddd7 Finalize telemetry docs edits. 2015-02-04 14:07:33 -05:00
Ryan Breen c9a23fca9d Cleanup docs/agent/telemetry 2015-02-04 00:10:25 -05:00
Ryan Breen 8975c49c96 Cleanup docs/agent/rpc 2015-02-03 17:20:50 -05:00
Ryan Breen 4c1cd629ae Cleanup docs/agent/rpc 2015-02-03 17:07:03 -05:00
Ryan Breen 0d8ec87456 Some further cleanups to the root http doc. 2015-02-02 00:14:16 -05:00
Ryan Breen 27c145e2f8 Begin editing the docs/agent/http. 2015-02-01 17:42:02 -05:00
Ryan Breen 3a184a06f7 Final edits to encryption doc. 2015-01-31 22:05:00 -05:00
Ryan Breen 02c7ed0e94 Final edits to encryption doc. 2015-01-31 22:01:33 -05:00
Ryan Breen b18b6491ff Final edits to encryption doc. 2015-01-31 21:59:59 -05:00
Ryan Breen 0cd1739ebc Tighten up TLS setting language a bit. 2015-01-31 18:59:11 -05:00
Ryan Breen 26bbda57d0 Tighten up TLS mode language a bit. 2015-01-31 18:55:58 -05:00
Ryan Breen edeab6a0d2 Substantial and potentially inaccurate rewrite to docs/agent/encryption. 2015-01-31 18:33:29 -05:00
Ryan Breen 499d3b26ff Clean up double 'is'. 2015-01-31 13:36:31 -05:00
Ryan Breen 18602f0db8 Final tweaks to DNS doc. 2015-01-31 13:17:43 -05:00
Ryan Breen fbbb765bf9 More heavy-handed reorg of content for flow. 2015-01-31 13:07:21 -05:00
Ryan Breen 7a0515817a Restructure opening paragraphs to have better flow. 2015-01-31 13:01:00 -05:00
Ryan Breen a7357aae65 Finish first pass of DNS updates. 2015-01-31 12:59:03 -05:00
Ryan Breen b56720d41a Update docs for standard DNS queries. 2015-01-31 12:51:28 -05:00
Ryan Breen e0d139c6b9 Minor cleanups to docs/agent/dns. 2015-01-30 23:32:57 -05:00
Ryan Breen 9a597d2351 Make capitalization of agent more consistent. 2015-01-30 14:49:58 -05:00
Ryan Breen 4a8305e022 Minor cleanups to docs/agent/basics. 2015-01-30 14:48:20 -05:00
Ryan Breen 7fd0b148ac A bit more language cleanup to checks. 2015-01-29 17:17:02 -05:00
Ryan Breen cf033f448d No need to confine the example to a web app. 2015-01-29 17:14:19 -05:00
Ryan Breen a8470991cd Some reorg of the TTL description. 2015-01-29 17:12:20 -05:00
Ryan Breen cef8305bd0 Make it clear that checks persist with the node, period, not just across runs of the agent but across reboots as well. 2015-01-29 17:10:15 -05:00
Ryan Breen eea0029f2d Add a bit more detail around checks and clarify some language. 2015-01-29 17:08:56 -05:00
Ryan Breen 8afcf9f152 Language touch-ups for the checks docs. 2015-01-29 16:45:19 -05:00
Ryan Breen 1346cf1a00 Move the note about checks to its own line. 2015-01-28 19:46:28 -05:00
Ryan Breen 917b10417d Grammatical cleanup in services.html. 2015-01-28 19:43:52 -05:00
Emil Hessman 6f3215f0a8 website: fix minor typos in docs 2015-01-23 22:11:15 +01:00
Armon Dadgar e1a5d537d4 Merge pull request #625 from hashicorp/f-maintcmd
New "maint" command
2015-01-22 11:56:49 -08:00
Armon Dadgar cf04d6ae31 Merge pull request #622 from hashicorp/f-sockets
Unix domain sockets
2015-01-21 16:30:03 -08:00
Ryan Uber 52ff08b6c0 website: document reason flag for http api 2015-01-21 14:33:01 -08:00
Ryan Uber f4f9b5c94b website: update maintenance mode endpoint 2015-01-21 11:15:15 -08:00
Ryan Uber a975903b63 website: fix health endpoint page 2015-01-20 22:50:33 -08:00
Ryan Uber 90ee967bc4 website: move content from monolithic http page 2015-01-20 22:50:30 -08:00
Ryan Uber 2968a20cb5 website: separate pages for top-level endpoints 2015-01-20 22:49:41 -08:00
Ryan Uber 99b92a6fb0 website: beginning http docs update 2015-01-20 22:49:41 -08:00
Ryan Uber 674be58e55 agent: support multiple checks per service 2015-01-20 21:48:42 -08:00
Ryan Uber 5a8703bb00 website: add notice about socket permission portability 2015-01-20 19:16:17 -08:00
Ryan Uber bae6334c60 website: document unix_sockets config 2015-01-20 16:29:22 -08:00
Ryan Uber 853cb504d6 website: document node maintenance mode 2015-01-16 15:38:13 -08:00
Ryan Uber 9ee1e6e858 agent: maintenance mode api's are idempotent 2015-01-16 15:37:52 -08:00
Ryan Uber 1f749ce3f2 website: document service maintenance endpoint 2015-01-16 15:37:52 -08:00
Ryan Uber 7a585d7a9b website: update docs for agent socket options 2015-01-16 13:06:49 -08:00
Ryan Uber bf48651c58 agent: only ignore errors on IsNotExist() 2015-01-16 09:14:52 -08:00
Jeff Mitchell 5a9bcd36ef Update option text to describe how to use Unix listening sockets. 2015-01-14 20:22:59 +00:00
Armon Dadgar 713d30c73e Merge pull request #592 from nicholascapo/check-http
command/agent: Add simple HTTP check type
2015-01-13 12:11:50 -08:00
Nicholas Capo e0c3c22748 Update HTTP Check documentation: 503 -> 429 2015-01-13 00:10:05 +00:00
Evan Broder ee6d59d4dd Add "only_passing" option to DNS config
This excludes nodes from DNS results if their healthchecks are in any
non-passing state, not just if they're critical.
2015-01-10 13:17:11 +01:00
Nicholas Capo fb5ba8d97d command/agent: Add simple HTTP check type
These checks make an `HTTP GET` request every Interval to the specified URL.
The status of the service depends on the HTTP Response Code.
`200` is passing, `503` is warning and anything else is failing.
2015-01-09 16:43:24 -06:00
Emil Hessman 880e21837c website: omit excessive use of the word lastly
Simplify wording by removing various uses of the word lastly.
2015-01-09 06:37:26 +01:00
Emil Hessman 91c2939294 website: fix typo
s/patameters/parameters/
2015-01-09 05:59:06 +01:00
Armon Dadgar a4db77df11 website: Documenting ?cas with KV DELETE 2015-01-08 17:34:41 -08:00
Armon Dadgar 1abce8cddf website: Updating the documentation 2015-01-08 12:08:29 -08:00
Armon Dadgar 401437ca1f website: Update session API documentation 2015-01-07 15:19:27 -08:00
Armon Dadgar b3f974dee0 website: Link to consul-replicate. Fixes #439 2015-01-07 13:30:30 -08:00
Armon Dadgar f86d7c3a09 Merge pull request #558 from ceh/http-api-response-headers
add ability to specify response headers on the HTTP API
2015-01-05 11:36:08 -08:00
Emil Hessman bf0e284756 website: fix typo, casing and links
Fix typo in Leader Election guide: s/blog/blob/

Also fix various casing issues and prefer HTTPS links
for HashiCorp projects.
2015-01-04 12:58:58 +01:00
Armon Dadgar 73eeb2566e Merge pull request #556 from darron/master
Docs: It's not key - it's service.
2015-01-02 21:54:53 +05:30
Thordur Bjornsson 5ef79e747e Revert "correct the doc for obtaining formatted json"
This reverts commit cf3b9ec4fe.
2015-01-02 08:00:09 +01:00
Emil Hessman cb764c35e5 add ability to specify response headers on the HTTP API
Add an config object that allows adding HTTP header response fields to every
HTTP API response.

Each specified header is added to every response from all HTTP API endpoints.
Each individual endpoint may overwrite the specified header, which makes sure
that Consul headers such as 'X-Consul-Index' is enforced by the API.
2014-12-28 19:17:08 +01:00
darron froese a5ba33ae06 It's not key - it's service.
It's right in the description, but the example seems to be wrong.
2014-12-26 21:51:48 -08:00
Michael H. Oshita a03436e4b2 minor grammer fix 2014-12-11 19:02:29 +09:00
Dan Frost 284814a515 docs: agent/watches: minor fixes 2014-11-26 13:48:33 +00:00
Dan Frost 1b94c804f3 docs: agent/checks: minor fixes 2014-11-26 13:42:53 +00:00
Dan Frost 65ffbed02e docs: agent/dns: minor fixes 2014-11-26 13:33:55 +00:00
Dan Frost 3bbb226e2b docs: agent/basics: minor fixes 2014-11-26 13:15:41 +00:00
Ryan Uber f126bb7381 website: Improve docs for reloading config. Fixes #407 2014-11-25 19:03:14 -08:00
Brandon Wilson cf3b9ec4fe correct the doc for obtaining formatted json
was "?pretty" should be "?pretty=1"
2014-11-21 12:27:48 -08:00
Ryan Uber ab5fbe4094 agent: ignore -encrypt if provided when keyring exists 2014-11-19 16:37:40 -08:00
Ryan Uber 80c25e3320 website: document new behavior of the -encrypt option 2014-11-19 16:36:01 -08:00
Ryan Uber 026ebcef58 website: remove keyring persistence options from agent page 2014-11-19 16:31:06 -08:00
Ryan Uber cea2b49c15 website: update consul keys documentation 2014-11-19 16:30:22 -08:00
Armon Dadgar 6be29e17c2 Merge pull request #478 from amalaviy/https
Added HTTPS support via a new HTTPS Port configuration option
2014-11-19 11:17:10 -08:00
Atin Malaviya 0904c651a8 Change names to StartJoinWan, RetryJoinWan etc 2014-11-17 17:14:59 -05:00
Atin Malaviya f4fd8453ed Added HTTPS support via a new HTTPS Port configuration option similar to the HTTP Port. 2014-11-17 14:29:35 -05:00
Atin Malaviya 5b41170f47 Add start-wan-join, retry-wan-join and related configuration options and commandline options 2014-11-14 10:56:39 -05:00
Ryan Uber 3facf1bdf4 website: better description of config merging in agent options. Closes #470 2014-11-13 12:04:09 -08:00
Danny Berger 3da9291ae1 Fix some typos in website docs 2014-11-04 21:33:42 -07:00
Armon Dadgar cd936793ad Support old recursor config for backwards compatibility 2014-11-03 11:28:21 -08:00
Armon Dadgar 632bbcdd54 Merge pull request #448 from foostan/multiple_recursor
Add multiple recursor definition support
2014-11-03 11:18:37 -08:00
foostan 35b006d884 Add multiple recursor definition support 2014-11-01 04:26:26 +09:00
Laurent Raufaste 26916b03e6 Rephrase 2014-10-30 21:46:19 -04:00
Laurent Raufaste 33c0de708d ACL doc clarification
Fixes #443
2014-10-30 21:44:23 -04:00
Ryan Uber d472825181 website: fix JSON in multiple checks documentation 2014-10-27 11:58:01 -07:00
Ryan Uber f03bbb8daa website: update docs for multiple checks in config 2014-10-26 13:25:48 -07:00
Alexander Simmerl 461c1e18a5 Add multiple service definition support
This change-set adds another key to the configuration decoding called
`services`, which is expected to be a list of service definitions. It
follows the established convention of only allowing one of the keys:
`service`, `check`, `services`. For every entry in the list it calls
the corresponding decode method and appends it to the Servics of the
resulting Config.

While a similar result could be achieved with changing the Services
member of the Config struct to have named mapstruct tag it lacks the
proper time conversions provided by DecodeServiceDefinition.
2014-10-23 22:50:40 -04:00
Armon Dadgar 21c3e606a2 website: Fixing formatting 2014-10-23 17:14:40 -07:00
Armon Dadgar c7d5330471 Merge pull request #427 from blalor/agent_http_links
website: Improve navigability of agent HTTP API categories
2014-10-23 16:46:58 -07:00
Ryan Uber 805a9f7ec2 website: document retry_join and retry_interval flags for config file 2014-10-23 16:40:49 -07:00
Brian Lalor 914db50a52 Add links for status endpoints 2014-10-23 07:59:58 -04:00
Brian Lalor dd251dd323 Add links for event endpoints 2014-10-23 07:59:05 -04:00
Brian Lalor f09d1b32c9 Add links for ACL endpoints 2014-10-23 07:57:55 -04:00
Brian Lalor 8d6b8f4309 Add links for session endpoints 2014-10-23 07:56:28 -04:00
Brian Lalor 03be420bce Add links for health endpoints 2014-10-23 07:54:46 -04:00
Brian Lalor c7125bad12 Add links for catalog endpoints 2014-10-23 07:53:11 -04:00
Brian Lalor 98ebb94afa Add links for agent endpoints 2014-10-23 07:50:54 -04:00
Brian Lalor 351d722a15 Improve navigability of agent HTTP API categories 2014-10-23 07:44:20 -04:00
Leo Cassarani 64f710518f Fix spelling of "separator" in the HTTP API docs 2014-10-23 12:31:41 +01:00
Seth Vargo 869b194127 Use new Markdown syntaxes and add SEO descriptions 2014-10-19 19:42:13 -04:00
Seth Vargo 302789bf76 Use codeblocks for code 2014-10-19 19:41:11 -04:00
Armon Dadgar bee5fe280c Merge pull request #396 from ryanuber/f-retry-join
agent: Retry failed joins on agent start
2014-10-13 10:46:10 -07:00
Ryan Uber bec34b0c46 website: document retry join 2014-10-12 12:31:47 -07:00
Theo Hultberg 5560d2700b Fix mistake in the watches documentation 2014-10-11 17:04:52 +02:00
Alex Wheeler bb613cf467 Added the dns_config option enable_truncate to the docs. 2014-09-30 15:31:28 -04:00
Armon Dadgar 6d4b8bbd56 website: fixing formatting 2014-09-24 16:59:43 -07:00
Sneha More 5d6391904a removed repeated 'can' 2014-09-18 11:11:00 +05:30
lalyos 29f933c554 json sample fixed for PUT /v1/acl/create 2014-09-06 01:55:38 +02:00
Armon Dadgar feb3fa27fa website: Documenting new options 2014-09-02 14:36:25 -07:00
Armon Dadgar bb16e94b0c website: document addresses config 2014-09-02 12:49:52 -07:00
Armon Dadgar 98acc0a908 agent: statsd support. Fixes #247 2014-09-02 11:26:17 -07:00
Armon Dadgar 2d7be20431 website: Updating docs 2014-09-01 15:03:37 -07:00
Joseph Anthony Pasquale Holsten 52dafc8347 alphabetize config options in docs. Fixes #221 2014-08-31 02:03:01 +00:00
Joonas Bergius e90d67a4a7 Fixed a small typo 2014-08-28 22:23:01 -04:00
Armon Dadgar db99bc3a23 website: typo fixes 2014-08-28 17:54:58 -07:00
Armon Dadgar 088e024417 website: Adding docs 2014-08-28 17:22:56 -07:00
Armon Dadgar e08e66367c website: Document node lifecycle. Fixes #282. 2014-08-22 15:54:48 -07:00
Armon Dadgar e0a815772a agent: Support encrypt CLI flag. Fixes #245. 2014-08-22 15:08:15 -07:00
Armon Dadgar 7e6452387e website: Document client auth for TLS. Fixes #255. 2014-08-22 15:00:07 -07:00
Armon Dadgar 8bd92ff663 website: Document data dir requirements. Fixes #264. 2014-08-22 14:58:10 -07:00
Armon Dadgar 54316d2b30 website: Minor cleanups 2014-08-21 17:35:05 -07:00
Armon Dadgar dce716f4b2 website: Document watches 2014-08-21 17:25:42 -07:00
Armon Dadgar e2118d2a80 website: Fixing docs 2014-08-19 10:02:43 -07:00
Armon Dadgar ca1aeb8fa8 Merge pull request #288 from gmr/rfc-2782-srv-lookups
Add RFC-2782 style SRV lookups
2014-08-18 16:01:18 -07:00
Armon Dadgar 781ff2048d website: ACL internals 2014-08-18 15:46:59 -07:00
Armon Dadgar b802dd16eb website: Documenting ACL endpoints 2014-08-18 15:46:59 -07:00
Armon Dadgar 8a0eeae269 website: document configuration 2014-08-18 15:46:58 -07:00
Gavin M. Roy 6000f6977d Add RFC-2782 style SRV lookups 2014-08-18 15:45:56 -04:00
Armon Dadgar 09a1c40444 website: More port use docs 2014-08-05 10:46:52 -07:00