Milos Gajdos
da18ea4ab5
Changed default router table modifications. Entry is now Route.
2019-06-19 18:03:41 +01:00
Milos Gajdos
459f4c8387
Added Router ID and query options to limit number of results
2019-06-19 18:03:41 +01:00
Milos Gajdos
9c57f32f58
Added Entry type. Basic implementation of Router and Table
2019-06-19 18:03:41 +01:00
Milos Gajdos
ad92e6821e
Removed DefaultTable() from global vars
...
We will not initialize DefaultTable as global var unless the users asks
for it explicitly.
2019-06-19 18:03:41 +01:00
Milos Gajdos
d7f0db04ec
Added network ID option. Added mutex to routing table.
2019-06-19 18:03:41 +01:00
Milos Gajdos
e4311c3a10
Redefined and polished some interfaces and data structures.
2019-06-19 18:03:41 +01:00
Milos Gajdos
ee8b6b3114
Redefeind interfaces; Added better modelled data strauctures
...
Router interface has been redefined which fits better with what we are
looking for.
Routing table now offers a comprehensive set of information about its
entries which will make up for rich queries in the future
Query interface has been defined to enable current basic and more
advanced queries in the future.
2019-06-19 18:03:41 +01:00
Milos Gajdos
08da7c1283
First commit: Outline of Router interface
2019-06-19 18:03:40 +01:00
Asim Aslam
6587ae07be
Merge pull request #523 from micro/grpc
...
GRPC Proxy
2019-06-19 15:31:45 +01:00
Asim Aslam
1c1dae0642
Fix the grpc test
2019-06-19 12:34:45 +01:00
Asim Aslam
a0cb105cf6
Merge pull request #525 from magodo/consul_config_prefix_no_leading_slash
...
`prefix` in consul api starts with no leading slash
2019-06-19 08:12:35 +01:00
magodo
606b1ff7cf
prefix
in consul api starts with no leading slash
...
When `consul.StripPrefix(true)` is set, current impl. will pass the
specified prefix (or default prefix) when calling consul api.
However, `prefix` in consul api starts with no leading slash, so
the default prefix (`/micro/config`) doesn't actually work.
I avoid code changes (esp. the one in `util.go`) to eliminate
impact on users who already notice it.
2019-06-19 14:42:09 +08:00
Asim Aslam
73a8b14145
Merge pull request #524 from milosgajdos83/gosssip-remove-node
...
Properly delete service nodes
2019-06-19 07:11:27 +01:00
Milos Gajdos
c0a628d65b
Simplified delService code; properly delete service nodes
2019-06-18 21:39:00 +01:00
Asim Aslam
e9c2df775a
Merge branch 'master' into grpc
2019-06-18 18:51:55 +01:00
Asim Aslam
d3a6297b17
Add working grpc proxy config
2019-06-18 18:51:52 +01:00
Asim Aslam
7266c62d09
remove comment
2019-06-18 15:33:31 +01:00
Asim Aslam
6459cdfc21
propagate updates to local watchers
2019-06-18 14:42:56 +01:00
Asim Aslam
ed54384bf4
Update network
2019-06-18 11:56:11 +01:00
Asim Aslam
51560009d2
go fmt
2019-06-18 11:04:36 +01:00
Asim Aslam
cf2f8a9a55
Merge branch 'master' of ssh://github.com/micro/go-micro
2019-06-18 11:04:16 +01:00
Asim Aslam
97cf2cd7c3
go fmt
2019-06-18 11:04:06 +01:00
Asim Aslam
d9fe8f802b
Merge pull request #522 from xpunch/grpcMessageIssue
...
grpc message should be able to set
2019-06-18 10:45:11 +01:00
johnson
b754c33549
grpc message should be able to set
2019-06-18 17:07:31 +08:00
Asim Aslam
59eaa89bac
Node is a network
2019-06-17 21:11:39 +01:00
Asim Aslam
f65694670e
add cruft
2019-06-17 20:05:58 +01:00
Asim Aslam
1a571b8c82
Add network transport
2019-06-17 18:25:42 +01:00
Asim Aslam
308673b393
add network package
2019-06-17 16:57:53 +01:00
Asim Aslam
3a454d870a
Merge pull request #520 from xpunch/grpcSubscriberIssues
...
grpc server subscriber missing some bug fixings
2019-06-17 11:57:37 +01:00
johnson
baaa386e27
a. add default context type when header not found
...
b. return subscribe error after handler finished
2019-06-17 17:54:37 +08:00
Asim Aslam
a619321b64
Merge pull request #519 from xpunch/master
...
missing nil check for grpc WaitGroup
2019-06-17 10:30:28 +01:00
johnson
363fb551af
missing nil check for grpc WaitGroup
2019-06-17 17:07:55 +08:00
Asim Aslam
7a87ae0efa
Merge pull request #514 from unistack-org/cleanup
...
remove mock data from memory registry
2019-06-13 07:50:08 +01:00
ab692ff590
remove mock data from memory registry
...
memory registry can be used as fast inprocess registry,
so mock data needs to be in tests only
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2019-06-13 00:51:56 +03:00
Asim Aslam
2b18b11ab1
Merge pull request #513 from micro/crufting
...
Crufting
2019-06-12 13:03:17 +01:00
Asim Aslam
af096951fc
update import names for mucp
2019-06-12 12:54:45 +01:00
Asim Aslam
97967cbe14
move options under config
2019-06-12 12:45:42 +01:00
Asim Aslam
a6e09c9249
Merge branch 'master' into crufting
2019-06-12 12:29:57 +01:00
Asim Aslam
000e25a4b2
use the router
2019-06-12 12:05:34 +01:00
Asim Aslam
7a1cef46b0
fix broken links
2019-06-12 07:50:04 +01:00
Asim Aslam
a5412dd4a0
Move data to store
2019-06-12 07:46:20 +01:00
Asim Aslam
f81f66c98b
Move DB to Map
2019-06-11 18:21:33 +01:00
Asim Aslam
43ed8f58f0
change wording
2019-06-11 18:15:18 +01:00
Asim Aslam
7727b359c8
Add memory data store
2019-06-11 17:49:34 +01:00
Asim Aslam
8e4e710e15
Move data to top level
2019-06-11 17:20:52 +01:00
Asim Aslam
4d4686d9be
Merge branch 'master' into crufting
2019-06-11 15:38:12 +01:00
Asim Aslam
6d06ee8078
Update go.mod to strip etcd
2019-06-11 11:40:37 +01:00
Asim Aslam
aec1ca6635
remove etcd source
2019-06-11 09:53:06 +01:00
Asim Aslam
235a653f78
check in cruft
2019-06-11 09:52:35 +01:00
Asim Aslam
d030c78d1c
Merge pull request #509 from outshow/master
...
fix etcd error
2019-06-11 09:52:21 +01:00