Author: Michael Barz <mbarz@owncloud.com>
Date:   Thu Sep 16 08:19:59 2021 +0200

    Add api test helper code to codacy exclude list
This commit is contained in:
Michael Barz committed 2021-09-16 06:26:25 +00:00
1 parent 172cc37c0e
commit 82af1debde
14 files changed
+3284 -3284

No files matched your search

+204 -204
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-09-16T06:20:31+0000"
date: "2021-09-16T06:25:10+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/accounts/templates
@@ -35,101 +35,149 @@ If multiple variables are listed for one option, they are in order of precedence
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 update
Make changes to an existing account
Usage: `accounts update [command options] [arguments...]`
### accounts server
Start ocis accounts service
Usage: `accounts server [command options] [arguments...]`
-log-file | $ACCOUNTS_LOG_FILE , $OCIS_LOG_FILE
: Enable log to file.
-tracing-enabled | $ACCOUNTS_TRACING_ENABLED , $OCIS_TRACING_ENABLED
: Enable sending traces.
-tracing-type | $ACCOUNTS_TRACING_TYPE , $OCIS_TRACING_TYPE
: Tracing backend type. Default: `"jaeger"`.
-tracing-endpoint | $ACCOUNTS_TRACING_ENDPOINT , $OCIS_TRACING_ENDPOINT
: Endpoint for the agent. Default: `""`.
-tracing-collector | $ACCOUNTS_TRACING_COLLECTOR , $OCIS_TRACING_COLLECTOR
: Endpoint for the collector. Default: `""`.
-tracing-service | $ACCOUNTS_TRACING_SERVICE
: Service name for tracing. Default: `"accounts"`.
-http-namespace | $ACCOUNTS_HTTP_NAMESPACE
: Set the base namespace for the http namespace. Default: `"com.owncloud.web"`.
-http-addr | $ACCOUNTS_HTTP_ADDR
: Address to bind http server. Default: `"0.0.0.0:9181"`.
-http-root | $ACCOUNTS_HTTP_ROOT
: Root path of http server. Default: `"/"`.
-http-cache-ttl | $ACCOUNTS_CACHE_TTL
: Set the static assets caching duration in seconds. Default: `604800`.
-grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `"com.owncloud.api"`.
-grpc-addr | $ACCOUNTS_GRPC_ADDR
: Address to bind grpc server. Default: `"0.0.0.0:9180"`.
-name | $ACCOUNTS_NAME
: service name. Default: `"accounts"`.
-enabled |
: Enable the account.
-accounts-hash-difficulty | $ACCOUNTS_HASH_DIFFICULTY
: accounts password hash difficulty. Default: `11`.
-displayname |
: Set the displayname for the account.
-asset-path | $ACCOUNTS_ASSET_PATH
: Path to custom assets. Default: `""`.
-preferred-name |
: Set the preferred-name for the account.
-jwt-secret | $ACCOUNTS_JWT_SECRET , $OCIS_JWT_SECRET
: Used to create JWT to talk to reva, should equal reva's jwt-secret. Default: `"Pive-Fumkiu4"`.
-on-premises-sam-account-name |
: Set the on-premises-sam-account-name.
-storage-disk-path | $ACCOUNTS_STORAGE_DISK_PATH
: Path on the local disk, e.g. /var/tmp/ocis/accounts. Default: `""`.
-uidnumber |
: Set the uidnumber for the account.
-storage-cs3-provider-addr | $ACCOUNTS_STORAGE_CS3_PROVIDER_ADDR
: bind address for the metadata storage provider. Default: `"localhost:9215"`.
-storage-cs3-data-url | $ACCOUNTS_STORAGE_CS3_DATA_URL
: http endpoint of the metadata storage. Default: `"http://localhost:9216"`.
-storage-cs3-data-prefix | $ACCOUNTS_STORAGE_CS3_DATA_PREFIX
: path prefix for the http endpoint of the metadata storage, without leading slash. Default: `"data"`.
-storage-cs3-jwt-secret | $ACCOUNTS_STORAGE_CS3_JWT_SECRET , $OCIS_JWT_SECRET
: Used to create JWT to talk to reva, should equal reva's jwt-secret. Default: `"Pive-Fumkiu4"`.
-service-user-uuid | $ACCOUNTS_SERVICE_USER_UUID
: uuid of the internal service user (required on EOS). Default: `"95cb8724-03b2-11eb-a0a6-c33ef8ef53ad"`.
-service-user-username | $ACCOUNTS_SERVICE_USER_USERNAME
: username of the internal service user (required on EOS). Default: `""`.
-service-user-uid | $ACCOUNTS_SERVICE_USER_UID
: uid of the internal service user (required on EOS). Default: `0`.
-service-user-gid | $ACCOUNTS_SERVICE_USER_GID
: gid of the internal service user (required on EOS). Default: `0`.
-uid-index-lower-bound | $ACCOUNTS_UID_INDEX_LOWER_BOUND
: define a starting point for the account UID. Default: `0`.
-gid-index-lower-bound | $ACCOUNTS_GID_INDEX_LOWER_BOUND
: define a starting point for the account GID. Default: `1000`.
-uid-index-upper-bound | $ACCOUNTS_UID_INDEX_UPPER_BOUND
: define an ending point for the account UID. Default: `0`.
-gid-index-upper-bound | $ACCOUNTS_GID_INDEX_UPPER_BOUND
: define an ending point for the account GID. Default: `1000`.
-extensions |
: Run specific extensions during supervised mode.
-gidnumber |
: Set the gidnumber for the account.
-mail |
: Set the mail for the account.
-description |
: Set the description for the account.
-password |
: Set the password for the account.
-password-policies |
: Possible policies: DisableStrongPassword, DisablePasswordExpiration.
-force-password-change |
: Force password change on next sign-in.
-force-password-change-mfa |
: Force password change on next sign-in with mfa.
@@ -389,6 +437,87 @@ Usage: `accounts remove [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 ocis-accounts
Provide accounts and groups for oCIS
@@ -476,149 +605,101 @@ Usage: `accounts ocis-accounts [command options] [arguments...]`
### accounts server
### accounts update
Make changes to an existing account
Usage: `accounts update [command options] [arguments...]`
Start ocis accounts service
Usage: `accounts server [command options] [arguments...]`
-log-file | $ACCOUNTS_LOG_FILE , $OCIS_LOG_FILE
: Enable log to file.
-tracing-enabled | $ACCOUNTS_TRACING_ENABLED , $OCIS_TRACING_ENABLED
: Enable sending traces.
-tracing-type | $ACCOUNTS_TRACING_TYPE , $OCIS_TRACING_TYPE
: Tracing backend type. Default: `"jaeger"`.
-tracing-endpoint | $ACCOUNTS_TRACING_ENDPOINT , $OCIS_TRACING_ENDPOINT
: Endpoint for the agent. Default: `""`.
-tracing-collector | $ACCOUNTS_TRACING_COLLECTOR , $OCIS_TRACING_COLLECTOR
: Endpoint for the collector. Default: `""`.
-tracing-service | $ACCOUNTS_TRACING_SERVICE
: Service name for tracing. Default: `"accounts"`.
-http-namespace | $ACCOUNTS_HTTP_NAMESPACE
: Set the base namespace for the http namespace. Default: `"com.owncloud.web"`.
-http-addr | $ACCOUNTS_HTTP_ADDR
: Address to bind http server. Default: `"0.0.0.0:9181"`.
-http-root | $ACCOUNTS_HTTP_ROOT
: Root path of http server. Default: `"/"`.
-http-cache-ttl | $ACCOUNTS_CACHE_TTL
: Set the static assets caching duration in seconds. Default: `604800`.
-grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `"com.owncloud.api"`.
-grpc-addr | $ACCOUNTS_GRPC_ADDR
: Address to bind grpc server. Default: `"0.0.0.0:9180"`.
-name | $ACCOUNTS_NAME
: service name. Default: `"accounts"`.
-accounts-hash-difficulty | $ACCOUNTS_HASH_DIFFICULTY
: accounts password hash difficulty. Default: `11`.
-enabled |
: Enable the account.
-asset-path | $ACCOUNTS_ASSET_PATH
: Path to custom assets. Default: `""`.
-displayname |
: Set the displayname for the account.
-jwt-secret | $ACCOUNTS_JWT_SECRET , $OCIS_JWT_SECRET
: Used to create JWT to talk to reva, should equal reva's jwt-secret. Default: `"Pive-Fumkiu4"`.
-preferred-name |
: Set the preferred-name for the account.
-storage-disk-path | $ACCOUNTS_STORAGE_DISK_PATH
: Path on the local disk, e.g. /var/tmp/ocis/accounts. Default: `""`.
-on-premises-sam-account-name |
: Set the on-premises-sam-account-name.
-storage-cs3-provider-addr | $ACCOUNTS_STORAGE_CS3_PROVIDER_ADDR
: bind address for the metadata storage provider. Default: `"localhost:9215"`.
-storage-cs3-data-url | $ACCOUNTS_STORAGE_CS3_DATA_URL
: http endpoint of the metadata storage. Default: `"http://localhost:9216"`.
-storage-cs3-data-prefix | $ACCOUNTS_STORAGE_CS3_DATA_PREFIX
: path prefix for the http endpoint of the metadata storage, without leading slash. Default: `"data"`.
-storage-cs3-jwt-secret | $ACCOUNTS_STORAGE_CS3_JWT_SECRET , $OCIS_JWT_SECRET
: Used to create JWT to talk to reva, should equal reva's jwt-secret. Default: `"Pive-Fumkiu4"`.
-service-user-uuid | $ACCOUNTS_SERVICE_USER_UUID
: uuid of the internal service user (required on EOS). Default: `"95cb8724-03b2-11eb-a0a6-c33ef8ef53ad"`.
-service-user-username | $ACCOUNTS_SERVICE_USER_USERNAME
: username of the internal service user (required on EOS). Default: `""`.
-service-user-uid | $ACCOUNTS_SERVICE_USER_UID
: uid of the internal service user (required on EOS). Default: `0`.
-service-user-gid | $ACCOUNTS_SERVICE_USER_GID
: gid of the internal service user (required on EOS). Default: `0`.
-uid-index-lower-bound | $ACCOUNTS_UID_INDEX_LOWER_BOUND
: define a starting point for the account UID. Default: `0`.
-gid-index-lower-bound | $ACCOUNTS_GID_INDEX_LOWER_BOUND
: define a starting point for the account GID. Default: `1000`.
-uid-index-upper-bound | $ACCOUNTS_UID_INDEX_UPPER_BOUND
: define an ending point for the account UID. Default: `0`.
-gid-index-upper-bound | $ACCOUNTS_GID_INDEX_UPPER_BOUND
: define an ending point for the account GID. Default: `1000`.
-extensions |
: Run specific extensions during supervised mode.
-uidnumber |
: Set the uidnumber for the account.
-gidnumber |
: Set the gidnumber for the account.
-mail |
: Set the mail for the account.
-description |
: Set the description for the account.
-password |
: Set the password for the account.
-password-policies |
: Possible policies: DisableStrongPassword, DisablePasswordExpiration.
-force-password-change |
: Force password change on next sign-in.
-force-password-change-mfa |
: Force password change on next sign-in with mfa.
@@ -842,84 +923,3 @@ Usage: `accounts inspect [command options] [arguments...]`
-name | $ACCOUNTS_NAME
: service name. Default: `"accounts"`.
### 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"`.
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-09-16T06:21:11+0000"
date: "2021-09-16T06:25:43+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/glauth/templates
+31 -31
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-09-16T06:21:11+0000"
date: "2021-09-16T06:25:43+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/graph-explorer/templates
@@ -73,36 +73,6 @@ Usage: `graph-explorer [global options] command [command options] [arguments...]
## Sub Commands
### graph-explorer health
Check health status
Usage: `graph-explorer health [command options] [arguments...]`
-debug-addr | $GRAPH_EXPLORER_DEBUG_ADDR
: Address to debug endpoint. Default: `"0.0.0.0:9136"`.
### graph-explorer server
Start integrated server
@@ -181,3 +151,33 @@ Usage: `graph-explorer server [command options] [arguments...]`
-extensions |
: Run specific extensions during supervised mode. This flag is set by the runtime.
### graph-explorer health
Check health status
Usage: `graph-explorer health [command options] [arguments...]`
-debug-addr | $GRAPH_EXPLORER_DEBUG_ADDR
: Address to debug endpoint. Default: `"0.0.0.0:9136"`.
+72 -72
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-09-16T06:21:11+0000"
date: "2021-09-16T06:25:43+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/graph/templates
@@ -35,6 +35,77 @@ If multiple variables are listed for one option, they are in order of precedence
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.
### graph health
Check health status
Usage: `graph health [command options] [arguments...]`
-debug-addr | $GRAPH_DEBUG_ADDR
: Address to debug endpoint. Default: `"0.0.0.0:9124"`.
### graph ocis-graph
Serve Graph API for oCIS
Usage: `graph ocis-graph [command options] [arguments...]`
-config-file | $GRAPH_CONFIG_FILE
: Path to config file. Default: `""`.
-log-level | $GRAPH_LOG_LEVEL , $OCIS_LOG_LEVEL
: Set logging level.
-log-pretty | $GRAPH_LOG_PRETTY , $OCIS_LOG_PRETTY
: Enable pretty logging.
-log-color | $GRAPH_LOG_COLOR , $OCIS_LOG_COLOR
: Enable colored logging.
### graph server
Start integrated server
@@ -114,74 +185,3 @@ Usage: `graph server [command options] [arguments...]`
-extensions |
: Run specific extensions during supervised mode. This flag is set by the runtime.
### graph health
Check health status
Usage: `graph health [command options] [arguments...]`
-debug-addr | $GRAPH_DEBUG_ADDR
: Address to debug endpoint. Default: `"0.0.0.0:9124"`.
### graph ocis-graph
Serve Graph API for oCIS
Usage: `graph ocis-graph [command options] [arguments...]`
-config-file | $GRAPH_CONFIG_FILE
: Path to config file. Default: `""`.
-log-level | $GRAPH_LOG_LEVEL , $OCIS_LOG_LEVEL
: Set logging level.
-log-pretty | $GRAPH_LOG_PRETTY , $OCIS_LOG_PRETTY
: Enable pretty logging.
-log-color | $GRAPH_LOG_COLOR , $OCIS_LOG_COLOR
: Enable colored logging.
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-09-16T06:21:11+0000"
date: "2021-09-16T06:25:43+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/idp/templates
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-09-16T06:21:11+0000"
date: "2021-09-16T06:25:43+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/ocs/templates
+54 -54
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-09-16T06:21:11+0000"
date: "2021-09-16T06:25:43+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/proxy/templates
@@ -35,59 +35,6 @@ If multiple variables are listed for one option, they are in order of precedence
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 version
Print the versions of the running instances
Usage: `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"`.
### proxy health
Check health status
@@ -358,3 +305,56 @@ Usage: `proxy server [command options] [arguments...]`
### proxy version
Print the versions of the running instances
Usage: `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"`.
+37 -37
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-09-16T06:21:11+0000"
date: "2021-09-16T06:25:43+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/settings/templates
@@ -34,6 +34,42 @@ If multiple variables are listed for one option, they are in order of precedence
### Commandline flags
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 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
@@ -211,40 +247,4 @@ Usage: `settings version [command options] [arguments...]`
-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"`.
File diff suppressed because it is too large. Load diff
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-09-16T06:21:11+0000"
date: "2021-09-16T06:25:43+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/store/templates
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-09-16T06:21:12+0000"
date: "2021-09-16T06:25:44+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/thumbnails/templates
+41 -41
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-09-16T06:21:12+0000"
date: "2021-09-16T06:25:44+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/web/templates
@@ -73,46 +73,6 @@ Usage: `web [global options] command [command options] [arguments...]`
## Sub Commands
### web health
Check health status
Usage: `web health [command options] [arguments...]`
-debug-addr | $WEB_DEBUG_ADDR
: Address to debug endpoint. Default: `"0.0.0.0:9104"`.
### web server
@@ -240,4 +200,44 @@ Usage: `web server [command options] [arguments...]`
-extensions |
: Run specific extensions during supervised mode. This flag is set by the runtime.
### web health
Check health status
Usage: `web health [command options] [arguments...]`
-debug-addr | $WEB_DEBUG_ADDR
: Address to debug endpoint. Default: `"0.0.0.0:9104"`.
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-09-16T06:21:12+0000"
date: "2021-09-16T06:25:44+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/webdav/templates
+110 -110
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-09-16T06:21:11+0000"
date: "2021-09-16T06:25:43+0000"
weight: 2
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/ocis/templates
@@ -136,11 +136,11 @@ Usage: `ocis list [command options] [arguments...]`
### ocis kill
### ocis run
Kill an extension by name
Runs an extension
Usage: `ocis kill [command options] [arguments...]`
Usage: `ocis run [command options] [arguments...]`
@@ -161,6 +161,37 @@ Usage: `ocis kill [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`.
@@ -216,42 +247,11 @@ Usage: `ocis server [command options] [arguments...]`
-extensions | $OCIS_RUN_EXTENSIONS
: Run specific extensions during supervised mode.
### ocis health
### ocis kill
Check health status
Kill an extension by name
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...]`
Usage: `ocis kill [command options] [arguments...]`
@@ -279,95 +279,95 @@ Usage: `ocis run [command options] [arguments...]`
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 settings
#### ocis idp
Start settings server
#### ocis accounts
Start accounts server
#### ocis glauth
Start glauth server
#### ocis storage-metadata
Start storage and data service for metadata
#### ocis web
Start web server
#### ocis storage-groupprovider
Start storage groupprovider service
#### ocis storage-sharing
Start storage sharing service
#### ocis storage-userprovider
Start storage userprovider service
Start idp server
#### ocis store
Start a go-micro store
#### ocis idp
#### ocis webdav
Start idp server
Start webdav server
#### ocis storage-app-provider
#### ocis storage-sharing
Start storage app-provider service
#### ocis storage-frontend
Start storage frontend
Start storage sharing service
#### ocis ocs
Start ocs server
#### ocis storage-users
#### ocis storage-frontend
Start storage and data provider for /users mount
#### ocis storage-auth-bearer
Start storage auth-bearer service
#### ocis storage-gateway
Start storage gateway
#### ocis version
Lists running services with version
#### ocis storage-auth-basic
Start storage auth-basic service
#### ocis thumbnails
Start thumbnails server
#### ocis webdav
Start webdav server
#### ocis proxy
Start proxy server
#### ocis storage-home
Start storage and data provider for /home mount
Start storage frontend
#### ocis storage-public-link
Start storage public link storage
#### ocis accounts
Start accounts server
#### ocis settings
Start settings server
#### ocis storage-gateway
Start storage gateway
#### ocis storage-home
Start storage and data provider for /home mount
#### ocis version
Lists running services with version
#### ocis storage-auth-bearer
Start storage auth-bearer service
#### ocis storage-users
Start storage and data provider for /users mount
#### ocis glauth
Start glauth server
#### ocis proxy
Start proxy server
#### ocis storage-auth-basic
Start storage auth-basic service
#### ocis storage-metadata
Start storage and data service for metadata
#### ocis storage-userprovider
Start storage userprovider service
#### ocis storage-app-provider
Start storage app-provider service
#### ocis storage-groupprovider
Start storage groupprovider service
#### ocis thumbnails
Start thumbnails server
#### ocis web
Start web server