Jörn Friedrich Dreyer
0e88cb1bec
Use embeddable ocdav go micro service ( #3397 )
...
* allow proxy to route to micro service
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* use go micre ocdav service instead of reva frontend
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* add missing gateway default config
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* update reva branch for testing
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* add changelog
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* add missing comands
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* bump reva version
Signed-off-by: jkoberg <jkoberg@owncloud.com >
* tidy
Signed-off-by: jkoberg <jkoberg@owncloud.com >
* bump reva again
Signed-off-by: jkoberg <jkoberg@owncloud.com >
* a blind mans config change
Signed-off-by: jkoberg <jkoberg@owncloud.com >
* add ocdav to must start extensions
Signed-off-by: jkoberg <jkoberg@owncloud.com >
* fail when neither backend nor service is set
Signed-off-by: jkoberg <jkoberg@owncloud.com >
Co-authored-by: jkoberg <jkoberg@owncloud.com >
2022-04-12 11:27:24 +02:00
Willy Kloucek
5a99761ff5
use oCIS only proxy config for documentation
2022-03-29 15:06:58 +02:00
Willy Kloucek
e224ce03cf
use yaml tag instead of ocisConfig
2022-03-29 15:06:58 +02:00
Willy Kloucek
9a4737d3ed
exclude config items not inteded to be used from un/marshalling
2022-03-11 12:12:44 +01:00
Christian Richter
9734b000b3
Add defaultconfig to extensions
2022-03-10 14:12:26 +01:00
Willy Kloucek
6ef6d1117c
fix condition for nil pointer in common config
2022-01-13 08:13:14 +01:00
Willy Kloucek
a3df3f9119
remove default tracing config from indiviual packages
2022-01-13 08:13:14 +01:00
Willy Kloucek
182712b223
fix tracing config
2022-01-13 08:13:14 +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
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