06136312bb
regen files with never protoc ( #6 )
...
* regen files with never protoc
* rewrite import path
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-08-19 17:47:17 +03:00
Asim Aslam
61d12d3a39
fix etcd keys for services ( #1922 )
2020-08-10 21:58:35 +01:00
Asim Aslam
4469a41ae7
use a totally different client for the watcher in etcd
2020-08-08 01:40:41 +01:00
Asim Aslam
9b14eb8aec
close the existing etcd client if it exists
2020-08-07 23:09:06 +01:00
Asim Aslam
124b1bd7b7
add https prefix when using tls config for etcd
2020-08-07 22:46:05 +01:00
Asim Aslam
d69a4a30cd
fix etcd bug that causes deregister to be skipped ( #1911 )
2020-08-07 19:58:25 +01:00
ben-toogood
991cdba91d
registry/etcd: fix services combining ( #1901 )
2020-08-06 15:38:50 +01:00
Asim Aslam
aefd052dd7
Etcd router bug fixing etcd path prefix matching name ( #1899 )
...
* add logging and don't get nodes where they exist in router
* add more logging
* Fix the etcd bug for name matching of keys and prefixes matching names
2020-08-06 12:42:14 +01:00
ben-toogood
31ed4aa0e8
registry/etcd: fix logging nil pointer dereference ( #1889 )
...
* registry/etcd: fix logging nil pointer dereference
* Fix stupid mistake
* Fix merge
2020-07-31 15:05:32 +01:00
ben-toogood
d2cea4b7b7
registry/etcd: fix logging nil pointer dereference ( #1888 )
2020-07-31 14:40:11 +01:00
Asim Aslam
563768b58a
v3 refactor ( #1868 )
...
* Move to v3
Co-authored-by: Ben Toogood <bentoogood@gmail.com>
2020-07-27 13:22:00 +01:00
ben-toogood
df3e5364ca
api/resolver: add resolve options ( #1756 )
...
* api/resolver: Resolve options
* router/registry: fix init bug
* router/registry: fix wildcard query bug
* web: fix registation domain bug
* registry/etcd: pass domain in service metadata
* api/resolver/subdomain: expose domain func
* Update api/resolver/subdomain/subdomain.go
Co-authored-by: Dominic Wong <domwongemail@googlemail.com>
Co-authored-by: Dominic Wong <domwongemail@googlemail.com>
2020-06-29 16:37:45 +01:00
ben-toogood
87543b2c8a
registry/etcd: add support for domain options ( #1714 )
2020-06-19 14:58:16 +01:00
Ben Toogood
e17825474f
Add context options to the runtime
2020-04-14 12:32:59 +01:00
chengguoqiang
eef4825be4
Update etcd.go ( #1334 )
...
add leaseId to the trace log
2020-03-12 10:09:38 +00:00
7b385bf163
minimize allocations in logger and tunnel code ( #1323 )
...
* logs alloc
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* fix allocs
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* fix allocs
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* tunnel allocs
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* try to fix tunnel
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* cache cipher for send
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* more logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* more logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* more logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* more logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* more logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* more logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* more logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-03-11 17:55:39 +00:00
117f56ebf7
prune util/log and user logger ( #1237 )
...
* prune util/log and user logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* plaintext logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* add newline
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-02-23 13:45:20 +00:00
f23638c036
fix import paths for v2 release
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-01-30 14:44:40 +03:00
johnson
11e42aac69
etcd can set log config
...
default log level is info, which will log o log of unused logs
2019-12-13 11:22:05 +08:00
a1eaf9cc20
linting fixes
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2019-12-04 00:22:02 +03:00
Till Knuesting
5ae3e179b9
preallocated slices ( #934 )
2019-11-11 00:03:51 +00:00
Asim Aslam
59a3e7d4f4
Use etcd serializable option
2019-10-10 19:16:31 +01:00
Asim Aslam
e9dcff49e0
Support listing full service info in etcd
2019-10-07 16:11:52 +01:00
Asim Aslam
2c00e726b6
Decode and hash the existing node
2019-10-06 13:43:41 +01:00
Asim Aslam
2fb2d7145e
Fix etcd registry lease processing and suppression
2019-10-06 09:54:26 +01:00
Milos Gajdos
b8815dff14
Append a port to address if it does not exist
2019-10-03 16:16:25 +01:00
Asim Aslam
31026da2a1
Update etcd.go
...
Use /micro/registry as the etcd key prefix
2019-10-02 20:33:59 +01:00
Milos Gajdos
25148af44c
First commit to add etcd registry support
2019-10-02 18:56:53 +01:00
Asim
04e07f4b39
Move plugins to go-plugins
2015-11-25 00:17:15 +00:00
Asim
5d88115f2a
update links from myodc to micro
2015-11-20 16:17:33 +00:00
Asim
0320fc1b55
Update registry so version is surfaced
2015-11-08 01:48:48 +00:00
Asim
6ab6e9725d
Add endpoints in etcd
2015-10-11 16:41:55 +01:00
Asim
ac995ba983
update etcd registry to use github.com/coreos/etcd/client
2015-09-26 17:09:03 +01:00
Asim
09c784d294
add support for streaming requests. cleanup watcher initilisation
2015-06-01 18:55:27 +01:00
Asim
d23e46df3a
Add basic etcd registry implementation
2015-05-27 22:22:02 +01:00