From 7c2446cedce91dcee5570a4ef96b99abc60a6285 Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Thu, 3 Dec 2020 16:54:09 +0000 Subject: [PATCH] commit 778242e33009844269049f178c31419b712377ed Merge: ddb4ffbf bc362abd Author: Phil Davis Date: Thu Dec 3 22:07:36 2020 +0545 Merge pull request #983 from owncloud/improve-k6 [tests-only] [with-benchmarks] Improve k6 --- extensions/accounts/configuration.md | 68 ++--- extensions/glauth/configuration.md | 50 ++-- extensions/konnectd/configuration.md | 2 +- extensions/ocis-phoenix/configuration.md | 50 ++-- extensions/ocs/configuration.md | 32 +- extensions/onlyoffice/configuration.md | 20 +- extensions/proxy/configuration.md | 50 ++-- extensions/settings/configuration.md | 74 ++--- extensions/storage/configuration.md | 326 ++++++++++----------- extensions/store/configuration.md | 2 +- extensions/thumbnails/configuration.md | 50 ++-- extensions/webdav/configuration.md | 20 +- ocis/configuration.md | 160 +++++----- ocis/development/continuous-integration.md | 2 + 14 files changed, 454 insertions(+), 452 deletions(-) diff --git a/extensions/accounts/configuration.md b/extensions/accounts/configuration.md index 794641c6e2f..54ff529b607 100644 --- a/extensions/accounts/configuration.md +++ b/extensions/accounts/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2020-12-03T16:10:21+0000" +date: "2020-12-03T16:53:37+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/accounts/templates @@ -33,6 +33,27 @@ 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 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 rebuildIndex + +Rebuilds the service's index, i.e. deleting and then re-adding all existing documents + +Usage: `accounts rebuildIndex [command options] [arguments...]` + ### accounts list List existing accounts @@ -51,33 +72,6 @@ Create a new account Usage: `accounts add [command options] [arguments...]` -### 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 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 server Start ocis accounts service @@ -132,6 +126,18 @@ Usage: `accounts server [command options] [arguments...]` --service-user-username | $ACCOUNTS_SERVICE_USER_USERNAME : username of the internal service user (required on EOS). +### 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 version Print the versions of the running instances @@ -156,12 +162,6 @@ Usage: `accounts inspect [command options] [arguments...]` --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 update Make changes to an existing account diff --git a/extensions/glauth/configuration.md b/extensions/glauth/configuration.md index d3925825079..6add109231d 100644 --- a/extensions/glauth/configuration.md +++ b/extensions/glauth/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2020-12-03T16:10:23+0000" +date: "2020-12-03T16:53:39+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/glauth/templates @@ -33,30 +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. -### glauth health - -Check health status - -Usage: `glauth health [command options] [arguments...]` - ---debug-addr | $GLAUTH_DEBUG_ADDR -: Address to debug endpoint. Default: `0.0.0.0:9129`. - -### glauth ocis-glauth - -Serve GLAuth API for oCIS - -Usage: `glauth ocis-glauth [command options] [arguments...]` - ---log-level | $GLAUTH_LOG_LEVEL -: Set logging level. Default: `info`. - ---log-pretty | $GLAUTH_LOG_PRETTY -: Enable pretty logging. Default: `true`. - ---log-color | $GLAUTH_LOG_COLOR -: Enable colored logging. Default: `true`. - ### glauth server Start integrated server @@ -156,3 +132,27 @@ Usage: `glauth server [command options] [arguments...]` --fallback-use-graphapi | $GLAUTH_FALLBACK_USE_GRAPHAPI : use Graph API, only for owncloud datastore. Default: `true`. +### glauth health + +Check health status + +Usage: `glauth health [command options] [arguments...]` + +--debug-addr | $GLAUTH_DEBUG_ADDR +: Address to debug endpoint. Default: `0.0.0.0:9129`. + +### glauth ocis-glauth + +Serve GLAuth API for oCIS + +Usage: `glauth ocis-glauth [command options] [arguments...]` + +--log-level | $GLAUTH_LOG_LEVEL +: Set logging level. Default: `info`. + +--log-pretty | $GLAUTH_LOG_PRETTY +: Enable pretty logging. Default: `true`. + +--log-color | $GLAUTH_LOG_COLOR +: Enable colored logging. Default: `true`. + diff --git a/extensions/konnectd/configuration.md b/extensions/konnectd/configuration.md index d070895f764..61aa427048c 100644 --- a/extensions/konnectd/configuration.md +++ b/extensions/konnectd/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2020-12-03T16:10:25+0000" +date: "2020-12-03T16:53:40+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/konnectd/templates diff --git a/extensions/ocis-phoenix/configuration.md b/extensions/ocis-phoenix/configuration.md index c0e35a9a41b..5e972342b6c 100644 --- a/extensions/ocis-phoenix/configuration.md +++ b/extensions/ocis-phoenix/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2020-12-03T16:10:28+0000" +date: "2020-12-03T16:53:43+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/phoenix/templates @@ -33,6 +33,30 @@ 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. +### phoenix health + +Check health status + +Usage: `phoenix health [command options] [arguments...]` + +--debug-addr | $PHOENIX_DEBUG_ADDR +: Address to debug endpoint. Default: `0.0.0.0:9104`. + +### phoenix ocis-phoenix + +Serve Phoenix for oCIS + +Usage: `phoenix ocis-phoenix [command options] [arguments...]` + +--log-level | $PHOENIX_LOG_LEVEL +: Set logging level. Default: `info`. + +--log-pretty | $PHOENIX_LOG_PRETTY +: Enable pretty logging. Default: `true`. + +--log-color | $PHOENIX_LOG_COLOR +: Enable colored logging. Default: `true`. + ### phoenix server Start integrated server @@ -108,27 +132,3 @@ Usage: `phoenix server [command options] [arguments...]` --oidc-scope | $PHOENIX_OIDC_SCOPE : OpenID Connect scope. Default: `openid profile email`. -### phoenix health - -Check health status - -Usage: `phoenix health [command options] [arguments...]` - ---debug-addr | $PHOENIX_DEBUG_ADDR -: Address to debug endpoint. Default: `0.0.0.0:9104`. - -### phoenix ocis-phoenix - -Serve Phoenix for oCIS - -Usage: `phoenix ocis-phoenix [command options] [arguments...]` - ---log-level | $PHOENIX_LOG_LEVEL -: Set logging level. Default: `info`. - ---log-pretty | $PHOENIX_LOG_PRETTY -: Enable pretty logging. Default: `true`. - ---log-color | $PHOENIX_LOG_COLOR -: Enable colored logging. Default: `true`. - diff --git a/extensions/ocs/configuration.md b/extensions/ocs/configuration.md index 32e7f08973e..f44643e1b6e 100644 --- a/extensions/ocs/configuration.md +++ b/extensions/ocs/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2020-12-03T16:10:29+0000" +date: "2020-12-03T16:53:44+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/ocs/templates @@ -33,6 +33,21 @@ 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. +### ocs ocis-ocs + +Serve OCS API for oCIS + +Usage: `ocs ocis-ocs [command options] [arguments...]` + +--log-level | $OCS_LOG_LEVEL +: Set logging level. Default: `info`. + +--log-pretty | $OCS_LOG_PRETTY +: Enable pretty logging. Default: `true`. + +--log-color | $OCS_LOG_COLOR +: Enable colored logging. Default: `true`. + ### ocs server Start integrated server @@ -105,18 +120,3 @@ Usage: `ocs health [command options] [arguments...]` --debug-addr | $OCS_DEBUG_ADDR : Address to debug endpoint. Default: `0.0.0.0:9114`. -### ocs ocis-ocs - -Serve OCS API for oCIS - -Usage: `ocs ocis-ocs [command options] [arguments...]` - ---log-level | $OCS_LOG_LEVEL -: Set logging level. Default: `info`. - ---log-pretty | $OCS_LOG_PRETTY -: Enable pretty logging. Default: `true`. - ---log-color | $OCS_LOG_COLOR -: Enable colored logging. Default: `true`. - diff --git a/extensions/onlyoffice/configuration.md b/extensions/onlyoffice/configuration.md index 5d658bbad80..346d061f783 100644 --- a/extensions/onlyoffice/configuration.md +++ b/extensions/onlyoffice/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2020-12-03T16:10:36+0000" +date: "2020-12-03T16:53:50+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/onlyoffice/templates @@ -57,15 +57,6 @@ Usage: `onlyoffice [global options] command [command options] [arguments...]` ## Sub Commands -### onlyoffice health - -Check health status - -Usage: `onlyoffice health [command options] [arguments...]` - ---debug-addr | $ONLYOFFICE_DEBUG_ADDR -: Address to debug endpoint. Default: `0.0.0.0:9224`. - ### onlyoffice server Start integrated server @@ -111,3 +102,12 @@ Usage: `onlyoffice server [command options] [arguments...]` --asset-path | $ONLYOFFICE_ASSET_PATH : Path to custom assets. +### onlyoffice health + +Check health status + +Usage: `onlyoffice health [command options] [arguments...]` + +--debug-addr | $ONLYOFFICE_DEBUG_ADDR +: Address to debug endpoint. Default: `0.0.0.0:9224`. + diff --git a/extensions/proxy/configuration.md b/extensions/proxy/configuration.md index 3c8a7dc73a1..cea13c84523 100644 --- a/extensions/proxy/configuration.md +++ b/extensions/proxy/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2020-12-03T16:10:30+0000" +date: "2020-12-03T16:53:45+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/proxy/templates @@ -33,6 +33,30 @@ 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 ocis-proxy + +proxy for Reva/oCIS + +Usage: `proxy ocis-proxy [command options] [arguments...]` + +--log-level | $PROXY_LOG_LEVEL +: Set logging level. Default: `info`. + +--log-pretty | $PROXY_LOG_PRETTY +: Enable pretty logging. Default: `true`. + +--log-color | $PROXY_LOG_COLOR +: Enable colored logging. Default: `true`. + ### proxy server Start integrated server @@ -126,27 +150,3 @@ 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`. - -### proxy ocis-proxy - -proxy for Reva/oCIS - -Usage: `proxy ocis-proxy [command options] [arguments...]` - ---log-level | $PROXY_LOG_LEVEL -: Set logging level. Default: `info`. - ---log-pretty | $PROXY_LOG_PRETTY -: Enable pretty logging. Default: `true`. - ---log-color | $PROXY_LOG_COLOR -: Enable colored logging. Default: `true`. - diff --git a/extensions/settings/configuration.md b/extensions/settings/configuration.md index faba9c8f41e..ab3183083b5 100644 --- a/extensions/settings/configuration.md +++ b/extensions/settings/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2020-12-03T16:10:31+0000" +date: "2020-12-03T16:53:46+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/settings/templates @@ -33,42 +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. -### settings version - -Print the versions of the running instances - -Usage: `settings version [command options] [arguments...]` - ---grpc-namespace | $SETTINGS_GRPC_NAMESPACE -: Set the base namespace for the grpc namespace. Default: `com.owncloud.api`. - ---name | $SETTINGS_NAME -: service name. Default: `settings`. - -### settings health - -Check health status - -Usage: `settings health [command options] [arguments...]` - ---debug-addr | $SETTINGS_DEBUG_ADDR -: Address to debug endpoint. Default: `0.0.0.0:9194`. - -### settings ocis-settings - -Provide settings and permissions for oCIS - -Usage: `settings ocis-settings [command options] [arguments...]` - ---log-level | $SETTINGS_LOG_LEVEL -: Set logging level. Default: `info`. - ---log-pretty | $SETTINGS_LOG_PRETTY -: Enable pretty logging. Default: `true`. - ---log-color | $SETTINGS_LOG_COLOR -: Enable colored logging. Default: `true`. - ### settings server Start integrated server @@ -132,3 +96,39 @@ Usage: `settings server [command options] [arguments...]` --jwt-secret | $SETTINGS_JWT_SECRET : Used to create JWT to talk to reva, should equal reva's jwt-secret. Default: `Pive-Fumkiu4`. +### settings version + +Print the versions of the running instances + +Usage: `settings version [command options] [arguments...]` + +--grpc-namespace | $SETTINGS_GRPC_NAMESPACE +: Set the base namespace for the grpc namespace. Default: `com.owncloud.api`. + +--name | $SETTINGS_NAME +: service name. Default: `settings`. + +### settings health + +Check health status + +Usage: `settings health [command options] [arguments...]` + +--debug-addr | $SETTINGS_DEBUG_ADDR +: Address to debug endpoint. Default: `0.0.0.0:9194`. + +### settings ocis-settings + +Provide settings and permissions for oCIS + +Usage: `settings ocis-settings [command options] [arguments...]` + +--log-level | $SETTINGS_LOG_LEVEL +: Set logging level. Default: `info`. + +--log-pretty | $SETTINGS_LOG_PRETTY +: Enable pretty logging. Default: `true`. + +--log-color | $SETTINGS_LOG_COLOR +: Enable colored logging. Default: `true`. + diff --git a/extensions/storage/configuration.md b/extensions/storage/configuration.md index 8c88cc2d40d..88ec455045f 100644 --- a/extensions/storage/configuration.md +++ b/extensions/storage/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2020-12-03T16:10:32+0000" +date: "2020-12-03T16:53:47+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/storage/templates @@ -53,66 +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 auth-basic - -Start authprovider for basic auth - -Usage: `storage auth-basic [command options] [arguments...]` - ---debug-addr | $STORAGE_AUTH_BASIC_DEBUG_ADDR -: Address to bind debug server. Default: `0.0.0.0:9147`. - ---auth-driver | $STORAGE_AUTH_DRIVER -: auth driver: 'demo', 'json' or 'ldap'. Default: `ldap`. - ---auth-json | $STORAGE_AUTH_JSON -: Path to users.json file. - ---network | $STORAGE_AUTH_BASIC_GRPC_NETWORK -: Network to use for the storage auth-basic service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`. - ---addr | $STORAGE_AUTH_BASIC_GRPC_ADDR -: Address to bind storage service. Default: `0.0.0.0:9146`. - -### 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 gateway Start gateway @@ -194,6 +134,72 @@ Usage: `storage gateway [command options] [arguments...]` --storage-public-link-mount-path | $STORAGE_PUBLIC_LINK_MOUNT_PATH : mount path. Default: `/public`. +### 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`. + +--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/metadata`. + +### 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-public-link Start storage-public-link service @@ -215,54 +221,6 @@ 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 @@ -314,6 +272,81 @@ Usage: `storage users [command options] [arguments...]` --rest-target-api | $STORAGE_REST_TARGET_API : The target application. +### 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 + +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 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 sharing Start sharing service @@ -338,6 +371,27 @@ Usage: `storage sharing [command options] [arguments...]` --public-driver | $STORAGE_SHARING_PUBLIC_DRIVER : driver to use for the PublicShareProvider. Default: `json`. +### storage auth-basic + +Start authprovider for basic auth + +Usage: `storage auth-basic [command options] [arguments...]` + +--debug-addr | $STORAGE_AUTH_BASIC_DEBUG_ADDR +: Address to bind debug server. Default: `0.0.0.0:9147`. + +--auth-driver | $STORAGE_AUTH_DRIVER +: auth driver: 'demo', 'json' or 'ldap'. Default: `ldap`. + +--auth-json | $STORAGE_AUTH_JSON +: Path to users.json file. + +--network | $STORAGE_AUTH_BASIC_GRPC_NETWORK +: Network to use for the storage auth-basic service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`. + +--addr | $STORAGE_AUTH_BASIC_GRPC_ADDR +: Address to bind storage service. Default: `0.0.0.0:9146`. + ### storage frontend Start frontend service @@ -431,60 +485,6 @@ Usage: `storage storage-users [command options] [arguments...]` --users-endpoint | $STORAGE_USERPROVIDER_ENDPOINT : endpoint to use for the storage service. Default: `localhost:9144`. -### 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 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`. - ---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/metadata`. - ## Config for the different Storage Drivers You can set different storage drivers for the Storage Providers. Please check the storage provider configuration. diff --git a/extensions/store/configuration.md b/extensions/store/configuration.md index 0e78a074592..c30514e683e 100644 --- a/extensions/store/configuration.md +++ b/extensions/store/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2020-12-03T16:10:33+0000" +date: "2020-12-03T16:53:48+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/store/templates diff --git a/extensions/thumbnails/configuration.md b/extensions/thumbnails/configuration.md index 00364974c1d..e564355fab5 100644 --- a/extensions/thumbnails/configuration.md +++ b/extensions/thumbnails/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2020-12-03T16:10:34+0000" +date: "2020-12-03T16:53:49+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/thumbnails/templates @@ -33,30 +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 health - -Check health status - -Usage: `thumbnails health [command options] [arguments...]` - ---debug-addr | $THUMBNAILS_DEBUG_ADDR -: Address to debug endpoint. Default: `0.0.0.0:9189`. - -### 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 server Start integrated server @@ -123,3 +99,27 @@ Usage: `thumbnails version [command options] [arguments...]` --grpc-namespace | $THUMBNAILS_GRPC_NAMESPACE : Set the base namespace for the grpc namespace. Default: `com.owncloud.api`. +### thumbnails health + +Check health status + +Usage: `thumbnails health [command options] [arguments...]` + +--debug-addr | $THUMBNAILS_DEBUG_ADDR +: Address to debug endpoint. Default: `0.0.0.0:9189`. + +### 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`. + diff --git a/extensions/webdav/configuration.md b/extensions/webdav/configuration.md index a1c6a8ed32b..a1f5833dfe5 100644 --- a/extensions/webdav/configuration.md +++ b/extensions/webdav/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2020-12-03T16:10:35+0000" +date: "2020-12-03T16:53:50+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/webdav/templates @@ -50,15 +50,6 @@ 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 @@ -119,3 +110,12 @@ 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`. + diff --git a/ocis/configuration.md b/ocis/configuration.md index 178e33a6ae1..086715b8c9a 100644 --- a/ocis/configuration.md +++ b/ocis/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2020-12-03T16:10:27+0000" +date: "2020-12-03T16:53:42+0000" weight: 2 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/ocis/templates @@ -75,11 +75,11 @@ Usage: `ocis [global options] command [command options] [arguments...]` ## Sub Commands -### ocis run +### ocis kill -Runs an extension +Kill an extension by name -Usage: `ocis run [command options] [arguments...]` +Usage: `ocis kill [command options] [arguments...]` ### ocis health @@ -90,12 +90,6 @@ Usage: `ocis health [command options] [arguments...]` --debug-addr | $OCIS_DEBUG_ADDR : Address to debug endpoint. Default: `0.0.0.0:9010`. -### ocis kill - -Kill an extension by name - -Usage: `ocis kill [command options] [arguments...]` - ### ocis list Lists running ocis extensions @@ -129,90 +123,56 @@ 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...]` + ### 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-home - -Start storage and data provider for /home mount - -#### ocis storage-users - -Start storage and data provider for /users mount - -#### ocis storage-public-link - -Start storage public link storage - -#### ocis storage-metadata - -Start storage and data service for metadata - -#### ocis storage-auth-bearer - -Start storage auth-bearer service - -#### ocis storage-userprovider - -Start storage userprovider service - -#### ocis store - -Start a go-micro store - -#### ocis glauth - -Start glauth server - -#### ocis webdav - -Start webdav server - -#### ocis settings - -Start settings server - -#### ocis konnectd - -Start konnectd server - -#### ocis thumbnails - -Start thumbnails server - -#### ocis phoenix - -Start phoenix server - -#### ocis storage-gateway - -Start storage gateway - -#### ocis version - -Lists running services with version - -#### ocis onlyoffice - -Start onlyoffice server - -#### ocis ocs - -Start ocs server - #### ocis storage-sharing Start storage sharing service -#### ocis accounts +#### ocis storage-gateway -Start accounts server +Start storage gateway + +#### ocis storage-metadata + +Start storage and data service for metadata + +#### ocis storage-userprovider + +Start storage userprovider service #### ocis storage-frontend Start storage frontend +#### ocis store + +Start a go-micro store + +#### ocis storage-public-link + +Start storage public link storage + +#### ocis konnectd + +Start konnectd server + +#### ocis glauth + +Start glauth server + +#### ocis storage-auth-bearer + +Start storage auth-bearer service + #### ocis storage-auth-basic Start storage auth-basic service @@ -221,3 +181,43 @@ Start storage auth-basic service Start proxy server +#### ocis settings + +Start settings server + +#### ocis onlyoffice + +Start onlyoffice server + +#### ocis accounts + +Start accounts server + +#### ocis storage-users + +Start storage and data provider for /users mount + +#### ocis thumbnails + +Start thumbnails server + +#### ocis storage-home + +Start storage and data provider for /home mount + +#### ocis phoenix + +Start phoenix server + +#### ocis webdav + +Start webdav server + +#### ocis ocs + +Start ocs server + +#### ocis version + +Lists running services with version + diff --git a/ocis/development/continuous-integration.md b/ocis/development/continuous-integration.md index 52a275f4ca0..f7d2a201be9 100644 --- a/ocis/development/continuous-integration.md +++ b/ocis/development/continuous-integration.md @@ -37,6 +37,8 @@ You may add flags to your commit message or PR title in order to speed up pipeli - `[tests-only]`: please add this flag, if you only changed tests or test-related tooling. You do not need to add a changelog for tests-only changes. +- `[with-benchmarks]`: please add this flag, if you want benchmarks to be run in CI. + ### Knowledge base - My pipeline fails because some CI related files or commands are missing.