Alex Dadgar
|
0fba0101b6
|
RPC/FSM/State Store for Eligibility
|
2018-03-21 16:51:44 -07:00 |
|
Alex Dadgar
|
2f5309d82a
|
Remove update time
|
2018-03-21 16:51:43 -07:00 |
|
Alex Dadgar
|
0965c9ed28
|
Fix tests
|
2018-03-21 16:51:43 -07:00 |
|
Alex Dadgar
|
e459a666ed
|
Node.Drain takes strategy
|
2018-03-21 16:49:48 -07:00 |
|
Alex Dadgar
|
b8607ad6d6
|
Heartbeat uses client rpc advertise and server defaults server rpc advertise addr
|
2018-03-16 16:47:08 -07:00 |
|
Alex Dadgar
|
63e14b7d63
|
nodeevents -> events
|
2018-03-13 18:08:22 -07:00 |
|
Chelsea Holland Komlo
|
1488b076d1
|
code review feedback
|
2018-03-13 18:08:21 -07:00 |
|
Chelsea Holland Komlo
|
a8655320fd
|
fix up go check warnings
|
2018-03-13 18:08:21 -07:00 |
|
Chelsea Holland Komlo
|
a8bcbd81e6
|
batch submitting node events
|
2018-03-13 18:05:40 -07:00 |
|
Chelsea Holland Komlo
|
d30c269fbe
|
code review feedback
|
2018-03-13 18:05:40 -07:00 |
|
Chelsea Holland Komlo
|
311cb857ac
|
add node id to tests; check for node events in state store
|
2018-03-13 18:05:40 -07:00 |
|
Chelsea Holland Komlo
|
00d9923454
|
Ensure node updates don't strip node events
Add node events to CLI
|
2018-03-13 18:05:40 -07:00 |
|
Chelsea Holland Komlo
|
ae7a2d6eb1
|
code review feedback
|
2018-03-13 18:05:40 -07:00 |
|
Chelsea Holland Komlo
|
4ede27a3c8
|
RPC, FSM, state store for Node.EmitEvent
add node event when registering a node for the first time
|
2018-03-13 18:05:40 -07:00 |
|
Alex Dadgar
|
cfe9afc567
|
Store connection time
|
2018-02-15 13:59:01 -08:00 |
|
Alex Dadgar
|
a6dfffa4fa
|
Add testing interfaces
|
2018-02-15 13:59:00 -08:00 |
|
Alex Dadgar
|
13bbf3fbbb
|
Track client connections
|
2018-02-15 13:59:00 -08:00 |
|
Alex Dadgar
|
288b3c0e05
|
Helper to populate RPC server endpoints
|
2018-02-15 13:59:00 -08:00 |
|
Preetha Appan
|
5f501f632b
|
s/assert/require/g
|
2018-01-31 09:58:05 -06:00 |
|
Preetha Appan
|
57e20b6399
|
Fix flaky test that fails when there is CPU contention
|
2018-01-31 09:56:53 -06:00 |
|
Preetha Appan
|
9c600c6d6c
|
Clean up comments, and one more unit test
|
2018-01-31 09:56:53 -06:00 |
|
Preetha Appan
|
f3eb343ffa
|
Reconcile against reschedule tracker api changes
|
2018-01-31 09:56:53 -06:00 |
|
Preetha Appan
|
2567b51c58
|
Edge trigger evaluation when allocations client status is failed
|
2018-01-31 09:56:53 -06:00 |
|
Preetha Appan
|
f483e81ffe
|
Fix node end point test that was failing compilation
|
2017-11-01 15:16:38 -05:00 |
|
Preetha Appan
|
39d70be009
|
Add ModifyTime to Allocation and update it both on plan applies and client initiated updates
|
2017-11-01 15:13:48 -05:00 |
|
Alex Dadgar
|
586eeedd3c
|
Merge pull request #3447 from hashicorp/f-node-purge-api
Added the purge API on node endpoints
|
2017-10-27 10:42:26 -07:00 |
|
Alex Dadgar
|
7df78be840
|
Changelog + assert
|
2017-10-27 09:50:10 -07:00 |
|
Alex Dadgar
|
51795a6cb4
|
GetClientAllocs handles garbage collection events
|
2017-10-26 17:24:54 -07:00 |
|
Diptanu Choudhury
|
2868389c25
|
Added ACLs to the node de-register endpoint
|
2017-10-26 14:12:17 -07:00 |
|
Alex Dadgar
|
be053364ba
|
no namespaces in oss test
|
2017-10-16 14:21:29 -07:00 |
|
Michael Schurter
|
93cea382dd
|
Remove support for pre-0.5 nodes
Nodes before 0.5 did not have a SecretID. Since SecretID is now a
required field and 0.4.x is >2 point releases ago, drop support for it.
|
2017-10-13 11:28:47 -07:00 |
|
Michael Schurter
|
6a1a509ea5
|
Fix Request.SecretID -> Request.AuthToken
|
2017-10-13 09:56:56 -07:00 |
|
Michael Schurter
|
ab7b6d1315
|
Allow Node.SecretID for GetNode and GetAlloc
|
2017-10-12 16:27:33 -07:00 |
|
Michael Schurter
|
84d8a51be1
|
SecretID -> AuthToken
|
2017-10-12 15:16:33 -07:00 |
|
Chelsea Holland Komlo
|
c67bfc2ee4
|
fixups from code review
change creation of a migrate token to be for a previous allocation
|
2017-10-11 17:13:50 -07:00 |
|
Chelsea Holland Komlo
|
b018ca4d46
|
fixing up code review comments
|
2017-10-11 17:09:20 -07:00 |
|
Chelsea Holland Komlo
|
36ad6bc6bf
|
add MigrateTokens to server response for allocs
|
2017-10-11 17:09:20 -07:00 |
|
Michael Schurter
|
57ff12432b
|
Move acl helpers from nomad/ into nomad/mock
They're useful in command/agent/ tests.
|
2017-10-06 14:50:06 -07:00 |
|
Michael Schurter
|
a66c53d45a
|
Remove structs import from api
Goes a step further and removes structs import from api's tests as well
by moving GenerateUUID to its own package.
|
2017-09-29 10:36:08 -07:00 |
|
Alex Dadgar
|
4173834231
|
Enable more linters
|
2017-09-26 15:26:33 -07:00 |
|
Michael Schurter
|
816e7e544e
|
Filter Node.GetAllocs results by readable namespaces
|
2017-09-15 14:27:11 -07:00 |
|
Michael Schurter
|
1af9352403
|
Check for permission denied errors
|
2017-09-15 10:41:28 -07:00 |
|
Michael Schurter
|
01816af088
|
Node.List ACL enforcement
|
2017-09-14 22:01:18 -07:00 |
|
Michael Schurter
|
aca9e337aa
|
Node.GetAllocs ACL enforcement
|
2017-09-14 21:42:19 -07:00 |
|
Michael Schurter
|
369ab10405
|
Fix comments for Node ACL tests
|
2017-09-14 21:41:26 -07:00 |
|
Michael Schurter
|
4fc44c686c
|
Node.GetNode ACL enforcement
|
2017-09-14 20:59:18 -07:00 |
|
Michael Schurter
|
21ee5f4720
|
Node.Evaluate ACL enforcement
|
2017-09-14 20:41:44 -07:00 |
|
Michael Schurter
|
0cfaaa0a4d
|
Node.UpdateDrain ACL enforcement
|
2017-09-14 20:33:31 -07:00 |
|
Alex Dadgar
|
84d06f6abe
|
Sync namespace changes
|
2017-09-07 17:04:21 -07:00 |
|
Luke Farnell
|
f0ced87b95
|
fixed all spelling mistakes for goreport
|
2017-08-07 17:13:05 -04:00 |
|