Commit Graph

38 Commits

Author SHA1 Message Date
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
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
ee57288309 switch all other services to struct tag based env config 2022-01-03 07:49:24 +01:00
A.Unger
6391d94516 glauth 2021-11-11 13:14:19 +01:00
A.Unger
aa67106e04 sane common configurations 2021-11-11 12:51:57 +01:00
A.Unger
2dd9a7b14c new config framework in proxy 2021-11-08 13:32:58 +01:00
A.Unger
e8b9186ba3 normalize glauth 2021-11-08 12:01:08 +01:00
A.Unger
0e9b6d8c52 fix log inheritance 2021-11-08 11:35:41 +01:00
A.Unger
74dae6dad9 add ocis-pkg/config default config + fix logging inheritance 2021-11-08 11:14:26 +01:00
A.Unger
6f27c1a100 refactor env unbinding to ocis-pkg 2021-11-07 20:52:36 +01:00
A.Unger
4194da4e88 add ocis.yaml 2021-11-04 10:53:40 +01:00
A.Unger
90844c5c84 first draft of config loading exclusively using env vars 2021-11-03 14:46:38 +01:00
A.Unger
09195ffc8c use reflection to set config values from environment 2021-11-03 11:34:56 +01:00
A.Unger
ab1703c2e8 refactor around config parsing 2021-11-02 14:20:07 +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
A.Unger
998df71ae3 poors man struct inheritance and perpetuity 2021-10-29 23:41:41 +02:00
A.Unger
94aeefb7fd first examples of config parsing 2021-10-29 16:15:35 +02:00
A.Unger
34253fcae2 remove flagset on proxy, use default config values 2021-10-29 11:51:08 +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
fa27def950 suport for proxy 2021-03-17 15:42:24 +01:00
A.Unger
b52fe95762 run ParseConfig only when running unsupervised 2021-03-11 20:09:05 +01: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
3c770dd118 add store 2021-03-04 14:03:06 +01:00
A.Unger
e25f5b1c98 add proxy 2021-03-04 13:56:49 +01:00
Willy Kloucek
73cf0fc36d rename reva to proxy where applicable 2020-12-21 09:15:38 +01:00
A.Unger
8fe3ac9b33 wip correctly parse config 2020-10-09 11:24:04 +02:00
David Christofas
0578092c6f add version command and add build information to metrics
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-09-25 13:31:14 +02:00
A.Unger
d8ea10ccd0 proxy working 2020-09-18 15:18:41 +02:00
A.Unger
91bd83938b update proxy import paths and module name 2020-09-18 12:48:35 +02:00
A.Unger
598ca6c405 Add 'proxy/' from commit '201b9a652685cdfb72ba81c7e7b00ba1c60a0e35'
git-subtree-dir: proxy
git-subtree-mainline: 571d96e856
git-subtree-split: 201b9a6526
2020-09-18 12:47:26 +02:00