Willy Kloucek
55bf175bea
move config parsing in separate package for each service
2022-01-03 15:21:56 +01:00
Willy Kloucek
7ffe93ba3b
remove supervised flag from configs
2022-01-03 08:22:44 +01:00
Willy Kloucek
c9ee77955d
expose proxy debug port only on localhost
2022-01-03 08:15:46 +01:00
Willy Kloucek
7abcf96ea8
revert storage, remove tracing.service and bring back common
2022-01-03 07:49:24 +01:00
Willy Kloucek
9aae5392fc
split **/pkg/config/config.go up to multiple files
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
4067ae9493
switch glauth to struct tag based env config
2022-01-03 07:49:23 +01:00
Willy Kloucek
f7b949a445
remove service names
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
24347180fa
use ocisConfig as struct tagname to bind config files to strucg attributes
2021-11-19 09:28:23 +01:00
A.Unger
c22d3fc24d
prevent gookit/config to merge proxy values with default values
2021-11-18 11:44:08 +01:00
A.Unger
a34f5b6434
Revert "refactor config values to constants"
...
This reverts commit f53504158b .
2021-11-17 13:56:14 +01:00
A.Unger
f53504158b
refactor config values to constants
2021-11-17 13:43:23 +01:00
A.Unger
ff611633f5
Revert "fixed code smells: string literal repetition + cyclomatic complexity"
...
This reverts commit aa4112e2e2 .
2021-11-17 13:19:31 +01:00
A.Unger
aa4112e2e2
fixed code smells: string literal repetition + cyclomatic complexity
2021-11-17 12:25:21 +01:00
A.Unger
8c307ef2bf
add missing OCIS_INSECURE binding on PROXY_OIDC_INSECURE
2021-11-16 13:43:54 +01:00
A.Unger
2b0f414b46
Revert "fix code smells"
...
This reverts commit a22342ea28 .
2021-11-15 10:16:20 +01:00
A.Unger
a22342ea28
fix code smells
2021-11-15 10:03:42 +01:00
A.Unger
aa67106e04
sane common configurations
2021-11-11 12:51:57 +01:00
A.Unger
51bee0e531
sort out flags precedence
2021-11-09 17:30:31 +01:00
Willy Kloucek
16bb92f89c
fix hello deployment
2021-11-09 15:22:26 +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
3206b98359
attempt to fix flags
2021-11-05 16:20:00 +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
418cc97fb9
update proxy bindings
2021-11-03 16:32:11 +01:00
A.Unger
572e238dcd
infere go type from destination
2021-11-03 16:01:45 +01:00
A.Unger
7ac71b65f6
backwards compatibility with urfave/cli
2021-11-03 14:56:31 +01:00
A.Unger
90844c5c84
first draft of config loading exclusively using env vars
2021-11-03 14:46:38 +01:00
A.Unger
ac373dd004
add mode mappings to proxy config struct
2021-11-03 11:49:40 +01:00
A.Unger
850fe65f4b
comments for mappings
2021-11-03 11:39:23 +01:00
A.Unger
09195ffc8c
use reflection to set config values from environment
2021-11-03 11:34:56 +01: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
1b9ec56af4
remove proxy asset path configuration
2021-10-05 14:10:41 +02:00
Ishank Arora
08c51ee8c8
Use reva's Authenticate method instead of spawning token managers
2021-09-21 15:50:19 +02:00
Josh Soref
55667a3ab3
spelling
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
2021-09-20 16:54:29 +05:45
Willy Kloucek
a0dce56480
use cookie to enforce routing for regex and claim selector
2021-07-23 08:38:55 +00:00
Jörn Friedrich Dreyer
b540ccdf10
add regex rule priority, drop request from selector signature, add unit tests
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2021-07-23 08:31:10 +00:00
Jörn Friedrich Dreyer
4385d3dacb
add RegexSelector
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2021-07-23 08:22:40 +00:00
Jörn Friedrich Dreyer
40c8031441
add claims policy selector
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2021-07-23 08:07:17 +00:00
Jörn Friedrich Dreyer
1f3e963c29
use claims map instead of struct
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2021-07-22 09:20:36 +00:00
A.Unger
5518c6cf1c
add tests for crypto.GenCert
2021-06-08 10:37:26 +02:00
A.Unger
fa27def950
suport for proxy
2021-03-17 15:42:24 +01:00
A.Unger
4e37d4a2f6
update commands when running in supervised mode
2021-03-10 11:10:46 +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
Ilja Neumann
92a1bc8fb6
Make it possible to use CS3 as accounts backend instead of account-service
...
Configureable via:
PROXY_ACCOUNT_BACKEND_TYPE=cs3
PROXY_ACCOUNT_BACKEND_TYPE=accounts (default)
By using a backend which implements the CS3 user-api (currently provided by reva/storage) it is possible to bypass
the ocis-accounts service and for example use ldap directly.
Hides user and auth related communication behind a facade (user/backend) to minimize logic-duplication across middlewares.
Allows to switich the account backend from accounts to cs3.
Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2020-12-11 18:34:43 +01:00
A.Unger
ad4ea3efe7
Merge branch 'master' into ocis-1132
2020-12-04 12:39:57 +01:00