commit b3bae592d0
Merge:296b41d498b0b9c4Author: Alex Unger <6905948+refs@users.noreply.github.com> Date: Fri Jul 2 13:22:03 2021 +0200 Merge pull request #2235 from owncloud/policy-adr
This commit is contained in:
1 parent
723dc690fa
commit
c19e2da7ca
16 files changed
+2892
-2821
No files matched your search
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-07-02T08:02:22+0000"
|
||||
date: "2021-07-02T11:24:21+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/accounts/templates
|
||||
@@ -35,19 +35,27 @@ 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
|
||||
### accounts ocis-accounts
|
||||
|
||||
Show detailed data on an existing account
|
||||
Provide accounts and groups for oCIS
|
||||
|
||||
Usage: `accounts inspect [command options] [arguments...]`
|
||||
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.
|
||||
|
||||
|
||||
|
||||
@@ -109,89 +117,6 @@ Usage: `accounts inspect [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 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"`.
|
||||
|
||||
|
||||
|
||||
@@ -477,6 +402,330 @@ Usage: `accounts update [command options] [arguments...]`
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### accounts version
|
||||
|
||||
Print the versions of the running instances
|
||||
|
||||
Usage: `accounts version [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 inspect
|
||||
|
||||
Show detailed data on an existing account
|
||||
|
||||
Usage: `accounts inspect [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 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 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
|
||||
@@ -669,255 +918,6 @@ Usage: `accounts rebuildIndex [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 , $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.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### accounts version
|
||||
|
||||
Print the versions of the running instances
|
||||
|
||||
Usage: `accounts version [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,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-07-02T08:03:13+0000"
|
||||
date: "2021-07-02T11:25:06+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/glauth/templates
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-07-02T08:03:13+0000"
|
||||
date: "2021-07-02T11:25:06+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/graph-explorer/templates
|
||||
@@ -73,6 +73,36 @@ 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
|
||||
@@ -151,33 +181,3 @@ 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"`.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-07-02T08:03:13+0000"
|
||||
date: "2021-07-02T11:25:06+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/graph/templates
|
||||
@@ -34,45 +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.
|
||||
|
||||
### 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
|
||||
|
||||
@@ -232,4 +193,43 @@ 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"`.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-07-02T08:03:13+0000"
|
||||
date: "2021-07-02T11:25:06+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/idp/templates
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-07-02T08:03:13+0000"
|
||||
date: "2021-07-02T11:25:06+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/ocs/templates
|
||||
@@ -35,6 +35,45 @@ 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 version
|
||||
|
||||
Print the versions of the running instances
|
||||
|
||||
Usage: `ocs version [command options] [arguments...]`
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
-http-namespace | $OCS_NAMESPACE
|
||||
: Set the base namespace for the http namespace. Default: `"com.owncloud.web"`.
|
||||
|
||||
|
||||
-name | $OCS_NAME
|
||||
: Service name. Default: `"ocs"`.
|
||||
|
||||
### ocs health
|
||||
|
||||
Check health status
|
||||
@@ -209,42 +248,3 @@ Usage: `ocs server [command options] [arguments...]`
|
||||
|
||||
|
||||
|
||||
### ocs version
|
||||
|
||||
Print the versions of the running instances
|
||||
|
||||
Usage: `ocs version [command options] [arguments...]`
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
-http-namespace | $OCS_NAMESPACE
|
||||
: Set the base namespace for the http namespace. Default: `"com.owncloud.web"`.
|
||||
|
||||
|
||||
-name | $OCS_NAME
|
||||
: Service name. Default: `"ocs"`.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-07-02T08:03:13+0000"
|
||||
date: "2021-07-02T11:25:06+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/onlyoffice/templates
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-07-02T08:03:13+0000"
|
||||
date: "2021-07-02T11:25:06+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/proxy/templates
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-07-02T08:03:13+0000"
|
||||
date: "2021-07-02T11:25:07+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"`.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
+2124
-2124
File diff suppressed because it is too large.
Load diff
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-07-02T08:03:14+0000"
|
||||
date: "2021-07-02T11:25:07+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/store/templates
|
||||
@@ -35,75 +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.
|
||||
|
||||
### store health
|
||||
|
||||
Check health status
|
||||
|
||||
Usage: `store health [command options] [arguments...]`
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
-debug-addr | $STORE_DEBUG_ADDR
|
||||
: Address to debug endpoint. Default: `"0.0.0.0:9460"`.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### 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 , $OCIS_LOG_LEVEL
|
||||
: Set logging level.
|
||||
|
||||
|
||||
-log-pretty | $STORE_LOG_PRETTY , $OCIS_LOG_PRETTY
|
||||
: Enable pretty logging.
|
||||
|
||||
|
||||
-log-color | $STORE_LOG_COLOR , $OCIS_LOG_COLOR
|
||||
: Enable colored logging.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### store server
|
||||
|
||||
Start integrated server
|
||||
@@ -206,3 +137,72 @@ Usage: `store version [command options] [arguments...]`
|
||||
-name | $STORE_NAME
|
||||
: Service name. Default: `"store"`.
|
||||
|
||||
### store health
|
||||
|
||||
Check health status
|
||||
|
||||
Usage: `store health [command options] [arguments...]`
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
-debug-addr | $STORE_DEBUG_ADDR
|
||||
: Address to debug endpoint. Default: `"0.0.0.0:9460"`.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### 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 , $OCIS_LOG_LEVEL
|
||||
: Set logging level.
|
||||
|
||||
|
||||
-log-pretty | $STORE_LOG_PRETTY , $OCIS_LOG_PRETTY
|
||||
: Enable pretty logging.
|
||||
|
||||
|
||||
-log-color | $STORE_LOG_COLOR , $OCIS_LOG_COLOR
|
||||
: Enable colored logging.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-07-02T08:03:14+0000"
|
||||
date: "2021-07-02T11:25:07+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/thumbnails/templates
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-07-02T08:03:15+0000"
|
||||
date: "2021-07-02T11:25:08+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,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-07-02T08:03:15+0000"
|
||||
date: "2021-07-02T11:25:08+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/webdav/templates
|
||||
|
||||
@@ -0,0 +1,71 @@
|
||||
---
|
||||
title: "8. Extensions Policies"
|
||||
date: 2021-06-30T14:00:00+01:00
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/docs/ocis/adr
|
||||
geekdocFilePath: 0008-policy-enforcement
|
||||
---
|
||||
|
||||
* Status: proposed
|
||||
* Deciders: @butonic, @micbar, @dragotin, @hodyroff, @pmaier1, @fschade
|
||||
* Date: 2021-06-30
|
||||
|
||||
## Context and Problem Statement
|
||||
|
||||
There should be a way to impose certain limitations in areas of the code that require licensing. This document researches an approach to achieve it.
|
||||
|
||||
## Decision Drivers
|
||||
|
||||
- as a team, we want to have the licensing code concentrated in a central module
|
||||
- we don't want to stop/start the extension whenever a policy is updated (hot reload)
|
||||
|
||||
## Considered Options
|
||||
|
||||
1. Build the evaluation engine in-house.
|
||||
2. Use third party libraries such as Open Policy Agent (a CNCF aproved project written in Go)
|
||||
|
||||
## Decision Outcome
|
||||
|
||||
Chosen option: option 2; Use third party libraries such as Open Policy Agent (a CNCF aproved project written in Go)
|
||||
|
||||
### Positive Consequences
|
||||
|
||||
- OPA is production battle tested.
|
||||
- built around performance - policies evaluations are no longer than 1ms per request.
|
||||
- middleware friendly: we use gRPC clients all over our ecosystem; wrappers (or middlewares) is a viable way to solve this problem instead of a dedicated service or its own package.
|
||||
- community support.
|
||||
- kubernetes friendly.
|
||||
- supports envoy, kong, terraform, traefik, php, node and many more.
|
||||
|
||||
### Negative Consequences
|
||||
|
||||
- more vendor code inside the binary (larger attack surface, larger footprint [to be quantified] )
|
||||
|
||||
## Chosen option approach
|
||||
|
||||
Make use of [overloading Open Policy Agent's input](https://www.openpolicyagent.org/docs/latest/external-data/#option-2-overload-input) along with an external storage source (instead of an OPA service) in conjunction with go-micro's gRPC client wrappers (a.k.a middlewares) to leverage policy rules evaluation.
|
||||
|
||||
### Terminology
|
||||
|
||||
New terms are defined to refer to new mental models:
|
||||
|
||||
- policy: self-imposed limitation of a piece of software. i.e: "after 20 users limit the use of thumbnails".
|
||||
- checkers: in the context of a middleware, a checker is in charge of defining logical conditions that prevent requests (users) from doing an action.
|
||||
- policy file: a [rego file](https://www.openpolicyagent.org/docs/latest/policy-language/).
|
||||
- policy evaluation: the act of piecing together input (from a request), data (from an external storage) and policies in order to make a decision.
|
||||
|
||||
#### Temporary new Interfaces part of the PoC
|
||||
|
||||
- IStorage: provides means of extracting data from an external source (in case of the POC an etcd storage cluster).
|
||||
|
||||
### Future ideas
|
||||
|
||||
[This proof of concept](https://github.com/owncloud/ocis/pull/2236) is very rigid in the sense that the `IStorage` interface only has one implementation that ties it to etcd, meaning running an oCIS cluster without an etcd service will result in a crash. This is by far ideal and less coupled implementations should be done. There is the case of using the storage metadata as a source to store data necessary to the policies, or even using the go-micro store as a kv store to achieve the exact same, since it already runs as its own service. The implementation of this is trivial and left out of the POC since it requires more time than the allotted for this task.
|
||||
|
||||
#### Message Broker
|
||||
|
||||
This problem perfectly encompasses the use of a message broker, where services such as OCS will emit messages to a bus and only listeners react to them. In this case the following applies:
|
||||
|
||||

|
||||
|
||||
The necessary interfaces are provided to us by go-micro, only implementations are to be done.
|
||||
+96
-96
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-07-02T08:03:13+0000"
|
||||
date: "2021-07-02T11:25:06+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 run
|
||||
|
||||
Runs an extension
|
||||
|
||||
Usage: `ocis run [command options] [arguments...]`
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -192,6 +164,34 @@ Usage: `ocis health [command options] [arguments...]`
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### ocis kill
|
||||
|
||||
Kill an extension by name
|
||||
|
||||
Usage: `ocis kill [command options] [arguments...]`
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -247,11 +247,11 @@ Usage: `ocis server [command options] [arguments...]`
|
||||
-extensions | $OCIS_RUN_EXTENSIONS
|
||||
: Run specific extensions during supervised mode.
|
||||
|
||||
### ocis kill
|
||||
### ocis run
|
||||
|
||||
Kill an extension by name
|
||||
Runs an extension
|
||||
|
||||
Usage: `ocis kill [command options] [arguments...]`
|
||||
Usage: `ocis run [command options] [arguments...]`
|
||||
|
||||
|
||||
|
||||
@@ -283,91 +283,91 @@ There are more subcommands to start the individual extensions. Please check the
|
||||
|
||||
Start onlyoffice server
|
||||
|
||||
#### ocis storage-home
|
||||
#### ocis storage-auth-bearer
|
||||
|
||||
Start storage and data provider for /home mount
|
||||
|
||||
#### ocis version
|
||||
|
||||
Lists running services with version
|
||||
|
||||
#### ocis accounts
|
||||
|
||||
Start accounts server
|
||||
|
||||
#### ocis storage-metadata
|
||||
|
||||
Start storage and data service for metadata
|
||||
|
||||
#### ocis ocs
|
||||
|
||||
Start ocs server
|
||||
Start storage auth-bearer service
|
||||
|
||||
#### ocis storage-sharing
|
||||
|
||||
Start storage sharing service
|
||||
|
||||
#### ocis storage-userprovider
|
||||
|
||||
Start storage userprovider service
|
||||
|
||||
#### ocis storage-users
|
||||
|
||||
Start storage and data provider for /users mount
|
||||
|
||||
#### ocis proxy
|
||||
|
||||
Start proxy server
|
||||
|
||||
#### ocis storage-auth-basic
|
||||
|
||||
Start storage auth-basic service
|
||||
|
||||
#### ocis storage-groupprovider
|
||||
|
||||
Start storage groupprovider service
|
||||
|
||||
#### ocis storage-public-link
|
||||
|
||||
Start storage public link storage
|
||||
|
||||
#### ocis webdav
|
||||
|
||||
Start webdav server
|
||||
|
||||
#### ocis glauth
|
||||
|
||||
Start glauth server
|
||||
|
||||
#### ocis storage-gateway
|
||||
|
||||
Start storage gateway
|
||||
|
||||
#### ocis store
|
||||
|
||||
Start a go-micro store
|
||||
|
||||
#### ocis web
|
||||
|
||||
Start web server
|
||||
|
||||
#### ocis idp
|
||||
|
||||
Start idp server
|
||||
|
||||
#### ocis storage-auth-bearer
|
||||
#### ocis proxy
|
||||
|
||||
Start storage auth-bearer service
|
||||
Start proxy server
|
||||
|
||||
#### ocis settings
|
||||
#### ocis storage-public-link
|
||||
|
||||
Start settings server
|
||||
Start storage public link storage
|
||||
|
||||
#### ocis storage-frontend
|
||||
#### ocis storage-auth-basic
|
||||
|
||||
Start storage frontend
|
||||
Start storage auth-basic service
|
||||
|
||||
#### ocis storage-gateway
|
||||
|
||||
Start storage gateway
|
||||
|
||||
#### ocis thumbnails
|
||||
|
||||
Start thumbnails server
|
||||
|
||||
#### ocis web
|
||||
|
||||
Start web server
|
||||
|
||||
#### ocis webdav
|
||||
|
||||
Start webdav server
|
||||
|
||||
#### ocis storage-frontend
|
||||
|
||||
Start storage frontend
|
||||
|
||||
#### ocis storage-userprovider
|
||||
|
||||
Start storage userprovider service
|
||||
|
||||
#### ocis settings
|
||||
|
||||
Start settings server
|
||||
|
||||
#### ocis accounts
|
||||
|
||||
Start accounts server
|
||||
|
||||
#### ocis glauth
|
||||
|
||||
Start glauth server
|
||||
|
||||
#### ocis storage-groupprovider
|
||||
|
||||
Start storage groupprovider service
|
||||
|
||||
#### ocis ocs
|
||||
|
||||
Start ocs server
|
||||
|
||||
#### ocis storage-home
|
||||
|
||||
Start storage and data provider for /home mount
|
||||
|
||||
#### ocis storage-metadata
|
||||
|
||||
Start storage and data service for metadata
|
||||
|
||||
#### ocis store
|
||||
|
||||
Start a go-micro store
|
||||
|
||||
#### ocis version
|
||||
|
||||
Lists running services with version
|
||||
|
||||
Reference in new issue
Block a user