Diptanu Choudhury
ffaf6c6299
Fixed some tests
2016-08-25 13:56:39 -05:00
Alex Dadgar
db2806a9c1
Merge pull request #1629 from hashicorp/f-derive-token
...
Server Deriving Tokens on behalf of Clients
2016-08-23 13:58:47 -07:00
Diptanu Choudhury
4ca623bcfe
blocking chained allocations until previous allocation hasn't terminated
2016-08-22 11:34:24 -05:00
Alex Dadgar
94b870a58b
Start
2016-08-19 16:40:37 -07:00
Alex Dadgar
9bd9948c5b
Job Register endpoint validates token
2016-08-17 16:25:38 -07:00
Alex Dadgar
de6e662eb4
Fix service validate test
2016-08-17 11:09:40 -07:00
Marin
69bc3a8fc8
Add support for initial check status
2016-08-16 12:05:15 -07:00
Diptanu Choudhury
761cc40cd2
Fixed a make vet warning
2016-08-12 12:09:44 -07:00
Alex Dadgar
af09ef0832
fix validation tests
2016-07-20 16:43:20 -07:00
Alex Dadgar
e0114fee05
InitFields to Canonicalize
2016-07-20 16:08:52 -07:00
Alex Dadgar
6bc7009f8c
Allow count 0 on system jobs
2016-07-13 13:50:08 -06:00
Diptanu Choudhury
b4fe764f07
Added a test
2016-07-08 22:33:04 -07:00
Alex Dadgar
8e231fa382
Rename ConsulService back to Service
2016-06-12 16:36:49 -07:00
Sean Chittenden
7956eb0c80
Rename structs.Task's `Service` attribute to `ConsulService`
2016-06-10 15:54:39 -04:00
Sean Chittenden
4973ec32bb
Rename structs.Services to structs.ConsulServices
2016-06-10 15:54:39 -04:00
Alex Dadgar
cc00a66e38
validate that tasks don't contain slashes
2016-05-27 17:17:10 -07:00
Diptanu Choudhury
8a582c1b6c
Ensuring check names are unique
2016-05-03 13:16:02 -07:00
Diptanu Choudhury
506ea1a206
Ensuring service names are unique
2016-05-02 13:43:07 -07:00
Alex Dadgar
fce63bdc5c
Ensure the label exists on checks and small enhancements
2016-04-18 19:38:47 -07:00
Diptanu Choudhury
f617fb89fd
Invalidating services when they contain check of type tcp and http but no ports
2016-04-15 12:50:55 +04:00
Alex Dadgar
823261c974
add destination to artifact block and validate it
2016-03-18 12:01:46 -07:00
Alex Dadgar
52aac4421f
Fix validate test
2016-03-17 11:29:41 -07:00
Alex Dadgar
e6d50f96ef
Respond to comments and fix test
2016-03-15 20:21:52 -07:00
Alex Dadgar
081556db93
update the getter
2016-03-15 13:28:57 -07:00
Alex Dadgar
68059fa85c
Go-getter options are generic and validation of checksums
2016-03-15 13:28:57 -07:00
Sean Chittenden
a16b030e92
Add two tests for invalid service names
2016-03-14 17:54:49 -07:00
Alex Dadgar
8ad65876bf
Add allocation index environment variable
2016-03-09 18:09:51 -08:00
Armon Dadgar
a08391455a
nomad: simple encode/decode benchmark
2016-02-20 17:43:17 -08:00
Armon Dadgar
623b473ee6
Revert "Lzw compress raft entries"
...
This reverts commit a687ee6df316ffadac5305f4be9cf9a5642cd6af.
The LZW compression reduces the file size by ~60%, but increases
our encode and decode costs by 2x in a CPU bottlenecked path.
2016-02-20 17:36:39 -08:00
Alex Dadgar
6e8a57ba1a
Lzw compress raft entries
2016-02-20 13:21:38 -08:00
Diptanu Choudhury
d64b109afc
Bumped up disk requirements in a test
2016-02-11 22:50:34 -08:00
Diptanu Choudhury
7eba3f3b5f
Merge pull request #763 from hashicorp/f-logrotator
...
Implemented log rotation for drivers
2016-02-11 15:02:39 -08:00
Diptanu Choudhury
e7f8997bb1
Added a validator for log storage
2016-02-11 12:30:47 -08:00
Diptanu Choudhury
9e994cb8d0
Fixed some tests
2016-02-11 10:42:56 -08:00
Alex Dadgar
bb36684fec
Copy handles empty case
2016-02-11 09:08:20 -08:00
Alex Dadgar
2627b742fa
Fix ==
2016-02-05 15:15:56 -08:00
Alex Dadgar
40a373f9e0
Ensure there are no periods in the service name
2016-02-05 14:42:35 -08:00
Alex Dadgar
6f20d3f435
Restart on-success shouldn't be user specifiable
2016-02-02 17:35:06 -08:00
Alex Dadgar
30ccc2f46d
Merge pull request #742 from hashicorp/b-restart-attempts
...
Restart policy handling / validation adjustments
2016-02-02 15:47:07 -08:00
Ryan Uber
198a1a3cd4
structs: more restart policy validation
2016-02-02 14:32:30 -08:00
Alex Dadgar
4748bfd869
Tests
2016-02-02 13:50:30 -08:00
Alex Dadgar
670cc50a02
merge
2015-12-23 18:26:39 -08:00
Alex Dadgar
55cc8c61b3
fix
2015-12-18 12:17:50 -08:00
Alex Dadgar
31c3e12957
merge
2015-12-18 12:17:13 -08:00
Diptanu Choudhury
2eb03e1d23
Renamed serviceId to serviceID
2015-12-14 15:57:56 -08:00
Diptanu Choudhury
6b6d74e2eb
Fixed tests
2015-12-14 15:47:01 -08:00
Diptanu Choudhury
b3c161a7d5
Generate check names, check id and service id on the server side
2015-12-10 16:07:17 -08:00
Alex Dadgar
7f8c2c6e95
Add IsPeriodic
2015-12-01 08:59:00 -08:00
Alex Dadgar
a9b95bca2d
Add Periodic config to job
2015-12-01 08:59:00 -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
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
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
Diptanu Choudhury
4c8dd666dc
Added validation to the checks
2015-11-17 15:13:25 -08:00
Diptanu Choudhury
a9acc52b4e
Fixed validation logic for restart policy when interval is zero
2015-11-17 02:56:11 -05:00
Diptanu Choudhury
0238e27d5d
Fixed the structs test
2015-11-16 13:10:57 -08:00
Diptanu Choudhury
52eb6c77af
Fixing tests to not create a TG without restart policies
2015-11-02 13:24:59 -08:00
Alex Dadgar
fd9c2baf02
Constants for constraints and renaming to use undescore instead of camel
2015-10-26 13:47:56 -07:00
Armon Dadgar
369be8e8f4
nomad: additional constraint validation
2015-10-11 15:50:16 -04:00
Chris Bednarski
4554a678e5
Remove this guard since it's likely to hide nasty bugs where nomad should crash
2015-09-24 15:38:11 -07:00
Chris Bednarski
130263af84
Add exhaustive tests and nil guard to List and Map for NetworkResource
2015-09-24 15:11:44 -07:00
Chris Bednarski
50b967d716
Added ListStaticPorts() to get a list of statically-allocated ports from the NetworkResource
2015-09-23 22:28:34 -07:00
Chris Bednarski
38b7f0b452
That method is gone
2015-09-23 13:45:23 -07:00
Chris Bednarski
e2c324d098
Merge branch 'master' into f-port-configs
2015-09-23 11:57:12 -07:00
Armon Dadgar
b213462cb4
Change CPU from float64 to int
2015-09-23 11:14:32 -07:00
Chris Bednarski
3e90379f05
Pass dynamic ports to the exec driver via environment variables
2015-09-22 22:33:29 -07:00
Chris Bednarski
168c959497
Added named ports
2015-09-22 13:59:16 -07:00
Armon Dadgar
c713cfb9ac
nomad: testing the job validations
2015-09-15 11:23:03 -07:00
Armon Dadgar
cbc9b6dae2
nomad: thread alloc fit failure reason through
2015-09-13 18:38:11 -07:00
Armon Dadgar
7586b39a7b
nomad: removing old network index lookup methods
2015-09-13 15:04:36 -07:00
Armon Dadgar
373c4ee83a
nomad: Resource Superset ignores network in favor of NetworkIndex
2015-09-13 14:59:34 -07:00
Armon Dadgar
39fa04eda7
nomad: aggregate by blank network constraints
2015-09-12 17:04:09 -07:00
Armon Dadgar
47f6a8a64a
nomad: Support adding NetworkResource by CIDR/IP
2015-09-12 16:33:41 -07:00
Armon Dadgar
2eb8044518
nomad: handle network usage superset by CIDR/IP
2015-09-12 16:29:45 -07:00
Armon Dadgar
2d4fad31b2
nomad: adding IP to NetworkResource
2015-09-12 16:21:57 -07:00
Armon Dadgar
1701275936
nomad: share resource adding
2015-08-04 17:41:02 -07:00
Armon Dadgar
f23e0db780
nomad: share and test superset
2015-08-04 17:32:57 -07:00
Armon Dadgar
0c3bab297c
nomad: testing
2015-08-04 17:23:42 -07:00
Armon Dadgar
6b63bfa5a2
structs: adding encode and decode
2015-06-06 00:21:17 +02:00