Alex Dadgar
636f886e30
Use codegen for json marshalling: 20% faster, 12% less bytes allocated, 85% less allocations
2016-05-18 09:45:46 -07:00
Sean Chittenden
7b8a5dcc15
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
2fe9b6e97a
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
da984cb4d2
Guard client/ api to ensure the client is running
2016-03-07 11:26:54 -08:00
Alex Dadgar
143972b6d9
Job GC endpoint
2016-02-20 15:50:41 -08:00
Diptanu Choudhury
b86e60b9de
Allow users to configure arbitrary headers in config
2016-01-22 11:00:43 -08:00
Diptanu Choudhury
e3d7e693dc
Added methods for listing directories inside an alloc
2016-01-12 15:03:53 -08:00
Ivo Verberk
7838b2a57c
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
a230a70cc7
nomad: testing region list
2015-11-23 22:27:07 -08:00
Ryan Uber
ad6b55a37a
nomad: support listing regions
2015-11-23 22:27:03 -08:00
Ryan Uber
114b38b8a8
agent: add HTTP endpoint for querying/modifying the server list
2015-09-24 20:39:03 -07:00
Ryan Uber
f0c21b79f1
agent: json decode directly to structs in api
2015-09-22 20:02:10 -07:00
Armon Dadgar
53834b39ba
SCADA support
2015-09-14 15:33:08 -07:00
Ryan Uber
35580ef9ec
agent: use ports/addresses/advertise_addrs for network config
2015-09-10 18:37:42 -07:00
Ryan Uber
936bca5194
agent: addresses and ports are configurable
2015-09-10 17:48:02 -07:00
Armon Dadgar
8a389414ff
http: adding the agent endpoints
2015-09-06 19:08:05 -07:00
Armon Dadgar
30b34777ff
http: adding status APIs
2015-09-06 18:39:03 -07:00
Armon Dadgar
7c162542aa
http: adding the eval endpoints
2015-09-06 16:02:53 -07:00
Armon Dadgar
05a8ae06c7
http: adding allocs list endpoint
2015-09-06 15:37:21 -07:00
Armon Dadgar
bb0ba026bc
http/node: adding a few node endpoints
2015-09-06 14:18:11 -07:00
Armon Dadgar
f858c31426
http: framework jobs endpoints
2015-09-05 18:00:30 -07:00
Armon Dadgar
4bf257e951
http: basic framework
2015-09-05 17:06:05 -07:00
Armon Dadgar
0c3064bada
agent: adding HTTP server
2015-08-23 17:50:33 -07:00