2667 Commits

Author SHA1 Message Date
Asim
8cd906e75e Set TTL on first registration of http broker. Also dont resubscribe 2016-02-15 22:20:54 +00:00
Asim
f4bd7f707c Extract address for broker 2016-02-15 21:57:17 +00:00
Asim
1cc32f6259 strip platform services out of readme 2016-02-14 01:22:37 +00:00
Asim
c53a51c959 Update readme for consul syntax changes 2016-02-07 21:30:18 +00:00
Asim
de2ee66cda update the readme 2016-02-06 13:32:01 +00:00
Asim
984a546708 Rename monitor 2016-02-03 17:20:32 +00:00
Asim
9f0dd3dc8c Add transport comment 2016-01-30 21:19:55 +00:00
Asim
a53979dfed Add broker comment 2016-01-30 21:18:57 +00:00
Asim
8b9faefd92 Add metadata comment 2016-01-30 21:17:44 +00:00
Asim
0bdd3bc1b6 Add error comment 2016-01-30 21:16:45 +00:00
Asim
8edb0c4b06 Add client comment 2016-01-30 21:15:08 +00:00
Asim
146701eeaa Add some comments 2016-01-30 21:13:34 +00:00
Asim
6b7f2f3bd3 Merge pull request #45 from micro/metadata
Move context to metadata
2016-01-28 18:30:53 +00:00
Asim
b9f4e17d4c Meta key change 2016-01-28 18:24:56 +00:00
Asim
1cc621e2d6 FromContext/NewContext methods 2016-01-28 18:23:24 +00:00
Asim
d306559d8f Nitpick Headers to Header 2016-01-28 18:11:13 +00:00
Asim
9ae0956cea Move context to metadata 2016-01-28 17:55:28 +00:00
Asim
cd9801891e Merge pull request #44 from micro/ttl
TTL for Service Registration
2016-01-27 20:25:29 +00:00
Asim
dd9067ff4e Ensure the broker also expires registry entries 2016-01-27 20:17:31 +00:00
Asim
013d1de2c4 Prefer RegisterTTL set through Init 2016-01-27 12:23:18 +00:00
Asim
ef1b9bfe50 Allow setting registry address, broker address and transport address without specifying registry flag 2016-01-27 01:13:31 +00:00
Asim
61094fefe8 If TTL is nil it might bail 2016-01-27 00:32:16 +00:00
Asim
7183601d3b Strip the classic aslam comments 2016-01-27 00:26:29 +00:00
Asim
47bfdbe49e Fix mock 2016-01-27 00:18:44 +00:00
Asim
55145d08a1 Use agent service for this 2016-01-27 00:15:46 +00:00
Asim
5ec9d561a6 meh 2016-01-26 23:32:27 +00:00
Asim
ce0c5908a6 Update the watcher 2016-01-26 21:10:27 +00:00
Asim
d1d9daa572 Merge pull request #43 from micro/node
Node
2016-01-26 20:49:30 +00:00
Asim
cd13f0389f Fix this cruft 2016-01-26 20:44:29 +00:00
Asim
822cc0e5da Use ServiceID as node.ID rather than Node.... in time remove Node/Address completely 2016-01-26 20:30:05 +00:00
Asim
1cbe06413e Moving mercury example to plugins 2016-01-26 01:07:18 +00:00
Asim
51d2ce2b4f Support setting subscriber queue name 2016-01-22 21:48:43 +00:00
Asim
93ea171b31 We need the right sequence number for the stream 2016-01-21 01:03:27 +00:00
Asim
8724e68ae4 Initialise registry for broker 2016-01-20 15:22:44 +00:00
Asim
a1c22ce78a Add transport tls 2016-01-18 00:10:04 +00:00
Asim
a6ce435a07 If secure or tlsconfig not nil then secure 2016-01-17 00:33:07 +00:00
Asim
48798027d0 Move options over 2016-01-17 00:28:57 +00:00
Asim
ae2ab911ed Access tls config 2016-01-16 23:39:47 +00:00
Asim
f7c4304ac3 Don't create new options, update 2016-01-16 23:10:14 +00:00
Asim
6a44ebfd1f Add secure option. This is only really for development in the http broker 2016-01-16 23:05:11 +00:00
Asim
36e709c9f7 Fix the broker and add secure option 2016-01-16 22:13:02 +00:00
Asim
60ee085cbc Add secure option to registry 2016-01-16 20:25:18 +00:00
Asim
fb25558142 Merge pull request #42 from micro/internal_handler
Add implementation for internal handlers and subscribers.
2016-01-08 15:00:53 +00:00
Asim
f812613973 Add implementation for internal handlers and subscribers. They are not advertised to discovery 2016-01-08 14:02:32 +00:00
Asim
db8c24a971 Merge pull request #37 from jelmersnoeck/debug-interface
Debug: use the DebugHandler interface.
2016-01-07 17:55:54 +00:00
Jelmer Snoeck
3cefc39aff Debug: use the DebugHandler interface.
Without specifying the interface, DefaultDebugHandler has to be of type
*"github.com/micro/go-micro/server/debug".debug.
2016-01-07 10:15:30 +00:00
Asim
7401c44973 This is actually a useless error 2016-01-07 01:58:38 +00:00
Asim
76918fc703 Make the debug handler an actual thing that can be set by users 2016-01-06 19:24:54 +00:00
Asim
66107fd304 Merge pull request #36 from jelmersnoeck/extendable-health-checker
DebugHandler: add default health checker.
2016-01-06 17:14:59 +00:00
Jelmer Snoeck
0d749eb732 DebugHandler: add default health checker.
By using a DefaultHealthChecker - as with a DefaultName, DefaultServer,
... - it is possible to overwrite the default implementation. This means
we can now do extra actions in our health check that is necessary for
the applications specific needs.
2016-01-06 17:05:22 +00:00