Commit Graph

34 Commits

Author SHA1 Message Date
Ralf Haferkamp
4a09d8a948 Remove redundant setting of cli.HelpFlag
The help flag is configured automatically by default already. We don't
need to redo that for every single service.

This also addresses one of the finding of "go race" (#4088)
2022-07-05 14:59:06 +02:00
Willy Kloucek
44c909b31d unify ocis subcommands 2022-05-16 07:59:18 +02:00
Michael Barz
189987bcbd Bump major version to v2 2022-05-04 14:49:59 +02:00
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
eee0d0c4c8 remove build flags, add debug server to accounts 2022-01-03 11:11:15 +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
fe1672a000 migrate ocis-pkg to envdecode 2022-01-03 07:49:25 +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
2dd9a7b14c new config framework in proxy 2021-11-08 13:32:58 +01:00
A.Unger
74dae6dad9 add ocis-pkg/config default config + fix logging inheritance 2021-11-08 11:14:26 +01:00
A.Unger
28b0b8fccd fix ocis root flagset 2021-11-05 12:10:37 +01:00
A.Unger
e858fa0188 define ocis_url as a shared option in ocis-pkg/config 2021-11-04 12:58:18 +01:00
A.Unger
4194da4e88 add ocis.yaml 2021-11-04 10:53:40 +01:00
A.Unger
2a14bb362a fix smells 2021-11-02 14:48:40 +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
abd18e3101 Merge branch 'master' into file-logging-ocis-1666 2021-03-17 15:28:16 +01:00
A.Unger
8a3e280d83 initial support for file logging 2021-03-17 15:26:43 +01:00
A.Unger
41f4a633f5 add config-file flag to ocis, propagate log config to graph & graph-explorer 2021-03-17 10:58:28 +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
29910838c1 rework config 2021-03-09 15:55:45 +01:00
Jörn Friedrich Dreyer
8a8aa2dc52 use micre v3 registry interface
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-02-22 15:08:50 +00:00
A.Unger
7e505fbd9f remove any micro v2 occurences from the project 2021-02-18 08:01:53 +00: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
634c06571c go mod tidy, recommended to run go mod vendor on your machine. Fix linter 2020-11-12 10:33:03 +01:00
A.Unger
bdfea8ee2e refactor registry awareness logic 2020-11-12 09:50:59 +01:00
A.Unger
39deac6e74 parse address from MICRO_REGISTRY_ADDRESS 2020-11-11 15:36:53 +01:00
A.Unger
d0e28b6345 rely on MICRO_REGISTRY to swap registries 2020-11-11 15:28:22 +01:00
A.Unger
fa7f137c04 parse ocis root config down to subcommands 2020-11-05 11:29:13 +01:00
A.Unger
1517eb9436 add ocis subcommand 2020-09-18 13:15:21 +02:00