Diptanu Choudhury
bf27cc1261
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
0c653c3c8f
Fix determining whether a job is edited
2016-05-17 15:48:35 -07:00
Alex Dadgar
117b926e2b
inplaceUpdate returns the allocs that were updated in-place
2016-05-17 15:37:37 -07:00
Alex Dadgar
76b2c90ae2
changelog
2016-05-17 13:36:33 -07:00
Diptanu Choudhury
e62401476c
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
9b2b39c7d6
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
Diptanu Choudhury
9c8640087d
Filtering out nomad check
2016-05-17 05:39:39 +02:00
Alex Dadgar
a5ab96d40e
Merge pull request #1168 from hashicorp/f-plan-endpoint
...
Job.Plan endpoint
2016-05-16 13:15:40 -07:00
Alex Dadgar
a231f6f998
Switch to using the harness
2016-05-16 12:49:18 -07:00
Alex Dadgar
5085c25f8b
Rename Cas to JobModifyIndex
2016-05-16 11:48:44 -07:00
Alex Dadgar
312c51fc2d
improve help message for fs missing input
2016-05-16 11:08:28 -07:00
Alex Dadgar
749b239890
changelog
2016-05-16 11:07:00 -07:00
Alex Dadgar
157833b3a1
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
5412c29edb
Update per comments
2016-05-16 13:17:37 -04:00
Diptanu Choudhury
c07770fd4d
Using the auto-register flag
2016-05-16 18:23:01 +02:00
Sean Chittenden
dc28ab0cb5
Speling police
2016-05-15 09:41:34 -07:00
Diptanu Choudhury
3830c5624c
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
6521f3fa5f
Testing if stats is present and it is a map
2016-05-14 01:20:51 -07:00
Diptanu Choudhury
1b3356375d
Using advertise addr for the http address
2016-05-14 01:09:05 -07:00
Diptanu Choudhury
2e2e2e500e
Using a helper method to create service identifiers
2016-05-14 00:43:25 -07:00
Diptanu Choudhury
ecd995b283
Added some docs
2016-05-14 00:36:26 -07:00
Diptanu Choudhury
d94e651c6e
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
bed4cb7a9f
Fixes
2016-05-13 11:53:11 -07:00
Diptanu Choudhury
2a99a2cfb6
Removing addition of the client service while reconciling services
2016-05-13 10:34:21 -07:00
Diptanu Choudhury
df9d256132
Making Nomad register services with consul in dev mode
2016-05-13 10:19:49 -07:00
Alex Dadgar
7a44ec5ccc
Remove plan from the response
2016-05-12 11:29:38 -07:00
Alex Dadgar
b634486ebd
Plan api
2016-05-11 18:51:48 -07:00
Diptanu Choudhury
439d7bf326
Fixed an agent test
2016-05-11 17:26:53 -07:00
Alex Dadgar
2bd962ca0d
add endpoint tests
2016-05-11 17:02:14 -07:00
Diptanu Choudhury
5dc507dbe0
Fixing the client test
2016-05-11 16:58:14 -07:00
Alex Dadgar
6d69e39966
Test task group update annotations
2016-05-11 16:31:50 -07:00
Diptanu Choudhury
347cb890d2
Removed allocID and task name from consul service
2016-05-11 16:26:41 -07:00
Diptanu Choudhury
7287376eca
Using consul config from client config instead of reading from client options
2016-05-11 16:10:57 -07:00
Diptanu Choudhury
83fed62a0a
Implemented registering client and server services
2016-05-11 16:07:02 -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
Alex Dadgar
ab4c184916
Undo testing.go
2016-05-11 15:44:27 -07:00
Alex Dadgar
81f0286dd8
Merge branch 'master' into f-plan-endpoint
2016-05-11 15:39:36 -07:00
Alex Dadgar
724d0ab489
Merge pull request #1166 from hashicorp/f-job-diff2
...
Job Diff structure
2016-05-11 15:38:56 -07:00
Alex Dadgar
24bfaa70ac
Fix switching diff structures
2016-05-11 15:36:28 -07:00
Alex Dadgar
3a4f99c976
Merge branch 'f-job-diff2' into f-plan-endpoint
2016-05-11 15:28:07 -07:00
Alex Dadgar
59e244d18e
Add service diff
2016-05-11 15:25:59 -07:00
Diptanu Choudhury
d9497632ed
Added tests for parsing consul client configuration
2016-05-11 15:22:58 -07:00
Diptanu Choudhury
cec6c03b79
Fixed the consul tests
2016-05-11 15:22:58 -07:00
Diptanu Choudhury
2f8a3532ad
Refactored the signature of NewConsulService
2016-05-11 15:22:58 -07:00
Diptanu Choudhury
a4092a7a35
Adding logic for checking health of client
2016-05-11 15:22:58 -07:00
Diptanu Choudhury
4ff76424cb
Added a check command
2016-05-11 15:22:58 -07:00
Diptanu Choudhury
075a1379c0
Added parsing logic for config block
2016-05-11 15:22:58 -07:00
Sean Chittenden
693e1c6ea9
Fix unit tests for TestPrettyPrintBare
2016-05-11 15:20:57 -07:00
Sean Chittenden
92df92f48b
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
514f22c4a8
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