4215 Commits

Author SHA1 Message Date
Asim
6c108d95b2 First attempt at mdns 2016-04-27 18:21:05 +01:00
Asim Aslam
65a880fadd Merge pull request #78 from micro/cache
Caching Selector
2016-04-26 20:06:03 +01:00
Asim
04e0864df4 Add the link to cmd 2016-04-26 18:54:35 +01:00
Asim
1152b63c5d Merge branch 'master' into cache 2016-04-26 18:53:39 +01:00
Asim
e8b5cebb52 Remove that link 2016-04-26 18:52:17 +01:00
Asim
9d8e5d1e15 Add caching selector 2016-04-26 18:49:29 +01:00
Asim
3d3044404e Don't add to defaults in func init, just add them to cmd 2016-04-26 18:49:02 +01:00
Asim
f7c57fd4f4 Mock watcher that just blocks 2016-04-26 18:32:43 +01:00
Asim
decb70b97c Response type for Stream is an interface 2016-04-26 15:52:08 +01:00
Asim
b0bc806a57 Add sponsors 2016-04-26 12:18:18 +01:00
Asim Aslam
6f81b48f8e Merge pull request #75 from micro/mqtt
MQTT Broker
2016-04-25 22:19:40 +01:00
Asim
545cd22daf Commit fixes for MQTT 2016-04-25 22:15:01 +01:00
Asim
48d191c3eb Test to the best of our ability 2016-04-24 20:07:24 +01:00
Asim Aslam
2fd476a16f Merge pull request #76 from micro/selector
Add Label and Version based Filters
2016-04-23 21:42:53 +01:00
Asim
d6fdfc252e Make it easier to add select filters 2016-04-23 21:37:26 +01:00
Asim
ed764ca0b2 Add endpoint filter 2016-04-23 21:24:07 +01:00
Asim
febe87dfb8 Switch around method names 2016-04-23 21:09:48 +01:00
Asim
7c3ce60ce6 Add label and version filters 2016-04-23 20:57:46 +01:00
Asim
4d4f842702 Change SelectFilter to Filter 2016-04-23 20:15:01 +01:00
Asim
eecdeaae99 Fix the mqtt broker connect. Add to default brokers in cmd 2016-04-23 00:38:45 +01:00
Asim
d74cf95278 First for mqtt broker 2016-04-23 00:06:29 +01:00
Asim
a4c05fd6ad update image 2016-04-22 10:34:32 +01:00
Asim
03b3a53407 add the image itself\! 2016-04-22 10:33:08 +01:00
Asim
7a081e5514 Add image 2016-04-22 10:32:46 +01:00
Asim Aslam
f27b2b8c73 Merge pull request #74 from micro/convenience
Convenience settings for Broker, Registry, Transport and Wrappers
2016-04-19 18:56:23 +01:00
Asim
47d146daa4 That should be i-1 2016-04-19 00:47:15 +01:00
Asim
d1a6126350 Convenience settings for Broker, Registry, Transport and Wrappers 2016-04-18 21:41:03 +01:00
Asim
ca91a8383e Add mock server 2016-04-16 00:02:55 +01:00
Asim
089c457d6c Appending to metadata is a side effect. Let's not do that anymore. 2016-04-15 16:45:59 +01:00
Asim
0410508385 add link to blog post 2016-04-13 11:30:17 +01:00
Asim Aslam
0e93f0772a Merge pull request #73 from micro/consul_register
Don't re-register if the state hasn't changed
2016-04-10 23:07:29 +01:00
Asim
e2855c4bc2 Fix some mapping issues while we're at it 2016-04-09 22:19:03 +01:00
Asim
9d7bd3f424 God damn you nil map 2016-04-09 21:34:45 +01:00
Asim
b3fbd36ba7 Don't re-register if the state hasn't changed 2016-04-09 21:30:31 +01:00
Asim
7739e23401 Call it mock TestResponse 2016-04-06 18:38:33 +01:00
Asim
9d060bf6e1 Test struct works with mock client 2016-04-06 18:37:46 +01:00
Asim
ac6b8b730b First stab at mock client 2016-04-06 18:33:57 +01:00
Asim
bfe20d81d0 More linting fun 2016-04-06 18:03:27 +01:00
Asim
2f50c74f41 Satisfy the golint gods a little 2016-04-06 17:53:16 +01:00
Asim Aslam
5fb1051e0b Merge pull request #70 from micro/backoff
Add Backoff func option
2016-04-06 17:43:39 +01:00
Asim
7167f998ce First crack at backoff function 2016-04-05 20:04:37 +01:00
Asim
56c6993eb8 Set CallOptions as struct in Options. Can then be overridden easily during Call/Stream 2016-04-05 18:07:07 +01:00
Asim Aslam
c462d7776c Merge pull request #63 from micro/encoding
Fix Consul WARN issues for tags
2016-04-05 16:14:28 +01:00
Asim Aslam
de2f407e3d Merge pull request #69 from jelmersnoeck/fix-accept-return
HTTPTransport: implement queue for listener.
2016-04-01 13:39:38 +01:00
Jelmer Snoeck
af0028d821 HTTPTransport: implement queue for listener.
Before this patch, when an error occurs in trying to accept a connection
from the listener, the error would be returned. This also happened on
temporary issues like `too many open files`.

Temporary issues are "self-healing" and will resolve over time. This
means that we can put the requests in a queue to wait until the issue is
resolved and start processing the connections once it is resolved.

This patch implements such mechanism, as copied from the standard
library http package. It will retry temporary errors but will return
permanent errors (or errors that are not from the net.Error type).
2016-04-01 13:10:18 +01:00
Asim Aslam
ce283ab233 Merge pull request #68 from boyand/master
Avoid unsafe dereferencing
2016-04-01 09:42:17 +01:00
Boyan Dimitrov
5718ce5697 Avoid unsafe dereferencing 2016-04-01 10:28:52 +02:00
Asim
17a97e2ef1 Set ver 2016-03-29 18:32:16 +01:00
Asim
cb89b2ebca update encoding test 2016-03-29 18:16:55 +01:00
Asim
61178d1b45 Update encoding to be backwards compatible. 2016-03-29 17:44:46 +01:00