Commit Graph

3886 Commits

Author SHA1 Message Date
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
Diptanu Choudhury
ddd18a5613 Merge pull request #1176 from pubnub/bug/http-api-response-headers-config-merge
Fix "http_api_response_headers" config not working
2016-05-17 06:12:03 +02: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
de09d3c70c Rename Cas to JobModifyIndex 2016-05-16 11:48:44 -07:00
Alex Dadgar
2b09a4c302 improve help message for fs missing input 2016-05-16 11:08:28 -07:00
Alex Dadgar
f677884e33 changelog 2016-05-16 11:07:00 -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
Sean Chittenden
29be52f762 Speling police 2016-05-15 09:41:34 -07:00
Diptanu Choudhury
769989ef44 Merge pull request #1167 from hashicorp/f-config-consul-block
Consul Agent Configuration and Server and Client Auto Registration
2016-05-14 01:36:17 -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
522eebcbc1 Using a helper method to create service identifiers 2016-05-14 00:43:25 -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
Alex Dadgar
693059bd93 Fixes 2016-05-13 11:53:11 -07:00
Diptanu Choudhury
e3fffa75aa Removing addition of the client service while reconciling services 2016-05-13 10:34:21 -07:00
Diptanu Choudhury
b2c18168a4 Making Nomad register services with consul in dev mode 2016-05-13 10:19:49 -07:00
Alex Dadgar
85323c5db6 Remove plan from the response 2016-05-12 11:29:38 -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
Alex Dadgar
8a58fa4e7c add endpoint tests 2016-05-11 17:02:14 -07:00
Diptanu Choudhury
269a28d5b3 Fixing the client test 2016-05-11 16:58:14 -07:00
Alex Dadgar
5540b117b8 Test task group update annotations 2016-05-11 16:31:50 -07:00
Diptanu Choudhury
de660c4acf Removed allocID and task name from consul service 2016-05-11 16:26:41 -07:00
Diptanu Choudhury
4266e25e3c Using consul config from client config instead of reading from client options 2016-05-11 16:10:57 -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
ec5440260f Undo testing.go 2016-05-11 15:44:27 -07:00
Alex Dadgar
0e26f62707 Merge branch 'master' into f-plan-endpoint 2016-05-11 15:39:36 -07:00
Alex Dadgar
c612bb8276 Merge pull request #1166 from hashicorp/f-job-diff2
Job Diff structure
2016-05-11 15:38:56 -07:00
Alex Dadgar
7f7a01df9c Fix switching diff structures 2016-05-11 15:36:28 -07:00
Alex Dadgar
cfe588e32e Merge branch 'f-job-diff2' into f-plan-endpoint 2016-05-11 15:28:07 -07:00
Alex Dadgar
b0d3f1ba28 Add service diff 2016-05-11 15:25:59 -07:00
Diptanu Choudhury
7b720afd86 Added tests for parsing consul client configuration 2016-05-11 15:22:58 -07:00
Diptanu Choudhury
50b03354f2 Fixed the consul tests 2016-05-11 15:22:58 -07:00
Diptanu Choudhury
2663ef9d6a Refactored the signature of NewConsulService 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
Sean Chittenden
81f9d42c15 Merge pull request #1165 from hashicorp/f-append-newline
Append a newline when pretty-printing the response
2016-05-11 13:10:37 -07:00
Sean Chittenden
7a2bd507e7 Merge pull request #1160 from hashicorp/f-freebsd
Stubbed out raw_exec support for *NIX platforms

OOB LGTM: @diptanu
2016-05-11 12:54:27 -07:00
Diptanu Choudhury
a84ace5136 Merge pull request #1164 from hashicorp/fix-unmount
Removing directories only if we could successfully unmount them
2016-05-11 12:51:34 -07:00
Alex Dadgar
a379bc85cc remove old diff 2016-05-11 11:27:00 -07:00