Merge: 8c41a899 1c409c64
Author: Willy Kloucek <34452982+wkloucek@users.noreply.github.com>
Date:   Tue Dec 15 16:11:58 2020 +0100

    Merge pull request #955 from owncloud/acceptance_tests_in_docker

    acceptance tests in docker
This commit is contained in:
Willy Kloucek committed 2020-12-15 15:13:10 +00:00
1 parent 58b1e43823
commit 1dffbee341
14 files changed
+523 -451

No files matched your search

+47 -47
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2020-12-15T14:30:09+0000"
date: "2020-12-15T15:12:31+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/accounts/templates
@@ -33,6 +33,42 @@ If you prefer to configure the service with environment variables you can see th
If you prefer to configure the service with commandline flags you can see the available variables below. Command line flags are only working when calling the subcommand directly.
### accounts remove
Removes an existing account
Usage: `accounts remove [command options] [arguments...]`
--grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `com.owncloud.api`.
--name | $ACCOUNTS_NAME
: service name. Default: `accounts`.
### accounts add
Create a new account
Usage: `accounts add [command options] [arguments...]`
### accounts list
List existing accounts
Usage: `accounts list [command options] [arguments...]`
--grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `com.owncloud.api`.
--name | $ACCOUNTS_NAME
: service name. Default: `accounts`.
### accounts rebuildIndex
Rebuilds the service's index, i.e. deleting and then re-adding all existing documents
Usage: `accounts rebuildIndex [command options] [arguments...]`
### accounts server
Start ocis accounts service
@@ -99,17 +135,20 @@ Usage: `accounts server [command options] [arguments...]`
--service-user-username | $ACCOUNTS_SERVICE_USER_USERNAME
: username of the internal service user (required on EOS).
### accounts list
### accounts ocis-accounts
List existing accounts
Provide accounts and groups for oCIS
Usage: `accounts list [command options] [arguments...]`
Usage: `accounts ocis-accounts [command options] [arguments...]`
--grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `com.owncloud.api`.
--log-level | $ACCOUNTS_LOG_LEVEL
: Set logging level. Default: `info`.
--name | $ACCOUNTS_NAME
: service name. Default: `accounts`.
--log-pretty | $ACCOUNTS_LOG_PRETTY
: Enable pretty logging. Default: `true`.
--log-color | $ACCOUNTS_LOG_COLOR
: Enable colored logging. Default: `true`.
### accounts inspect
@@ -135,48 +174,9 @@ Usage: `accounts version [command options] [arguments...]`
--name | $ACCOUNTS_NAME
: service name. Default: `accounts`.
### accounts remove
Removes an existing account
Usage: `accounts remove [command options] [arguments...]`
--grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `com.owncloud.api`.
--name | $ACCOUNTS_NAME
: service name. Default: `accounts`.
### accounts rebuildIndex
Rebuilds the service's index, i.e. deleting and then re-adding all existing documents
Usage: `accounts rebuildIndex [command options] [arguments...]`
### accounts ocis-accounts
Provide accounts and groups for oCIS
Usage: `accounts ocis-accounts [command options] [arguments...]`
--log-level | $ACCOUNTS_LOG_LEVEL
: Set logging level. Default: `info`.
--log-pretty | $ACCOUNTS_LOG_PRETTY
: Enable pretty logging. Default: `true`.
--log-color | $ACCOUNTS_LOG_COLOR
: Enable colored logging. Default: `true`.
### accounts update
Make changes to an existing account
Usage: `accounts update [command options] [arguments...]`
### accounts add
Create a new account
Usage: `accounts add [command options] [arguments...]`
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2020-12-15T14:30:11+0000"
date: "2020-12-15T15:12:34+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/glauth/templates
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2020-12-15T14:30:13+0000"
date: "2020-12-15T15:12:36+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/konnectd/templates
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2020-12-15T14:30:17+0000"
date: "2020-12-15T15:12:41+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/ocs/templates
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2020-12-15T14:30:24+0000"
date: "2020-12-15T15:12:51+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/onlyoffice/templates
+10 -10
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2020-12-15T14:30:18+0000"
date: "2020-12-15T15:12:42+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/proxy/templates
@@ -33,15 +33,6 @@ If you prefer to configure the service with environment variables you can see th
If you prefer to configure the service with commandline flags you can see the available variables below. Command line flags are only working when calling the subcommand directly.
### proxy health
Check health status
Usage: `proxy health [command options] [arguments...]`
--debug-addr | $PROXY_DEBUG_ADDR
: Address to debug endpoint. Default: `0.0.0.0:9109`.
### proxy server
Start integrated server
@@ -156,3 +147,12 @@ Usage: `proxy version [command options] [arguments...]`
--service-name | $PROXY_SERVICE_NAME
: Service name. Default: `proxy`.
### proxy health
Check health status
Usage: `proxy health [command options] [arguments...]`
--debug-addr | $PROXY_DEBUG_ADDR
: Address to debug endpoint. Default: `0.0.0.0:9109`.
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2020-12-15T14:30:19+0000"
date: "2020-12-15T15:12:43+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/settings/templates
+228 -228
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2020-12-15T14:30:19+0000"
date: "2020-12-15T15:12:45+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/storage/templates
@@ -53,123 +53,6 @@ Usage: `storage [global options] command [command options] [arguments...]`
## Sub Commands
### storage auth-bearer
Start authprovider for bearer auth
Usage: `storage auth-bearer [command options] [arguments...]`
--debug-addr | $STORAGE_AUTH_BEARER_DEBUG_ADDR
: Address to bind debug server. Default: `0.0.0.0:9149`.
--oidc-issuer | $STORAGE_OIDC_ISSUER
: OIDC issuer. Default: `https://localhost:9200`.
--oidc-insecure | $STORAGE_OIDC_INSECURE
: OIDC allow insecure communication. Default: `true`.
--oidc-id-claim | $STORAGE_OIDC_ID_CLAIM
: OIDC id claim. Default: `preferred_username`.
--oidc-uid-claim | $STORAGE_OIDC_UID_CLAIM
: OIDC uid claim.
--oidc-gid-claim | $STORAGE_OIDC_GID_CLAIM
: OIDC gid claim.
--network | $STORAGE_AUTH_BEARER_GRPC_NETWORK
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`.
--addr | $STORAGE_AUTH_BEARER_GRPC_ADDR
: Address to bind storage service. Default: `0.0.0.0:9148`.
### storage storage-metadata
Start storage-metadata service
Usage: `storage storage-metadata [command options] [arguments...]`
--debug-addr | $STORAGE_METADATA_DEBUG_ADDR
: Address to bind debug server. Default: `0.0.0.0:9217`.
--grpc-network | $STORAGE_METADATA_GRPC_NETWORK
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`.
--grpc-addr | $STORAGE_METADATA_GRPC_PROVIDER_ADDR
: Address to bind storage service. Default: `0.0.0.0:9215`.
--data-server-url | $STORAGE_METADATA_DATA_SERVER_URL
: URL of the data-provider the storage-provider uses. Default: `http://localhost:9216`.
--http-network | $STORAGE_METADATA_HTTP_NETWORK
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`.
--http-addr | $STORAGE_METADATA_HTTP_ADDR
: Address to bind storage service. Default: `0.0.0.0:9216`.
--tmp-folder | $STORAGE_METADATA_TMP_FOLDER
: path to tmp folder. Default: `/var/tmp/ocis/tmp/metadata`.
--driver | $STORAGE_METADATA_DRIVER
: storage driver for metadata mount: eg. local, eos, owncloud, ocis or s3. Default: `ocis`.
--gateway-endpoint | $STORAGE_GATEWAY_ENDPOINT
: endpoint to use for the gateway service. Default: `localhost:9142`.
--userprovider-endpoint | $STORAGE_USERPROVIDER_ENDPOINT
: endpoint to use for the userprovider service. Default: `localhost:9144`.
--storage-root | $STORAGE_METADATA_ROOT
: the path to the metadata storage root. Default: `/var/tmp/ocis/storage/metadata`.
### storage storage-users
Start storage-users service
Usage: `storage storage-users [command options] [arguments...]`
--debug-addr | $STORAGE_USERS_DEBUG_ADDR
: Address to bind debug server. Default: `0.0.0.0:9159`.
--grpc-network | $STORAGE_USERS_GRPC_NETWORK
: Network to use for the users storage, can be 'tcp', 'udp' or 'unix'. Default: `tcp`.
--grpc-addr | $STORAGE_USERS_GRPC_ADDR
: GRPC Address to bind users storage. Default: `0.0.0.0:9157`.
--http-network | $STORAGE_USERS_HTTP_NETWORK
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`.
--http-addr | $STORAGE_USERS_HTTP_ADDR
: HTTP Address to bind users storage. Default: `0.0.0.0:9158`.
--driver | $STORAGE_USERS_DRIVER
: storage driver for users mount: eg. local, eos, owncloud, ocis or s3. Default: `ocis`.
--mount-path | $STORAGE_USERS_MOUNT_PATH
: mount path. Default: `/users`.
--mount-id | $STORAGE_USERS_MOUNT_ID
: mount id. Default: `1284d238-aa92-42ce-bdc4-0b0000009157`.
--expose-data-server | $STORAGE_USERS_EXPOSE_DATA_SERVER
: exposes a dedicated data server. Default: `false`.
--data-server-url | $STORAGE_USERS_DATA_SERVER_URL
: data server url. Default: `http://localhost:9158/data`.
--http-prefix | $STORAGE_USERS_HTTP_PREFIX
: prefix for the http endpoint, without leading slash. Default: `data`.
--tmp-folder | $STORAGE_USERS_TMP_FOLDER
: path to tmp folder. Default: `/var/tmp/ocis/tmp/users`.
--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 health
Check health status
@@ -179,23 +62,26 @@ Usage: `storage health [command options] [arguments...]`
--debug-addr | $STORAGE_DEBUG_ADDR
: Address to debug endpoint. Default: `0.0.0.0:9109`.
### storage storage
### storage storage-public-link
Storage service for oCIS
Start storage-public-link service
Usage: `storage storage [command options] [arguments...]`
Usage: `storage storage-public-link [command options] [arguments...]`
--config-file | $STORAGE_CONFIG_FILE
: Path to config file.
--debug-addr | $STORAGE_PUBLIC_LINK_DEBUG_ADDR
: Address to bind debug server. Default: `0.0.0.0:9179`.
--log-level | $STORAGE_LOG_LEVEL
: Set logging level. Default: `info`.
--network | $STORAGE_PUBLIC_LINK_GRPC_NETWORK
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`.
--log-pretty | $STORAGE_LOG_PRETTY
: Enable pretty logging.
--addr | $STORAGE_PUBLIC_LINK_GRPC_ADDR
: Address to bind storage service. Default: `0.0.0.0:9178`.
--log-color | $STORAGE_LOG_COLOR
: Enable colored logging.
--mount-path | $STORAGE_PUBLIC_LINK_MOUNT_PATH
: mount path. Default: `/public`.
--gateway-endpoint | $STORAGE_GATEWAY_ENDPOINT
: endpoint to use for the storage gateway service. Default: `localhost:9142`.
### storage users
@@ -299,105 +185,6 @@ Usage: `storage frontend [command options] [arguments...]`
--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 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/storage/shares.json`.
--public-driver | $STORAGE_SHARING_PUBLIC_DRIVER
: driver to use for the PublicShareProvider. Default: `json`.
--public-json-file | $STORAGE_SHARING_PUBLIC_JSON_FILE
: file used to persist shares for the PublicShareProvider. Default: `/var/tmp/ocis/storage/publicshares.json`.
### 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`.
--tmp-folder | $STORAGE_HOME_TMP_FOLDER
: path to tmp folder. Default: `/var/tmp/ocis/tmp/home`.
--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 storage-public-link
Start storage-public-link service
Usage: `storage storage-public-link [command options] [arguments...]`
--debug-addr | $STORAGE_PUBLIC_LINK_DEBUG_ADDR
: Address to bind debug server. Default: `0.0.0.0:9179`.
--network | $STORAGE_PUBLIC_LINK_GRPC_NETWORK
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`.
--addr | $STORAGE_PUBLIC_LINK_GRPC_ADDR
: Address to bind storage service. Default: `0.0.0.0:9178`.
--mount-path | $STORAGE_PUBLIC_LINK_MOUNT_PATH
: mount path. Default: `/public`.
--gateway-endpoint | $STORAGE_GATEWAY_ENDPOINT
: endpoint to use for the storage gateway service. Default: `localhost:9142`.
### storage gateway
Start gateway
@@ -500,6 +287,219 @@ 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 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/storage/shares.json`.
--public-driver | $STORAGE_SHARING_PUBLIC_DRIVER
: driver to use for the PublicShareProvider. Default: `json`.
--public-json-file | $STORAGE_SHARING_PUBLIC_JSON_FILE
: file used to persist shares for the PublicShareProvider. Default: `/var/tmp/ocis/storage/publicshares.json`.
### storage storage
Storage service for oCIS
Usage: `storage storage [command options] [arguments...]`
--config-file | $STORAGE_CONFIG_FILE
: Path to config file.
--log-level | $STORAGE_LOG_LEVEL
: Set logging level. Default: `info`.
--log-pretty | $STORAGE_LOG_PRETTY
: Enable pretty logging.
--log-color | $STORAGE_LOG_COLOR
: Enable colored logging.
### storage auth-bearer
Start authprovider for bearer auth
Usage: `storage auth-bearer [command options] [arguments...]`
--debug-addr | $STORAGE_AUTH_BEARER_DEBUG_ADDR
: Address to bind debug server. Default: `0.0.0.0:9149`.
--oidc-issuer | $STORAGE_OIDC_ISSUER
: OIDC issuer. Default: `https://localhost:9200`.
--oidc-insecure | $STORAGE_OIDC_INSECURE
: OIDC allow insecure communication. Default: `true`.
--oidc-id-claim | $STORAGE_OIDC_ID_CLAIM
: OIDC id claim. Default: `preferred_username`.
--oidc-uid-claim | $STORAGE_OIDC_UID_CLAIM
: OIDC uid claim.
--oidc-gid-claim | $STORAGE_OIDC_GID_CLAIM
: OIDC gid claim.
--network | $STORAGE_AUTH_BEARER_GRPC_NETWORK
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`.
--addr | $STORAGE_AUTH_BEARER_GRPC_ADDR
: Address to bind storage service. Default: `0.0.0.0:9148`.
### 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`.
--tmp-folder | $STORAGE_HOME_TMP_FOLDER
: path to tmp folder. Default: `/var/tmp/ocis/tmp/home`.
--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 storage-metadata
Start storage-metadata service
Usage: `storage storage-metadata [command options] [arguments...]`
--debug-addr | $STORAGE_METADATA_DEBUG_ADDR
: Address to bind debug server. Default: `0.0.0.0:9217`.
--grpc-network | $STORAGE_METADATA_GRPC_NETWORK
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`.
--grpc-addr | $STORAGE_METADATA_GRPC_PROVIDER_ADDR
: Address to bind storage service. Default: `0.0.0.0:9215`.
--data-server-url | $STORAGE_METADATA_DATA_SERVER_URL
: URL of the data-provider the storage-provider uses. Default: `http://localhost:9216`.
--http-network | $STORAGE_METADATA_HTTP_NETWORK
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`.
--http-addr | $STORAGE_METADATA_HTTP_ADDR
: Address to bind storage service. Default: `0.0.0.0:9216`.
--tmp-folder | $STORAGE_METADATA_TMP_FOLDER
: path to tmp folder. Default: `/var/tmp/ocis/tmp/metadata`.
--driver | $STORAGE_METADATA_DRIVER
: storage driver for metadata mount: eg. local, eos, owncloud, ocis or s3. Default: `ocis`.
--gateway-endpoint | $STORAGE_GATEWAY_ENDPOINT
: endpoint to use for the gateway service. Default: `localhost:9142`.
--userprovider-endpoint | $STORAGE_USERPROVIDER_ENDPOINT
: endpoint to use for the userprovider service. Default: `localhost:9144`.
--storage-root | $STORAGE_METADATA_ROOT
: the path to the metadata storage root. Default: `/var/tmp/ocis/storage/metadata`.
### storage storage-users
Start storage-users service
Usage: `storage storage-users [command options] [arguments...]`
--debug-addr | $STORAGE_USERS_DEBUG_ADDR
: Address to bind debug server. Default: `0.0.0.0:9159`.
--grpc-network | $STORAGE_USERS_GRPC_NETWORK
: Network to use for the users storage, can be 'tcp', 'udp' or 'unix'. Default: `tcp`.
--grpc-addr | $STORAGE_USERS_GRPC_ADDR
: GRPC Address to bind users storage. Default: `0.0.0.0:9157`.
--http-network | $STORAGE_USERS_HTTP_NETWORK
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`.
--http-addr | $STORAGE_USERS_HTTP_ADDR
: HTTP Address to bind users storage. Default: `0.0.0.0:9158`.
--driver | $STORAGE_USERS_DRIVER
: storage driver for users mount: eg. local, eos, owncloud, ocis or s3. Default: `ocis`.
--mount-path | $STORAGE_USERS_MOUNT_PATH
: mount path. Default: `/users`.
--mount-id | $STORAGE_USERS_MOUNT_ID
: mount id. Default: `1284d238-aa92-42ce-bdc4-0b0000009157`.
--expose-data-server | $STORAGE_USERS_EXPOSE_DATA_SERVER
: exposes a dedicated data server. Default: `false`.
--data-server-url | $STORAGE_USERS_DATA_SERVER_URL
: data server url. Default: `http://localhost:9158/data`.
--http-prefix | $STORAGE_USERS_HTTP_PREFIX
: prefix for the http endpoint, without leading slash. Default: `data`.
--tmp-folder | $STORAGE_USERS_TMP_FOLDER
: path to tmp folder. Default: `/var/tmp/ocis/tmp/users`.
--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`.
## Config for the different Storage Drivers
You can set different storage drivers for the Storage Providers. Please check the storage provider configuration.
+31 -31
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2020-12-15T14:30:20+0000"
date: "2020-12-15T15:12:46+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/store/templates
@@ -33,6 +33,36 @@ If you prefer to configure the service with environment variables you can see th
If you prefer to configure the service with commandline flags you can see the available variables below. Command line flags are only working when calling the subcommand directly.
### store ocis-store
Service to store values for ocis extensions
Usage: `store ocis-store [command options] [arguments...]`
--config-file | $STORE_CONFIG_FILE
: Path to config file.
--log-level | $STORE_LOG_LEVEL
: Set logging level. Default: `info`.
--log-pretty | $STORE_LOG_PRETTY
: Enable pretty logging. Default: `true`.
--log-color | $STORE_LOG_COLOR
: Enable colored logging. Default: `true`.
### store version
Print the versions of the running instances
Usage: `store version [command options] [arguments...]`
--grpc-namespace | $STORE_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `com.owncloud.api`.
--name | $STORE_NAME
: Service name. Default: `store`.
### store health
Check health status
@@ -84,33 +114,3 @@ Usage: `store server [command options] [arguments...]`
--data-path | $STORE_DATA_PATH
: location of the store data path. Default: `/var/tmp/ocis/store`.
### store ocis-store
Service to store values for ocis extensions
Usage: `store ocis-store [command options] [arguments...]`
--config-file | $STORE_CONFIG_FILE
: Path to config file.
--log-level | $STORE_LOG_LEVEL
: Set logging level. Default: `info`.
--log-pretty | $STORE_LOG_PRETTY
: Enable pretty logging. Default: `true`.
--log-color | $STORE_LOG_COLOR
: Enable colored logging. Default: `true`.
### store version
Print the versions of the running instances
Usage: `store version [command options] [arguments...]`
--grpc-namespace | $STORE_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `com.owncloud.api`.
--name | $STORE_NAME
: Service name. Default: `store`.
+28 -28
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2020-12-15T14:30:21+0000"
date: "2020-12-15T15:12:48+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/thumbnails/templates
@@ -33,33 +33,6 @@ If you prefer to configure the service with environment variables you can see th
If you prefer to configure the service with commandline flags you can see the available variables below. Command line flags are only working when calling the subcommand directly.
### thumbnails ocis-thumbnails
Example usage
Usage: `thumbnails ocis-thumbnails [command options] [arguments...]`
--log-level | $THUMBNAILS_LOG_LEVEL
: Set logging level. Default: `info`.
--log-pretty | $THUMBNAILS_LOG_PRETTY
: Enable pretty logging. Default: `true`.
--log-color | $THUMBNAILS_LOG_COLOR
: Enable colored logging. Default: `true`.
### thumbnails version
Print the versions of the running instances
Usage: `thumbnails version [command options] [arguments...]`
--grpc-name | $THUMBNAILS_GRPC_NAME
: Name of the service. Default: `thumbnails`.
--grpc-namespace | $THUMBNAILS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `com.owncloud.api`.
### thumbnails health
Check health status
@@ -123,3 +96,30 @@ Usage: `thumbnails server [command options] [arguments...]`
--webdavsource-insecure | $THUMBNAILS_WEBDAVSOURCE_INSECURE
: Whether to skip certificate checks. Default: `true`.
### thumbnails ocis-thumbnails
Example usage
Usage: `thumbnails ocis-thumbnails [command options] [arguments...]`
--log-level | $THUMBNAILS_LOG_LEVEL
: Set logging level. Default: `info`.
--log-pretty | $THUMBNAILS_LOG_PRETTY
: Enable pretty logging. Default: `true`.
--log-color | $THUMBNAILS_LOG_COLOR
: Enable colored logging. Default: `true`.
### thumbnails version
Print the versions of the running instances
Usage: `thumbnails version [command options] [arguments...]`
--grpc-name | $THUMBNAILS_GRPC_NAME
: Name of the service. Default: `thumbnails`.
--grpc-namespace | $THUMBNAILS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `com.owncloud.api`.
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2020-12-15T14:30:15+0000"
date: "2020-12-15T15:12:39+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/web/templates
+10 -10
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2020-12-15T14:30:23+0000"
date: "2020-12-15T15:12:49+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/webdav/templates
@@ -50,6 +50,15 @@ Usage: `webdav [global options] command [command options] [arguments...]`
## Sub Commands
### webdav health
Check health status
Usage: `webdav health [command options] [arguments...]`
--debug-addr | $WEBDAV_DEBUG_ADDR
: Address to debug endpoint. Default: `0.0.0.0:9119`.
### webdav server
Start integrated server
@@ -110,12 +119,3 @@ Usage: `webdav version [command options] [arguments...]`
--service-name | $WEBDAV_SERVICE_NAME
: Service name. Default: `webdav`.
### webdav health
Check health status
Usage: `webdav health [command options] [arguments...]`
--debug-addr | $WEBDAV_DEBUG_ADDR
: Address to debug endpoint. Default: `0.0.0.0:9119`.
+90 -90
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2020-12-15T14:30:14+0000"
date: "2020-12-15T15:12:38+0000"
weight: 2
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/ocis/templates
@@ -75,33 +75,6 @@ Usage: `ocis [global options] command [command options] [arguments...]`
## Sub Commands
### ocis health
Check health status
Usage: `ocis health [command options] [arguments...]`
--debug-addr | $OCIS_DEBUG_ADDR
: Address to debug endpoint. Default: `0.0.0.0:9010`.
### ocis run
Runs an extension
Usage: `ocis run [command options] [arguments...]`
### ocis kill
Kill an extension by name
Usage: `ocis kill [command options] [arguments...]`
### ocis list
Lists running ocis extensions
Usage: `ocis list [command options] [arguments...]`
### ocis server
Start fullstack server
@@ -129,85 +102,64 @@ Usage: `ocis server [command options] [arguments...]`
--grpc-addr | $OCIS_GRPC_ADDR
: Address to bind grpc server. Default: `0.0.0.0:9001`.
### ocis run
Runs an extension
Usage: `ocis run [command options] [arguments...]`
### ocis health
Check health status
Usage: `ocis health [command options] [arguments...]`
--debug-addr | $OCIS_DEBUG_ADDR
: Address to debug endpoint. Default: `0.0.0.0:9010`.
### ocis list
Lists running ocis extensions
Usage: `ocis list [command options] [arguments...]`
### ocis kill
Kill an extension by name
Usage: `ocis kill [command options] [arguments...]`
### List of available Extension subcommands
There are more subcommands to start the individual extensions. Please check the documentation about their usage and options in the dedicated section of the documentation.
#### ocis storage-public-link
Start storage public link storage
#### ocis thumbnails
Start thumbnails server
#### ocis glauth
Start glauth server
#### ocis konnectd
Start konnectd server
#### ocis webdav
Start webdav server
#### ocis storage-auth-basic
Start storage auth-basic service
#### ocis onlyoffice
Start onlyoffice server
#### ocis storage-users
Start storage and data provider for /users mount
#### ocis version
Lists running services with version
#### ocis storage-frontend
Start storage frontend
#### ocis storage-gateway
Start storage gateway
#### ocis ocs
Start ocs server
#### ocis proxy
Start proxy server
#### ocis storage-home
Start storage and data provider for /home mount
#### ocis web
Start web server
#### ocis konnectd
Start konnectd server
#### ocis thumbnails
Start thumbnails server
#### ocis storage-metadata
Start storage and data service for metadata
#### ocis storage-userprovider
#### ocis ocs
Start storage userprovider service
Start ocs server
#### ocis storage-sharing
#### ocis storage-frontend
Start storage sharing service
Start storage frontend
#### ocis store
#### ocis webdav
Start a go-micro store
Start webdav server
#### ocis accounts
@@ -217,7 +169,55 @@ Start accounts server
Start settings server
#### ocis storage-home
Start storage and data provider for /home mount
#### ocis storage-auth-bearer
Start storage auth-bearer service
#### ocis storage-userprovider
Start storage userprovider service
#### ocis storage-public-link
Start storage public link storage
#### ocis storage-gateway
Start storage gateway
#### ocis onlyoffice
Start onlyoffice server
#### ocis version
Lists running services with version
#### ocis proxy
Start proxy server
#### ocis store
Start a go-micro store
#### ocis glauth
Start glauth server
#### ocis storage-users
Start storage and data provider for /users mount
#### ocis storage-sharing
Start storage sharing service
#### ocis storage-auth-basic
Start storage auth-basic service
+73 -1
View File
@@ -9,7 +9,79 @@ geekdocFilePath: testing.md
{{< toc >}}
## Acceptance tests
For running tests in the test suite you have two options. You may go the easy way and just run the test suite in docker. But for some tasks you could also need to install the test suite natively, which requires a little bit more setup since PHP and some dependencies need to be installed.
Both ways to run tests with the test suites are described here.
## Testing with test suite in docker
Let's see what is available. Invoke the following command from within the root of the oCIS repository.
```
make -C tests/acceptance/docker help
```
Basically we have two sources for feature tests and test suites:
- [oCIS feature test and test suites](https://github.com/owncloud/ocis/tree/master/tests/acceptance/features)
- [ownCloud feature tests and test suites](https://github.com/owncloud/core/tree/master/tests/acceptance/features)
At the moment both can be applied to oCIS since the api of oCIS is designed to be compatible to ownCloud.
Since we have to offer an migration path to existing users of ownCloud, you can use your existing ownCloud as storage backend for oCIS. As another storage backend we offer oCIS native storage, also called "oCIS". This stores files directly on disk. Which storage backend is used is also reflected in the tests, there are always different tests for oCIS storage and ownCloud storage.
You can invoke two types of test suite runs:
- run a full test suite, which consists of multiple feature tests
- run a single feature test
### Run full test suite
The names of the full test suite make targets have the same naming as in the CI pipeline.
For example `make -C tests/acceptance/docker localApiTests-apiOcisSpecific-ocis` runs the same tests as the `localApiTests-apiOcisSpecific-ocis` CI pipeline, which runs the oCIS test suite "apiOcisSpecific" against an oCIS with oCIS storage.
For example `make -C tests/acceptance/docker Core-API-Tests-owncloud-storage-3`runs the same tests as the `Core-API-Tests-owncloud-storage-3` CI pipline, which runs the third (out of ten) ownCloud test suite against an oCIS with owncloud storage.
### Run single feature test
The single feature tests can also be run against the different storage backends. Therefore multiple make targets with the schema test-<test source>-feature-<storage backend> exists. For selecting a single feature test you have to add an additional `BEHAT_FEATURE=...` parameter when invoking the make command:
```
make -C tests/acceptance/docker test-ocis-feature-ocis BEHAT_FEATURE='tests/acceptance/features/apiOcisSpecific/apiAuthOcs-ocsDELETEAuth.feature'
```
This must be pointing to a valid feature definition.
### oCIS image to be tested (or: skip build and take existing image)
By default the tests will be run against docker image built from your current working state of the oCIS repository. For some purposes it might also be handy to use a oCIS image from Docker Hub. Therefore you can provide the optional flag `OCIS_IMAGE_TAG=...` which must contain an available docker tag of the [owncloud/ocis registry on Docker Hub](https://hub.docker.com/r/owncloud/ocis) (eg. 'latest').
```
make -C tests/acceptance/docker localApiTests-apiOcisSpecific-ocis OCIS_IMAGE_TAG=latest
```
### Test log output
While a test is running or when it is finished, you can attach to the logs generated by the tests.
```
make -C tests/acceptance/docker show-test-logs
```
{{< hint info >}}
The log output is opened in `less`. You can navigate up and down with your cursors. By pressing "F" you can follow the latest line of the output.
{{< /hint >}}
### Cleanup
During testing we start an redis and oCIS docker container. These will not be stopped automatically. You can stop them with:
```
make -C tests/acceptance/docker clean
```
## Testing with test suite natively installed
We are using the ownCloud 10 acceptance test suite against oCIS. To set this up you need the ownCloud 10 core repo, a LDAP server that the acceptance tests can use to manage users, a redis server for file-versions and the oCIS code.