Michael Lange
7c27d1486b
Json viewer isn't side effect free, so use a copy
2018-03-02 16:21:37 -08:00
Michael Lange
2d0a3a15ad
Add tests for findHasMany store culling
2018-03-02 16:21:37 -08:00
Michael Lange
762a82702a
Add tests for findAll store culling
2018-03-02 16:21:37 -08:00
Michael Lange
80c8db559b
Tests for watching and canceling requests
2018-03-02 16:21:37 -08:00
Michael Lange
788d410d6b
Watchable request helper for Mirage
2018-03-02 16:21:37 -08:00
Michael Lange
553c69cc32
Fix existing tests
2018-03-02 16:21:36 -08:00
Michael Lange
2634b36044
Generalized solution for removing records in the local store
...
When the findAll response from the server no longer has them.
2018-03-02 16:21:36 -08:00
Michael Lange
1ab5b8b3e4
Cancel watch tasks when appropriate
2018-03-02 16:21:36 -08:00
Michael Lange
962c763aa6
Watch properties cancel long poll requests
2018-03-02 16:21:36 -08:00
Michael Lange
01a83b5bee
Track xhrs in the watchable adapter and expose cancellation methods
2018-03-02 16:21:36 -08:00
Michael Lange
d5424fec57
Remove stale records from the store for findHasMany requests
2018-03-02 16:21:35 -08:00
Michael Lange
5a21a5ddbf
Watch for summary changes in job-row
2018-03-02 16:21:35 -08:00
Michael Lange
1f7f78823e
Watch all records on the jobs list page
2018-03-02 16:21:35 -08:00
Michael Lange
34872543f9
Remove records from the store when they are no longer in array responses
...
Ember Data doesn't do this by default, instead opting to be as
non-destructive as possible. However, this is desired behavior.
2018-03-02 16:21:35 -08:00
Michael Lange
5f10940c92
Blocking query support for findAll requests
2018-03-02 16:21:35 -08:00
Michael Lange
87e32af4ea
Make the throttle time configurable
2018-03-02 16:21:35 -08:00
Michael Lange
6b1fab696e
Add a watchAll computed property macro
2018-03-02 16:21:34 -08:00
Michael Lange
d51da0fa62
Fix distribution-bar bugs found with live data
...
- Key data using datum label
(when something goes from number, to zero, to number again)
- Retain active and inactive classes across data updates
2018-03-02 16:21:34 -08:00
Michael Lange
8566a8cd25
Move watch tasks into a utils file
2018-03-02 16:21:34 -08:00
Michael Lange
55f90cf7f7
Prototype watching resources
...
- Service to manage X-Nomad-Index values
- Adapter method for reloading relationships with additional params
- Pattern for watching models and model relationships using EC
2018-03-02 16:21:34 -08:00
Michael Lange
bace0fedef
Re-render chart whenever data changes
2018-03-02 16:21:13 -08:00
Michael Lange
e7796ccaee
Refactor job summary to a relationship
...
Now that blocking queries are going to be in play, We can no longer
pretend the two requests are one, since they have independent nomad
indices.
2018-03-02 16:21:13 -08:00
Michael Lange
a18771278f
Merge pull request #3908 from hashicorp/f-ui-route-client-requests-through-server
...
UI: Take advantage of client request tunneling
2018-03-02 15:58:27 -08:00
Alvin Huang
bb09314d84
pin github.com/stretchr/testify/assert in vendor.json
2018-03-01 18:31:21 -05:00
Chelsea Komlo
7c7e2f4d0b
Merge pull request #3873 from hashicorp/r-edge-trigger-node-watcher
...
Edge trigger node updates
2018-03-01 15:18:59 -05:00
Chelsea Holland Komlo
122d1c4e4a
simplify retry logic
2018-03-01 09:48:26 -05:00
Michael Schurter
557a70f78d
Merge pull request #3917 from jaininshah9/master
...
changing the formula to correctly pass the CPUQota to docker
2018-02-28 20:00:37 -08:00
Jainin Shah
39e1fc06e5
adding comments to the change
2018-02-28 16:19:51 -08:00
Preetha Appan
eaedffc7f7
Fix go vet errors
2018-02-28 12:21:27 -06:00
Chelsea Holland Komlo
b4b0c7cdcf
fix up linting
2018-02-28 12:58:44 -05:00
Chelsea Holland Komlo
355805db56
reset timer after updating node copy
2018-02-27 17:18:10 -05:00
Michael Lange
a503fbe73c
In the event the server also times out, show an error message
2018-02-27 13:38:31 -08:00
Jainin Shah
6eb7da002f
changing the formula to correctly pass the CPUQota to docker
2018-02-27 12:32:23 -08:00
Michael Schurter
891db3ef4e
Merge pull request #3912 from maihde/issue-3881
...
Update vendor package github.com/shirou/gopsutil/process, resolves #3881
2018-02-27 11:20:39 -08:00
Chelsea Holland Komlo
a72aaaf47f
add network resources equal method, use time ticker
...
remove impossible test case
2018-02-27 12:42:53 -05:00
Michael Ihde
359e1f3497
Update vendor package github.com/shirou/gopsutil/process, resolves #3881
2018-02-26 22:34:44 -05:00
Michael Lange
d5254c1563
Merge pull request #3845 from hashicorp/f-ui-node-meta
...
UI: Add client meta attributes to the client detail page
2018-02-26 16:53:06 -08:00
Michael Lange
16daba97e1
Cleanup following review
2018-02-26 16:35:41 -08:00
Chelsea Holland Komlo
e736e31820
use time ticker, update how network resources are compared
2018-02-26 18:47:11 -05:00
Preetha
80cd635cb4
Merge pull request #3889 from hashicorp/f-reconciler-bugfix
...
Fixes bug in reconciler where previously rescheduled allocs
2018-02-26 16:56:30 -06:00
Chelsea Holland Komlo
5059065b52
improved testing; node networks comparison
2018-02-26 15:55:38 -05:00
csawyerYumaed
88ed5ad112
Template docs, add vault PKI integration example.
...
Update the template documentation, and add a vault PKI integration example.
2018-02-26 12:41:39 -08:00
Chelsea Holland Komlo
b7bcd0b59f
fingerprinters accessing node information should be thread safe
2018-02-26 15:25:54 -05:00
Michael Lange
dc72ac2bc7
Fallback to using the nomad server for log streaming
...
Only when the client isn't accessible
2018-02-26 12:23:47 -08:00
Michael Lange
470b8131bd
Get client stats through the server agent
2018-02-26 12:23:47 -08:00
Michael Schurter
2228e1fd0c
Merge pull request #3897 from hashicorp/f-docs-command-with-output
...
Removed text between command and output
2018-02-26 10:47:22 -08:00
Michael Schurter
c1d903497c
Merge pull request #3902 from filipochnik/patch-1
...
Add missing backticks in cap_add and cap_drop docs
2018-02-26 09:45:37 -08:00
Chelsea Holland Komlo
1f31b39fe8
code review fixups
2018-02-26 12:36:30 -05:00
Chelsea Holland Komlo
ed8c8afbcd
edge trigger node update
...
test update config copy trigger
2018-02-26 12:36:04 -05:00
Filip Ochnik
756d1358bd
Add missing backticks in cap_add and cap_drop docs
2018-02-24 10:27:23 +01:00