Michael Schurter
1304ba8b2d
Addresses are just addresses - no ports
...
Store address+port in an unexported field for ease-of-use
2016-11-09 11:49:55 -08:00
Michael Schurter
4e7587de17
Choose safer default advertise address
...
* -dev mode defaults bind & advertise to localhost
* Normal mode defaults bind to 0.0.0.0 & advertise to the resolved
hostname. If the hostname resolves to localhost it will refuse to
start and advertise must be manually set.
2016-11-08 11:17:16 -08:00
Michael Schurter
cd9fbfa0c7
Remove ServerName because we verify based on region
2016-11-01 14:17:31 -07:00
Evan Gilman
5a1b8db597
Add address selector methods to the agent
2016-10-27 10:51:11 -07:00
Diptanu Choudhury
f416ac7419
Moved tlsutil into helpers
2016-10-25 16:05:37 -07:00
Diptanu Choudhury
0e6e5b3e7b
Enabling TLS on cli
2016-10-25 10:39:17 -07:00
Diptanu Choudhury
15b2cc5d8c
Changed the way TLS config is parsed
2016-10-24 13:56:19 -07:00
Diptanu Choudhury
11c1583467
Implemented TLS support for http and rpc
2016-10-23 22:22:00 -07:00
Diptanu Choudhury
f0806dceff
Enable serf encryption ( #1791 )
...
* Added the keygen command
* Added support for gossip encryption
* Changed the URL for keyring management
* Fixed the cli
* Added some tests
* Added tests for keyring operations
* Added a test for removal of keys
* Added some docs
* Fixed some docs
* Added general options
2016-10-17 10:48:04 -07:00
Diptanu Choudhury
3bdaf91dd1
Updated tests and comments
2016-08-04 11:29:36 -07:00
Diptanu Choudhury
72cd53d6e5
Added an endpoint for users to reconcile job summaries
2016-08-03 16:12:47 -07:00
Alex Dadgar
53f198932f
Fix buffer reuse
2016-07-25 11:16:01 -07:00
Alex Dadgar
a9c97cfb19
Don't require slash for node stats
2016-06-11 13:15:57 -07:00
Diptanu Choudhury
b755ab9341
Changed the stats endpoints
2016-05-28 19:59:20 -07:00
Diptanu Choudhury
01e0ae7753
Added a client API to display resource usage of an allocation
2016-05-28 19:42:34 -07:00
Alex Dadgar
05ea2bd583
Compress HTTP API responses and have the api client utilize this
2016-05-24 10:26:53 -07:00
Alex Dadgar
819eaca09e
Use codegen for json marshalling: 20% faster, 12% less bytes allocated, 85% less allocations
2016-05-18 09:45:46 -07:00
Sean Chittenden
47146b9b87
Fix the unit tests for TestPrettyPrintOff
...
A different failing test masked that this wasn't even being run.
Pointy Hat: sean- for testing first on Travis in a branch vs verifying locally
2016-05-11 15:48:43 -07:00
Sean Chittenden
08aa82b483
Append a newline when pretty-printing the response
...
Instead of typing `curl http://foo/v1/nodes?pretty ; echo` to inject a
newline into your terminal, now pretty will provide its own newline.
2016-05-10 15:46:20 -07:00
Alex Dadgar
6454d7bb9f
Guard client/ api to ensure the client is running
2016-03-07 11:26:54 -08:00
Alex Dadgar
902c14beb4
Job GC endpoint
2016-02-20 15:50:41 -08:00
Diptanu Choudhury
6c32119ee7
Allow users to configure arbitrary headers in config
2016-01-22 11:00:43 -08:00
Diptanu Choudhury
744c226c23
Added methods for listing directories inside an alloc
2016-01-12 15:03:53 -08:00
Ivo Verberk
e89b5af338
Refactoring
...
* Reverted changes to get methods
* Added prefix query parameter
* Updated node status to use prefix based searching
* Fixed tests
* Removed truncation logic
2015-12-22 23:44:33 +01:00
Ryan Uber
0bee0eab6d
nomad: testing region list
2015-11-23 22:27:07 -08:00
Ryan Uber
fa3d3474cc
nomad: support listing regions
2015-11-23 22:27:03 -08:00
Ryan Uber
13613e4100
agent: add HTTP endpoint for querying/modifying the server list
2015-09-24 20:39:03 -07:00
Ryan Uber
3f5dae9b91
agent: json decode directly to structs in api
2015-09-22 20:02:10 -07:00
Armon Dadgar
cf3c6aa8a7
SCADA support
2015-09-14 15:33:08 -07:00
Ryan Uber
3c2c3f3728
agent: use ports/addresses/advertise_addrs for network config
2015-09-10 18:37:42 -07:00
Ryan Uber
03141aec10
agent: addresses and ports are configurable
2015-09-10 17:48:02 -07:00
Armon Dadgar
445b90895c
http: adding the agent endpoints
2015-09-06 19:08:05 -07:00
Armon Dadgar
0f04f38f9a
http: adding status APIs
2015-09-06 18:39:03 -07:00
Armon Dadgar
85af73f8ac
http: adding the eval endpoints
2015-09-06 16:02:53 -07:00
Armon Dadgar
57a69685a2
http: adding allocs list endpoint
2015-09-06 15:37:21 -07:00
Armon Dadgar
4893acf6fa
http/node: adding a few node endpoints
2015-09-06 14:18:11 -07:00
Armon Dadgar
1a5c0f7826
http: framework jobs endpoints
2015-09-05 18:00:30 -07:00
Armon Dadgar
4783e8d89e
http: basic framework
2015-09-05 17:06:05 -07:00
Armon Dadgar
7bc58802e6
agent: adding HTTP server
2015-08-23 17:50:33 -07:00