Christian Richter
cb9815acb1
fix yaml mappings
...
Signed-off-by: Christian Richter <c.richter@opencloud.eu >
2026-01-08 14:16:31 +01:00
Christian Richter
234c9bf1a7
consolidate log config in app-registry
...
Signed-off-by: Christian Richter <c.richter@opencloud.eu >
2026-01-08 12:25:44 +01:00
Christian Richter
7be33b0607
refactor interims DefaultAppCobra to DefaultApp
...
Signed-off-by: Christian Richter <c.richter@opencloud.eu >
2025-12-15 16:40:26 +01:00
Christian Richter
eb6d2dc0c4
migrate app-registry from urfave/cli to spf13/cobra
...
Signed-off-by: Christian Richter <c.richter@opencloud.eu >
2025-12-15 16:40:25 +01:00
Jörn Friedrich Dreyer
a3ef7f6d79
update otlp tracing
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-11-27 12:28:15 +01:00
Ralf Haferkamp
7b5c59e827
feat(reva): Pass the multi-tenancy flag to reva services
...
This allows to pass the multi-tenant enablement flag as a shared config
option to the reva service. This needs to be done for all reva services
since it ends up in a global variable in reva that is only initialized
once, by the service that is the first to parse its config.
See https://github.com/opencloud-eu/opencloud/issues/1563 for details.
2025-10-06 11:21:57 +02:00
Roman Perekhod
c597dfb917
set default timeouts and clean up
2025-09-12 12:18:47 +02:00
Roman Perekhod
9a3fc08dd4
to separate controll ower the http and grpc driven services
2025-09-12 12:18:47 +02:00
Roman Perekhod
65d05bbd5c
feat: fix the graceful shutdown using the new ocis and reva runners
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-09-12 12:18:47 +02:00
Ralf Haferkamp
96684df32d
Adjust to new tablewriter release
2025-05-19 19:26:38 +02:00
Ralf Haferkamp
8e1f68f315
Reset 'introductionVersion" struct tag to 1.0.0
2025-02-24 11:40:33 +01:00
André Duffeck
e8d35e1280
Use the opencloud reva from now on
2025-01-21 11:16:38 +01:00
Ralf Haferkamp
ae4f679c25
Rename app-registry
2025-01-20 10:00:42 +01:00
Ralf Haferkamp
213e9663a9
Rename go-micro services
2025-01-16 09:45:46 +01:00
Jörn Friedrich Dreyer
318ca21645
metrics, log and supervisor
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-14 16:09:54 +01:00
Jörn Friedrich Dreyer
5aa5ab843a
ociscfg -> occfg
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-14 12:44:00 +01:00
Jörn Friedrich Dreyer
b07b5a1149
use plain pkg module
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-13 16:42:19 +01:00
Jörn Friedrich Dreyer
a46fd132bd
use OC_ env prefix
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-13 16:11:11 +01:00
Jörn Friedrich Dreyer
8e028f17e9
change module name
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-13 09:58:18 +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
Jörn Friedrich Dreyer
04632ad34c
make sure services have some time to deregister
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-10-28 14:47:11 +01:00
Jörn Friedrich Dreyer
32287da09e
work on signal handling
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-10-28 14:47:11 +01:00
Jörn Friedrich Dreyer
dde999d5c2
align shutdown logging
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-10-28 14:47:11 +01:00
Jörn Friedrich Dreyer
ad43ae824c
delete unused trap
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-10-28 14:47:11 +01:00
Florian Schade
0437722353
Bugfix: Fix health and ready endpoint checker configurations
2024-10-17 14:34:04 +02:00
Christian Richter
0094d30378
code cleanup & refactoring
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2024-10-14 08:39:42 +02:00
Florian Schade
0671039474
enhancement: add readyz and healthz check handler
2024-10-14 08:39:42 +02:00
Florian Schade
c82a7c560e
enhancement: use global ready and health handlers
2024-10-14 08:39:42 +02:00
Jörn Friedrich Dreyer
e552196042
update gateway service endpoint descriptions
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
Update services/gateway/README.md
Co-authored-by: Martin <github@diemattels.at >
fix env tag
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-08-26 11:03:44 +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
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
a96203786f
replace defineContext with context from app
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-07-24 13:33:57 +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
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
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
ccfb9101de
it is called traceProvider ( #8280 )
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-01-24 16:34:58 +01:00
Christian Richter
1713041e14
Add skel for preview generator for ggs
...
Co-authored-by: Ralf Haferkamp <rhafer@owncloud.com >
Signed-off-by: Christian Richter <crichter@owncloud.com >
2023-11-27 15:31:38 +01:00
Christian Richter
1cdd839fc7
add form mime type
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2023-11-22 11:37:53 +01:00
jkoberg
1f1aa50c54
hard exit when services fail
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2023-09-21 13:53:18 +02:00
Daniël Franke
ea39236e0e
Move app-registry service to service tracer.
...
This changes the app-registry service away from using global tracers,
which makes debugging tracing issues easier going forward.
2023-07-12 13:40:53 +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
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
jkoberg
d347448ec0
remove duplicated sutureservice code
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2023-06-02 12:02:27 +02:00
Jörn Friedrich Dreyer
b8bdd4573a
introduce otlp tracing ( #5132 )
...
* introduce otel tracing
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* use new trace provider initialization
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* work
* bump reva
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* remove commented code
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* add vendor changes
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
---------
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2023-05-26 22:21:03 +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
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