Paul Bellamy
58ef2b5836
Merge pull request #524 from weaveworks/testing
...
Move bulk of scope script logic into entrypoint.sh, extend testing
2015-09-30 15:29:41 +01:00
Tom Wilkie
88686b5c6c
Review Feedback
2015-09-30 13:40:25 +00:00
Tom Wilkie
af4a35c67d
Don't leak goroutines in multi publisher; fixes #531
2015-09-30 11:55:55 +00:00
Tom Wilkie
68e3bdac44
Poll DNS every 10s
2015-09-30 11:55:53 +00:00
Tom Wilkie
206a56b1ad
Do all weave operations from within the container
...
Fixes #523
2015-09-30 11:54:38 +00:00
Tom Wilkie
8a8520ffc9
Make integration test check API responses contain expected containers.
...
Also
- Add test for clustering without weave.
- Update test template for docker 1.8
- Prefetch images
- Stop all containers when test finishes.
- Add small sleep after weave launch, and supply all the hosts to ensure IPAM works correctly.
2015-09-30 11:54:15 +00:00
Peter Bourgon
b78be6a71b
xfer: fix TestBackgroundPublisher
2015-09-29 13:32:52 +02:00
Peter Bourgon
7d52685b5f
Merge pull request #503 from weaveworks/shutdown
...
Shutdown behavior
2015-09-29 12:02:23 +02:00
Peter Bourgon
36b743fe1f
probe, app: reliable shutdown
...
- Restructure main funcs for clean defer-stack-unwinds
- Fix Docker container to handle signals properly
- Introduce runsvinit for container init process
- Integration test
2015-09-29 11:45:12 +02:00
Tom Wilkie
9281e27a38
Merge pull request #519 from weaveworks/509-filtered-stats
...
Report number of filtered nodes in topology stats.
2015-09-29 10:23:45 +01:00
David Kaltschmidt
2d7e546ae5
Render filtered node count in status bar
...
* always set updated topology object when received
* track whether route was set on initial load
* removed connection count from status bar (was not deemed important)
* fixed issue where topology option changes did not affect details pane
* only show filtered nodes when count > 0
* clear nodes graph when empty topology is loaded
* also prevent JS error if nodes are hovered over that should be gone
* fixed options sync issue between graph and status bar
* implemented topology options with immutable DS
2015-09-29 08:51:56 +00:00
Tom Wilkie
5c0555ae39
Report number of filtered nodes in topology stats.
...
Include filtered psuedo nodes in stats.
2015-09-29 08:51:38 +00:00
Tom Wilkie
ff6f87d404
Merge pull request #521 from weaveworks/testing
...
Test for BackgroundPublisher
2015-09-28 08:47:54 +01:00
Tom Wilkie
8265abad8b
Test for BackgroundPublisher
2015-09-25 09:09:31 +00:00
Peter Bourgon
b323388a92
Merge pull request #485 from weaveworks/463-dedupe-probe-posts
...
Dedupe probe POSTs
2015-09-25 10:10:21 +02:00
Tom Wilkie
fa4cbf49e6
Merge pull request #518 from weaveworks/373-edge-directionality
...
When flattening edge metadata and propagating to the server end of the edge, reverse the direction of the metadata.
2015-09-25 10:58:44 +08:00
Peter Bourgon
8602132ab6
Move concurrency from resolve to HTTP GET
...
- Process DNS resolution serially
- Process up to 10 HTTP GET (for app ID) concurrently
More than 10 concurrent GET requests will block on the semaphore. This
will cause the staticResolver.resolve method to block, which is probably
fine: it will just delay the next resolve loop, currently at 1m
intervals.
To make this a little bit more robust, I've also added a fastClient for
app ID resolution, with a timeout (total, including connect, request,
and response) of 5s.
2015-09-24 16:56:37 +02:00
Peter Bourgon
eccc74aafe
Make the resolver concurrent
2015-09-24 16:11:55 +02:00
Peter Bourgon
790da39f04
Publish an io.Reader, not a bytes.Buffer
2015-09-24 16:11:55 +02:00
Peter Bourgon
eca45ca9d5
Need to copy the buffer in the MultiPublisher
2015-09-24 16:11:55 +02:00
Peter Bourgon
c818f08c06
Refactor MultiPublisher
...
- Set instead of Add, to allow replacement of endpoints
- Break out individual Publishers to their own files and tests
2015-09-24 16:11:55 +02:00
Peter Bourgon
64fdf6a780
common/sanitize + relevant updates
2015-09-24 16:11:54 +02:00
Peter Bourgon
822c09370e
app: show unique ID in /api
2015-09-24 16:11:54 +02:00
Paul Bellamy
effce2b07b
Merge pull request #517 from weaveworks/testing
...
More testing
2015-09-24 10:33:51 +01:00
Tom Wilkie
92b5b639dd
Extend docker module testing.
2015-09-24 05:30:40 +00:00
Tom Wilkie
50e20b1a34
When flattening edge metadata and propagating to the server end of the edge, reverse the direction of the metadata.
2015-09-24 05:28:40 +00:00
Tom Wilkie
487a97e9f2
Merge pull request #516 from weaveworks/extract-capture
...
probe/sniff: move to experimental
2015-09-24 12:25:38 +08:00
Tom Wilkie
dd696cd6ee
Merge pull request #515 from weaveworks/testing
...
Remove some duplicate functionality, add some basic tests.
2015-09-24 12:24:10 +08:00
Tom Wilkie
e2dfcb1def
Review feedback
2015-09-24 03:07:20 +00:00
Peter Bourgon
c607ee00d8
probe/sniff: move to experimental
...
Resolves #466
2015-09-23 14:38:41 +02:00
Tom Wilkie
7da599194d
Test the nat mapper.
2015-09-23 11:01:29 +00:00
Tom Wilkie
cdf051ffe9
Test counter merging.
2015-09-23 09:53:40 +00:00
Tom Wilkie
f9815afad3
Remove some duplicate functionality, add some basic tests.
2015-09-23 09:46:11 +00:00
Tom Wilkie
d8a3372b2b
Merge pull request #512 from weaveworks/483-filter-unconnected-pseudo-nodes
...
Remove pseudo nodes that are made unconnected by filtering.
2015-09-23 16:04:44 +08:00
Tom Wilkie
233b29d822
Merge pull request #513 from weaveworks/416-audit-add-node-usage
...
Audit uses to Topology.Nodes, use AddNode where appropriate.
2015-09-23 16:02:10 +08:00
Tom Wilkie
e620699201
Merge pull request #508 from weaveworks/506-conntrack-error
...
Don't fail if there are no existing NAT mappings.
2015-09-23 16:00:30 +08:00
Tom Wilkie
792e274745
Audit uses to Topology.Nodes, use AddNode where appropriate.
2015-09-23 07:36:51 +00:00
Tom Wilkie
9e72ef1a1f
Remove pseudo nodes that are made unconnected by filtering.
2015-09-23 07:02:55 +00:00
Tom Wilkie
b9ffca42e5
Don't fail if there are no existing nat mappings.
2015-09-23 03:35:53 +00:00
Tom Wilkie
5f82478452
Merge pull request #428 from weaveworks/398-container-details
...
Show container image details for containers.
2015-09-22 18:32:36 +08:00
Tom Wilkie
15417b6b02
Show container image details for containers.
2015-09-22 05:48:18 +00:00
Alfonso Acosta
bd58e91e18
Make static
2015-09-21 13:56:38 +00:00
David
f1b8e01bb4
Merge pull request #498 from weaveworks/496-bounce
...
Dont shift canvas after it has been autoshifted
2015-09-21 15:15:00 +02:00
David Kaltschmidt
a3597c9639
Fix zooming and autoshift
...
* track panning to not trigger mouse up event
* offset angle for circle
* fixed panning/zooming
* center the center node if radius bigger than screen
2015-09-21 11:44:26 +02:00
David Kaltschmidt
808fc55832
filter loopback adjacents on radial layout
...
needed to adjust size of nodes, too
2015-09-18 18:08:35 +02:00
David Kaltschmidt
6e3883d07e
Dont shift canvas after it has been autoshifted
2015-09-18 18:07:52 +02:00
David
79bf8badd7
Merge pull request #501 from weaveworks/495-cover-nodes
...
Dont cover other nodes on radial layout
2015-09-18 18:07:00 +02:00
David Kaltschmidt
1cce7e514e
animate node zoom on focus
2015-09-18 17:58:34 +02:00
David
a557769b78
Merge pull request #494 from weaveworks/474-toomanynodes
...
Show message in UI when topology too big to render
2015-09-18 17:20:57 +02:00
David Kaltschmidt
5b4e084c01
Dont cover other nodes on radial layout
...
* shift center of radial layout a bit
* shrink blurred nodes
* blow up focused nodes a bit
2015-09-16 21:05:12 +02:00