Commit Graph

85 Commits

Author SHA1 Message Date
Willy Kloucek
62dbd893b7 switch to http.StatusOK instead of 200 2022-01-07 13:21:14 +01:00
Willy Kloucek
d9744ebda7 improve command description 2022-01-07 13:19:39 +01:00
Willy Kloucek
11466c5f9a ensure, that each config is only parsed once 2022-01-03 19:08:11 +01:00
Willy Kloucek
3d4df5796a remove version from service config 2022-01-03 16:24:39 +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
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
e3e3d1ee57 runtime: removed trap goroutine and let the context cancelation do the thing 2021-12-06 12:11:48 +01:00
A.Unger
ad4fb0e0f9 attempt to revert to the old status. Just triggering a CI run 2021-11-17 19:37:15 +01:00
A.Unger
592a91053b restore flags for some account commands 2021-11-17 16:41:51 +01:00
A.Unger
c567eb6eea removed yet more flagsets 2021-11-17 11:39:32 +01:00
A.Unger
0d7be0d6ad set all previously set on c.StringSlice values on the bootstrap config 2021-11-16 12:22:17 +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
a55a0395eb add mapstructure to ocs 2021-11-05 15:16:03 +01:00
A.Unger
b94c0e683f fix yet more offenses 2021-11-05 14:26:02 +01:00
A.Unger
ba1635165b migrate idp to the new config scheme 2021-11-05 11:15:55 +01:00
A.Unger
a76ad08d12 fix dead code logic 2021-11-04 14:19:41 +01:00
A.Unger
cfe1ac30af add graph 2021-11-04 13:50:42 +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
d6040ce76c fix ipv6 error with go-micro update 2021-10-28 12:29:50 +02:00
Willy Kloucek
ef406c8baa ensure lowercase backend in the command 2021-10-27 12:53:25 +02:00
David Christofas
9ecc065879 update CORS middleware and make it configurable 2021-10-22 13:27:31 +02:00
Willy Kloucek
6d5a3733ff upgrade to go micro v4.1.0 2021-10-14 15:56:19 +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
b13863b717 refactor traceprovider initialization 2021-08-09 18:03:01 +02:00
A.Unger
0b448f6e02 refactor accounts tracing and server method 2021-03-18 10:31:30 +01:00
A.Unger
c04abb9f47 suport for accounts 2021-03-17 15:41:36 +01:00