Juan Pablo Villafañez
6ee4a084a2
Use go-micro store to cache the roles ( #4337 )
...
* Use go-micro store to cache the roles
Add custom in-memory implementation
* replace redis with custom etcd implementation
* adjust table name for the cache in the roles manager
* Fix tests
* Fix sonarcloud issues
* Refactor for sonarcloud
* Allow configuration of cache per service
* Reuse parent context in etcd implementation
2022-09-16 15:42:47 +02:00
Phil Davis
ef04aebc90
Fix grammar in README
2022-08-26 10:35:47 +05:45
Willy Kloucek
9f2be9f4f9
remove Log prefix from configlog functions
2022-08-22 08:08:18 +02:00
Willy Kloucek
e58eaabdeb
move config parse error logging into function to ensure new lines and don't parse config for help
2022-08-18 15:27:28 +02:00
Willy Kloucek
6154466bbc
rename extensions to services (leftover occurences)
2022-08-17 15:36:52 +02:00
jkoberg
f64ea7dc1b
make runset a map
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2022-07-21 16:19:36 +02:00
kobergj
db363b6800
Update ocis-pkg/config/config.go
...
Co-authored-by: Phil Davis <phil@jankaritech.com >
2022-07-21 15:54:56 +02:00
jkoberg
4b8d1acdf4
allow providing list of services not to start
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2022-07-21 15:51:17 +02:00
Ralf Haferkamp
946f3e8feb
Remove unused BindEnv code
...
We dropped this in favour of envdecode a while ago.
2022-07-14 16:34:25 +02:00
Bishop Clark
001b4301ab
adjective order
...
Adjective order nit-correction in prepositions.
2022-07-09 12:48:15 -07:00
Willy Kloucek
ab960dcf97
fix OCIS_RUN_SERVICES
2022-07-07 15:21:29 +02:00
André Duffeck
c2b163afe6
Improve description of the machine auth api key config options
2022-07-05 11:05:33 +02:00
Willy Kloucek
8f3b0c50cd
Merge branch 'master' into config-doc-descriptions
2022-06-28 13:03:19 +02:00
Willy Kloucek
6bebfabb65
improve descriptions
2022-06-28 08:19:13 +02:00
Christian Richter
0ebfb89083
readd OCIS_RUN_EXTENSIONS
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2022-06-27 14:07:03 +02:00
Christian Richter
3b87f75132
further refactoring & add changelog
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2022-06-27 14:07:02 +02:00
Christian Richter
f8f1320501
refactor extensions -> services
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2022-06-27 14:05:36 +02:00
Willy Kloucek
9bf2661395
add more config doc descriptions
2022-06-21 09:13:38 +02:00
Willy Kloucek
444ffa5e75
add more configuration descriptions
2022-06-14 14:58:27 +02:00
Willy Kloucek
27b2fbe7e0
fix configuration validation for extensions' server commands
2022-06-02 09:57:45 +02:00
Willy Kloucek
88830425cc
allow overwriting a default value by setting an empty envirionment variable
2022-05-30 16:19:54 +02:00
Ralf Haferkamp
d25aa7b20f
Remove "accounts" service
2022-05-11 15:29:34 +02:00
Ralf Haferkamp
5ba1b8f2c1
Remove "glauth" service
...
The "glauth" service is no longer used. After we switched to
libregraph/idm.
2022-05-11 15:29:34 +02:00
Jörn Friedrich Dreyer
51e1aa2978
rename users and groups extensions
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2022-05-05 09:14:27 +00:00
Michael Barz
4b71cd40af
Merge pull request #3678 from owncloud/v2
...
Update ocis packages and imports to V2
2022-05-04 16:36:01 +02:00
kobergj
eb59d2291e
MachineAuthAPIKey -> SystemUserAPIKey ( #3672 )
...
* split machineauthapikey and systemuserapikey
Signed-off-by: jkoberg <jkoberg@owncloud.com >
* changelog
Signed-off-by: jkoberg <jkoberg@owncloud.com >
* specific errors and some reverts
Signed-off-by: jkoberg <jkoberg@owncloud.com >
* use correct machine auth api key
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2022-05-04 15:48:02 +02:00
Michael Barz
189987bcbd
Bump major version to v2
2022-05-04 14:49:59 +02:00
Ralf Haferkamp
d6bf26c744
Rename ADMIN_USER_ID env var to OCIS_ADMIN_USER_ID
...
Also let the top-level ocis config validator error out if admin_user_id
is unset at start.
2022-05-04 12:42:28 +02:00
Ralf Haferkamp
7ef205d232
Get rid of hardcoded admin user uuid
...
The UUID is generated by `ocs init` now and stored in the config file.
To avoid that every ocis install uses the same UUID
Closes : #3524
2022-05-04 12:42:28 +02:00
Christian Richter
55d28f45c6
Merge pull request #3670 from owncloud/yaml-underscores
...
make yaml tags always use underscore
2022-05-04 12:28:03 +02:00
kobergj
5346299e6d
MetadataUserID -> SystemUserID ( #3671 )
...
* replace MetadataUserID with SystemUserID
Signed-off-by: jkoberg <jkoberg@owncloud.com >
* the missing change
Signed-off-by: jkoberg <jkoberg@owncloud.com >
* changelog
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2022-05-04 11:41:37 +02:00
Jörn Friedrich Dreyer
edd3adcf1d
make yaml tags always use underscore
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2022-05-04 08:54:46 +00:00
Jörn Friedrich Dreyer
565548ebce
storage-metadata -> storage-system
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2022-05-04 08:14:13 +00:00
Jörn Friedrich Dreyer
449a0169f6
approvider -> app-provider
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2022-05-04 06:39:28 +00:00
Willy Kloucek
26a92f2bad
add app-registry service
2022-05-03 15:12:35 +02:00
Jörn Friedrich Dreyer
1c8b353d44
Merge pull request #3635 from aduffeck/search
...
Add initial version of the search extension
2022-05-02 19:25:07 +02:00
Michael Barz
b08eb44c5b
fix env variable for metadata user ID
2022-05-02 17:44:21 +02:00
Jörn Friedrich Dreyer
bfc8196ac2
Merge branch 'master' into search
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2022-05-02 13:43:24 +00:00
Jörn Friedrich Dreyer
398caeed2c
Merge pull request #3602 from owncloud/metadata-gateway
...
introduce metadata gateway
2022-05-02 15:16:27 +02:00
Jörn Friedrich Dreyer
f88c000bac
generate metadata user id
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2022-05-02 12:36:30 +00:00
Jörn Friedrich Dreyer
0642a5e0ca
Align service naming ( #3606 )
...
* use configured names as service names in ocis runtime
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* add changelog
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* correct service names for group and storage-shares
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* use correct service names in .drone.star
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* align ocis-pkg/config/config.go
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2022-05-02 12:44:21 +02:00
Willy Kloucek
1cdb81bd3e
add fixes from review
2022-04-29 16:10:21 +02:00
André Duffeck
08df2e32d9
Merge remote-tracking branch 'upstream/master' into search
2022-04-29 13:00:01 +02:00
Christian Richter
72688b3650
move generic secret errors to shared, fix edgecase in cli flags
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2022-04-29 11:15:13 +02:00
Willy Kloucek
4e531ca442
fix ocis startup with debugging config / environment variables only
2022-04-28 16:28:12 +02:00
Willy Kloucek
3a9ba10dc4
fix and restructure ocis-pkg config parser
2022-04-28 15:34:31 +02:00
Willy Kloucek
1b2cc6df3e
revert empty yaml tags
2022-04-28 15:14:56 +02:00
Willy Kloucek
ab254b05d0
remove all "omitempty" from config structs to bring back full configuration file documentation
2022-04-28 15:08:40 +02:00
Willy Kloucek
9095b11d6c
load reva gateway and token manager from common config
2022-04-27 13:58:59 +02:00
Christian Richter
fb5ca006e4
Merge remote-tracking branch 'origin/master' into ocis-init
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2022-04-26 16:28:12 +02:00