Alex Dadgar
38dbe768e7
Add eval-status and remove eval-monitor
2016-05-27 11:50:15 -07:00
Diptanu Choudhury
20f4042a0a
Merge pull request #1204 from hashicorp/fix-server-address
...
Use Bind Addr as server's IP while registering with consul in the absence of other configuration.
2016-05-24 22:30:35 -07:00
Diptanu Choudhury
9d8f6d0837
Added a test for generation of the server addr
2016-05-24 21:29:13 -07:00
Alex Dadgar
0c0f64aaff
Merge pull request #1181 from hashicorp/f-plan-cli
...
cli: nomad plan command
2016-05-24 20:09:12 -07:00
Alex Dadgar
6dc9b7e1ac
Merge pull request #1188 from hashicorp/f-no-failed-allocs
...
Failed Allocation Metrics stored in Evaluation
2016-05-24 20:06:28 -07:00
Alex Dadgar
0a6c5ba084
meta flag test
2016-05-24 18:53:46 -07:00
Alex Dadgar
ed94128d68
output and test fix
2016-05-24 18:42:05 -07:00
Alex Dadgar
92bddbc3a5
rename SpawnedBlockedEval and simplify map safety check
2016-05-24 18:12:59 -07:00
Diptanu Choudhury
f1c96df3f3
Using the bind addr as server's IP if advertise addr and addresses.HTTP is not specified
2016-05-24 17:27:09 -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
4133157afb
Merge pull request #1182 from hashicorp/f-json-encoder
...
Use codegen for json marshalling
2016-05-20 14:30:25 -07:00
Alex Dadgar
9f5ab6648f
print spawned eval in monitor
2016-05-19 13:16:10 -07:00
Alex Dadgar
154875c0bc
Show task group failures in eval-monitor
2016-05-18 22:02:51 -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
Diptanu Choudhury
6b0757c6c4
Merge pull request #1174 from hashicorp/f-config-consul-block
...
Using the auto-register flag
2016-05-18 04:16:38 +02:00
Alex Dadgar
75e8f28f8f
tests
2016-05-17 13:33:48 -07:00
Alex Dadgar
74339714b4
comments, refactor and help string
2016-05-17 13:33:48 -07:00
Alex Dadgar
4d30607bfb
Alligned properly
2016-05-17 13:33:48 -07:00
Alex Dadgar
9277a3bfea
better colors and verify help text
2016-05-17 13:33:48 -07:00
Alex Dadgar
dce120669a
verbose output
2016-05-17 13:33:48 -07:00
Alex Dadgar
764d622d9a
little better output
2016-05-17 13:33:48 -07:00
Alex Dadgar
b208da644a
initial implementation of nomad plan
2016-05-17 13:33:48 -07:00
Dara Kong
4c6c3d0b41
Fix "http_api_response_headers" config not working
...
On startup, the agent starts with either a dev or default config. Extra
config files are merged into final config.
The HTTPAPIResponseHeaders config was missing from the merge logic
therefore it would always result in empty value (regardlesss of any
config files specified).
2016-05-16 20:57:54 -07:00
Alex Dadgar
af7725432c
Merge pull request #1168 from hashicorp/f-plan-endpoint
...
Job.Plan endpoint
2016-05-16 13:15:40 -07:00
Alex Dadgar
f56bdbe03a
Switch to using the harness
2016-05-16 12:49:18 -07:00
Alex Dadgar
2b09a4c302
improve help message for fs missing input
2016-05-16 11:08:28 -07:00
Alex Dadgar
9272de88ca
Merge pull request #1150 from hashicorp/f-fs-command
...
Refactor fs subcommands into fs command
2016-05-16 11:05:29 -07:00
Jake Champlin
c1ef910f4d
Update per comments
2016-05-16 13:17:37 -04:00
Diptanu Choudhury
25273db2c1
Using the auto-register flag
2016-05-16 18:23:01 +02:00
Sean Chittenden
29be52f762
Speling police
2016-05-15 09:41:34 -07:00
Diptanu Choudhury
9c60703e52
Testing if stats is present and it is a map
2016-05-14 01:20:51 -07:00
Diptanu Choudhury
f2de4f2019
Using advertise addr for the http address
2016-05-14 01:09:05 -07:00
Diptanu Choudhury
8c5aa0fe65
Added some docs
2016-05-14 00:36:26 -07:00
Diptanu Choudhury
947c481a45
Merge branches 'master' and 'f-config-consul-block' of github.com:hashicorp/nomad into f-config-consul-block
2016-05-13 13:05:11 -07:00
Diptanu Choudhury
b2c18168a4
Making Nomad register services with consul in dev mode
2016-05-13 10:19:49 -07:00
Alex Dadgar
614a93e1e8
Plan api
2016-05-11 18:51:48 -07:00
Diptanu Choudhury
2216944676
Fixed an agent test
2016-05-11 17:26:53 -07:00
Diptanu Choudhury
de660c4acf
Removed allocID and task name from consul service
2016-05-11 16:26:41 -07:00
Diptanu Choudhury
a2237a6057
Implemented registering client and server services
2016-05-11 16:07:02 -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
Alex Dadgar
0e26f62707
Merge branch 'master' into f-plan-endpoint
2016-05-11 15:39:36 -07:00
Diptanu Choudhury
7b720afd86
Added tests for parsing consul client configuration
2016-05-11 15:22:58 -07:00
Diptanu Choudhury
e5f0d7e531
Adding logic for checking health of client
2016-05-11 15:22:58 -07:00
Diptanu Choudhury
d32757b03e
Added a check command
2016-05-11 15:22:58 -07:00
Diptanu Choudhury
2c1611c8cc
Added parsing logic for config block
2016-05-11 15:22:58 -07:00
Sean Chittenden
1e8d6eb283
Fix unit tests for TestPrettyPrintBare
2016-05-11 15:20:57 -07:00
Alex Dadgar
f3a4ac6e5f
Merge branch 'f-job-diff2' into f-plan-endpoint
2016-05-11 11:25:25 -07:00
Sean Chittenden
534156d9eb
Update tests for pretty printing that includes a newline.
...
Add a test verifying that pretty printing can be disabled, too.
2016-05-11 10:55:01 -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
1303a4365a
Initial plan endpoint implementation - WIP
2016-05-05 11:21:58 -07:00