Commit Graph
2877 Commits
Author SHA1 Message Date
David Kaltschmidt 3dcd3e527f start with closed websocket, so that icon loads 2015-06-16 15:49:36 +02:00
David Kaltschmidt 24bd8d1908 use karma-coverage and istanbul 2015-06-16 15:41:27 +02:00
David Kaltschmidt 35e5335359 keep nodes cache intact while websocket is closed 2015-06-16 15:15:46 +02:00
Tom Wilkie 444518277c Merge pull request #233 from tomwilkie/228-rm-mapped-node
Remove MappedNode & generalise render logic
2015-06-16 12:59:50 +02:00
Tom Wilkie 1e92e7dcbd Introduce renderers; allow them to recurse. 2015-06-16 10:54:30 +00:00
Tom Wilkie e84848278a Merge pull request #234 from tomwilkie/114-docker-stats
Add docker stats to the Container Topology
2015-06-16 10:53:03 +02:00
Peter Bourgon 49ec565a04 Improve error messages during report validation 2015-06-16 10:42:40 +02:00
Tom Wilkie d71f10773f Remove MappedNode type; mappers return RenderableNodes 2015-06-15 16:25:36 +00:00
David Kaltschmidt ad5bfb67ec added info about logging to client/README 2015-06-15 18:18:06 +02:00
David Kaltschmidt c87cc872ee clear nodes cache when websocket closes connection
* also show reconnection status

fixes #162
2015-06-15 18:10:02 +02:00
Tom Wilkie 8e0395e073 Merge pull request #231 from tomwilkie/foo-debug
Squash merged reports as they come out of the LIFO, not individual reports as they come in.
2015-06-15 17:53:11 +02:00
Tom Wilkie 040f6af4c2 Squash merged reports as they come out of the LIFO, not individual reports as they come in. 2015-06-15 14:34:54 +00:00
Peter Bourgon 5fa5a7260e Merge pull request #229 from weaveworks/fix-scoping
Fix node scoping rules
v0.3.0
2015-06-15 15:02:37 +02:00
Peter Bourgon 20eb64968b probe: origin host tagger: use report.Topologies method 2015-06-15 14:58:27 +02:00
Peter Bourgon c900c17ad5 app: fix tests 2015-06-15 14:51:19 +02:00
Peter Bourgon c65aecd9e1 Fix node scoping rules
We only want to scope (i.e. prefix with hostID) those addresses that are
deemed loopback, to disambiguate them. Otherwise, we want to leave
addresses in unscoped form, so they can be matched, and links between
communicating nodes properly made.

So, we make the isLoopback check in MakeAddressID, and omit hostID if
the address isn't loopback. So far so good.

But this breaks topology rendering, as we were relying on extracting
hostID from adjacency node IDs, to populate origin hosts in the rendered
node output. So we need another way to get origin host from an arbitrary
node.

