Commit Graph

10403 Commits

Author SHA1 Message Date
Michael Lange bbe646b131 Set slices after merging the selection 2018-03-02 16:21:37 -08:00
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 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
Filip Ochnik 756d1358bd
Add missing backticks in cap_add and cap_drop docs 2018-02-24 10:27:23 +01:00
Charlie Voiselle 0a9f2a65f2 Removed text between command and output
Removed some low-value text between the example command and the sample output.
2018-02-22 16:36:13 -05:00
Charlie Voiselle 64badc3562
Merge pull request #3704 from matosf/patch-1
removed duplicate stats command from output
2018-02-22 10:24:50 -05:00
Charlie Voiselle 3f7e0b90c5
Removing text between command and output
Per @dadgar's review and @matosf yielding in comments so we can get this correction merged.
2018-02-22 10:22:00 -05:00
Alex Dadgar 2291489cbf Merge branch 'master' of github.com:hashicorp/nomad 2018-02-20 16:39:09 -08:00
Alex Dadgar ebe9ee1514 changelog 2018-02-20 16:38:59 -08:00
Preetha Appan 1fa50d22d3
Disables verbose mode in travis 2018-02-20 18:38:18 -06:00
Alex Dadgar 483e011720
Merge pull request #3892 from hashicorp/f-tunnel
Client RPC Endpoints, Server Routing and Streaming RPCs
2018-02-20 16:35:42 -08:00
Alex Dadgar aa6b3acfa7
Merge pull request #3877 from hashicorp/f-tls
Add TLS to streaming RPCs
2018-02-20 16:09:45 -08:00
Charlie Voiselle 3e4f6dfa25
Merge pull request #3867 from c4milo/patch-1
docs: Fix a very small typo
2018-02-20 10:11:22 -05:00
Charlie Voiselle 5915e2d686
Merge pull request #3887 from johncowen/d-metrics-404-link
Fix erroneous metrics link + code block typo on the metrics page
2018-02-20 10:10:48 -05:00
John Cowen 28dd41c419 Fix erroneous metrics link + code block typo on the metrics page 2018-02-20 15:00:56 +00:00
Alex Dadgar 8b86e64fd8 Show HTTP request method 2018-02-16 15:55:26 -08:00
Alex Dadgar e916940cfb vet 2018-02-15 17:08:58 -08:00
Alex Dadgar eff4455c68 Fix original client server list behavior 2018-02-15 16:04:53 -08:00
Alex Dadgar 0ebf7f3b7f remove tmp file 2018-02-15 15:51:27 -08:00
Alex Dadgar 6810c66bd8 Fix autopilot tests 2018-02-15 15:48:32 -08:00
Alex Dadgar f9fd1ce98c fix unknown rpc tests 2018-02-15 15:29:31 -08:00
Alex Dadgar f9cf642436 Client tls 2018-02-15 15:22:57 -08:00
Alex Dadgar a1faab0e58 Server TLS 2018-02-15 15:03:12 -08:00
Alex Dadgar bdefb9f2c7 doc improvements 2018-02-15 13:59:03 -08:00
Alex Dadgar 5b9806590b add logging 2018-02-15 13:59:03 -08:00
Alex Dadgar 4c60a7ea40 improve test 2018-02-15 13:59:03 -08:00
Alex Dadgar 0715a4884b fix test 2018-02-15 13:59:03 -08:00
Alex Dadgar a8908ad380 Fix incorrect deletion of node conn
This PR fixes an issue where if the client has multiple connections to a
server, a single connection closing would cause the routing to the node
to be lost.
2018-02-15 13:59:03 -08:00