Commit Graph
68 Commits
Author SHA1 Message Date
Ralf HaferkampandRalf 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 PerekhodandJörn Friedrich Dreyer c597dfb917 set default timeouts and clean up 2025-09-12 12:18:47 +02:00
Roman PerekhodandJörn Friedrich Dreyer 9a3fc08dd4 to separate controll ower the http and grpc driven services 2025-09-12 12:18:47 +02:00
Roman PerekhodandJörn Friedrich Dreyer 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 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 71e65cb9e7 rebrand ocm 2025-01-20 09:56:09 +01:00
Andre DuffeckandGitHub 9a04b12a8e Merge pull request #44 from opencloud-eu/nats-cluster-name
nats cluster name
2025-01-17 08:51:35 +01:00
Ralf Haferkamp 553ae7dfa3 Remove 'ocisConfig' struct tag leftovers
Support the 'ocisConfig' tag was removed long time ago with commit
1232f26fe4
2025-01-16 17:51:02 +01:00
Jörn Friedrich Dreyer 243ffe81c7 nats cluster name
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-01-16 16:14:22 +01:00
Jörn Friedrich Dreyer db39b8ed3b use opencloudurl
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-01-16 11:13:08 +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 56f57149ad the OpenCloud services
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-01-14 12:50:23 +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 DreyerandFlorian Schade 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
Ralf Haferkamp 6f90abd22d fix(ocm): Adjust for recend change for federated user IDs
The UserIds as returned by e.g. GetAcceptedUser do already contain
the provider domain in the IDP field now.

Also adjust the provider domain in the OCM config to be really a domain
without URI scheme and path.
2024-11-14 15:51:07 +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
Ralf HaferkampandRalf Haferkamp 0d88a68c79 fix(ocm): add data_server_url to ocm storage provider
Fixes: #10358
2024-10-30 16:45:51 +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 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
Ralf Haferkamp f48e549929 Remove 'OCM_OCM_PROVIDER_AUTHORIZER_VERIFY_REQUEST_HOSTNAME' setting
The feature never really worked correctly and it's added value is at least
arguable.

Fixes #10355
2024-10-28 11:29:35 +01:00
Ralf Haferkamp 04c2dcd427 Revert "use secure config defaults for OCM"
This reverts commit 59589cd7d3.
2024-10-28 11:06:17 +01:00
Roman Perekhod c16a2ea2cf checks added 2024-10-17 19:03:14 +02:00
Florian Schade 0437722353 Bugfix: Fix health and ready endpoint checker configurations 2024-10-17 14:34:04 +02:00
Jörn Friedrich Dreyer 59589cd7d3 use secure config defaults for OCM
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-10-15 16:49:57 +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 SchadeandChristian Richter 0671039474 enhancement: add readyz and healthz check handler 2024-10-14 08:39:42 +02:00
Florian SchadeandChristian Richter c82a7c560e enhancement: use global ready and health handlers 2024-10-14 08:39:42 +02:00
Jörn Friedrich DreyerandGitHub d29e09f0c1 Merge pull request #9815 from owncloud/ocm-wellknown-config
add ocm wellknown config
2024-10-04 10:13:16 +02:00
Juergen WeigertandMartin Mattel 33f5ed9035 fix: remove colons after an env var, to form proper path names in descriptions. 2024-10-02 09:09:47 +02:00
Jörn Friedrich Dreyer dbf87bb880 fix ocm token
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-09-13 15:21:07 +02:00
Florian Schade 194921eb0c enhancement: handle ocm event notifications 2024-09-05 17:28:27 +02:00
Martin Mattel aa58143fb6 [docs-only] Small fix for ocm envvar description text 2024-09-03 08:59:35 +02:00
Martin Mattel cb033222f4 [docs-only] Small ocm text fix 2024-09-02 13:18:38 +02:00
Jörn Friedrich DreyerandMartin 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
mmattel 1a5d49c04d [docs-only] Update ennvar text and readme in ocm 2024-08-19 13:52:05 +02:00
Jörn Friedrich Dreyer 1faa36f303 add ocm wellknown config
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-08-14 21:56:31 +02:00
Jörn Friedrich Dreyer b7fdc59f21 change ocmproviders defaultconfig path
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-08-12 12:27:05 +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
Jörn Friedrich Dreyer 9d0af6f281 configurable ocm timeouts
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-06-24 10:49:49 +02:00
Thomas MüllerandGitHub 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