Merge: 69a26a81 1ff02911
Author: David Christofas <dchristofas@owncloud.com>
Date:   Mon Aug 30 12:47:06 2021 -0400

    Merge pull request #2451 from owncloud/upgrade_go_micro_3.6.0

    upgrade go micro and all modules to v3.6.0
This commit is contained in:
David Christofas committed 2021-08-30 16:49:28 +00:00
1 parent 5bdb685c07
commit ab83183a28
14 files changed
+3444 -3444

No files matched your search

+246 -246
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-08-30T16:26:17+0000"
date: "2021-08-30T16:47:26+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/accounts/templates
@@ -35,30 +35,11 @@ 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 inspect
Show detailed data on an existing account
Usage: `accounts inspect [command options] [arguments...]`
### accounts add
Create a new account
Usage: `accounts add [command options] [arguments...]`
@@ -116,6 +97,64 @@ Usage: `accounts inspect [command options] [arguments...]`
-name | $ACCOUNTS_NAME
: service name. Default: `"accounts"`.
-enabled |
: Enable the account.
-displayname |
: Set the displayname for the account.
-username |
: Username will be written to preferred-name and on_premises_sam_account_name.
-preferred-name |
: Set the preferred-name for the account.
-on-premises-sam-account-name |
: Set the on-premises-sam-account-name.
-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.
### accounts list
List existing accounts
@@ -192,6 +231,168 @@ Usage: `accounts list [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 ocis-accounts
Provide accounts and groups for oCIS
Usage: `accounts ocis-accounts [command options] [arguments...]`
-log-level | $ACCOUNTS_LOG_LEVEL , $OCIS_LOG_LEVEL
: Set logging level.
-log-pretty | $ACCOUNTS_LOG_PRETTY , $OCIS_LOG_PRETTY
: Enable pretty logging.
-log-color | $ACCOUNTS_LOG_COLOR , $OCIS_LOG_COLOR
: Enable colored logging.
-extensions |
: Run specific extensions during supervised mode.
@@ -479,11 +680,30 @@ Usage: `accounts update [command options] [arguments...]`
### accounts add
### accounts inspect
Show detailed data on an existing account
Usage: `accounts inspect [command options] [arguments...]`
Create a new account
Usage: `accounts add [command options] [arguments...]`
@@ -540,139 +760,6 @@ Usage: `accounts add [command options] [arguments...]`
-name | $ACCOUNTS_NAME
: service name. Default: `"accounts"`.
-enabled |
: Enable the account.
-displayname |
: Set the displayname for the account.
-username |
: Username will be written to preferred-name and on_premises_sam_account_name.
-preferred-name |
: Set the preferred-name for the account.
-on-premises-sam-account-name |
: Set the on-premises-sam-account-name.
-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.
### accounts rebuildIndex
Rebuilds the service's index, i.e. deleting and then re-adding all existing documents
Usage: `accounts rebuildIndex [command options] [arguments...]`
### accounts remove
@@ -752,93 +839,6 @@ Usage: `accounts remove [command options] [arguments...]`
-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 , $OCIS_LOG_LEVEL
: Set logging level.
-log-pretty | $ACCOUNTS_LOG_PRETTY , $OCIS_LOG_PRETTY
: Enable pretty logging.
-log-color | $ACCOUNTS_LOG_COLOR , $OCIS_LOG_COLOR
: Enable colored logging.
-extensions |
: Run specific extensions during supervised mode.
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-08-30T16:27:05+0000"
date: "2021-08-30T16:48:19+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: "2021-08-30T16:27:05+0000"
date: "2021-08-30T16:48:19+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/graph-explorer/templates
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-08-30T16:27:05+0000"
date: "2021-08-30T16:48:19+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/graph/templates
+147 -147
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-08-30T16:27:05+0000"
date: "2021-08-30T16:48:19+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/idp/templates
@@ -34,152 +34,6 @@ 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.
### idp health
Check health status
Usage: `idp health [command options] [arguments...]`
-debug-addr | $IDP_DEBUG_ADDR
: Address to debug endpoint. Default: `"0.0.0.0:9134"`.
### idp ocis-idp
Serve IDP API for oCIS
Usage: `idp ocis-idp [command options] [arguments...]`
-log-level | $IDP_LOG_LEVEL , $OCIS_LOG_LEVEL
: Set logging level.
-log-pretty | $IDP_LOG_PRETTY , $OCIS_LOG_PRETTY
: Enable pretty logging.
-log-color | $IDP_LOG_COLOR , $OCIS_LOG_COLOR
: Enable colored logging.
### idp server
@@ -485,4 +339,150 @@ Usage: `idp version [command options] [arguments...]`
-name | $IDP_NAME
: Service name. Default: `"idp"`.
### idp health
Check health status
Usage: `idp health [command options] [arguments...]`
-debug-addr | $IDP_DEBUG_ADDR
: Address to debug endpoint. Default: `"0.0.0.0:9134"`.
### idp ocis-idp
Serve IDP API for oCIS
Usage: `idp ocis-idp [command options] [arguments...]`
-log-level | $IDP_LOG_LEVEL , $OCIS_LOG_LEVEL
: Set logging level.
-log-pretty | $IDP_LOG_PRETTY , $OCIS_LOG_PRETTY
: Enable pretty logging.
-log-color | $IDP_LOG_COLOR , $OCIS_LOG_COLOR
: Enable colored logging.
+106 -106
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-08-30T16:27:05+0000"
date: "2021-08-30T16:48:19+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/ocs/templates
@@ -35,111 +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.
### ocs server
Start integrated server
Usage: `ocs server [command options] [arguments...]`
-log-file | $OCS_LOG_FILE , $OCIS_LOG_FILE
: Enable log to file.
-log-level | $OCS_LOG_LEVEL , $OCIS_LOG_LEVEL
: Set logging level.
-log-pretty | $OCS_LOG_PRETTY , $OCIS_LOG_PRETTY
: Enable pretty logging.
-log-color | $OCS_LOG_COLOR , $OCIS_LOG_COLOR
: Enable colored logging.
-config-file | $OCS_CONFIG_FILE
: Path to config file.
-tracing-enabled | $OCS_TRACING_ENABLED , $OCIS_TRACING_ENABLED
: Enable sending traces. Default: `false`.
-tracing-type | $OCS_TRACING_TYPE , $OCIS_TRACING_TYPE
: Tracing backend type. Default: `"jaeger"`.
-tracing-endpoint | $OCS_TRACING_ENDPOINT , $OCIS_TRACING_ENDPOINT
: Endpoint for the agent. Default: `""`.
-tracing-collector | $OCS_TRACING_COLLECTOR , $OCIS_TRACING_COLLECTOR
: Endpoint for the collector. Default: `""`.
-tracing-service | $OCS_TRACING_SERVICE
: Service name for tracing. Default: `"ocs"`.
-debug-addr | $OCS_DEBUG_ADDR
: Address to bind debug server. Default: `"0.0.0.0:9114"`.
-debug-token | $OCS_DEBUG_TOKEN
: Token to grant metrics access. Default: `""`.
-debug-pprof | $OCS_DEBUG_PPROF
: Enable pprof debugging.
-debug-zpages | $OCS_DEBUG_ZPAGES
: Enable zpages debugging.
-http-addr | $OCS_HTTP_ADDR
: Address to bind http server. Default: `"0.0.0.0:9110"`.
-http-namespace | $OCS_NAMESPACE
: Set the base namespace for the http namespace. Default: `"com.owncloud.web"`.
-name | $OCS_NAME
: Service name. Default: `"ocs"`.
-http-root | $OCS_HTTP_ROOT
: Root path of http server. Default: `"/ocs"`.
-jwt-secret | $OCS_JWT_SECRET , $OCIS_JWT_SECRET
: Used to dismantle the access token, should equal reva's jwt-secret. Default: `"Pive-Fumkiu4"`.
-account-backend-type | $OCS_ACCOUNT_BACKEND_TYPE
: account-backend-type. Default: `"accounts"`.
-reva-gateway-addr | $OCS_REVA_GATEWAY_ADDR
: REVA Gateway Endpoint. Default: `"127.0.0.1:9142"`.
-idm-address | $OCS_IDM_ADDRESS , $OCIS_URL
: keeps track of the IDM Address. Needed because of Reva requisite of uniqueness for users. Default: `"https://localhost:9200"`.
-users-driver | $OCS_STORAGE_USERS_DRIVER , $STORAGE_USERS_DRIVER
: storage driver for users mount: eg. local, eos, owncloud, ocis or s3. Default: `"ocis"`.
-extensions |
: Run specific extensions during supervised mode.
### ocs version
Print the versions of the running instances
@@ -245,6 +140,111 @@ Usage: `ocs ocis-ocs [command options] [arguments...]`
### ocs server
Start integrated server
Usage: `ocs server [command options] [arguments...]`
-log-file | $OCS_LOG_FILE , $OCIS_LOG_FILE
: Enable log to file.
-log-level | $OCS_LOG_LEVEL , $OCIS_LOG_LEVEL
: Set logging level.
-log-pretty | $OCS_LOG_PRETTY , $OCIS_LOG_PRETTY
: Enable pretty logging.
-log-color | $OCS_LOG_COLOR , $OCIS_LOG_COLOR
: Enable colored logging.
-config-file | $OCS_CONFIG_FILE
: Path to config file.
-tracing-enabled | $OCS_TRACING_ENABLED , $OCIS_TRACING_ENABLED
: Enable sending traces. Default: `false`.
-tracing-type | $OCS_TRACING_TYPE , $OCIS_TRACING_TYPE
: Tracing backend type. Default: `"jaeger"`.
-tracing-endpoint | $OCS_TRACING_ENDPOINT , $OCIS_TRACING_ENDPOINT
: Endpoint for the agent. Default: `""`.
-tracing-collector | $OCS_TRACING_COLLECTOR , $OCIS_TRACING_COLLECTOR
: Endpoint for the collector. Default: `""`.
-tracing-service | $OCS_TRACING_SERVICE
: Service name for tracing. Default: `"ocs"`.
-debug-addr | $OCS_DEBUG_ADDR
: Address to bind debug server. Default: `"0.0.0.0:9114"`.
-debug-token | $OCS_DEBUG_TOKEN
: Token to grant metrics access. Default: `""`.
-debug-pprof | $OCS_DEBUG_PPROF
: Enable pprof debugging.
-debug-zpages | $OCS_DEBUG_ZPAGES
: Enable zpages debugging.
-http-addr | $OCS_HTTP_ADDR
: Address to bind http server. Default: `"0.0.0.0:9110"`.
-http-namespace | $OCS_NAMESPACE
: Set the base namespace for the http namespace. Default: `"com.owncloud.web"`.
-name | $OCS_NAME
: Service name. Default: `"ocs"`.
-http-root | $OCS_HTTP_ROOT
: Root path of http server. Default: `"/ocs"`.
-jwt-secret | $OCS_JWT_SECRET , $OCIS_JWT_SECRET
: Used to dismantle the access token, should equal reva's jwt-secret. Default: `"Pive-Fumkiu4"`.
-account-backend-type | $OCS_ACCOUNT_BACKEND_TYPE
: account-backend-type. Default: `"accounts"`.
-reva-gateway-addr | $OCS_REVA_GATEWAY_ADDR
: REVA Gateway Endpoint. Default: `"127.0.0.1:9142"`.
-idm-address | $OCS_IDM_ADDRESS , $OCIS_URL
: keeps track of the IDM Address. Needed because of Reva requisite of uniqueness for users. Default: `"https://localhost:9200"`.
-users-driver | $OCS_STORAGE_USERS_DRIVER , $STORAGE_USERS_DRIVER
: storage driver for users mount: eg. local, eos, owncloud, ocis or s3. Default: `"ocis"`.
-extensions |
: Run specific extensions during supervised mode.
+60 -60
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-08-30T16:27:05+0000"
date: "2021-08-30T16:48:19+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/proxy/templates
@@ -34,65 +34,6 @@ 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.
### proxy ocis-proxy
proxy for oCIS
Usage: `proxy ocis-proxy [command options] [arguments...]`
-log-level | $PROXY_LOG_LEVEL , $OCIS_LOG_LEVEL
: Set logging level.
-log-pretty | $PROXY_LOG_PRETTY , $OCIS_LOG_PRETTY
: Enable pretty logging.
-log-color | $PROXY_LOG_COLOR , $OCIS_LOG_COLOR
: Enable colored logging.
-extensions |
: Run specific extensions during supervised mode.
### proxy server
@@ -340,6 +281,65 @@ Usage: `proxy health [command options] [arguments...]`
### proxy ocis-proxy
proxy for oCIS
Usage: `proxy ocis-proxy [command options] [arguments...]`
-log-level | $PROXY_LOG_LEVEL , $OCIS_LOG_LEVEL
: Set logging level.
-log-pretty | $PROXY_LOG_PRETTY , $OCIS_LOG_PRETTY
: Enable pretty logging.
-log-color | $PROXY_LOG_COLOR , $OCIS_LOG_COLOR
: Enable colored logging.
-extensions |
: Run specific extensions during supervised mode.
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-08-30T16:27:05+0000"
date: "2021-08-30T16:48:19+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/settings/templates
File diff suppressed because it is too large. Load diff
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-08-30T16:27:06+0000"
date: "2021-08-30T16:48:20+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/store/templates
+39 -39
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-08-30T16:27:06+0000"
date: "2021-08-30T16:48:20+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/thumbnails/templates
@@ -35,44 +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.
### 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
@@ -241,3 +203,41 @@ Usage: `thumbnails server [command options] [arguments...]`
### 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: "2021-08-30T16:27:07+0000"
date: "2021-08-30T16:48:21+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/web/templates
+70 -70
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-08-30T16:27:07+0000"
date: "2021-08-30T16:48:21+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/webdav/templates
@@ -66,75 +66,6 @@ Usage: `webdav [global options] command [command options] [arguments...]`
## Sub Commands
### webdav version
Print the versions of the running instances
Usage: `webdav version [command options] [arguments...]`
-http-namespace | $WEBDAV_HTTP_NAMESPACE
: Set the base namespace for service discovery. Default: `"com.owncloud.web"`.
-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"`.
### webdav server
@@ -226,6 +157,75 @@ Usage: `webdav server [command options] [arguments...]`
-extensions |
: Run specific extensions during supervised mode. This flag is set by the runtime.
### webdav version
Print the versions of the running instances
Usage: `webdav version [command options] [arguments...]`
-http-namespace | $WEBDAV_HTTP_NAMESPACE
: Set the base namespace for service discovery. Default: `"com.owncloud.web"`.
-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"`.
+77 -77
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-08-30T16:27:05+0000"
date: "2021-08-30T16:48:19+0000"
weight: 2
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/ocis/templates
@@ -133,34 +133,6 @@ Usage: `ocis list [command options] [arguments...]`
### ocis kill
Kill an extension by name
Usage: `ocis kill [command options] [arguments...]`
@@ -274,42 +246,66 @@ Usage: `ocis server [command options] [arguments...]`
-extensions | $OCIS_RUN_EXTENSIONS
: Run specific extensions during supervised mode.
### 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-auth-basic
Start storage auth-basic service
#### ocis store
Start a go-micro store
#### ocis accounts
Start accounts server
#### ocis idp
Start idp server
#### ocis storage-metadata
Start storage and data service for metadata
#### ocis storage-home
Start storage and data provider for /home mount
#### ocis storage-auth-bearer
Start storage auth-bearer service
#### ocis thumbnails
#### ocis storage-frontend
Start thumbnails server
Start storage frontend
#### ocis storage-userprovider
Start storage userprovider service
#### ocis idp
Start idp server
#### ocis web
Start web server
#### ocis storage-users
Start storage and data provider for /users mount
#### ocis webdav
@@ -319,51 +315,55 @@ Start webdav server
Start glauth server
#### ocis proxy
#### ocis storage-auth-basic
Start proxy server
Start storage auth-basic service
#### ocis ocs
#### ocis storage-home
Start ocs server
#### ocis version
Lists running services with version
#### ocis storage-frontend
Start storage frontend
#### ocis web
Start web server
#### ocis storage-userprovider
Start storage userprovider service
#### ocis storage-gateway
Start storage gateway
Start storage and data provider for /home mount
#### ocis storage-sharing
Start storage sharing service
#### ocis accounts
Start accounts server
#### ocis version
Lists running services with version
#### ocis ocs
Start ocs server
#### ocis storage-public-link
Start storage public link storage
#### ocis storage-users
#### ocis proxy
Start storage and data provider for /users mount
Start proxy server
#### ocis settings
Start settings server
#### ocis storage-gateway
Start storage gateway
#### ocis storage-groupprovider
Start storage groupprovider service
#### ocis store
Start a go-micro store
#### ocis thumbnails
Start thumbnails server