Skip to content

Commit

Permalink
commit f90d0d6
Browse files Browse the repository at this point in the history
Merge: 5a49241 641fd27
Author: Alex Unger <[email protected]>
Date:   Thu Nov 12 13:59:12 2020 +0100

    Merge pull request #840 from owncloud/ocis-1018

    Tweak go-micro behavior
  • Loading branch information
refs committed Nov 12, 2020
1 parent 053303c commit a852113
Show file tree
Hide file tree
Showing 4 changed files with 160 additions and 160 deletions.
2 changes: 1 addition & 1 deletion extensions/konnectd/configuration.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2020-11-12T13:24:10+0000"
date: "2020-11-12T13:59:10+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis-konnectd
geekdocEditPath: edit/master/docs
Expand Down
44 changes: 22 additions & 22 deletions extensions/proxy/configuration.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2020-11-12T13:24:13+0000"
date: "2020-11-12T13:59:12+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis-proxy
geekdocEditPath: edit/master/docs
Expand Down Expand Up @@ -54,6 +54,27 @@ Usage: `ocis-proxy [global options] command [command options] [arguments...]`

## Sub Commands

### ocis-proxy version

Print the versions of the running instances

Usage: `ocis-proxy version [command options] [arguments...]`

--service-namespace | $PROXY_SERVICE_NAMESPACE
: Set the base namespace for the service namespace. Default: `com.owncloud.web`.

--service-name | $PROXY_SERVICE_NAME
: Service name. Default: `proxy`.

### ocis-proxy health

Check health status

Usage: `ocis-proxy health [command options] [arguments...]`

--debug-addr | $PROXY_DEBUG_ADDR
: Address to debug endpoint. Default: `0.0.0.0:9109`.

### ocis-proxy server

Start integrated server
Expand Down Expand Up @@ -132,24 +153,3 @@ Usage: `ocis-proxy server [command options] [arguments...]`
--enable-basic-auth | $PROXY_ENABLE_BASIC_AUTH
: enable basic authentication. Default: `false`.

### ocis-proxy version

Print the versions of the running instances

Usage: `ocis-proxy version [command options] [arguments...]`

--service-namespace | $PROXY_SERVICE_NAMESPACE
: Set the base namespace for the service namespace. Default: `com.owncloud.web`.

--service-name | $PROXY_SERVICE_NAME
: Service name. Default: `proxy`.

### ocis-proxy health

Check health status

Usage: `ocis-proxy health [command options] [arguments...]`

--debug-addr | $PROXY_DEBUG_ADDR
: Address to debug endpoint. Default: `0.0.0.0:9109`.

254 changes: 127 additions & 127 deletions extensions/storage/configuration.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2020-11-12T13:24:12+0000"
date: "2020-11-12T13:59:11+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/docs/extensions/storage
Expand Down Expand Up @@ -57,51 +57,6 @@ Usage: `storage [global options] command [command options] [arguments...]`

## Sub Commands

### storage frontend

Start frontend service

Usage: `storage frontend [command options] [arguments...]`

--debug-addr | $STORAGE_FRONTEND_DEBUG_ADDR
: Address to bind debug server. Default: `0.0.0.0:9141`.

--transfer-secret | $STORAGE_TRANSFER_SECRET
: Transfer secret for datagateway. Default: `replace-me-with-a-transfer-secret`.

--webdav-namespace | $WEBDAV_NAMESPACE
: Namespace prefix for the /webdav endpoint. Default: `/home/`.

--dav-files-namespace | $DAV_FILES_NAMESPACE
: Namespace prefix for the webdav /dav/files endpoint. Default: `/users/`.

--network | $STORAGE_FRONTEND_HTTP_NETWORK
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`.

--addr | $STORAGE_FRONTEND_HTTP_ADDR
: Address to bind storage service. Default: `0.0.0.0:9140`.

--public-url | $STORAGE_FRONTEND_PUBLIC_URL
: URL to use for the storage service. Default: `https://localhost:9200`.

--datagateway-prefix | $STORAGE_FRONTEND_DATAGATEWAY_PREFIX
: datagateway prefix. Default: `data`.

--ocdav-prefix | $STORAGE_FRONTEND_OCDAV_PREFIX
: owncloud webdav endpoint prefix.

--ocs-prefix | $STORAGE_FRONTEND_OCS_PREFIX
: open collaboration services endpoint prefix. Default: `ocs`.

--gateway-url | $STORAGE_GATEWAY_ENDPOINT
: URL to use for the storage gateway service. Default: `localhost:9142`.

--upload-disable-tus | $STORAGE_FRONTEND_UPLOAD_DISABLE_TUS
: Disables TUS upload mechanism. Default: `false`.

--upload-http-method-override | $STORAGE_FRONTEND_UPLOAD_HTTP_METHOD_OVERRIDE
: Specify an HTTP method (ex: POST) that clients should to use when uploading instead of PATCH.

### storage storage-users

