Commit Graph

  • bdd9ec560b strip sub comments Asim Aslam 2020-01-19 13:47:14 +00:00
  • 0c03bf064b only connect broker if there are subscribers Asim Aslam 2020-01-19 13:45:28 +00:00
  • 9a8c1b7ab8 update broker Asim Aslam 2020-01-19 13:35:23 +00:00
  • e1ca40c1fc go fmt Asim Aslam 2020-01-19 13:32:30 +00:00
  • e75b99f89c go fmt Asim Aslam 2020-01-19 13:32:24 +00:00
  • ee7304a795 NewConfig return value error Allenxuxu 2020-01-19 16:42:05 +08:00
  • a82fd19209 handle Loader.Load return value error Allenxuxu 2020-01-19 16:31:02 +08:00
  • 1983d607f3 set nats-e Asim Aslam 2020-01-19 01:47:30 +00:00
  • 10093a0ea2 set to nats-e Asim Aslam 2020-01-19 01:29:00 +00:00
  • fc08a9146c Add broker comments on server subscribe Asim Aslam 2020-01-19 01:16:36 +00:00
  • cafd280718 Default to grpc in registry service for now Asim Aslam 2020-01-19 01:13:14 +00:00
  • 11b104677a Shift embedded nats to the default Asim Aslam 2020-01-19 00:55:01 +00:00
  • 105596a0e5 use mucp server Asim Aslam 2020-01-18 20:48:08 +00:00
  • 0a37767127 Fix service registration with registry service Asim Aslam 2020-01-18 19:53:51 +00:00
  • 31e195bac7 strip image pull policy always Asim Aslam 2020-01-18 18:37:38 +00:00
  • bdf1d20f4e extract an ip that can be advertised in embedded nats Asim Aslam 2020-01-18 15:39:26 +00:00
  • 8d6f82707a update to standard name convention shu xian 2020-01-18 23:16:23 +08:00
  • 058fd8adbf trace 1 Asim Aslam 2020-01-18 10:20:46 +00:00
  • 13d1d2fa08 hard stop if graceful stop fails after 1 second Asim Aslam 2020-01-18 10:18:23 +00:00
  • e666d0b807 add missing commit Asim Aslam 2020-01-18 02:28:44 +00:00
  • 39d7938405 Extract k8s run error Asim Aslam 2020-01-18 02:13:24 +00:00
  • 65df711b01 move nats local logic Asim Aslam 2020-01-18 01:29:53 +00:00
  • fd6eb23307 do not wait to stop Asim Aslam 2020-01-18 00:58:27 +00:00
  • fb3927fb8c Merge pull request #1126 from milosgajdos83/metric-update Asim Aslam 2020-01-17 18:29:55 +00:00
  • 891af703be Update route metric when receiving Sync routes Milos Gajdos 2020-01-17 18:24:36 +00:00
  • 474472eedd Merge pull request #1124 from milosgajdos83/flush-advert-query Asim Aslam 2020-01-17 16:49:11 +00:00
  • 23d65145e6 Use the same logic for advertising routes in Router and Network Milos Gajdos 2020-01-17 16:25:18 +00:00
  • 9ea4919b9b rename mucp source directory to service shu xian 2020-01-17 23:53:33 +08:00
  • f78e30770e Merge pull request #1123 from milosgajdos83/sync-metric Asim Aslam 2020-01-17 15:44:49 +00:00
  • bf9f319cdf Update route metric before sending the Sync message Milos Gajdos 2020-01-17 15:35:51 +00:00
  • ad28b72dd3 rename mucpSource to service shu xian 2020-01-17 23:27:41 +08:00
  • 8425ae77f8 Merge pull request #1122 from micro/blocking Asim Aslam 2020-01-17 15:24:03 +00:00
  • d7b9b2713b don't block forever Asim Aslam 2020-01-17 15:23:10 +00:00
  • be788415ad minor runtime fixes Asim Aslam 2020-01-17 14:14:47 +00:00
  • a03791c581 set DefaultClient shu xian 2020-01-17 21:32:00 +08:00
  • ee922a3da6 Merge pull request #1121 from milosgajdos83/no-routes-found Asim Aslam 2020-01-17 13:05:47 +00:00
  • 624f1c1980 Continue processing Sync if no routes were returned from router Query Milos Gajdos 2020-01-17 12:58:13 +00:00
  • 607a226e34 Updated debug logs to make them less verbose Milos Gajdos 2020-01-17 12:14:56 +00:00
  • bac1bbfd97 Merge pull request #1120 from milosgajdos83/remove-solicit Asim Aslam 2020-01-16 20:02:05 +00:00
  • 7f9b3b5556 Remove Solicitation from the network Milos Gajdos 2020-01-16 19:43:10 +00:00
  • ba12513199 Merge pull request #1119 from milosgajdos83/sync-best-routes-only Asim Aslam 2020-01-16 18:17:26 +00:00
  • 8fcfbc0d20 Strip unnecessary continue statement Milos Gajdos 2020-01-16 17:33:53 +00:00
  • 472186c1be Code consistency. Small bug fix. Milos Gajdos 2020-01-16 17:04:04 +00:00
  • 60c05bd899 Find the best routes in the routes we would advertise based on Strategy Milos Gajdos 2020-01-16 16:53:39 +00:00
  • 793e6013e5 Advertise routes with configured strategy. Simplify Sync apply logic Milos Gajdos 2020-01-16 16:42:23 +00:00
  • 071ab7aede add mucp for config/source shu xian 2020-01-17 00:10:15 +08:00
  • eda8b00f84 Send only best routes via Sync. Only apply best routes. Milos Gajdos 2020-01-16 16:08:49 +00:00
  • eac2ab3c28 Merge pull request #1117 from micro/scheduler Asim Aslam 2020-01-16 13:41:13 +00:00
  • 76fba34c2f Merge pull request #1116 from milosgajdos83/query-strategy Asim Aslam 2020-01-16 13:39:39 +00:00
  • 491a42d352 Switch notifier to scheduler Asim Aslam 2020-01-16 13:34:04 +00:00
  • 5e85194a13 QueryStrategy to allow querying routes based on Advertising Strategy Milos Gajdos 2020-01-16 12:48:36 +00:00
  • 689ae7cfc7 Storing tunnel.Session rather than transport.Client Asim Aslam 2020-01-16 00:28:58 +00:00
  • 19dbd77402 fix net masking in listed routes Asim Aslam 2020-01-16 00:12:38 +00:00
  • b194b3adc9 Merge pull request #1115 from micro/net-mask Asim Aslam 2020-01-15 23:13:53 +00:00
  • 33a9b3bc17 mask the route before sending Asim Aslam 2020-01-15 23:06:58 +00:00
  • 6562154573 Fix the next panic Asim Aslam 2020-01-15 21:38:37 +00:00
  • b32ebddf85 update nlopes/slack dep Asim Aslam 2020-01-15 21:22:07 +00:00
  • b3e3dac975 Merge branch 'master' of ssh://github.com/micro/go-micro Asim Aslam 2020-01-15 21:02:58 +00:00
  • f20e4daa60 fix rand panic Asim Aslam 2020-01-15 21:02:53 +00:00
  • f67d87e99d Merge pull request #1114 from milosgajdos83/network-backward-compatibility Asim Aslam 2020-01-15 19:57:57 +00:00
  • 36928b716c Fixed bug:m network.proto backwards compatibility unmarshal Milos Gajdos 2020-01-15 19:45:43 +00:00
  • 7c7b0ced5f Merge pull request #1104 from milosgajdos83/network-hackery Asim Aslam 2020-01-14 20:28:32 +00:00
  • c67ef7e017 Bug fix: skip sending sync message if the peer is not in our graph Milos Gajdos 2020-01-14 19:37:50 +00:00
  • dcd925f1e5 Code cleanup; Indentation. Milos Gajdos 2020-01-14 18:48:42 +00:00
  • 0ea56a5ffe Fixed tests Milos Gajdos 2020-01-14 18:22:58 +00:00
  • 821fda41ae Added Status method to network.Node fixed random segfaults. Milos Gajdos 2020-01-14 18:12:36 +00:00
  • 1d311ab457 Embedded NATS Broker (#1110) Asim Aslam 2020-01-14 13:23:16 +00:00
  • b699d969e4 if the address is produced by a default route don't hash it (#1108) Asim Aslam 2020-01-14 11:20:13 +00:00
  • 994d371ff1 Removed redundant comments. Add proper PruneStalePeers test. Milos Gajdos 2020-01-14 10:49:34 +00:00
  • a91dad04ee Increment node error count and prune when Max limit is hit Milos Gajdos 2020-01-13 22:22:12 +00:00
  • b4261e8cf9 Updated log and comments Milos Gajdos 2020-01-13 20:07:10 +00:00
  • efcac3d009 Define tunnel errors Milos Gajdos 2020-01-13 20:06:02 +00:00
  • 770c7686ba Fix nasty bug when graph action may not have been executed in some branches Milos Gajdos 2020-01-13 20:02:56 +00:00
  • 11904e1137 Regular sync with network every 5 minutes. Apply routes before peering. Milos Gajdos 2020-01-10 19:02:42 +00:00
  • 1e009e52dd Avoid having the same log statements in initNodes and resolveNodes Milos Gajdos 2020-01-10 12:27:49 +00:00
  • bf42c028fb Added sync message. Refactored connect flow. Adverts are gossipped. Milos Gajdos 2020-01-10 11:57:34 +00:00
  • 0a4bd02503 Add RefreshSync method for Sync bookkeeping Milos Gajdos 2020-01-10 10:43:07 +00:00
  • 63edfaa852 Added Sync message Milos Gajdos 2020-01-09 17:49:06 +00:00
  • 802cc8239a Send solicit message properly. Updated comments. Milos Gajdos 2020-01-09 17:48:28 +00:00
  • 75b1a62af3 Replace service prefix with FQDN style prefix (#1107) Matthew Costa 2020-01-12 14:37:12 +00:00
  • 50b20413d3 RPC stream client/server mutex fix (#884) Maarten Bezemer 2020-01-12 10:13:14 +01:00
  • fa5b3ee9d9 config/reader.Values add Set for specific path merge (#1099) Shu xian 2020-01-12 04:50:09 +08:00
  • f50a50eeb3 go fmt Asim Aslam 2020-01-10 21:54:36 +00:00
  • e1e6199743 normalise runtime service status Asim Aslam 2020-01-10 21:54:28 +00:00
  • 61dd2b8489 Merge branch 'master' of ssh://github.com/micro/go-micro Asim Aslam 2020-01-10 19:13:59 +00:00
  • 6ca298c61d set default store, fix store options bug, add String method Asim Aslam 2020-01-10 19:13:55 +00:00
  • f4fb923fb2 pass additional context for broker subscribe (#1105) Vasiliy Tolstov 2020-01-10 18:04:15 +03:00
  • 32a2005f6d add option for web service signal handler (#1091) shikbupt 2020-01-10 22:25:28 +08:00
  • 37d1139a57 ensure we close the grpc stream (#1098) Asim Aslam 2020-01-09 17:00:14 +00:00
  • a90a74c9e2 Change the store interface to remove variadic args (#1095) Asim Aslam 2020-01-08 22:23:14 +00:00
  • 78aed5beed Fixed tunnel race conditions. (#1094) Milos Gajdos 2020-01-08 14:48:38 +00:00
  • 59fccb82ec Updated comments. Tiny cleanup changes. (#1093) Milos Gajdos 2020-01-08 13:18:11 +00:00
  • 048065fe96 support ability to set store, address and namespace via flags and env vars (#1092) Asim Aslam 2020-01-08 12:11:31 +00:00
  • 0b8ff3a8bb fix grpc json streaming by setting content sub type (#1089) Asim Aslam 2020-01-07 18:37:34 +00:00
  • 1892bd05a5 only add api endpoint metadata if it exists (#1087) Asim Aslam 2020-01-06 22:22:36 +00:00
  • be6e8a7c78 add store to defaults (#1086) Asim Aslam 2020-01-06 17:44:32 +00:00
  • df9055f69c continue to process messages even after the connection is closed Asim Aslam 2020-01-03 20:43:53 +00:00
  • 649dd235c3 Merge branch 'master' of ssh://github.com/micro/go-micro Asim Aslam 2020-01-03 19:46:24 +00:00
  • 1af82df8b1 Check link is grpc Asim Aslam 2020-01-03 19:46:14 +00:00
  • 7098e59b5c remove ignore error in method publish (#1075) Eagle Wu 2020-01-04 01:24:20 +08:00