Commit Graph

788 Commits

Author SHA1 Message Date
Tom Wilkie
ab83f41dba Add integration test for short lived connections from the internet. 2015-10-02 10:19:23 +00:00
Tom Wilkie
d3aa975eb9 In containers view, show short lived connections to/from the internet by including port mappings in the join. 2015-10-01 16:31:38 +00:00
Peter Bourgon
8a2fa22858 Merge pull request #529 from weaveworks/release-0.8.0
Release 0.8.0
2015-10-01 18:14:36 +02:00
Peter Bourgon
4a7a7a6dda Another fix from the old release script 2015-10-01 10:54:24 -04:00
Peter Bourgon
81aa92d13b Show why some nodes are filtered in applications view 2015-10-01 15:57:04 +02:00
Peter Bourgon
e14e2a878e Make report swapping less fragile 2015-10-01 14:42:01 +02:00
Tom Wilkie
092167f5de Don't allow lagging report generation to prevent report publication. 2015-10-01 11:13:50 +00:00
Peter Bourgon
79356100d7 We don't 'make test', we do something else 2015-10-01 10:44:13 +02:00
Peter Bourgon
e8ddecebd1 Fix -tags netgo 2015-10-01 10:17:06 +02:00
Tom Wilkie
bc31c11ec0 Add make update to force a refresh of dependancies. 2015-10-01 08:01:20 +00:00
Peter Bourgon
6744a3677f Latest bin/release script from weave repo 2015-10-01 10:00:21 +02:00
Peter Bourgon
9e48528ab9 Merge pull request #525 from weaveworks/runsvinit-update
vendor/runsvinit: update vendored copy
2015-09-30 17:40:23 +02:00
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
2a957044fb CHANGELOG: Remove mention of unit and integration test coverage v0.8.0 2015-09-30 11:16:02 +02:00
Peter Bourgon
e1ea2b234b make static 2015-09-30 05:14:51 -04:00
Peter Bourgon
cf05284fb9 0.8.0: update CHANGELOG 2015-09-30 10:07:52 +02:00
Peter Bourgon
5813211f0c vendor/runsvinit: update vendored copy 2015-09-29 14:29:28 +02: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