Preetha Appan
e5e2ec5a2f
More small review feedback
2018-03-14 16:10:32 -05:00
Preetha Appan
94e252eaa3
Extra comments, remove unnecessary if condition
2018-03-14 16:10:32 -05:00
Preetha Appan
f57f5865bb
Move delayheap to lib package
2018-03-14 16:10:32 -05:00
Preetha Appan
733c40e058
Add parsing test cases
2018-03-14 16:10:32 -05:00
Preetha Appan
c841dc01a9
Address some code review comments
2018-03-14 16:10:32 -05:00
Preetha Appan
3eebacb53e
Remove unnecessary check against 5 second window for determining immediate scheduling eligibility
2018-03-14 16:10:32 -05:00
Preetha Appan
f83ddd44ba
Added a delay heap to track evals with WaitUntil set, and use in eval broker
2018-03-14 16:10:32 -05:00
Preetha Appan
9628454d7a
Scheduler and Reconciler changes to support delayed rescheduling
2018-03-14 16:10:32 -05:00
Preetha Appan
447b5a872d
Added FollowupEvalID field and helper methods to calculate reschedule eligibility based on delay
2018-03-14 16:10:32 -05:00
Preetha Appan
9b609c73c5
Add new reschedule stanza fields to list of valid fields
2018-03-14 16:10:32 -05:00
Preetha Appan
aecf3f751a
Fix formatting
2018-03-14 16:10:32 -05:00
Preetha Appan
02741177e2
Formatting and linting fixes
2018-03-14 16:10:32 -05:00
Preetha Appan
e65d870fe9
Add new reschedule options to API layer and unit tests
2018-03-14 16:10:32 -05:00
Preetha Appan
3dd8cd1bfa
New delayed rescheduling options, validation function and unit tests
2018-03-14 16:10:32 -05:00
Preetha Appan
dc183ad209
Fix spelling in comment
2018-03-14 15:54:25 -05:00
Preetha Appan
13b39352c2
Update CHANGELOG
2018-03-14 15:52:44 -05:00
Preetha
d834df38ed
Merge pull request #3980 from hashicorp/f-yamux-update
...
Update yamux library to pick up memory performance optimization
2018-03-14 15:49:26 -05:00
Michael Lange
b3a0554c22
Merge pull request #3974 from hashicorp/f-ui-allocations-use-job-breadcrumbs
...
UI: Allocation and task breadcrumbs extend job breadcrumbs
2018-03-14 13:48:39 -07:00
Preetha Appan
1480cd5f03
Update yamux library to pick up memory performance optimization
2018-03-14 15:14:52 -05:00
Alex Dadgar
4252ffe71c
fix clearing node events
2018-03-14 09:48:59 -07:00
Preetha Appan
e83debc327
better wording in CHANGELOG.md
2018-03-14 09:15:04 -05:00
Chelsea Komlo
9cb3a02b0f
Merge pull request #3945 from hashicorp/f-add-node-events
...
Add node events
2018-03-14 08:42:55 -04:00
Preetha Appan
48ae5eb5e4
Update CHANGELOG.md
2018-03-13 20:55:43 -05:00
Preetha
c4389cd61a
Merge pull request #3968 from hashicorp/f-nicer-vault-error
...
Make server side error messages from vault more clearer
2018-03-13 20:49:39 -05:00
Preetha Appan
034db7a3f0
Fix lint warning
2018-03-13 20:49:01 -05:00
Alex Dadgar
8ba5ba33de
small cleanup
2018-03-13 18:08:22 -07:00
Alex Dadgar
eceabb66f8
nodeevents -> events
2018-03-13 18:08:22 -07:00
Alex Dadgar
57ddd511cc
fixes
2018-03-13 18:08:22 -07:00
Chelsea Holland Komlo
319f80907c
code review feedback
2018-03-13 18:08:21 -07:00
Chelsea Holland Komlo
3a1043def9
make check fixes
2018-03-13 18:08:21 -07:00
Chelsea Holland Komlo
6eb9911caf
code review feedback
2018-03-13 18:08:21 -07:00
Chelsea Holland Komlo
3f561c3870
keep state store functions in one file
2018-03-13 18:08:21 -07:00
Chelsea Holland Komlo
9ef6ad031a
fix up go check warnings
2018-03-13 18:08:21 -07:00
Chelsea Holland Komlo
a72dcbfcdd
add client side emitting of node events
...
Changelog
2018-03-13 18:08:21 -07:00
Chelsea Holland Komlo
55670c80b0
batch submitting node events
2018-03-13 18:05:40 -07:00
Chelsea Holland Komlo
705ff980ad
code review feedback
2018-03-13 18:05:40 -07:00
Chelsea Holland Komlo
cbbb60af61
move all structs to structs file
2018-03-13 18:05:40 -07:00
Chelsea Holland Komlo
56f5e66d25
add node id to tests; check for node events in state store
2018-03-13 18:05:40 -07:00
Chelsea Holland Komlo
fc819754a4
Ensure node updates don't strip node events
...
Add node events to CLI
2018-03-13 18:05:40 -07:00
Chelsea Holland Komlo
551e96feff
code review feedback
2018-03-13 18:05:40 -07:00
Chelsea Holland Komlo
de6199ac45
move adding node registration event to the state store
2018-03-13 18:05:40 -07:00
Chelsea Holland Komlo
55e0c7d06d
fix up error logging
2018-03-13 18:05:40 -07:00
Chelsea Holland Komlo
f051d43a5f
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
Chelsea Holland Komlo
365d47c5f2
NodeEvents struct
2018-03-13 18:05:40 -07:00
Michael Lange
7ac2b8ebd6
Update tests to reflect new breadcrumbs
2018-03-13 16:36:26 -07:00
Michael Lange
c8693ba525
Make task page breadcrumbs extend the allocation breadcrumbs
2018-03-13 16:36:26 -07:00
Michael Lange
79ecf47936
Make allocation pages extend the job breadcrumb trail
2018-03-13 16:36:26 -07:00
Michael Lange
efeb5abbcb
Fix a bug where job links didn't always include the namespace QP
2018-03-13 16:34:01 -07:00
Michael Lange
54b1101989
QueryParams primitive ported with a helper
...
This QueryParams object is defined in Ember source, but it isn't
public, which means there is no out of the box way to construct
the query params arg for LinkTo in JavaScript
2018-03-13 16:34:01 -07:00
Michael Lange
6efca8400b
Correctly wire up job relationships
2018-03-13 16:34:01 -07:00