Jörn Friedrich Dreyer
066c4b8173
only register signal handling once
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-07-29 16:28:13 +02:00
Jörn Friedrich Dreyer
7999e2969b
do not force exit to let all services shutdown gracefully
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-07-24 14:02:52 +02:00
Jörn Friedrich Dreyer
9d1515e8fc
rely on context from app
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-07-24 14:02:11 +02:00
Jörn Friedrich Dreyer
008f379a01
pass config context when running apps
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-07-24 13:30:42 +02:00
Jörn Friedrich Dreyer
7a22dfb6de
NotifyContext when running services standalone
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-07-24 13:26:58 +02:00
Michael Barz
3aaad75ca2
chore: move removal of envs to next production release
2024-06-19 19:53:06 +02:00
Thomas Müller
a8cbc612cc
chore: remove unused return value from BindSourcesToStructs ( #9033 )
2024-04-30 18:18:31 +02:00
Thomas Müller
07f0cd5574
fix: typos, naming clashes, error messages and deprecations
2024-04-03 15:34:36 +02:00
Phil Davis
9d2be66a85
chore: add introductionVersion pre5.0 to environment variable docs
2024-03-06 17:50:20 +05:45
Jörn Friedrich Dreyer
4217a87829
deprecate store env vars
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-03-01 15:08:25 +01:00
Jörn Friedrich Dreyer
26136f8f81
drop store service in favor of a micro store implementation ( #8419 )
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-02-26 16:08:03 +01:00
Christian Richter
e56b23541a
remove obsolete cli flags
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2023-10-11 16:31:10 +02:00
jkoberg
1f1aa50c54
hard exit when services fail
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2023-09-21 13:53:18 +02:00
Daniel Swärd
49fc22d532
Add missing tracing references to multiple services. ( #7110 )
2023-08-23 15:17:17 +02:00
Daniel Swärd
6a5e21eff4
Replacing implicit grpc client initialization with explicit package local variables.
2023-07-31 12:57:59 +02:00
mmattel
6ad53971ef
[docs-only] Increase readability for log level values in the description
2023-07-07 10:33:42 +02:00
mmattel
d7b447b791
[docs-only] Increase readability for tracing values in the description
2023-07-07 09:50:39 +02:00
jkoberg
d347448ec0
remove duplicated sutureservice code
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2023-06-02 12:02:27 +02:00
Dennis Sieben
e28603e633
- fixed typos
2023-03-27 08:54:51 +02:00
David Christofas
924c2ca346
add missing comments
2023-03-06 19:01:16 +01:00
David Christofas
63fa35fa50
reduce duplication in configuration code
2023-03-06 16:52:44 +01:00
Jörn Friedrich Dreyer
53d15d329e
remove deprecated use of ioutil ( #5205 )
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2022-12-08 14:44:53 +01:00
Ralf Haferkamp
ee974afebf
[full-ci] Introduce TLS Settings for go-micro based grpc services and clients ( #4901 )
...
* Introduce TLS Settings for go-micro based grpc services and clients
TLS for the services can be configure by setting the OCIS_MICRO_GRPC_TLS_ENABLED"
"OCIS_MICRO_GRPC_TLS_CERTIFICATE" and "OCIS_MICRO_GRPC_TLS_KEY"
enviroment variables.
TLS for the clients can configured by setting the "OCIS_MICRO_GRPC_CLIENT_TLS_MODE"
and "OCIS_MICRO_GRPC_CLIENT_TLS_CACERT" variables.
By default TLS is disabled.
Co-authored-by: Martin <github@diemattels.at >
* Unify TLS configuration for all grpc services
All grpc service (whether they're based on reva) or go-micro use the
same set of config vars now.
TLS for the services can be configure by setting the OCIS_GRPC_TLS_ENABLED,
OCIS_GRPC_TLS_CERTIFICATE and OCIS_GRPC_TLS_KEY enviroment variables.
TLS for the clients can configured by setting the OCIS_GRPC_CLIENT_TLS_MODE
and OCIS_MICRO_GRPC_CLIENT_TLS_CACERT variables.
There are no individual per service config vars currently. If really
needed, per service tls configurations can be specified via config file.
Co-authored-by: Martin <github@diemattels.at >
Co-authored-by: Martin <github@diemattels.at >
2022-11-03 10:17:08 +01:00
mmattel
6edb44fa83
Improving the description for several environemt variables
2022-10-13 12:07:46 +02:00
Willy Kloucek
9f2be9f4f9
remove Log prefix from configlog functions
2022-08-22 08:08:18 +02:00
Willy Kloucek
e58eaabdeb
move config parse error logging into function to ensure new lines and don't parse config for help
2022-08-18 15:27:28 +02:00
Willy Kloucek
46706fff32
Merge pull request #4407 from wkloucek/rename-extensions-to-services-reloaded
...
rename extensions to services (leftover occurences)
2022-08-18 14:03:20 +02:00
Willy Kloucek
60689c9c1a
improve unsupervised description
2022-08-18 10:59:35 +02:00
Willy Kloucek
6154466bbc
rename extensions to services (leftover occurences)
2022-08-17 15:36:52 +02:00
jkoberg
66ff20442f
use .golangci.yml
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2022-08-17 14:20:05 +02:00
Ralf Haferkamp
946f3e8feb
Remove unused BindEnv code
...
We dropped this in favour of envdecode a while ago.
2022-07-14 16:34:25 +02:00
mmattel
246377b35b
Env variable text fixes
2022-07-07 19:53:27 +05:45
Ralf Haferkamp
4a09d8a948
Remove redundant setting of cli.HelpFlag
...
The help flag is configured automatically by default already. We don't
need to redo that for every single service.
This also addresses one of the finding of "go race" (#4088 )
2022-07-05 14:59:06 +02:00
Willy Kloucek
f02591b5c3
improve startup error logging
2022-07-05 10:12:46 +02:00
Willy Kloucek
8f3b0c50cd
Merge branch 'master' into config-doc-descriptions
2022-06-28 13:03:19 +02:00
Christian Richter
f8f1320501
refactor extensions -> services
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2022-06-27 14:05:36 +02:00
Christian Richter
78064e6bab
rename folder extensions -> services
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2022-06-27 14:05:36 +02:00