commit 0e88cb1bec
Author: Jörn Friedrich Dreyer <jfd@owncloud.com> Date: Tue Apr 12 11:27:24 2022 +0200 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>
This commit is contained in:
1 parent
4e99b78bd0
commit
e48e17c5ea
11 files changed
+53
-21
No files matched your search
@@ -28,86 +28,112 @@ policies:
|
||||
- type: ""
|
||||
endpoint: /
|
||||
backend: http://localhost:9100
|
||||
service: ""
|
||||
apache-vhost: false
|
||||
- type: ""
|
||||
endpoint: /.well-known/
|
||||
backend: http://localhost:9130
|
||||
service: ""
|
||||
apache-vhost: false
|
||||
- type: ""
|
||||
endpoint: /konnect/
|
||||
backend: http://localhost:9130
|
||||
service: ""
|
||||
apache-vhost: false
|
||||
- type: ""
|
||||
endpoint: /signin/
|
||||
backend: http://localhost:9130
|
||||
service: ""
|
||||
apache-vhost: false
|
||||
- type: ""
|
||||
endpoint: /archiver
|
||||
backend: http://localhost:9140
|
||||
service: ""
|
||||
apache-vhost: false
|
||||
- type: regex
|
||||
endpoint: /ocs/v[12].php/cloud/(users?|groups)
|
||||
backend: http://localhost:9110
|
||||
service: ""
|
||||
apache-vhost: false
|
||||
- type: ""
|
||||
endpoint: /ocs/
|
||||
backend: http://localhost:9140
|
||||
service: ""
|
||||
apache-vhost: false
|
||||
- type: query
|
||||
endpoint: /remote.php/?preview=1
|
||||
backend: http://localhost:9115
|
||||
service: ""
|
||||
apache-vhost: false
|
||||
- type: ""
|
||||
endpoint: /remote.php/
|
||||
backend: http://localhost:9140
|
||||
backend: ""
|
||||
service: ocdav
|
||||
apache-vhost: false
|
||||
- type: ""
|
||||
endpoint: /dav/
|
||||
backend: http://localhost:9140
|
||||
backend: ""
|
||||
service: ocdav
|
||||
apache-vhost: false
|
||||
- type: ""
|
||||
endpoint: /webdav/
|
||||
backend: http://localhost:9140
|
||||
backend: ""
|
||||
service: ocdav
|
||||
apache-vhost: false
|
||||
- type: ""
|
||||
endpoint: /status.php
|
||||
backend: http://localhost:9140
|
||||
backend: ""
|
||||
service: ocdav
|
||||
apache-vhost: false
|
||||
- type: ""
|
||||
endpoint: /index.php/
|
||||
backend: http://localhost:9140
|
||||
backend: ""
|
||||
service: ocdav
|
||||
apache-vhost: false
|
||||
- type: ""
|
||||
endpoint: /apps/
|
||||
backend: ""
|
||||
service: ocdav
|
||||
apache-vhost: false
|
||||
- type: ""
|
||||
endpoint: /data
|
||||
backend: http://localhost:9140
|
||||
service: ""
|
||||
apache-vhost: false
|
||||
- type: ""
|
||||
endpoint: /app/
|
||||
backend: http://localhost:9140
|
||||
service: ""
|
||||
apache-vhost: false
|
||||
- type: ""
|
||||
endpoint: /graph/
|
||||
backend: http://localhost:9120
|
||||
service: ""
|
||||
apache-vhost: false
|
||||
- type: ""
|
||||
endpoint: /graph-explorer
|
||||
backend: http://localhost:9135
|
||||
service: ""
|
||||
apache-vhost: false
|
||||
- type: ""
|
||||
endpoint: /api/v0/accounts
|
||||
backend: http://localhost:9181
|
||||
service: ""
|
||||
apache-vhost: false
|
||||
- type: ""
|
||||
endpoint: /accounts.js
|
||||
backend: http://localhost:9181
|
||||
service: ""
|
||||
apache-vhost: false
|
||||
- type: ""
|
||||
endpoint: /api/v0/settings
|
||||
backend: http://localhost:9190
|
||||
service: ""
|
||||
apache-vhost: false
|
||||
- type: ""
|
||||
endpoint: /settings.js
|
||||
backend: http://localhost:9190
|
||||
service: ""
|
||||
apache-vhost: false
|
||||
oidc:
|
||||
issuer: https://localhost:9200
|
||||
|
||||
@@ -7,6 +7,18 @@ debug:
|
||||
token: ""
|
||||
pprof: false
|
||||
zpages: false
|
||||
ocdav:
|
||||
addr: 127.0.0.1:0
|
||||
prefix: ""
|
||||
webdav_namespace: /users/{{.Id.OpaqueId}}
|
||||
files_namespace: /users/{{.Id.OpaqueId}}
|
||||
shares_namespace: /Shares
|
||||
public_url: https://localhost:9200
|
||||
debug_addr: 127.0.0.1:9163
|
||||
gateway_svc: 127.0.0.1:9142
|
||||
jwt_secret: Pive-Fumkiu4
|
||||
insecure: false
|
||||
timeout: 84300
|
||||
reva:
|
||||
jwt_secret: Pive-Fumkiu4
|
||||
skip_user_grooups_in_token: false
|
||||
@@ -73,9 +85,6 @@ reva:
|
||||
join_username: false
|
||||
join_owncloud_uuid: false
|
||||
enable_medial_search: false
|
||||
ocdav:
|
||||
webdav_namespace: /users/{{.Id.OpaqueId}}
|
||||
dav_files_namespace: /users/{{.Id.OpaqueId}}
|
||||
archiver:
|
||||
max_num_files: 10000
|
||||
max_size: 1073741824
|
||||
@@ -255,7 +264,6 @@ reva:
|
||||
debug_addr: 127.0.0.1:9141
|
||||
services:
|
||||
- datagateway
|
||||
- ocdav
|
||||
- ocs
|
||||
- appprovider
|
||||
config: {}
|
||||
@@ -268,8 +276,6 @@ reva:
|
||||
data_gateway_prefix: data
|
||||
favorites: false
|
||||
project_spaces: true
|
||||
ocdav_insecure: false
|
||||
ocdav_prefix: ""
|
||||
ocs_prefix: ocs
|
||||
ocs_share_prefix: /Shares
|
||||
ocs_home_namespace: /users/{{.Id.OpaqueId}}
|
||||
@@ -619,7 +625,7 @@ reva:
|
||||
context: null
|
||||
supervised: false
|
||||
configs: {}
|
||||
uppload_max_chunk_size: 100000000
|
||||
upload_max_chunk_size: 100000000
|
||||
upload_http_method_override: ""
|
||||
checksum_supported_types:
|
||||
- sha1
|
||||
|
||||
@@ -50,7 +50,7 @@ export STORAGE_LDAP_USERATTRIBUTEFILTER='(&(objectclass=owncloud)({{attr}}={{val
|
||||
export STORAGE_LDAP_USERFINDFILTER='(&(objectclass=owncloud)(|(uid={{query}}*)(cn={{query}}*)(displayname={{query}}*)(mail={{query}}*)(description={{query}}*)))'
|
||||
export STORAGE_LDAP_USERGROUPFILER='(&(objectclass=groupOfNames)(member={{query}}*))'
|
||||
export STORAGE_LDAP_GROUPFILTER='(&(objectclass=groupOfNames)(objectclass=owncloud)(ownclouduuid={{.OpaqueId}}*))'
|
||||
export OCIS_RUN_EXTENSIONS=settings,storage-metadata,graph,graph-explorer,ocs,store,thumbnails,web,webdav,storage-frontend,storage-gateway,storage-userprovider,storage-groupprovider,storage-authbasic,storage-authbearer,storage-authmachine,storage-users,storage-shares,storage-public-link,storage-appprovider,storage-sharing,proxy,idp,nats,idm
|
||||
export OCIS_RUN_EXTENSIONS=settings,storage-metadata,graph,graph-explorer,ocs,store,thumbnails,web,webdav,storage-frontend,storage-gateway,storage-userprovider,storage-groupprovider,storage-authbasic,storage-authbearer,storage-authmachine,storage-users,storage-shares,storage-public-link,storage-appprovider,storage-sharing,proxy,idp,nats,idm,ocdav
|
||||
export OCIS_INSECURE=true
|
||||
bin/ocis server
|
||||
```
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: "ocis.messages.accounts.v0"
|
||||
url: /grpc_apis/ocis_messages_accounts_v0
|
||||
date: 2022-04-12T08:33:40Z
|
||||
date: 2022-04-12T09:28:22Z
|
||||
weight: 50
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
---
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: "ocis.messages.settings.v0"
|
||||
url: /grpc_apis/ocis_messages_settings_v0
|
||||
date: 2022-04-12T08:33:40Z
|
||||
date: 2022-04-12T09:28:22Z
|
||||
weight: 50
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
---
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: "ocis.messages.store.v0"
|
||||
url: /grpc_apis/ocis_messages_store_v0
|
||||
date: 2022-04-12T08:33:40Z
|
||||
date: 2022-04-12T09:28:22Z
|
||||
weight: 50
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
---
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: "ocis.messages.thumbnails.v0"
|
||||
url: /grpc_apis/ocis_messages_thumbnails_v0
|
||||
date: 2022-04-12T08:33:40Z
|
||||
date: 2022-04-12T09:28:22Z
|
||||
weight: 50
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
---
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: "ocis.services.accounts.v0"
|
||||
url: /grpc_apis/ocis_services_accounts_v0
|
||||
date: 2022-04-12T08:33:40Z
|
||||
date: 2022-04-12T09:28:22Z
|
||||
weight: 50
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
---
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: "ocis.services.settings.v0"
|
||||
url: /grpc_apis/ocis_services_settings_v0
|
||||
date: 2022-04-12T08:33:40Z
|
||||
date: 2022-04-12T09:28:22Z
|
||||
weight: 50
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
---
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: "ocis.services.store.v0"
|
||||
url: /grpc_apis/ocis_services_store_v0
|
||||
date: 2022-04-12T08:33:40Z
|
||||
date: 2022-04-12T09:28:22Z
|
||||
weight: 50
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
---
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: "ocis.services.thumbnails.v0"
|
||||
url: /grpc_apis/ocis_services_thumbnails_v0
|
||||
date: 2022-04-12T08:33:40Z
|
||||
date: 2022-04-12T09:28:22Z
|
||||
weight: 50
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
---
|
||||
|
||||
Reference in new issue
Block a user