Alex Dadgar
a1c4b5f4c6
Revert api
2017-04-20 11:14:06 -07:00
Alex Dadgar
1769fe468a
Fix some tests
2017-04-17 19:39:20 -07:00
Alex Dadgar
3145086a42
non-purge deregisters
2017-04-15 17:08:05 -07:00
Alex Dadgar
45ad95e862
Agent API + api package
2017-04-15 17:08:05 -07:00
Alex Dadgar
8827b4f4d0
Fix canonicalization of services
2017-03-01 15:30:01 -08:00
Alex Dadgar
5be806a3df
Fix vet script and fix vet problems
...
This PR fixes our vet script and fixes all the missed vet changes.
It also fixes pointers being printed in `nomad stop <job>` and `nomad
node-status <node>`.
2017-02-27 16:00:19 -08:00
Alex Dadgar
5708f347cd
fix check
2017-02-24 15:01:09 -08:00
Michael Schurter
703ddea1dc
Add Canonicalize test mimicing example job + template
2017-02-24 12:08:31 -08:00
Alex Dadgar
b67c59f03c
Merge branch 'master' into refactor-parser
2017-02-20 15:13:21 -08:00
Diptanu Choudhury
d0d7c92bab
Added tests
2017-02-16 13:52:39 -08:00
Diptanu Choudhury
7567209857
Making the job spec return api.Job
2017-02-16 13:52:39 -08:00
Diptanu Choudhury
9cdd576720
Updated changelog and fixed tests
2016-12-20 11:32:17 -08:00
Diptanu Choudhury
56c78f84a4
Merge pull request #1542 from novilabs/fix-test-job-summary
...
just checked the known values in job summary instead of doing a deep equals
2016-08-09 15:59:39 -07:00
Cameron Davison
f17e8bb222
go fmt error
2016-08-08 09:24:24 -05:00
Cameron Davison
b3920e7019
just checked the known values in job summary instead of doing a deep equals
2016-08-07 22:51:24 -05:00
Cameron Davison
df8aaaaaf4
it is possible to have more than 1 eval if the eval fails, use the last one
2016-08-07 22:30:48 -05:00
Diptanu Choudhury
50842b88c7
Fixed some bugs
2016-07-25 17:26:38 -07:00
Diptanu Choudhury
ef97956333
Added support for retreiving job summary in api
2016-07-25 17:26:38 -07:00
Alex Dadgar
5d181d203c
Add check-index flag to nomad run
2016-06-08 17:56:32 -07:00
Alex Dadgar
a231f6f998
Switch to using the harness
2016-05-16 12:49:18 -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
Alex Dadgar
538389c056
Make inspect output submittable
2016-04-13 16:53:39 -07:00
Alex Dadgar
5293b6a5e9
small fixes
2016-03-25 11:38:18 -07:00
Alex Dadgar
90a61172b4
Add nomad inspect command
2016-03-21 12:46:35 -07:00
Alex Dadgar
5e900b94d0
Move endpoint to be under job
2016-01-19 11:09:36 -08:00
Ivo Verberk
fd177f4c6f
Bring up-to-date with master
2015-12-24 21:16:32 +01:00
Ivo Verberk
0c01ca49e6
Refactoring continued
...
* Refactor other cli commands to new design
* Add PrefixList method to api package
* Add more tests
2015-12-24 20:53:37 +01:00
Alex Dadgar
7586a84dbe
Update deregister test
2015-12-23 18:26:39 -08:00
Alex Dadgar
3cdbfc010f
Remove weight and hard/soft fields from constraint
2015-10-27 14:31:14 -07:00
Ryan Uber
8f9877edaa
api: rename jobs.Delete -> jobs.Deregister
2015-09-22 10:45:06 -07:00
Ryan Uber
5ddb67f3cf
api: job deregister returns eval ID
2015-09-22 10:45:06 -07:00
Ryan Uber
c1aa896918
api: test job sort
2015-09-17 13:15:45 -07:00
Ryan Uber
cbb5be79e8
api: composing jobs takes region
2015-09-16 11:42:08 -07:00
Ryan Uber
855ec7a712
api: use stub structs
2015-09-13 20:02:22 -07:00
Ryan Uber
fae5a39666
api: support force-eval
2015-09-09 18:39:24 -07:00
Ryan Uber
7926aed642
api: more tests for jobs
2015-09-09 17:29:43 -07:00
Ryan Uber
a807612091
api: allow query options everywhere
2015-09-09 13:18:50 -07:00
Ryan Uber
aff13fc84c
api: restructure client
2015-09-09 13:05:27 -07:00
Ryan Uber
3ec197d440
api: structs are composable
2015-09-09 00:33:56 -07:00
Ryan Uber
7acc90aa32
api: add constraints generators
2015-09-08 19:27:04 -07:00
Ryan Uber
1904724839
api: finishing jobs
2015-09-08 18:42:34 -07:00
Ryan Uber
05cd0b7990
api: look up allocations by job ID
2015-09-08 17:52:47 -07:00
Ryan Uber
4196ab8fb1
api: allow retrieving jobs by ID
2015-09-08 17:20:52 -07:00