Start storage-users service
Expand Down Expand Up @@ -147,15 +102,6 @@ Usage: `storage storage-users [command options] [arguments...]`
--users-endpoint | $STORAGE_USERPROVIDER_ENDPOINT
: endpoint to use for the storage service. Default: `localhost:9144`.

### storage health

Check health status

Usage: `storage health [command options] [arguments...]`

--debug-addr | $STORAGE_DEBUG_ADDR
: Address to debug endpoint. Default: `0.0.0.0:9109`.

### storage storage

Storage service for oCIS
Expand All @@ -174,54 +120,6 @@ Usage: `storage storage [command options] [arguments...]`
--log-color | $STORAGE_LOG_COLOR
: Enable colored logging.

### storage storage-home

Start storage-home service

Usage: `storage storage-home [command options] [arguments...]`

--debug-addr | $STORAGE_HOME_DEBUG_ADDR
: Address to bind debug server. Default: `0.0.0.0:9156`.

--grpc-network | $STORAGE_HOME_GRPC_NETWORK
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`.

--grpc-addr | $STORAGE_HOME_GRPC_ADDR
: Address to bind storage service. Default: `0.0.0.0:9154`.

--http-network | $STORAGE_HOME_HTTP_NETWORK
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`.

--http-addr | $STORAGE_HOME_HTTP_ADDR
: Address to bind storage service. Default: `0.0.0.0:9155`.

--driver | $STORAGE_HOME_DRIVER
: storage driver for home mount: eg. local, eos, owncloud, ocis or s3. Default: `ocis`.

--mount-path | $STORAGE_HOME_MOUNT_PATH
: mount path. Default: `/home`.

--mount-id | $STORAGE_HOME_MOUNT_ID
: mount id. Default: `1284d238-aa92-42ce-bdc4-0b0000009157`.

--expose-data-server | $STORAGE_HOME_EXPOSE_DATA_SERVER
: exposes a dedicated data server. Default: `false`.

--data-server-url | $STORAGE_HOME_DATA_SERVER_URL
: data server url. Default: `http://localhost:9155/data`.

--http-prefix | $STORAGE_HOME_HTTP_PREFIX
: prefix for the http endpoint, without leading slash. Default: `data`.

--enable-home | $STORAGE_HOME_ENABLE_HOME
: enable the creation of home directories. Default: `true`.

--gateway-endpoint | $STORAGE_GATEWAY_ENDPOINT
: endpoint to use for the storage gateway service. Default: `localhost:9142`.

--users-endpoint | $STORAGE_USERPROVIDER_ENDPOINT
: endpoint to use for the storage service. Default: `localhost:9144`.

### storage gateway

Start gateway
Expand Down Expand Up @@ -303,6 +201,30 @@ Usage: `storage gateway [command options] [arguments...]`
--storage-public-link-mount-path | $STORAGE_PUBLIC_LINK_MOUNT_PATH
: mount path. Default: `/public`.

### storage sharing

Start sharing service

Usage: `storage sharing [command options] [arguments...]`

--debug-addr | $STORAGE_SHARING_DEBUG_ADDR
: Address to bind debug server. Default: `0.0.0.0:9151`.

--network | $STORAGE_SHARING_GRPC_NETWORK
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`.

--addr | $STORAGE_SHARING_GRPC_ADDR
: Address to bind storage service. Default: `0.0.0.0:9150`.

--user-driver | $STORAGE_SHARING_USER_DRIVER
: driver to use for the UserShareProvider. Default: `json`.

--user-json-file | $STORAGE_SHARING_USER_JSON_FILE
: file used to persist shares for the UserShareProvider. Default: `/var/tmp/ocis/shares.json`.

--public-driver | $STORAGE_SHARING_PUBLIC_DRIVER
: driver to use for the PublicShareProvider. Default: `json`.

### storage auth-bearer

Start authprovider for bearer auth
Expand Down Expand Up @@ -354,6 +276,60 @@ Usage: `storage auth-basic [command options] [arguments...]`
--addr | $STORAGE_AUTH_BASIC_GRPC_ADDR
: Address to bind storage service. Default: `0.0.0.0:9146`.

### storage frontend

Start frontend service

Usage: `storage frontend [command options] [arguments...]`

--debug-addr | $STORAGE_FRONTEND_DEBUG_ADDR
: Address to bind debug server. Default: `0.0.0.0:9141`.

--transfer-secret | $STORAGE_TRANSFER_SECRET
: Transfer secret for datagateway. Default: `replace-me-with-a-transfer-secret`.

--webdav-namespace | $WEBDAV_NAMESPACE
: Namespace prefix for the /webdav endpoint. Default: `/home/`.

--dav-files-namespace | $DAV_FILES_NAMESPACE
: Namespace prefix for the webdav /dav/files endpoint. Default: `/users/`.

--network | $STORAGE_FRONTEND_HTTP_NETWORK
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`.

--addr | $STORAGE_FRONTEND_HTTP_ADDR
: Address to bind storage service. Default: `0.0.0.0:9140`.

