Commit Graph

50 Commits

Author SHA1 Message Date
Willy Kloucek
11466c5f9a ensure, that each config is only parsed once 2022-01-03 19:08:11 +01:00
Willy Kloucek
55bf175bea move config parsing in separate package for each service 2022-01-03 15:21:56 +01:00
Willy Kloucek
e0656daaa0 simplify commands and version handling 2022-01-03 13:53:27 +01:00
Willy Kloucek
6d0b754a86 improve envdecode error handling 2022-01-03 09:47:52 +01:00
Willy Kloucek
e3bfb66df1 maintain envdecode inside ocis-pkg 2022-01-03 07:49:25 +01:00
Willy Kloucek
b70cbd26ee move accounts config sanitazing into config parsing 2022-01-03 07:49:24 +01:00
Willy Kloucek
2bcd4f5a17 directly pass env to config 2022-01-03 07:49:24 +01:00
Willy Kloucek
7abcf96ea8 revert storage, remove tracing.service and bring back common 2022-01-03 07:49:24 +01:00
Willy Kloucek
a77c8ac8dd add version to accounts 2022-01-03 07:49:24 +01:00
Willy Kloucek
ee57288309 switch all other services to struct tag based env config 2022-01-03 07:49:24 +01:00
Willy Kloucek
30656c5a32 switch graph to struct tag based env config 2022-01-03 07:49:24 +01:00
Willy Kloucek
4067ae9493 switch glauth to struct tag based env config 2022-01-03 07:49:23 +01:00
Willy Kloucek
d0030ab555 switch ocs to struct tag based env config 2022-01-03 07:49:23 +01:00
Willy Kloucek
6bf467127b switch accounts to struct tag based env config 2022-01-03 07:49:23 +01:00
Willy Kloucek
6206fe2398 add missing commands and unify service / namespace options 2022-01-03 07:49:23 +01:00
A.Unger
aa67106e04 sane common configurations 2021-11-11 12:51:57 +01:00
A.Unger
e7f9fb3bcb refactor NewLogger away to ocis-pkg 2021-11-08 19:38:40 +01:00
A.Unger
bff4ec48b0 new config framework in accounts 2021-11-08 13:41:59 +01:00
A.Unger
a515a97c8f normalize idp 2021-11-08 12:17:23 +01:00
A.Unger
d7828141f6 fix log inheritance for accounts 2021-11-08 11:51:35 +01:00
A.Unger
ba1635165b migrate idp to the new config scheme 2021-11-05 11:15:55 +01:00
A.Unger
b61887aca1 hook accounts to env variables 2021-11-04 13:16:16 +01:00
A.Unger
09195ffc8c use reflection to set config values from environment 2021-11-03 11:34:56 +01:00
A.Unger
2a14bb362a fix smells 2021-11-02 14:48:40 +01:00
A.Unger
ab1703c2e8 refactor around config parsing 2021-11-02 14:20:07 +01:00
A.Unger
10731c3878 general restructuring 2021-11-02 12:12:09 +01:00
A.Unger
a767356bba provide example config + implement parse config on accounts 2021-11-02 12:09:21 +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
68ba24ff73 fix extensions versions 2021-10-05 12:39:31 +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
A.Unger
c04abb9f47 suport for accounts 2021-03-17 15:41:36 +01:00
Jörn Friedrich Dreyer
9fa77a27ba fix graph and graph-explorer
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-03-15 15:17:29 +00:00
A.Unger
dc4b4b7e46 correctly implement suture v4 interfaces 2021-03-11 15:50:01 +01:00
A.Unger
6054e6b4a1 sequential access to viper config (still broken) + add delayed execution to storage-sharing 2021-03-10 12:26:14 +01:00
A.Unger
4e37d4a2f6 update commands when running in supervised mode 2021-03-10 11:10:46 +01:00
Jörn Friedrich Dreyer
2bfdab8735 add remaining services
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-03-09 16:03:47 +00:00
A.Unger
7eea714633 add idp 2021-03-04 13:10:18 +01:00
A.Unger
58543a1415 correct usage of suture 2021-03-04 11:51:36 +01:00
A.Unger
a2a921454b add accounts 2021-03-04 10:50:06 +01:00
A.Unger
7bba6bcb6a increase log level for missing config on default location to debug 2020-12-11 14:16:51 +01:00
A.Unger
157e460945 normalize log messages to use lowercase 2020-11-04 16:00:09 +01:00
Benedikt Kulmann
0f03d8c52c Rename command 2020-10-24 06:15:34 +02:00
A.Unger
17b7c82425 basic wiring 2020-10-23 12:23:33 +02:00
David Christofas
9fc09cba43 add version command and add build information to metrics
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-09-25 13:06:26 +02:00
A.Unger
27f888945e checkout accounts on e55b8ae2f4 due to a regression (?) 2020-09-22 14:53:52 +02:00
A.Unger
30b2756137 Add 'accounts/' from commit 'e55b8ae2f440e20e657fdc21827b935f64bd8458'
git-subtree-dir: accounts
git-subtree-mainline: fd66380082
git-subtree-split: e55b8ae2f4
2020-09-22 14:49:55 +02:00
A.Unger
fd66380082 delete accounts 2020-09-22 14:49:48 +02:00
A.Unger
fcca9faa81 accounts running 2020-09-18 14:51:07 +02:00
A.Unger
4c12bed11b update dependencies and import paths 2020-09-18 12:33:35 +02:00
A.Unger
38cecdbf0f Add 'accounts/' from commit 'd2585070bc25d2c8cd0c86476041ee502afb4ac5'
git-subtree-dir: accounts
git-subtree-mainline: 7b8e9bc298
git-subtree-split: d2585070bc
2020-09-18 12:21:51 +02:00