Commit Graph

629 Commits

Author SHA1 Message Date
Peter Bourgon
f259f9306d Applications (expr) topology 2015-09-10 18:45:41 +02:00
Peter Bourgon
a94731c59b First cut: expression engine to RenderableNodes 2015-09-09 15:46:49 +02:00
Peter Bourgon
30cb5299cf ParseNetworks belongs in report 2015-09-09 12:59:20 +02:00
Tom Wilkie
bd2a75687f make static 2015-09-07 21:12:07 +00:00
David
453f1bc744 Merge pull request #455 from weaveworks/454-option-api
Apply topology options to detail API
2015-09-07 18:49:59 +02:00
David Kaltschmidt
b698006e04 Apply topology options to detail API
Fixes #454
2015-09-07 18:21:58 +02:00
Peter Bourgon
e81efe6c14 make static 2015-09-07 11:10:48 -04:00
Peter Bourgon
3a48abf380 Merge pull request #420 from weaveworks/without-system-containers
Add filtering options to views; add options for filtering out system containers & unconnected containers.
2015-09-07 16:51:55 +02:00
David Kaltschmidt
27caf0af41 Add dropdown field for topology options, save topology option in url state
- fix nodes reset after topology option change
- set topology on click
- explicitly set default topology options
- set default topo options when topos are received
- prevent JS error on too many nodes layout abort
2015-09-07 14:25:49 +00:00
Peter Bourgon
1dfc725706 Filter system containers from topologies; add API to control filters. 2015-09-07 14:24:15 +00:00
Tom Wilkie
6a6622e398 Merge pull request #453 from weaveworks/452-ellipses
Don't send numeric=true for connections table.
2015-09-07 15:19:22 +01:00
Tom Wilkie
303e11be6a Don't send numeric=true for connections table. 2015-09-07 13:06:13 +00:00
Tom Wilkie
9ab98baafc Merge pull request #451 from weaveworks/reverse-resolver-fix
Small improvements to reverse resolver
2015-09-07 11:43:47 +01:00
Tom Wilkie
4da819b18c Merge pull request #449 from weaveworks/447-short-lived-in-apps
Prevent short lived connections appearing as pseudo nodes in the applications view.
2015-09-07 11:32:38 +01:00
Tom Wilkie
f5d6872c51 Don't rate limit requests that have already been resolved, and cache negative responses. 2015-09-07 10:30:16 +00:00
Alvaro
d3c7138499 Merge pull request #404 from weaveworks/scope-364
reverse resolutions for remote side of connections.
2015-09-07 10:55:12 +02:00
Peter Bourgon
7513b4e396 Wrap comments at 80col throughout the fileset 2015-09-07 10:36:35 +02:00
Tom Wilkie
85bfcddb3f Prevent short lived connections appearing as pseudo nodes in the applications view. 2015-09-06 16:26:57 +00:00
Tom Wilkie
ad6702a196 Some review feedback. 2015-09-05 19:39:22 +00:00
Paul Bellamy
9526663d6d Merge pull request #437 from weaveworks/436-container-image-name-in-rank
Make container rank the image _name_
2015-09-04 17:08:59 +01:00
Tom Wilkie
a454a68841 Merge pull request #443 from weaveworks/442-blank-app
Fix JS error on missing edge target
2015-09-04 16:28:39 +01:00
Alvaro Saurin
15e25edc40 New asynchronous, caching DNS resolver for reverse resolutions
Add nodes for the remote side of connections iff we have a DNS reverse resolution for the IP.
Unit test for the resolver
2015-09-04 17:21:45 +02:00
Tom Wilkie
31f7262d20 Merge pull request #440 from weaveworks/go-1.5
Make scope compile under go 1.5
2015-09-04 16:11:21 +01:00
David Kaltschmidt
398fb7a6ba fix JS error on missing edge target
* replace mergeDeep with merge on node updates to set adjacency to
  updated value
