Armon Dadgar
8d184a241f
agent: Rename AtlasCluster to AtlasInfrastructure
2015-02-18 15:12:15 -08:00
Armon Dadgar
85a47ba584
agent: Adding atlas_join configuration
2015-02-18 15:12:14 -08:00
Armon Dadgar
b4929c090a
agent: Adding new Atlas configs
2015-02-18 15:12:14 -08:00
Ryan Uber
84f8c70a79
agent: fix test case examples
2015-02-05 23:29:04 -08:00
arnaud briche
bbb5f4696a
- add tests for CheckHTTP with new timeout parameter && CheckType.Timeout parsing
2015-02-02 15:30:44 +07: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
674be58e55
agent: support multiple checks per service
2015-01-20 21:48:42 -08:00
Ryan Uber
c958824bb6
agent: use squash mapstructure tag to properly decode embedded structs
2015-01-20 21:10:58 -08:00
Ryan Uber
b1dae530d4
agent: use interface for file permissions
2015-01-20 18:53:18 -08:00
Ryan Uber
99d4e7831e
agent: fix tests
2015-01-20 16:50:21 -08:00
Ryan Uber
145c56b47d
agent: test Unix domain socket permission settings
2015-01-20 14:32:15 -08:00
Ryan Uber
4675cdf01c
agent: beginning refactor
2015-01-16 00:45:03 -08:00
Jeff Mitchell
9fcea08dbb
Ensure a socket is created for permissions adjustment tests and fix some
...
items pointed out in the code review
This code is copyright 2014 Akamai Technologies, Inc. <opensource@akamai.com>
2015-01-15 14:33:44 +00:00
Jeff Mitchell
0cc009c480
Remove unnecessary ClientListenerAddr function. Rework config test functions to be cleaner. Start of runtime tests.
...
This code is copyright 2014 Akamai Technologies, Inc. <opensource@akamai.com>
2015-01-14 19:31:21 +00:00
Jeff Mitchell
8362e3e9eb
Tests for populateUnixSocket. Still need to write tests for the other major function, and basic socket listening tests.
...
This code is copyright 2014 Akamai Technologies, Inc. <opensource@akamai.com>
2015-01-14 19:31:21 +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
Ryan Uber
db3c502dcc
Merge pull request #576 from hashicorp/f-verify-config
...
agent: reject config with invalid options
2015-01-05 14:51:28 -08:00
Ryan Uber
b8740b62da
agent: reject config with invalid options
2015-01-05 12:30:03 -08: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
Armon Dadgar
c449f07b38
agent: Fixing config merge test
2014-11-19 13:38:58 -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
Armon Dadgar
cd936793ad
Support old recursor config for backwards compatibility
2014-11-03 11:28:21 -08:00
foostan
35b006d884
Add multiple recursor definition support
2014-11-01 04:26:26 +09:00
Ryan Uber
28f31a8dd8
agent: add support for multiple checks and config mixing
2014-10-26 13:11:25 -07:00
Ryan Uber
c1dfa55859
agent: test config as a whole in services test
2014-10-26 12:00:11 -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
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
599d0558e7
agent: test max retries in config
2014-10-12 12:40:52 -07:00
Ryan Uber
4bc4ba2d09
agent: test retry join config
2014-10-12 11:20:33 -07:00
Armon Dadgar
77436a15fd
agent: tests for DNS truncate config
2014-09-30 13:04:31 -07:00
Armon Dadgar
d04880cc60
agent: Support for checkpoint
2014-09-02 14:23:43 -07:00
Armon Dadgar
cc728a1345
agent: Adding address configurations
2014-09-02 12:42:14 -07:00
Armon Dadgar
98acc0a908
agent: statsd support. Fixes #247
2014-09-02 11:26:17 -07:00
Armon Dadgar
89f258ca2e
agent: Adding remote exec configuration
2014-09-01 14:46:21 -07:00
Armon Dadgar
e877753162
agent: Changing to use nested JSON for watches
2014-08-21 11:52:36 -07:00
Armon Dadgar
5ee737b8d4
agent: Adding watches config
2014-08-19 14:29:01 -07:00
Armon Dadgar
cae4b421a3
agent: Adding ACL master token
2014-08-18 15:46:20 -07:00
Armon Dadgar
a8063457f8
consul: ACL setting passthrough
2014-08-18 15:46:20 -07:00
Armon Dadgar
9cd9a6bcc4
agent: Changing ACL config names
2014-08-18 15:46:20 -07:00
Armon Dadgar
7e5fdeb64b
agent: Adding new ACL flags
2014-08-18 15:46:20 -07:00
Armon Dadgar
924e4bc7f1
Rename Expect to BootstrapExpect. Fixes #223 .
2014-06-19 17:08:55 -07:00
Robert Xu
c60fd0542a
Add expect bootstrap '-expect=n' mode.
...
This allows for us to automatically bootstrap a cluster of nodes after
'n' number of server nodes join. All servers must have the same 'n' set, or
they will fail to join the cluster; all servers will not join the peer set
until they hit 'n' server nodes.
If the raft commit index is not empty, '-expect=n' does nothing because it
thinks you've already bootstrapped.
Signed-off-by: Robert Xu <robxu9@gmail.com>
2014-06-16 17:40:33 -04:00
Armon Dadgar
961a00c496
Adding server_name configuration for TLS
2014-06-13 11:10:27 -07:00
Armon Dadgar
82c27cb902
agent: Adding SyslogFacility configuration
2014-06-11 10:18:19 -07:00
Armon Dadgar
a2ac2af087
agent: Update config test to handle zero value CheckUpdateInterval
2014-06-09 13:00:32 -07:00
Armon Dadgar
971d093283
agent: Adding new CheckUpdateInterval config
2014-06-09 12:13:14 -07:00
Armon Dadgar
248ce2d301
agent: Test DNSConfig merge logic
2014-06-08 16:02:16 -07:00