Alex Dadgar
7f8c2c6e95
Add IsPeriodic
2015-12-01 08:59:00 -08:00
Alex Dadgar
583425a326
Fix validate
2015-12-01 08:59:00 -08:00
Alex Dadgar
a9b95bca2d
Add Periodic config to job
2015-12-01 08:59:00 -08:00
Alex Dadgar
b039f963f0
Merge pull request #514 from kaskavalci/master
...
Fixed git vet error on formatting
2015-12-01 08:58:19 -08:00
Halil Kaskavalci
ab2979ea21
Fixed typo on variable name
2015-12-01 08:13:02 +02:00
Halil Kaskavalci
8957a47ec4
Fixed git vet error on formatting
2015-11-30 10:27:26 +00:00
Armon Dadgar
5ea5344773
nomad: shrink the recv buffer of idle streams
2015-11-27 17:24:21 -08:00
Diptanu Choudhury
e25c260694
Merge pull request #509 from hashicorp/f-service-name
...
Implemented interpolation of Job, Task group and Task Names in Service Name
2015-11-26 23:28:13 -08:00
Diptanu Choudhury
9139078241
Updated the example nomad job spec to use task group name in the service name
2015-11-26 23:27:33 -08:00
Diptanu Choudhury
0bd34215c5
Fixing the GetJob test
2015-11-26 19:43:02 -08:00
Diptanu Choudhury
c2073ef292
Added docs to the ExpandName method
2015-11-26 19:29:11 -08:00
Diptanu Choudhury
cbfe727100
Making the Job expand all service names during registration
2015-11-26 19:26:00 -08:00
Diptanu Choudhury
fbe3bd0724
Fixed some docs
2015-11-26 13:47:02 -08:00
Diptanu Choudhury
fd1b8a0336
Fixing tests
2015-11-26 12:40:42 -08:00
Diptanu Choudhury
9cf10d64a5
making the service checks in service pointers
2015-11-25 17:44:57 -08:00
Diptanu Choudhury
f66069a08d
Using the service id in check hash
2015-11-25 15:17:27 -08:00
Diptanu Choudhury
b35819f10a
Merge pull request #498 from hashicorp/b-consul-check
...
Handle updates of Service and Check definitions
2015-11-25 13:17:26 -08:00
Diptanu Choudhury
28a21061ce
Implemented syncing of checks
2015-11-24 18:39:38 -08:00
Ryan Uber
d983f266b0
nomad: sort regions before returning
2015-11-24 13:15:01 -08:00
Diptanu Choudhury
a3d5b266a0
Registering Checks independently
2015-11-24 10:02:33 -08:00
Diptanu Choudhury
f9c3d16b9f
Removing un-used imports
2015-11-24 10:02:33 -08:00
Diptanu Choudhury
5549c1d2dc
Generating the sha1 for a check
2015-11-24 10:02:33 -08:00
Ryan Uber
a230a70cc7
nomad: testing region list
2015-11-23 22:27:07 -08:00
Ryan Uber
34b54bb05f
nomad: leader forwarding not needed for regions
2015-11-23 22:27:07 -08:00
Ryan Uber
39b2c3a07b
nomad: use a read-only lock
2015-11-23 22:27:07 -08:00
Ryan Uber
ad6b55a37a
nomad: support listing regions
2015-11-23 22:27:03 -08:00
Alex Dadgar
136a181c22
Merge pull request #493 from hashicorp/f-eval-broker-blocking-dequeue
...
Make a zero timeout for eval_broker.Dequeue() block
2015-11-23 18:26:52 -08:00
Alex Dadgar
9b99eeeec4
Remove shared reference to network resources across allocs
2015-11-23 16:32:30 -08:00
Alex Dadgar
cbb1992929
Make a zero timeout for eval_broker.Dequeue() block
2015-11-23 11:59:49 -08:00
Alex Dadgar
af7d896c2a
nil-pointer dereference with empty timeout Dequeue
2015-11-20 16:49:55 -08:00
Chris Bednarski
275550dcd3
Fixed some issues with expose, port mapping, and environment variables
...
- Port mapping now works for reserved ports as well as dynamic ports
- Environment variables were being set twice in two different ways; now they are only set once
- Comprehensive tests for exposed ports, forwarded ports, and environment variables
- Cleaned up / DRYed up a lot of test code
2015-11-19 19:08:21 -08:00
Alex Dadgar
f84fc88b60
Register gob type and remove slicetype
2015-11-18 15:26:38 -08:00
Alex Dadgar
965087e266
remove args from mock
2015-11-18 15:19:18 -08:00
Alex Dadgar
4d817f5cbc
Revert "Revert "Make drivers take arguments as a list and not as a string""
2015-11-18 15:16:42 -08:00
Diptanu Choudhury
d65d1bdfac
Merge pull request #455 from hashicorp/f-consul-check
...
Refactor consul check
2015-11-18 14:33:34 -08:00
Diptanu Choudhury
bb7f29f023
Changed the http field to path
2015-11-18 14:29:55 -08:00
Alex Dadgar
0e51375285
Revert "Make drivers take arguments as a list and not as a string"
2015-11-18 13:46:43 -08:00
Alex Dadgar
07a5ceed9c
Use one msgpack codec and have it decode []string in nil interfaces
2015-11-18 13:15:13 -08:00
Alex Dadgar
282509eb9b
More test fixes
2015-11-18 12:30:42 -08:00
Diptanu Choudhury
21bb78f948
Removing support for scrpt checks
2015-11-18 10:26:24 -08:00
Diptanu Choudhury
404810043a
Added the implementation of consul client
2015-11-18 00:50:45 -08:00
Diptanu Choudhury
c02c2312d4
Adding prefix to user defined name and forcing id to be blank during parsing
2015-11-17 16:44:05 -08:00
Diptanu Choudhury
c73e17ae18
Adding some sanity checks to checks
2015-11-17 15:13:25 -08:00
Diptanu Choudhury
04d2d6921d
Exctacted a method for parsing checks
2015-11-17 15:13:25 -08:00
Diptanu Choudhury
7eba8be4ff
Added some docs for the service and servicecheck type
2015-11-17 15:13:25 -08:00
Diptanu Choudhury
aabd27d901
Added the protocol field for check
2015-11-17 15:13:25 -08:00
Diptanu Choudhury
4c8dd666dc
Added validation to the checks
2015-11-17 15:13:25 -08:00
Diptanu Choudhury
a367314127
Added the fields for http and script checks
2015-11-17 15:13:25 -08:00
Diptanu Choudhury
0d9e34bea4
Added the service definitions in api structs too
2015-11-17 15:13:25 -08:00
Diptanu Choudhury
ead6e09a79
Added comments
2015-11-17 15:13:25 -08:00