--public-url | $STORAGE_FRONTEND_PUBLIC_URL
: URL to use for the storage service. Default: `https://localhost:9200`.

--datagateway-prefix | $STORAGE_FRONTEND_DATAGATEWAY_PREFIX
: datagateway prefix. Default: `data`.

--ocdav-prefix | $STORAGE_FRONTEND_OCDAV_PREFIX
: owncloud webdav endpoint prefix.

--ocs-prefix | $STORAGE_FRONTEND_OCS_PREFIX
: open collaboration services endpoint prefix. Default: `ocs`.

--gateway-url | $STORAGE_GATEWAY_ENDPOINT
: URL to use for the storage gateway service. Default: `localhost:9142`.

--upload-disable-tus | $STORAGE_FRONTEND_UPLOAD_DISABLE_TUS
: Disables TUS upload mechanism. Default: `false`.

--upload-http-method-override | $STORAGE_FRONTEND_UPLOAD_HTTP_METHOD_OVERRIDE
: Specify an HTTP method (ex: POST) that clients should to use when uploading instead of PATCH.

### storage health

Check health status

Usage: `storage health [command options] [arguments...]`

--debug-addr | $STORAGE_DEBUG_ADDR
: Address to debug endpoint. Default: `0.0.0.0:9109`.

### storage storage-public-link

Start storage-public-link service
Expand All @@ -375,6 +351,54 @@ Usage: `storage storage-public-link [command options] [arguments...]`
--gateway-endpoint | $STORAGE_GATEWAY_ENDPOINT
: endpoint to use for the storage gateway service. Default: `localhost:9142`.

### storage storage-home

Start storage-home service

Usage: `storage storage-home [command options] [arguments...]`

--debug-addr | $STORAGE_HOME_DEBUG_ADDR
: Address to bind debug server. Default: `0.0.0.0:9156`.

--grpc-network | $STORAGE_HOME_GRPC_NETWORK
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`.

--grpc-addr | $STORAGE_HOME_GRPC_ADDR
: Address to bind storage service. Default: `0.0.0.0:9154`.

--http-network | $STORAGE_HOME_HTTP_NETWORK
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`.

--http-addr | $STORAGE_HOME_HTTP_ADDR
: Address to bind storage service. Default: `0.0.0.0:9155`.

--driver | $STORAGE_HOME_DRIVER
: storage driver for home mount: eg. local, eos, owncloud, ocis or s3. Default: `ocis`.

--mount-path | $STORAGE_HOME_MOUNT_PATH
: mount path. Default: `/home`.

--mount-id | $STORAGE_HOME_MOUNT_ID
: mount id. Default: `1284d238-aa92-42ce-bdc4-0b0000009157`.

--expose-data-server | $STORAGE_HOME_EXPOSE_DATA_SERVER
: exposes a dedicated data server. Default: `false`.

--data-server-url | $STORAGE_HOME_DATA_SERVER_URL
: data server url. Default: `http://localhost:9155/data`.

--http-prefix | $STORAGE_HOME_HTTP_PREFIX
: prefix for the http endpoint, without leading slash. Default: `data`.

--enable-home | $STORAGE_HOME_ENABLE_HOME
: enable the creation of home directories. Default: `true`.

--gateway-endpoint | $STORAGE_GATEWAY_ENDPOINT
: endpoint to use for the storage gateway service. Default: `localhost:9142`.

--users-endpoint | $STORAGE_USERPROVIDER_ENDPOINT
: endpoint to use for the storage service. Default: `localhost:9144`.

### storage users

Start users service
Expand Down Expand Up @@ -462,30 +486,6 @@ Usage: `storage storage-metadata [command options] [arguments...]`
--storage-root | $STORAGE_METADATA_ROOT
: the path to the metadata storage root. Default: `/var/tmp/ocis/metadata`.

### storage sharing

Start sharing service

Usage: `storage sharing [command options] [arguments...]`

--debug-addr | $STORAGE_SHARING_DEBUG_ADDR
: Address to bind debug server. Default: `0.0.0.0:9151`.

--network | $STORAGE_SHARING_GRPC_NETWORK
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`.

--addr | $STORAGE_SHARING_GRPC_ADDR
: Address to bind storage service. Default: `0.0.0.0:9150`.

--user-driver | $STORAGE_SHARING_USER_DRIVER
: driver to use for the UserShareProvider. Default: `json`.

--user-json-file | $STORAGE_SHARING_USER_JSON_FILE
: file used to persist shares for the UserShareProvider. Default: `/var/tmp/ocis/shares.json`.

--public-driver | $STORAGE_SHARING_PUBLIC_DRIVER
: driver to use for the PublicShareProvider. Default: `json`.

## Config for the different Storage Drivers

You can set different storage drivers for the Storage Providers. Please check the storage provider configuration.
Expand Down
Loading

0 comments on commit a852113

Please sign in to comment.