A.Unger
89fc088239
Merge branch 'master' into initialization-responsibility
2021-02-23 14:56:36 +01:00
Jörn Friedrich Dreyer
f3468e1070
Merge pull request #1701 from owncloud/missing-dependencies
...
fix missing registry dependencies
2021-02-23 14:29:38 +01:00
A.Unger
97271d51bc
add circuit breakers
2021-02-23 11:56:03 +01:00
David Christofas
3a46bd2f94
update reva to v1.6.1-0.20210223065028-53f39499762e
...
Update reva and also set a replace for github.com/oleiade/reflections.
The replace should resolve the dependabot issue. See oleiade/reflections#14 . Once https://github.com/ory/fosite has updated to reflections 1.0.1 or higher we can remove the replace.
2021-02-23 11:36:07 +01:00
Jörn Friedrich Dreyer
368d32becb
run make go-mod-tidy
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2021-02-23 09:16:58 +00:00
Jörn Friedrich Dreyer
52ebb7c611
Merge pull request #1700 from owncloud/preallocate-slices
...
pre allocate slices
2021-02-23 09:55:52 +01:00
Florian Schade
377eecc66e
add missing dependencies
2021-02-23 03:43:17 +01:00
David Christofas
1088faf95d
pre allocate slices
...
Pre allocating slices with a target size reduces the number of allocations because we already know how big the slice will be and therefore need to allocate only once
2021-02-22 19:41:48 +01:00
Jörn Friedrich Dreyer
fd703ec740
add initial nats and kubernetes registry support
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2021-02-22 15:20:22 +00:00
Jörn Friedrich Dreyer
8a8aa2dc52
use micre v3 registry interface
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2021-02-22 15:08:50 +00:00
Jörn Friedrich Dreyer
f89128a2d9
use registry interface
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2021-02-22 13:42:00 +00:00
Jörn Friedrich Dreyer
89b06defa5
use ocis grpc client for thumbnails
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2021-02-18 21:26:36 +00:00
Jörn Friedrich Dreyer
d4585933ac
reuse the default client
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2021-02-18 13:07:04 +00:00
A.Unger
1daad022c3
set MICRO_LOG_LEVEL to error if not defined
2021-02-18 12:45:44 +01:00
Jörn Friedrich Dreyer
d9f4a4c524
always pass in a client
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2021-02-18 10:58:56 +00:00
Jörn Friedrich Dreyer
11ed5e49d8
same order of options in grpc and http service
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2021-02-18 10:00:16 +00:00
Jörn Friedrich Dreyer
13f6defb7a
use upstream prometheus logger
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2021-02-18 09:10:00 +00:00
Jörn Friedrich Dreyer
c2939551e5
rebase and tidy
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2021-02-18 08:17:57 +00:00
Jörn Friedrich Dreyer
34a9fb2dc8
remove unneeded getTranstport
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2021-02-18 08:03:22 +00:00
Jörn Friedrich Dreyer
57aec02410
tidy everything
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2021-02-18 08:03:22 +00:00
Jörn Friedrich Dreyer
588ac4a2a6
get rid of http server option.Hander
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2021-02-18 08:01:53 +00:00
Jörn Friedrich Dreyer
603dad3533
bring back etcd registry
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2021-02-18 08:01:53 +00:00
A.Unger
b89deea796
remove redundant transport
2021-02-18 08:01:53 +00:00
A.Unger
448bdde79c
use http replace
2021-02-18 08:01:53 +00:00
A.Unger
072d0704df
wip
2021-02-18 08:01:53 +00:00
A.Unger
7e505fbd9f
remove any micro v2 occurences from the project
2021-02-18 08:01:53 +00:00
A.Unger
005f47d436
update accounts, settings, storage-metadata and ocis-pkg to use asim go-micro v3
2021-02-18 08:00:02 +00:00
Jörn Friedrich Dreyer
83851ca2bb
return micro.Service()
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2021-02-18 08:00:02 +00:00
A.Unger
88f670b45c
initial commit
2021-02-18 08:00:02 +00:00
Willy Kloucek
888481a64a
Merge pull request #1626 from ishank011/group-provider
...
storage: add group provider service and sharing SQL driver
2021-02-17 10:34:25 +01:00
Ishank Arora
bafa6b9c81
Upgrade reva version
2021-02-16 16:01:57 +01:00
root
4813b06ed5
Upgrade reva and CS3APIs versions
2021-02-16 16:00:51 +01:00
Willy Kloucek
aed03b5bf5
generate all protobuf and embed.go files in CI
2021-02-16 15:44:06 +01:00
David Christofas
9d1341d1eb
update ocis dependencies
2021-02-16 14:32:46 +01:00
David Christofas
10d4bad26d
clean up go dependencies
2021-02-12 16:38:34 +01:00
Ilja Neumann
0c6c18f818
Update reva to master@0c10b333ee69
...
Co-authored-by: David Christofas <dchristofas@owncloud.com >
2021-02-12 16:14:03 +01:00
Ilja Neumann
7732949e3c
Rename konnectd to IDP
2021-01-29 15:21:31 +02:00
Ishank Arora
823e99efa9
Check if roles are present in user object before looking those up
2021-01-29 15:21:31 +02:00
Ingmar Aasoja
f9954bb022
Remove duplicated code and use existant getRegistry() instead
2021-01-29 11:54:44 +02:00
Ingmar Aasoja
5c235be89b
Use MICRO_REGISTRY_ADDRESS env var for etcd address
2021-01-28 16:12:08 +02:00
Jörn Friedrich Dreyer
75984383d6
update reva to 0c10b333ee69
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2021-01-25 15:05:48 +00:00
Florian Schade
03c1416a4a
update roles cache to use sync.cache
...
add tests for roles cache
add changelog
use strings in sync cache tests
2021-01-21 00:04:25 +01:00
Florian Schade
8c9f9b6dfc
bump go version to 1.15
2021-01-20 15:41:36 +01:00
Florian Schade
873fbcb557
rename NRWMutex to NameRWMutex
...
update changelog
2021-01-19 23:23:41 +01:00
Florian Schade
4f80541b9f
increase test timing cor sync.cache
2021-01-19 23:23:41 +01:00
Florian Schade
af870e005e
add more tests and benchmark for cache
...
refactor cache to use atomic uint
2021-01-19 23:23:41 +01:00
Florian Schade
f13530425a
move cache to sync package
...
rollback indexer map
use sync.pool for cache entries
add tests for cache
remove main locks from nrwmutex and use sync.map and sync.pool instead
bump dockerfile go version
2021-01-19 23:23:41 +01:00
Florian Schade
b81156fc57
add comments to NRWMutex
2021-01-19 23:23:41 +01:00
Florian Schade
a02fb890f7
remove locking from accounts service
...
add a cached named rwlock pkg
use sync.map in the cache pkg
use named rwlock in indexer pkg
use sync.map in indexer pkg
remove husky
2021-01-19 23:23:41 +01:00
Jörn Friedrich Dreyer
3240e20641
Update reva to v1.4.1-0.20210111080247
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2021-01-11 09:48:41 +00:00