Commit Graph

350 Commits

Author SHA1 Message Date
Armon Dadgar 1088a5c170 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
Armon Dadgar a4b529107c Merge pull request #568 from justinclayton/patch-1
Update exec.html.markdown
2015-01-05 11:29:11 -08:00
Emil Hessman 4461c750bb 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
Justin Clayton 419f287273 Update exec.html.markdown
fixing near-meaningless spelling and grammar typos ;-)
2015-01-02 10:30:11 -08:00
Armon Dadgar daae47fefc 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 cb32b82b37 Revert "correct the doc for obtaining formatted json"
This reverts commit cf3b9ec4fee09075481fd5c521dd6c4b8db58e91.
2015-01-02 08:00:09 +01:00
Emil Hessman db23a3f0e9 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 ee834837b2 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
lalyos 3823a931c6 Add default rpc address configuration option as CONSUL_RPC_ADDR env variable
Similar as in serf: https://github.com/hashicorp/serf/pull/210
2014-12-16 12:18:34 +01:00
Michael H. Oshita 8351121fde minor grammer fix 2014-12-11 19:02:29 +09:00
Lars Kellogg-Stedman 52df94e560 updates to leader election documentation
Clarify the steps involved in the leader election process.

- provide examples of creating a session
- provide links to appropriate documentation
2014-12-05 14:28:21 -05:00
Clint Shryock 693fa207c8 Small doc update for exec command
the documentation for -tag says it must be used with -service, but
example used is -server, which doesn't work.

