James Phillips
0f5aabcbbd
Merge pull request #2028 from hashicorp/f-atomic-kv
...
Adds support for atomic transactions spanning multiple KV entries.
2016-05-15 13:46:05 -07:00
Sean Chittenden
92298e3d02
Speling police
2016-05-15 09:13:52 -07:00
James Phillips
1fefdcb962
Terminates pretty responses with a newline.
2016-05-10 20:02:36 -07:00
Chavez
416c578f7a
Retry http server connecting in agent/http_test
2016-04-01 19:17:38 -07:00
Ryan Uber
3cf6a173a5
agent: static UI is configurable
2015-12-24 22:21:34 -05:00
Ryan Uber
2d7ced22b3
agent: initial web assets
2015-12-24 22:21:34 -05:00
James Phillips
088603949c
Runs go fmt (sorts new go-cleanhttp imports).
2015-10-23 17:14:35 -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
e47eea3f3a
Adds a magic "self" node name to distance queries.
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
Jeff Mitchell
1e3840b044
Update cleanhttp repo location
2015-10-22 14:14:22 -04:00
Jeff Mitchell
9a5fd5424a
Use cleanhttp to get rid of DefaultTransport
2015-10-22 10:47:50 -04: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
Ryan Uber
52a7206ff3
agent: test scada HTTP server creation
2015-08-25 18:51:04 -07:00
Ryan Uber
2e6ccded2c
agent: scada client and HTTP server are tracked separately
2015-08-25 16:59:53 -07:00
Ryan Uber
ee5659858a
agent: hide tokens from logs and monitor
2015-04-12 11:17:31 -07:00
Michael Fraenkel
8c26836783
Support SesionTTLMin configuration
...
- Allow setting SessionTTLMin
- Validate on the Server
2015-03-27 05:13:57 -07:00
Armon Dadgar
ad3016100c
agent: Test ACL token resolution
2015-02-18 15:12:15 -08:00
Armon Dadgar
85a47ba584
agent: Adding atlas_join configuration
2015-02-18 15:12:14 -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
145c56b47d
agent: test Unix domain socket permission settings
2015-01-20 14:32:15 -08:00
Ryan Uber
450d05575d
agent: adjusting tests for new behavior of sockets
2015-01-20 14:13:36 -08:00
Ryan Uber
f01bb5cf3b
agent: error if binding to existing socket file
2015-01-16 12:39:15 -08:00
Ryan Uber
56c3e488a9
agent: test socket file overwrite
2015-01-16 10:37:13 -08:00
Ryan Uber
4c3ec248a5
agent: fixing up tests
2015-01-16 09:58:37 -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
Thordur Bjornsson
a12ffef8b6
Test both ?pretty both bare and with value.
2015-01-02 09:15:41 +01:00
Ryan Uber
e9615c50e6
agent: test pretty printed json
2015-01-01 14:27:10 -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
666cf3c483
agent: Fixing UiDir in test
2014-11-19 13:29:15 -08:00
Armon Dadgar
485f0a0c93
agent: Fixing port collision in tests
2014-11-19 11:51:25 -08:00
Atin Malaviya
f1f8c88228
Moved TLS Config stuff to tlsutil package
2014-11-18 11:03:36 -05:00
Armon Dadgar
84649b5423
agent: Fixing multiple headers for /v1/event/list endpoint. Fixes #361
2014-10-13 17:53:54 -07:00
Armon Dadgar
e86c5b2627
agent: Address overrides. Fixes #301 and #253
2014-09-02 12:47:40 -07:00
Armon Dadgar
1d26ea41e1
agent: Improving test reliability
2014-05-21 12:31:22 -07:00
Armon Dadgar
c071932f92
agent: Session endpoint tests
2014-05-20 16:25:29 -07:00
William Tisäter
fcd5da3bf7
Drop unnecessary sleep
2014-05-07 23:17:00 +02:00
Armon Dadgar
f0c9ba4c01
agent: Improving UI file serving
2014-04-30 23:43:56 -04:00
Armon Dadgar
e20b70b9f6
agent: Adding endpoint to serve the UI
2014-04-30 23:43:56 -04:00
Armon Dadgar
2739abab7b
agent: Pass UiDir into the HTTP layer
2014-04-30 23:43:56 -04:00
Armon Dadgar
91bed7b313
agent: Adding HTTP tests for new features
2014-04-21 13:19:18 -07:00
Armon Dadgar
e2ea4804bd
agent: Updating tests for new API
2014-04-21 13:11:05 -07:00
Jacques Fuentes
2b6ee141cb
HTTP: add content-type: application/json header
2014-04-17 14:38:14 -04:00
Armon Dadgar
8dd1e51bae
agent: Simplifying configs
2014-04-11 15:46:55 -07:00
Armon Dadgar
c7d27cf424
agent: Use EnableDebug to control adding pprof HTTP endpoints
2014-03-19 17:50:57 -07:00
Armon Dadgar
315600d6bf
agent: adding more tests
2014-02-05 14:47:42 -08:00
Armon Dadgar
1e035d5453
Rename HTTP server method
2014-01-02 11:45:58 -08:00
Armon Dadgar
39d9e3e78f
More HTTP endpoints
2013-12-23 16:20:51 -08:00