Commit Graph

64 Commits

Author SHA1 Message Date
Jörn Friedrich Dreyer
b9b614ec29 store env var
Co-authored-by: kobergj <jkoberg@owncloud.com>
2022-04-01 16:05:24 +02:00
Jörn Friedrich Dreyer
41abe71b46 make config dir configurable
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-04-01 11:43:29 +00:00
Willy Kloucek
1232f26fe4 use yaml tag instead of ocisConfig #2 2022-03-29 15:06:58 +02:00
Willy Kloucek
551e38e21f drop json config support 2022-03-28 12:54:28 +02:00
Willy Kloucek
899510b158 fix config package import 2022-03-14 15:26:32 +01:00
Christian Richter
9734b000b3 Add defaultconfig to extensions 2022-03-10 14:12:26 +01:00
Willy Kloucek
f2e8c90067 proof of concept 2022-03-10 14:11:44 +01:00
jkoberg
1609bb3a7c make service start
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-03-08 14:44:39 +01:00
Ralf Haferkamp
02775b72c7 Add embeded libregrah/idm server
This add a new service "idm" providing and LDAP service (via ldaps) on
port 9235.  If not existing it will bootstrap an initial LDAP tree and
administrative user as well as a self-signed Certificate and Key
(similar to what is done for glauth).
2022-02-25 11:43:03 +01:00
David Christofas
238d2dfdbc add new notifications service 2022-02-18 15:44:53 +01:00
kobergj
889a42c964 [full-ci] Events (#3146)
* initial events draft

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* start nats server with ocis

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* use feature reva and add config

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* remove unneeded files

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* edge reva and fix pipeline

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* configure nats server via ocis

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* update expected failures

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* add nats to parallel deployment

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* more expected failures

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* use NATS instead of cp SETTINGS

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* remove more configuration options

Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-02-11 17:14:48 +01:00
Willy Kloucek
6ef6d1117c fix condition for nil pointer in common config 2022-01-13 08:13:14 +01:00
Willy Kloucek
55bf175bea move config parsing in separate package for each service 2022-01-03 15:21:56 +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
ea5dd75605 satisfy linters 2022-01-03 08:55:22 +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
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
Willy Kloucek
6bf467127b switch accounts to struct tag based env config 2022-01-03 07:49:23 +01:00
A.Unger
02b5a9d223 deleted http, grpc and debug from ocis-pkg/config/config.go 2021-11-24 11:44:32 +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
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
cfbe37de61 WIP - replace flags in storage commands 2021-11-15 16:58:22 +01:00
A.Unger
aa67106e04 sane common configurations 2021-11-11 12:51:57 +01:00
Willy Kloucek
16bb92f89c fix hello deployment 2021-11-09 15:22:26 +01:00
A.Unger
ee03185b22 add support for json driver 2021-11-09 14:19:28 +01:00
A.Unger
2c49ee6ab9 first doc draft + glauth logging small refactor 2021-11-09 00:50:27 +01:00
A.Unger
2dd9a7b14c new config framework in proxy 2021-11-08 13:32:58 +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
b94c0e683f fix yet more offenses 2021-11-05 14:26:02 +01:00
A.Unger
99f28e601c migrate store to the new config scheme 2021-11-05 14:10:25 +01:00
A.Unger
ad72f7574c migrate webdav to the new config scheme 2021-11-05 13:45:15 +01:00
A.Unger
ca997e5bfc migrate web to the new config scheme 2021-11-05 13:33:03 +01:00
A.Unger
b44ebce526 continue thumbnails migration 2021-11-05 12:49:52 +01:00
A.Unger
17dbc3d5ee migrate settings to the new config scheme 2021-11-05 12:25:32 +01:00
A.Unger
ff7022a256 migrate ocs to the new config scheme 2021-11-05 12:06:35 +01:00
A.Unger
91c766210c migrate graph-explorer to the new config scheme 2021-11-05 11:31:35 +01:00
A.Unger
ba1635165b migrate idp to the new config scheme 2021-11-05 11:15:55 +01:00
A.Unger
da36ca8cde adjust flagsets 2021-11-04 15:56:01 +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
09195ffc8c use reflection to set config values from environment 2021-11-03 11:34:56 +01:00
A.Unger
24b3363310 rename _fs -> dirFS 2021-11-02 14:50:31 +01:00
A.Unger
ab1703c2e8 refactor around config parsing 2021-11-02 14:20:07 +01:00