Author: Willy Kloucek <34452982+wkloucek@users.noreply.github.com>
Date:   Thu Oct 6 10:02:31 2022 +0200

    fix env variables for JSONCS3 public driver configuration (#4593)

    * fix env variables for JSONCS3 public driver configuration

    * Update services/sharing/pkg/config/config.go

    Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de>

    * extend list of available sharing drivers

    * add changelog

    Co-authored-by: Michael Barz <michael.barz@zeitgestalten.eu>
    Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
Willy Kloucek committed 2022-10-06 08:05:55 +00:00
1 parent 6a8cd65b66
commit 94c8abb84b
10 files changed
+20 -20

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
---
title: "ocis.messages.search.v0"
url: /grpc_apis/ocis_messages_search_v0
date: 2022-10-06T00:08:31Z
date: 2022-10-06T08:04:32Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
+1 -1
View File
@@ -1,7 +1,7 @@
---
title: "ocis.messages.settings.v0"
url: /grpc_apis/ocis_messages_settings_v0
date: 2022-10-06T00:08:31Z
date: 2022-10-06T08:04:32Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
+1 -1
View File
@@ -1,7 +1,7 @@
---
title: "ocis.messages.store.v0"
url: /grpc_apis/ocis_messages_store_v0
date: 2022-10-06T00:08:31Z
date: 2022-10-06T08:04:31Z
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-10-06T00:08:31Z
date: 2022-10-06T08:04:32Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
+1 -1
View File
@@ -1,7 +1,7 @@
---
title: "ocis.services.search.v0"
url: /grpc_apis/ocis_services_search_v0
date: 2022-10-06T00:08:31Z
date: 2022-10-06T08:04:32Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
+1 -1
View File
@@ -1,7 +1,7 @@
---
title: "ocis.services.settings.v0"
url: /grpc_apis/ocis_services_settings_v0
date: 2022-10-06T00:08:31Z
date: 2022-10-06T08:04:32Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
+1 -1
View File
@@ -1,7 +1,7 @@
---
title: "ocis.services.store.v0"
url: /grpc_apis/ocis_services_store_v0
date: 2022-10-06T00:08:31Z
date: 2022-10-06T08:04:32Z
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-10-06T00:08:31Z
date: 2022-10-06T08:04:32Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
@@ -154,7 +154,7 @@ a| [subs=-attributes]
a| [subs=-attributes]
++jsoncs3 ++
a| [subs=-attributes]
Driver to be used to persist shares. Supported values are 'json', 'cs3' and 'owncloudsql'.
Driver to be used to persist shares. Supported values are 'jsoncs3', 'json', 'cs3' and 'owncloudsql'.
|`SHARING_USER_JSONCS3_PROVIDER_ADDR`
a| [subs=-attributes]
++string ++
@@ -279,7 +279,7 @@ a| [subs=-attributes]
a| [subs=-attributes]
++jsoncs3 ++
a| [subs=-attributes]
Driver to be used to persist public shares. Supported values are 'json' and 'cs3'.
Driver to be used to persist public shares. Supported values are 'jsoncs3', 'json' and 'cs3'.
|`SHARING_PUBLIC_JSON_FILE`
a| [subs=-attributes]
++string ++
@@ -287,7 +287,7 @@ a| [subs=-attributes]
++~/.ocis/storage/publicshares.json ++
a| [subs=-attributes]
Path to the JSON file where public share meta-data will be stored. This JSON file contains the information about public shares that have been created.
|`SHARING_PUBLIC_CS3_PROVIDER_ADDR`
|`SHARING_PUBLIC_JSONCS3_PROVIDER_ADDR`
a| [subs=-attributes]
++string ++
a| [subs=-attributes]
@@ -295,7 +295,7 @@ a| [subs=-attributes]
a| [subs=-attributes]
GRPC address of the STORAGE-SYSTEM service.
|`OCIS_SYSTEM_USER_ID` +
`SHARING_PUBLIC_CS3_SYSTEM_USER_ID`
`SHARING_PUBLIC_JSONCS3_SYSTEM_USER_ID`
a| [subs=-attributes]
++string ++
a| [subs=-attributes]
@@ -303,7 +303,7 @@ a| [subs=-attributes]
a| [subs=-attributes]
ID of the oCIS STORAGE-SYSTEM system user. Admins need to set the ID for the STORAGE-SYSTEM system user in this config option which is then used to reference the user. Any reasonable long string is possible, preferably this would be an UUIDv4 format.
|`OCIS_SYSTEM_USER_IDP` +
`SHARING_PUBLIC_CS3_SYSTEM_USER_ID`
`SHARING_PUBLIC_JSONCS3_SYSTEM_USER_IDP`
a| [subs=-attributes]
++string ++
a| [subs=-attributes]
@@ -311,7 +311,7 @@ a| [subs=-attributes]
a| [subs=-attributes]
IDP of the oCIS STORAGE-SYSTEM system user.
|`OCIS_SYSTEM_USER_API_KEY` +
`SHARING_PUBLIC_CS3_SYSTEM_USER_API_KEY`
`SHARING_PUBLIC_JSONCS3_SYSTEM_USER_API_KEY`
a| [subs=-attributes]
++string ++
a| [subs=-attributes]
+6 -6
View File
@@ -21,7 +21,7 @@
| SHARING_EVENTS_ENDPOINT | string | 127.0.0.1:9233 | The address of the event system. The event system is the message queuing service. It is used as message broker for the microservice architecture.|
| SHARING_EVENTS_CLUSTER | string | ocis-cluster | The clusterID of the event system. The event system is the message queuing service. It is used as message broker for the microservice architecture. Mandatory when using NATS as event system.|
| SHARING_SKIP_USER_GROUPS_IN_TOKEN | bool | false | Disables the loading of user's group memberships from the reva access token.|
| SHARING_USER_DRIVER | string | jsoncs3 | Driver to be used to persist shares. Supported values are 'json', 'cs3' and 'owncloudsql'.|
| SHARING_USER_DRIVER | string | jsoncs3 | Driver to be used to persist shares. Supported values are 'jsoncs3', 'json', 'cs3' and 'owncloudsql'.|
| SHARING_USER_JSONCS3_PROVIDER_ADDR | string | 127.0.0.1:9215 | GRPC address of the STORAGE-SYSTEM service.|
| OCIS_SYSTEM_USER_ID<br/>SHARING_USER_JSONCS3_SYSTEM_USER_ID | string | | ID of the oCIS STORAGE-SYSTEM system user. Admins need to set the ID for the STORAGE-SYSTEM system user in this config option which is then used to reference the user. Any reasonable long string is possible, preferably this would be an UUIDv4 format.|
| OCIS_SYSTEM_USER_IDP<br/>SHARING_USER_JSONCS3_SYSTEM_USER_IDP | string | internal | IDP of the oCIS STORAGE-SYSTEM system user.|
@@ -38,12 +38,12 @@
| SHARING_USER_OWNCLOUDSQL_DB_PORT | int | 3306 | Port that the database server is listening on.|
| SHARING_USER_OWNCLOUDSQL_DB_NAME | string | owncloud | Name of the database to be used.|
| SHARING_USER_OWNCLOUDSQL_USER_STORAGE_MOUNT_ID | string | | Mount ID of the ownCloudSQL users storage for mapping ownCloud 10 shares.|
| SHARING_PUBLIC_DRIVER | string | jsoncs3 | Driver to be used to persist public shares. Supported values are 'json' and 'cs3'.|
| SHARING_PUBLIC_DRIVER | string | jsoncs3 | Driver to be used to persist public shares. Supported values are 'jsoncs3', 'json' and 'cs3'.|
| SHARING_PUBLIC_JSON_FILE | string | ~/.ocis/storage/publicshares.json | Path to the JSON file where public share meta-data will be stored. This JSON file contains the information about public shares that have been created.|
| SHARING_PUBLIC_CS3_PROVIDER_ADDR | string | 127.0.0.1:9215 | GRPC address of the STORAGE-SYSTEM service.|
| OCIS_SYSTEM_USER_ID<br/>SHARING_PUBLIC_CS3_SYSTEM_USER_ID | string | | ID of the oCIS STORAGE-SYSTEM system user. Admins need to set the ID for the STORAGE-SYSTEM system user in this config option which is then used to reference the user. Any reasonable long string is possible, preferably this would be an UUIDv4 format.|
| OCIS_SYSTEM_USER_IDP<br/>SHARING_PUBLIC_CS3_SYSTEM_USER_ID | string | internal | IDP of the oCIS STORAGE-SYSTEM system user.|
| OCIS_SYSTEM_USER_API_KEY<br/>SHARING_PUBLIC_CS3_SYSTEM_USER_API_KEY | string | | API key for the STORAGE-SYSTEM system user.|
| SHARING_PUBLIC_JSONCS3_PROVIDER_ADDR | string | 127.0.0.1:9215 | GRPC address of the STORAGE-SYSTEM service.|
| OCIS_SYSTEM_USER_ID<br/>SHARING_PUBLIC_JSONCS3_SYSTEM_USER_ID | string | | ID of the oCIS STORAGE-SYSTEM system user. Admins need to set the ID for the STORAGE-SYSTEM system user in this config option which is then used to reference the user. Any reasonable long string is possible, preferably this would be an UUIDv4 format.|
| OCIS_SYSTEM_USER_IDP<br/>SHARING_PUBLIC_JSONCS3_SYSTEM_USER_IDP | string | internal | IDP of the oCIS STORAGE-SYSTEM system user.|
| OCIS_SYSTEM_USER_API_KEY<br/>SHARING_PUBLIC_JSONCS3_SYSTEM_USER_API_KEY | string | | API key for the STORAGE-SYSTEM system user.|
| SHARING_PUBLIC_CS3_PROVIDER_ADDR | string | 127.0.0.1:9215 | GRPC address of the STORAGE-SYSTEM service.|
| OCIS_SYSTEM_USER_ID<br/>SHARING_PUBLIC_CS3_SYSTEM_USER_ID | string | | ID of the oCIS STORAGE-SYSTEM system user. Admins need to set the ID for the STORAGE-SYSTEM system user in this config option which is then used to reference the user. Any reasonable long string is possible, preferably this would be an UUIDv4 format.|
| OCIS_SYSTEM_USER_IDP<br/>SHARING_PUBLIC_CS3_SYSTEM_USER_IDP | string | internal | IDP of the oCIS STORAGE-SYSTEM system user.|