Commit Graph

32 Commits

Author SHA1 Message Date
Jörn Friedrich Dreyer 409259949e only check nats if it is used
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-11-07 12:26:12 +01:00
Jörn Friedrich Dreyer 1a429115c2 register services after they are ready
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-11-07 10:38:23 +01:00
jkoberg 3d69694b74 feat(ocis): remove deprecated registries
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-10-15 17:24:51 +02:00
Jörn Friedrich Dreyer 84e87cd722 set the configured protocol transport for service metadata
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-08-23 20:51:17 +02:00
Jörn Friedrich Dreyer c3f170b7b6 fix comments
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-08-06 13:04:45 +02:00
Jörn Friedrich Dreyer d839bfb5a3 Merge pull request #9492 from owncloud/ignore-address-for-kubernetes-registry
ignore addresses for kubernetes registry
2024-07-30 16:53:13 +02:00
Jörn Friedrich Dreyer d1fd65466f reuse default node id when registering services
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-07-24 13:07:54 +02:00
Jörn Friedrich Dreyer c421507f1e reva services should respect same register ttl
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-07-19 12:56:59 +02:00
Jörn Friedrich Dreyer 0c6ca19602 naming is hard
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-07-19 12:37:08 +02:00
jkoberg 0c0866711c fix(registry): Fix TTL and registration interval
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-07-19 11:52:59 +02:00
Jörn Friedrich Dreyer 48f9e79ff4 ignore addresses for kubernetes registry
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-06-28 11:00:35 +02:00
kobergj 46af9cce40 move nats authentication to natsjsregistry package (#8281)
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-01-24 17:14:19 +01:00
jkoberg 1110bf2178 fix name of nats-js-kv registry
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-01-05 14:45:51 +01:00
jkoberg f5809848b9 fix registry creation
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-12-20 10:05:44 +01:00
jkoberg e1fad5c6e9 make nats-js-kv the default registry
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-12-19 12:13:28 +01:00
jkoberg 15efafaf23 allow authentication for the registry
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-12-19 10:44:05 +01:00
jkoberg 73c99cce9e introduce natsjs registry
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-11-06 08:59:01 +01:00
Ralf Haferkamp 03fc51d573 registry: correctly return from go-routine on cancelation
When the the context is cancel we need to return from the go-routine
after de-registering the service.
2023-10-10 12:25:30 +02:00
jkoberg c942c7a6dd use "put" registry for nats
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-07-25 11:21:32 +02:00
Florian Schade 4f26424db6 [full-ci] enhancement: use reva client pool selectors (#6452)
* enhancement: use reva client pool selectors

register mock service to registry and pass tests

* enhancement: bump reva

* Fix a couple of linter issues

---------

Co-authored-by: Ralf Haferkamp <rhaferkamp@owncloud.com>
2023-06-08 12:41:04 +02:00
Ralf Haferkamp b5bb6980e2 Fix condition for registry cache
We want caching for all registries except "memory".
2022-10-12 09:28:05 +02:00
Ralf Haferkamp 8f2bf0ed9c Default to in-memory registry in single-binary mode
This avoids various issues of the old "mdns" default. At least for the simple
single process setup (#3134, #4597). When starting the services individually we
still default to "mdns".
2022-09-26 16:25:56 +02:00
Willy Kloucek b596d1d506 introduce service registry cache 2022-05-19 09:57:34 +02:00
Willy Kloucek e5b7496c29 switch source for go micro plugins 2022-04-19 09:44:47 +02:00
Willy Kloucek 3215cb7e6a add consul as registry option 2022-02-08 16:58:08 +01:00
Willy Kloucek d6040ce76c fix ipv6 error with go-micro update 2021-10-28 12:29:50 +02:00
Willy Kloucek 6d5a3733ff upgrade to go micro v4.1.0 2021-10-14 15:56:19 +02:00
Jörn Friedrich Dreyer fd703ec740 add initial nats and kubernetes registry support
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-02-22 15:20:22 +00:00
Jörn Friedrich Dreyer f89128a2d9 use registry interface
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-02-22 13:42:00 +00:00
Jörn Friedrich Dreyer 603dad3533 bring back etcd registry
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-02-18 08:01:53 +00:00
Jörn Friedrich Dreyer 83851ca2bb return micro.Service()
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-02-18 08:00:02 +00:00
A.Unger bdfea8ee2e refactor registry awareness logic 2020-11-12 09:50:59 +01:00