Commit Graph

24 Commits

Author SHA1 Message Date
Daniël Franke
d2d0461375 Convert IDP service to service trace provider.
This converts the IDP service to use the service trace provider.
2023-07-20 13:36:08 +02:00
Ralf Haferkamp
b24d126b30 Introduce TLS Settings for go-micro based http services
TLS for the services can be configure by setting the "OCIS_HTTP_TLS_ENABLED",
"OCIS_HTTP_TLS_CERTIFICATE" and "OCIS_HTTP_TLS_KEY" environment variables.
Currently the ocis proxy is this only service that directly accesses backend
services. It determines whether to use TLS or not by looking a the new registry
metadata "use_tls". As specific CA Cert for certificate verification
can be set with the "PROXY_HTTPS_CACERT" environment variable.
2022-11-03 11:58:53 +01:00
Ralf Haferkamp
fffd49fc4e Introduce "noop" go-micro broker
This introduces a no op broker for go-micro. It is set as the default
broker for all ocis http services. To avoid starting the default http
broker, which opens an unused random http port.

Fixes: https://github.com/owncloud/ocis/issues/3829
2022-09-14 12:22:23 +02:00
Michael Barz
189987bcbd Bump major version to v2 2022-05-04 14:49:59 +02:00
Willy Kloucek
e5b7496c29 switch source for go micro plugins 2022-04-19 09:44:47 +02:00
A.Unger
2a14bb362a fix smells 2021-11-02 14:48:40 +01:00
A.Unger
711acbb354 inherit logging config from ocis.yaml, let extensions overwrite their logging. Considering using a package level global logging... 2021-10-31 00:08:46 +02: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
Willy Kloucek
7b30571aff switch from micro/cli/v2 to urfave/cli/v2, like https://github.com/asim/go-micro/pull/2224 2021-09-27 12:02:55 +02:00
Jörn Friedrich Dreyer
8a8aa2dc52 use micre v3 registry interface
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-02-22 15:08:50 +00:00
Jörn Friedrich Dreyer
d9f4a4c524 always pass in a client
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-02-18 10:58:56 +00:00
Jörn Friedrich Dreyer
11ed5e49d8 same order of options in grpc and http service
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-02-18 10:00:16 +00:00
Jörn Friedrich Dreyer
34a9fb2dc8 remove unneeded getTranstport
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-02-18 08:03:22 +00:00
Jörn Friedrich Dreyer
588ac4a2a6 get rid of http server option.Hander
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-02-18 08:01:53 +00:00
A.Unger
b89deea796 remove redundant transport 2021-02-18 08:01:53 +00:00
A.Unger
448bdde79c use http replace 2021-02-18 08:01:53 +00:00
A.Unger
072d0704df wip 2021-02-18 08:01:53 +00:00
A.Unger
005f47d436 update accounts, settings, storage-metadata and ocis-pkg to use asim go-micro v3 2021-02-18 08:00:02 +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
88f670b45c initial commit 2021-02-18 08:00:02 +00:00
A.Unger
157e460945 normalize log messages to use lowercase 2020-11-04 16:00:09 +01:00
A.Unger
fcca9faa81 accounts running 2020-09-18 14:51:07 +02:00
A.Unger
c284b4d07b Add 'ocis-pkg/' from commit '72d605ba3857d0b972ddd72e226d8a5360fb480d'
git-subtree-dir: ocis-pkg
git-subtree-mainline: 4c12bed11b
git-subtree-split: 72d605ba38
2020-09-18 12:34:50 +02:00