Commit Graph

24 Commits

Author SHA1 Message Date
Michael Barz
f6e2f46ebb Exit when encountering config parsing errors 2022-05-09 11:49:15 +02:00
Michael Barz
20e687f094 fix naming in error message 2022-05-04 17:36:43 +02:00
Michael Barz
4b71cd40af Merge pull request #3678 from owncloud/v2
Update ocis packages and imports to V2
2022-05-04 16:36:01 +02:00
kobergj
eb59d2291e MachineAuthAPIKey -> SystemUserAPIKey (#3672)
* split machineauthapikey and systemuserapikey

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* changelog

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* specific errors and some reverts

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* use correct machine auth api key

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-04 15:48:02 +02:00
Michael Barz
189987bcbd Bump major version to v2 2022-05-04 14:49:59 +02:00
Ralf Haferkamp
d6bf26c744 Rename ADMIN_USER_ID env var to OCIS_ADMIN_USER_ID
Also let the top-level ocis config validator error out if admin_user_id
is unset at start.
2022-05-04 12:42:28 +02:00
Ralf Haferkamp
7ef205d232 Get rid of hardcoded admin user uuid
The UUID is generated by `ocs init` now and stored in the config file.
To avoid that every ocis install uses the same UUID

Closes: #3524
2022-05-04 12:42:28 +02:00
kobergj
5346299e6d MetadataUserID -> SystemUserID (#3671)
* replace MetadataUserID with SystemUserID

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* the missing change

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* changelog

Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-05-04 11:41:37 +02:00
Jörn Friedrich Dreyer
f88c000bac generate metadata user id
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-02 12:36:30 +00:00
Christian Richter
59c96413d9 beautify error messages
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-29 13:45:12 +02:00
Willy Kloucek
4ff313b0a5 check for more secrets need to be set 2022-04-29 13:07:25 +02:00
Christian Richter
bc6cd9141d [WIP] add missing secret checks
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-29 11:55:56 +02:00
Christian Richter
72688b3650 move generic secret errors to shared, fix edgecase in cli flags
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-29 11:15:13 +02:00
Willy Kloucek
9095b11d6c load reva gateway and token manager from common config 2022-04-27 13:58:59 +02:00
Christian Richter
58a24e620e Move reva transfer secret to shared.Commons
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-26 14:10:03 +02:00
Christian Richter
a4d7696232 Move machine-auth-api-key to shared.Commons
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-26 10:20:15 +02:00
Christian Richter
acf75afebc Move Tokenmanager to shared.Commons
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-25 16:35:10 +02:00
Christian Richter
42a4e017c8 Add reference implementation for health & readiness endpoint in IDP
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-11 16:09:09 +02:00
Willy Kloucek
1232f26fe4 use yaml tag instead of ocisConfig #2 2022-03-29 15:06:58 +02:00
Willy Kloucek
fe1672a000 migrate ocis-pkg to envdecode 2022-01-03 07:49:25 +01:00
Willy Kloucek
7abcf96ea8 revert storage, remove tracing.service and bring back common 2022-01-03 07:49:24 +01:00
A.Unger
aa67106e04 sane common configurations 2021-11-11 12:51:57 +01:00
A.Unger
0e9b6d8c52 fix log inheritance 2021-11-08 11:35:41 +01:00
A.Unger
6f27c1a100 refactor env unbinding to ocis-pkg 2021-11-07 20:52:36 +01:00