A survey revealed no reliable way to get that information from IDs in
their new form. However, we have access to node metadata, so this
changeset introduces the OriginHostTagger, which tags each node with its
origin host, via the foreign-key semantics we'll use going forward.
2015-06-15 14:36:48 +02:00
Tom Wilkie feb2cae406 Merge pull request #226 from tomwilkie/224-id
Seed random so different apps have different ids.
2015-06-15 13:13:59 +02:00
Tom Wilkie ab07b27f52 Seed random so different apps have different ids. 2015-06-15 11:12:57 +00:00
Peter Bourgon e726ee6fde make static 2015-06-15 12:54:27 +02:00
Peter Bourgon dcb23a517a bin/release: fix sed invocation 2015-06-15 12:49:47 +02:00
Peter Bourgon e44da9668b CHANGELOG.md: v0.3.0 2015-06-15 12:49:47 +02:00
Peter Bourgon 0a294a8680 Merge pull request #223 from weaveworks/dedupe-tables
Dedupe tables in detail pane
2015-06-15 11:52:14 +02:00
Peter Bourgon 032e78d99d Dedupe tables in detail pane 2015-06-15 11:20:30 +02:00
David 5627658a2e Merge pull request #222 from weaveworks/redesign-grouping
Grouping redesign
2015-06-15 10:50:55 +02:00
David Kaltschmidt cdccd5d2c0 render grouped topologies menu sent by backend 2015-06-15 10:37:24 +02:00
Peter Bourgon 3e8bdcc854 Sub-topolgies rendered in one place only 2015-06-15 10:26:22 +02:00
David c5c4fcbd63 Merge pull request #221 from weaveworks/style-pseudonodes
Styled pseudonodes pale and remove interaction
2015-06-15 09:46:17 +02:00
Peter Bourgon 086ff3b791 Change from grouped URL to sub-topologies 2015-06-12 13:23:25 +02:00
Peter Bourgon 0ec7a8762b app: consistent dev version with probe 2015-06-12 12:57:57 +02:00
Peter Bourgon 8dc44012f0 probe: don't spam logs on Darwin 2015-06-12 12:56:59 +02:00
David Kaltschmidt 816e1e9e99 layout of sub-topologies
* uses injected static topology, see web-api-utils.js
2015-06-12 11:37:49 +02:00
David Kaltschmidt 3f27086fd0 Start on grouping redesign 2015-06-12 09:41:04 +02:00
David Kaltschmidt b9563f35d7 Styled pseudonodes pale and remove interaction 2015-06-12 09:23:32 +02:00
David b10381c988 Merge pull request #220 from weaveworks/reduce-build-warnings
Reduce build warnings
2015-06-12 08:53:13 +02:00
David Kaltschmidt 49c1493c79 replaced console.log with debug package 2015-06-11 20:57:13 +02:00
David Kaltschmidt e89265ee2f suppress uglifier warnings
an exclude pattern would be nice, but no dice :(
2015-06-11 20:55:52 +02:00
Tom Wilkie a2adaa2566 Add docker stats to the Container Topology 2015-06-11 18:42:35 +00:00
David Kaltschmidt 033b4572ae removed unused topologies.js, fixes #146 2015-06-11 19:32:40 +02:00
David fa9e5a3aa3 Merge pull request #216 from weaveworks/show-gone-details
Display a n/a header in details if nodes are gone
2015-06-11 19:27:26 +02:00
David Kaltschmidt eb8a56bb1f show N/A if node disappears on remove 2015-06-11 19:19:54 +02:00
Tom Wilkie a92cbdcad0 Merge pull request #218 from tomwilkie/171-map-map-merge
All merging of RenderableNodes, such that we can merge multiple topologies.
2015-06-11 18:16:30 +01:00
Tom Wilkie 53456179e4 All merging of RenderableNodes, such that we can merge multiple topologies. 2015-06-11 17:11:10 +00:00
David c7044b87cd Merge pull request #215 from weaveworks/empty-topo-browsing
Fix back browsing after node was clicked
2015-06-11 18:58:54 +02:00
Tom Wilkie ae84861e00 Now we have merged topologies, we don't need to put so much data on the endpoint topology, or render so much info. 2015-06-11 16:57:24 +00:00
Tom Wilkie b8da9f34bc Merge pull request #209 from tomwilkie/201-validate
Add Validate method to Report & Topology.
2015-06-11 14:28:47 +01:00
Tom Wilkie c5d10867c6 Add Validate method to Report & Topology. 2015-06-11 13:27:49 +00:00
David Kaltschmidt 0f5e55db53 Display a n/a header in details if nodes are gone
fixes #193
2015-06-11 14:06:20 +02:00
David Kaltschmidt 03da5afb6b only clear nodes on topo or grouping change
fixes #133
2015-06-11 13:18:06 +02:00
David Kaltschmidt e69d7ff98c test to show back browsing is broken
after selecting a node
2015-06-11 12:44:28 +02:00
Tom Wilkie 359c054b89 Merge pull request #206 from tomwilkie/195-twixe
Prevent multiple connections for the same app.
2015-06-11 11:05:10 +01:00