This changes -server to -service.
2014-12-03 22:46:26 -06:00
Armon Dadgar d74f79b3fa consul: Enforce service registration ACLs 2014-11-30 21:05:15 -07:00
Armon Dadgar 376f9694f4 website: Update ACL docs 2014-11-30 20:12:44 -07:00
Dan Frost bd5467c593 docs: agent/watches: minor fixes 2014-11-26 13:48:33 +00:00
Dan Frost bfd6c8aac0 docs: agent/checks: minor fixes 2014-11-26 13:42:53 +00:00
Dan Frost f0a2fa325a docs: agent/dns: minor fixes 2014-11-26 13:33:55 +00:00
Dan Frost e1a0845f5a docs: agent/basics: minor fixes 2014-11-26 13:15:41 +00:00
Dan Frost 261c69c4ff docs: internals/security: minor fixes 2014-11-26 13:05:33 +00:00
Dan Frost 548f1a07ad docs: internals/acl: minor fixes 2014-11-26 12:57:15 +00:00
Dan Frost 2ad884abee docs: internals/sessions: minor fixes 2014-11-26 12:49:53 +00:00
Dan Frost dbb365baca docs: internals/architecture: minor fixes 2014-11-26 12:31:38 +00:00
Dan Frost 7ff0acfb65 docs: compatibility: minor fixes 2014-11-26 12:09:36 +00:00
Ryan Uber 58ba650cb0 website: Improve docs for reloading config. Fixes #407 2014-11-25 19:03:14 -08:00
Brandon Wilson 22ad8172b8 correct the doc for obtaining formatted json
was "?pretty" should be "?pretty=1"
2014-11-21 12:27:48 -08:00
Ryan Uber 196cbd27b2 agent: ignore -encrypt if provided when keyring exists 2014-11-19 16:37:40 -08:00
Ryan Uber 9217e371bc website: document new behavior of the -encrypt option 2014-11-19 16:36:01 -08:00
Ryan Uber c59107f08e command: remove -init argument from keyring, auto-persist keyrings when using agent -encrypt 2014-11-19 16:35:13 -08:00
Ryan Uber 08f1605159 website: clean up keyring command docs and add output examples 2014-11-19 16:34:18 -08:00
Ryan Uber 001a579d47 command/keyring: cleanup 2014-11-19 16:34:18 -08:00
Ryan Uber 1ec111bbfc consul: kill unused struct fields 2014-11-19 16:34:17 -08:00
Ryan Uber 03012e8ac6 command: allow wan ring to be modified separately from lan pools 2014-11-19 16:33:34 -08:00
Ryan Uber 9a7a7c10d4 website: documentation updates for keyring command 2014-11-19 16:32:06 -08:00
Ryan Uber bb06d5ccb8 website: remove keyring persistence options from agent page 2014-11-19 16:31:06 -08:00
Ryan Uber 8dc53447a3 command: renamed keys to keyring to disambiguate usage 2014-11-19 16:31:06 -08:00
Ryan Uber d8f513f6d6 website: update consul keys documentation 2014-11-19 16:30:22 -08:00
Ryan Uber c0f1b5f8c8 website: document keys command 2014-11-19 16:30:22 -08:00
Armon Dadgar dd41c69389 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 46178dbb37 Change names to StartJoinWan, RetryJoinWan etc 2014-11-17 17:14:59 -05:00
Atin Malaviya 59a68ecc26 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 df8d099f49 Add start-wan-join, retry-wan-join and related configuration options and commandline options 2014-11-14 10:56:39 -05:00
Laurent Raufaste bb7eb29ade Another typo 2014-11-13 17:44:20 -05:00
Laurent Raufaste dfc094a5d0 extra ' 2014-11-13 17:43:25 -05:00
Laurent Raufaste 19820d9794 Doc explaining the blacklist mode and consul exec 2014-11-13 17:42:39 -05:00
Ryan Uber c9de806ab9 website: better description of config merging in agent options. Closes #470 2014-11-13 12:04:09 -08:00
Grégoire Pineau 36c44d4386 [Doc] Added missing link to leader-election 2014-11-13 16:56:07 +01:00
Jamey Owens a0f954b0ae Typo fix for events command doc 2014-11-10 16:37:18 -05:00
Danny Berger 4347b9394d Fix some typos in website docs 2014-11-04 21:33:42 -07:00
Armon Dadgar 982b177e69 Support old recursor config for backwards compatibility 2014-11-03 11:28:21 -08:00
Armon Dadgar 2c16fec0cc Merge pull request #448 from foostan/multiple_recursor
Add multiple recursor definition support
2014-11-03 11:18:37 -08:00
foostan 4d8f1c2133 Add multiple recursor definition support 2014-11-01 04:26:26 +09:00
Laurent Raufaste 7d01816c1f Rephrase 2014-10-30 21:46:19 -04:00
Laurent Raufaste 7a2a01f9de ACL doc clarification
Fixes #443
2014-10-30 21:44:23 -04:00
Ryan Uber 2bf05057a4 Merge pull request #433 from hashicorp/f-multi-checks
agent: add support for multiple checks and config mixing
2014-10-27 11:58:36 -07:00
Ryan Uber c751a4ff5f website: fix JSON in multiple checks documentation 2014-10-27 11:58:01 -07:00
Seth Vargo e57ea7df78 Do not index "Jespen" code block
The word "Jespen" is one of our top keywords because it appears so many times
in the Jespen Testing page. This commit adds a comment to disable Google
indexing in that code block so we can better target keywords.
2014-10-26 22:34:14 -04:00
Ryan Uber 95fa599937 website: update docs for multiple checks in config 2014-10-26 13:25:48 -07:00
Alexander Simmerl ad4598959e 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 df43c42c94 website: Fixing formatting 2014-10-23 17:14:40 -07:00
Armon Dadgar 2b2f9980fb 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 d83053e8ab website: document retry_join and retry_interval flags for config file 2014-10-23 16:40:49 -07:00
Laurent Raufaste 9df9eb0983 Small typo in the doc 2014-10-23 14:32:11 -04:00
Brian Lalor d2985d3c04 Add links for status endpoints 2014-10-23 07:59:58 -04:00
Brian Lalor 3082b3f95f Add links for event endpoints 2014-10-23 07:59:05 -04:00
Brian Lalor d45fdd15dd Add links for ACL endpoints 2014-10-23 07:57:55 -04:00
Brian Lalor 39e44c7968 Add links for session endpoints 2014-10-23 07:56:28 -04:00
Brian Lalor 9a29e1b60e Add links for health endpoints 2014-10-23 07:54:46 -04:00
Brian Lalor 4401fbf0e3 Add links for catalog endpoints 2014-10-23 07:53:11 -04:00
Brian Lalor 3ecb9ec8df Add links for agent endpoints 2014-10-23 07:50:54 -04:00
Brian Lalor 4ca29beec3 Improve navigability of agent HTTP API categories 2014-10-23 07:44:20 -04:00
Leo Cassarani d43a89fdd7 Fix spelling of "separator" in the HTTP API docs 2014-10-23 12:31:41 +01:00
Erik Dubbelboer 03e3599872 Fix small doc mistake 2014-10-20 06:26:38 +00:00
Seth Vargo e265ea050d Use new Markdown syntaxes and add SEO descriptions 2014-10-19 19:42:13 -04:00
Seth Vargo e90f3ce442 Use codeblocks for code 2014-10-19 19:41:11 -04:00
Armon Dadgar 771263cc53 Merge pull request #398 from hashicorp/ryanuber-docs
website: Documentation adjustments
2014-10-14 12:01:40 -07:00
Ryan Uber 002083ad8d website: re-word a few things 2014-10-13 22:59:35 -07:00
Armon Dadgar b1d0611e0e website: Document Checkpoint. Fixes #340. 2014-10-13 18:03:39 -07:00
Armon Dadgar 6755044e02 website: Adding FAQ page. Fixes #363. 2014-10-13 17:46:41 -07:00
Ryan Uber eeba4894d9 website: add 0.4 to compatibility chart 2014-10-13 14:22:57 -07:00
Armon Dadgar 2c1add1c67 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 984ea76e6b website: document retry join 2014-10-12 12:31:47 -07:00
Theo Hultberg c78bd6db63 Fix mistake in the watches documentation 2014-10-11 17:04:52 +02:00
Seth Vargo 651f559380 Pre-process sessions docs as ERB for image tags 2014-10-06 19:12:25 -04:00
Seth Vargo ab75771eb6 Pre-process architecture docs as ERB for image tags 2014-10-06 19:12:17 -04:00
Alex Wheeler 5917aa0e20 Added the dns_config option enable_truncate to the docs. 2014-09-30 15:31:28 -04:00
Armon Dadgar 4037f7c41c website: fixing formatting 2014-09-24 16:59:43 -07:00
Armon Dadgar 51eede7117 Merge pull request #358 from SnehaM/master
Documenation fix : reload command
2014-09-23 08:19:44 -07:00
Christian Berg 344f4f93d4 Fix typo
Should be whitelist, not whilelist.
2014-09-23 15:24:19 +02:00
Sneha More 4e4ed41d47 reload command triggers reload 2014-09-23 12:52:09 +05:30
Sneha More baa08454be removed repeated 'can' 2014-09-18 11:11:00 +05:30
lalyos 430885595d json sample fixed for PUT /v1/acl/create 2014-09-06 01:55:38 +02:00
Armon Dadgar 8846068455 website: Documenting new options 2014-09-02 14:36:25 -07:00
Armon Dadgar 9035e2d6b7 website: document addresses config 2014-09-02 12:49:52 -07:00
Armon Dadgar 47e30adf13 agent: statsd support. Fixes #247 2014-09-02 11:26:17 -07:00
Ruben Vermeersch bf5df40981 Fix typo 2014-09-02 19:15:54 +02:00
Armon Dadgar ea20cabc0f website: Updating docs 2014-09-01 15:03:37 -07:00
Armon Dadgar 5bab1868d2 Merge pull request #311 from josephholsten/alphatize-options
alphabetize config options in docs. Fixes #221
2014-09-01 14:45:40 -07:00
Joseph Anthony Pasquale Holsten 6d382465b8 alphabetize config options in docs. Fixes #221 2014-08-31 02:03:01 +00:00
Armon Dadgar 7f9b260c93 website: typo fixes 2014-08-30 17:22:23 -07:00
Joseph Anthony Pasquale Holsten 93d728ef58 add link to raft visualization 2014-08-30 23:43:45 +00:00
Joonas Bergius 8c178e5793 Fixed a small typo 2014-08-28 22:23:01 -04:00
Armon Dadgar 87c4e22f03 website: typo fixes 2014-08-28 17:54:58 -07:00
Armon Dadgar 2f8948fe89 website: Adding docs 2014-08-28 17:22:56 -07:00
Armon Dadgar b6279be742 website: Document node lifecycle. Fixes #282. 2014-08-22 15:54:48 -07:00
Armon Dadgar 168ddedcee agent: Support encrypt CLI flag. Fixes #245. 2014-08-22 15:08:15 -07:00
Armon Dadgar 2cde3678ea website: Document client auth for TLS. Fixes #255. 2014-08-22 15:00:07 -07:00
Armon Dadgar 3944e2f276 website: Document data dir requirements. Fixes #264. 2014-08-22 14:58:10 -07:00
Armon Dadgar 84cfa31f2e website: Minor cleanups 2014-08-21 17:35:05 -07:00
Armon Dadgar 60a50301db website: Document watches 2014-08-21 17:25:42 -07:00
Armon Dadgar de89031c1a website: Fixing docs 2014-08-19 10:02:43 -07:00
Armon Dadgar 98b83d9c0d 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 99db96e4ea website: rewording 2014-08-18 15:46:59 -07:00
Armon Dadgar ea0a1dca2e website: ACL internals 2014-08-18 15:46:59 -07:00
Armon Dadgar 8c5ae92fa7 website: Documenting ACL endpoints 2014-08-18 15:46:59 -07:00
Armon Dadgar f6eaa3b2fd website: document configuration 2014-08-18 15:46:58 -07:00
Gavin M. Roy 97b8960bd8 Add RFC-2782 style SRV lookups 2014-08-18 15:45:56 -04:00
Armon Dadgar 2e56d505c0 website: More port use docs 2014-08-05 10:46:52 -07:00
Armon Dadgar 1824319dbf Merge pull request #271 from lra/doc_ports
website: Document used ports
2014-08-05 10:42:12 -07:00
Laurent Raufaste fc81726db4 Updated links to the deployment table 2014-08-03 21:28:17 -04:00
Laurent Raufaste 1ea4eacbc5 Some breath 2014-08-03 20:52:36 -04:00
Laurent Raufaste edb6de1e3e Add a ports used section to the doc 2014-08-03 20:51:43 -04:00
Armon Dadgar 2906b7f439 website: Clarify the ?pretty docs 2014-08-01 13:38:03 -07:00
Eric Connell ec8e271804 updated website documentation with the "pretty" parameter 2014-08-01 14:16:21 -06:00
William Tisäter 29fdfb0f43 Short doc note about DNS case-insensitivity 2014-07-23 23:42:22 +02:00
Armon Dadgar 8b8184d942 website: remove old docs on the -encrypt flag 2014-07-15 09:50:49 -07:00
Nelson Elhage c505b49bf8 There is no `-statsite` command-line flag. 2014-07-10 18:06:36 -07:00
Ben Scofield 14e282dca8 Improve clarity around changing the `-client` param
This is a small change that (IMO) makes more explicit the effect
of changing `-client` -- namely, that you'll have to provide
`-rpc-addr` to every other consul command you run.
2014-07-02 21:21:37 +02:00
Armon Dadgar 3b6e3d1846 website: Keep old bootstrapping docs 2014-07-01 15:02:42 -07:00
Armon Dadgar 358b473e01 Updating documentation for new bootstrap method 2014-07-01 15:02:26 -07:00
Philip K. Warren 6e9af77bff Fix a small typo in RPC docs. 2014-06-19 13:53:43 -05:00
Armon Dadgar 87239044a5 Fix merge conflict 2014-06-17 12:50:35 -07:00
Mitchell Hashimoto 90249629c3 Update leader-election.html.markdown 2014-06-17 09:41:59 -07:00
Mitchell Hashimoto 27fec33034 Merge pull request #217 from zembutsu/patch-2
website: fix typos
2014-06-17 09:41:42 -07:00
Phillip Markert 4db6d83f44 website: Fixed semantic meaning of upstream in DNS guide 2014-06-17 10:02:44 -04:00
Phillip Markert fd2380bfc0 website: Format hyperlink inside HTML literal 2014-06-17 09:55:17 -04:00
Phillip Markert 5a345164c7 website: Fixing small typos in guides section 2014-06-17 09:55:00 -04:00
Masahito Zembutsu e262bdc35c fix typos 2014-06-17 21:02:01 +09:00
Armon Dadgar 91373968a8 Adding server_name configuration for TLS 2014-06-13 11:10:27 -07:00
Rob Holland 7309cbadb9 Improve clarity of ?keys behaviour.
I read the previous version initially as meaning that it would return a list of keys which have no value set, which I couldn't understand. I think this removes some ambiguity.
2014-06-13 12:20:24 +01:00
Armon Dadgar 2d106f9765 website: Clarify upgrade procedures. Fixes #187. 2014-06-11 11:25:55 -07:00
Armon Dadgar d48379054b website: Update compatibility table for 0.3 2014-06-11 11:08:33 -07:00
Armon Dadgar e9a31bb298 website: Show join help instead of members 2014-06-11 11:08:19 -07:00
Armon Dadgar 90cababb0b website: Mention reload command in addition to SIGHUP 2014-06-11 11:03:59 -07:00
Armon Dadgar 5378542b1c website: Document the new reload command 2014-06-11 11:01:36 -07:00
Armon Dadgar 4952923ced website: Document reload RPC command 2014-06-11 10:54:36 -07:00
Armon Dadgar 648429288e agent: Adding SyslogFacility configuration 2014-06-11 10:18:19 -07:00
Armon Dadgar 2568918055 website: Document the check_update_interval config 2014-06-09 12:51:12 -07:00
Armon Dadgar 9e925bf458 consul: Adding support for optional session name 2014-06-09 11:42:28 -07:00
Armon Dadgar 2c63d17e79 Merge pull request #200 from hashicorp/f-dns
Adding support for DNS TTLs and stale reads
2014-06-09 11:13:47 -07:00
Armon Dadgar 0b87eb29de website: clarify unique per-ndoe 2014-06-08 17:31:44 -07:00