* added json-loader to make json import of websocket frames easier
* console message for this was `Cannot read property 'id' of undefined`
2015-09-04 15:44:11 +02:00
Tom Wilkie
6e7a22ecae Update example app to include a loadbalancer. 2015-09-04 13:07:29 +00:00
Tom Wilkie
31f1fbee6d Make scope compile under go 1.5 2015-09-04 12:01:32 +00:00
Tom Wilkie
ccf6c1fdca Make container rank the image _name_ 2015-09-04 10:16:17 +00:00
David
1c21feac07 Merge pull request #435 from weaveworks/rank-color
Color nodes by rank
2015-09-04 11:32:41 +02:00
David Kaltschmidt
44e62e3c19 color nodes by rank 2015-09-04 11:31:17 +02:00
Tom Wilkie
fb37763574 Merge pull request #434 from weaveworks/356-nodemetadata-to-node-rename
Rename NodeMetadata -> Node
2015-09-03 17:37:19 +01:00
Tom Wilkie
57f7b4f2e6 Rename NodeMetadata -> Node 2015-09-03 16:18:54 +00:00
Tom Wilkie
8610151518 Merge pull request #425 from weaveworks/357-no-more-leaf-map
Remove LeafMap - have a generic function which converts a Topology to RenderableNodes
2015-09-03 11:29:03 +01:00
Tom Wilkie
d09a853fb2 Show container image details for containers. 2015-09-03 10:26:13 +00:00
Tom Wilkie
9ba38d71cc Review feedback 2015-09-03 10:19:27 +00:00
Tom Wilkie
892ecf78bb Merge pull request #431 from weaveworks/427-resolvers-flaky
Wait longer for resolver goroutine to stop.
2015-09-03 11:11:24 +01:00
Tom Wilkie
9ab22bd8dc Wait longer for the goroutine to stop. 2015-09-03 08:33:15 +00:00
David
0eccd9a6b9 Merge pull request #430 from weaveworks/413-trim-node-title
Trim node titles in graph
2015-09-03 09:45:19 +02:00
David
37e11d32d6 Merge pull request #429 from weaveworks/413-418-trim
Trim long container names and labels in details
2015-09-02 18:54:29 +02:00
David Kaltschmidt
a439c7ca97 trim node titles in graph via JS
fix for #413

Sadly, the title attribute to show something on hover does not work in
SVG. So we might need another solution for that.
2015-09-02 18:53:04 +02:00
David Kaltschmidt
e08d533b72 truncate details table titles as well 2015-09-02 18:09:36 +02:00
David Kaltschmidt
3fd98df8ac add row keys to keep react happy 2015-09-02 18:05:26 +02:00
David Kaltschmidt
9b8a314742 Trim long container names and labels in details
fixes #418
2015-09-02 17:45:07 +02:00
Tom Wilkie
21675f3000 Remove LeafMap - have a generic function which converts a Topology to a RenderableNodes. 2015-09-02 15:03:57 +00:00
Tom Wilkie
fa05e9bb9e Merge pull request #421 from weaveworks/357-edgemetadata
Move EdgeMetadata into the NodeMetadata struct.
2015-09-02 15:47:53 +01:00
David Kaltschmidt
e8ec3ed5fc fix nodes immutable after socket opens
fix for PR #410
2015-09-02 16:38:24 +02:00
Tom Wilkie
144a798602 Review Feedback 2015-09-02 14:32:47 +00:00
Tom Wilkie
afc2788777 Move EdgeMetadata into the NodeMetadata struct. 2015-09-02 14:32:44 +00:00
David
001e041f0d Merge pull request #410 from weaveworks/immutable
Use immutable objects for storing nodes in browser
2015-09-02 16:06:52 +02:00
David Kaltschmidt
2e50f6ae76 add test to check for detail pane titles 2015-09-02 16:00:28 +02:00
David Kaltschmidt
b17d958b07 use immutable objects for storing nodes
makes checking for topology changes easier, which triggers fewer
re-renders
fix JS store tests with Immutables
only update graph if topology changed
2015-09-02 16:00:28 +02:00