Commit Graph

15 Commits

Author SHA1 Message Date
Paul Bellamy
3fa86fe6ce adding -version flag back into app and probe for the release script 2015-08-19 10:37:02 +01:00
Peter Bourgon
7d51f173ea Probes POST to apps
- App takes POST report on /api/report
- Probe publishes to configured target(s)
- Name resolution happens on probe-side
- There's no longer an xfer.ProbePort
- xfer.Collector responsibility is reduced
- Fixes to remaining experimental components.
- rm experimental/bridge: it's not being used, and by changing the
  app/probe comm model, it would require a complete refactor anyway. We
  can easily rebuild it when we need to. It will even be much simpler.
- rm experimental/graphviz: it's broken for some time anyway, and we
  don't really need to play around with it as a rendering option
  anymore.
- rm experimental/oneshot: we never use this anymore.
2015-08-07 15:45:15 +02:00
Peter Bourgon
3fd5fbcf25 app may only log to stderr, just like probe 2015-08-06 19:30:58 +02:00
Tom Wilkie
ab07b27f52 Seed random so different apps have different ids. 2015-06-15 11:12:57 +00:00
Peter Bourgon
0ec7a8762b app: consistent dev version with probe 2015-06-12 12:57:57 +02:00
Tom Wilkie
894439a449 Prevent multiple connections for the same app. 2015-06-11 10:02:54 +00:00
Peter Bourgon
19383fcb8b Rename Resolver to staticResolver 2015-06-04 10:36:59 +00:00
Peter Bourgon
06d805db3c Refactoring of xfer/collector.go
- Add interface to xfer/collector.go
- Add some more tests
- quit field changed to make it consistent with other Stoppable components in Scope
- Add peek, only used for tests
2015-06-04 10:27:30 +00:00
Tom Wilkie
2d430895e3 Plumbing for releases stolen straight from weave. 2015-06-01 15:17:32 +00:00
Tom Wilkie
d9b54ba60b Yet More Plumbing for multi-host setup.
- Move peers from flags to args in the app
- Allow users to specify peers as IPs and hostname, both with and without ports
- Allow users to specify peers on ./scope launch, and plumb that through entrypoint.sh and run-app
- Improce ./scope usage text
- Add brief document explaining how to cluster Scope
2015-06-01 12:29:01 +00:00
Peter Bourgon
84454d1ba1 Fix errcheck errors in app 2015-05-26 16:52:29 +02:00
Tom Wilkie
b536d1161b Set git version variable at build time. 2015-05-22 13:34:23 +00:00
Peter Bourgon
64f17e682d Remove old references 2015-05-19 10:05:03 +00:00
Peter Bourgon
0e19360215 Redo import statements 2015-05-19 10:02:59 +00:00
Tom Wilkie
d50e827fd5 Intial commit 2015-05-19 10:02:02 +00:00