Michael Lange
a2b57c15eb
Unit and integration tests for TopoViz component
2020-10-15 02:54:16 -07:00
Michael Lange
c8ea019629
Test coverage for TopoViz::Datacenter
2020-10-15 02:54:16 -07:00
Michael Lange
8b96667a61
Remove temp reloading of nodes in the TopoViz component
2020-10-15 02:54:16 -07:00
Michael Lange
4f537c8511
Update scenarios to use new resources code
2020-10-15 02:54:16 -07:00
Michael Lange
9fc33a1f9b
Adjust topo viz controller to new resource code
2020-10-15 02:54:16 -07:00
Michael Lange
f918987d51
Unit test for for GiB in format-bytes
2020-10-15 02:54:16 -07:00
Michael Lange
3c39895168
Update topo viz code to use new alloc/node resources pattern
2020-10-15 02:54:16 -07:00
Michael Lange
64fc738733
Migrate to the new resources properties for allocs and nodes
2020-10-15 02:54:16 -07:00
Michael Lange
b2b7d5e19e
Test coverage for TopoViz::Node
2020-10-15 02:54:16 -07:00
Michael Lange
78b1efc531
FlexMasonry integration tests
2020-10-15 02:54:15 -07:00
Michael Lange
e21a2a03b2
More information about clients in the info panel
2020-10-15 02:54:15 -07:00
Michael Lange
ba8675ae87
Filter total alloc count by only scheduled allocs
2020-10-15 02:54:15 -07:00
Michael Lange
d9ac6a63c6
Add icons to denote draining or ineligibility of clients
2020-10-15 02:54:15 -07:00
Michael Lange
7477f32012
Label empty clients in the topo viz chart
2020-10-15 02:54:15 -07:00
Michael Lange
f3aed88a10
Improved curves for allocation associations
2020-10-15 02:54:15 -07:00
Michael Lange
ef12488d1c
Fix a re-render bug with flexmasonry
2020-10-15 02:54:15 -07:00
Michael Lange
066502d408
Make the topo viz denser when there are >50 nodes
...
By hiding node details and making nodes interactive instead, we can pack
more allocations on a screen.
2020-10-15 02:54:15 -07:00
Michael Lange
6e55d8a6eb
Conditionally use the FlexMasonry layout for datacenters within TopoViz
2020-10-15 02:54:15 -07:00
Michael Lange
1602d72789
Apply FlexMasonry to the TopoViz component
2020-10-15 02:54:15 -07:00
Michael Lange
f27895c4c8
New FlexMasonry component implements a masonry layout using flexbox
2020-10-15 02:54:15 -07:00
Michael Lange
d9083fdde6
Second attempt at a masonry layout
2020-10-15 02:54:15 -07:00
Michael Lange
99746a24ac
A better loading screen for the topo viz while nodes load
2020-10-15 02:54:14 -07:00
Michael Lange
6d99f96425
Connect the memory and cpu rectangles
2020-10-15 02:54:14 -07:00
Michael Lange
0ab6b31cab
Refactor topo viz to do as much computation upfront & use faster data structures
...
Now all data loading happens in the TopoViz component as well as
computation of resource proportions.
Allocation selection state is also managed centrally uses a dedicated
structure indexed by group key (job id and task group name). This way
allocations don't need to be scanned at the node level, which is O(n) at
the best (assuming no ember overhead on recomputes).
2020-10-15 02:54:14 -07:00
Michael Lange
7d75421a75
Make the alloc select render path more efficient by not needlessly recomputing data
2020-10-15 02:54:14 -07:00
Michael Lange
872ca3dd5c
Add more variety to the node heights
2020-10-15 02:54:14 -07:00
Michael Lange
4c155b5da4
CSS Grid based masonry layout
...
TBH, it's buggy and I don't like it.
2020-10-15 02:54:14 -07:00
Michael Lange
5b55f3c740
Medium scale topo scenario
2020-10-15 02:54:14 -07:00
Michael Lange
fb1deb5c40
Updated alloc and cluster details on topo page
2020-10-15 02:54:14 -07:00
Michael Lange
24d0481889
Guard against undefined denominators
2020-10-15 02:54:14 -07:00
Michael Lange
5bc4d1f1d5
Associate sibling allocations by drawing lines
2020-10-15 02:54:14 -07:00
Michael Lange
e4907dc647
Super rough allocation details, needs some style love
2020-10-15 02:54:14 -07:00
Michael Lange
cab4e618fc
Add cluster details to the topology page
2020-10-15 02:54:13 -07:00
Michael Lange
87a902db0c
Touch up topo viz interactions
2020-10-15 02:54:13 -07:00
Michael Lange
831d27efd6
Fleshing out the first prototype of the topology visualization
2020-10-15 02:54:13 -07:00
Michael Lange
49736aed46
Tweak topo scenario
2020-10-15 02:54:13 -07:00
Michael Lange
000c00e920
Start click interaction for topo viz allocs
2020-10-15 02:54:13 -07:00
Michael Lange
78ae8fd78b
Fix factory bug that made it so pending allocs had no resources
2020-10-15 02:54:13 -07:00
Michael Lange
b347141e0c
Prototype of the topo viz
...
- Plot all datacenters
- For each datacenter, plot all nodes
- For each node, plot all allocations by memory and cpu
- For empty nodes, highlight the emptiness
- When hovering over allocations, give them visual focus
2020-10-15 02:54:13 -07:00
Michael Lange
fcf8adb76e
Quick window resize modifier
2020-10-15 02:54:13 -07:00
Michael Lange
640f1b6716
Add ember modifiers addon
2020-10-15 02:54:13 -07:00
Michael Lange
2a067d646d
Scaffold topo viz components
2020-10-15 02:54:13 -07:00
Michael Lange
f0a096119f
Small cluster example scenario for the topo viz
2020-10-15 02:54:13 -07:00
Michael Lange
1cb1ac89d7
Scaffold a new topology page
2020-10-15 02:54:12 -07:00
James Rasell
3afce2e860
Merge pull request #9084 from hashicorp/f-gh-9083-docs
...
docs: update website and changelog for GH-9083
2020-10-15 08:41:05 +02:00
James Rasell
42a6e7140f
Merge pull request #9083 from hashicorp/b-fix-enterprise-config-merge
...
agent: fix enterprise config overlay merging.
2020-10-15 08:40:49 +02:00
Jamie Finnigan
d1016cfa5f
Merge pull request #9092 from hashicorp/fix_robots_txt_format
...
Fix robots.txt to disallow indexing of all paths
2020-10-14 16:05:00 -07:00
Michael Schurter
9c3972937b
s/0.13/1.0/g
...
1.0 here we come!
2020-10-14 15:17:47 -07:00
Michael Schurter
dd09fa1a4a
Merge pull request #9055 from hashicorp/f-9017-resources
...
api: add field filters to /v1/{allocations,nodes}
2020-10-14 14:49:39 -07:00
Jamie Finnigan
f968f435ac
Fix robots.txt to disallow indexing of all paths
2020-10-14 12:45:04 -07:00