From 8de0bc4e2b1b6ed5b7c3c06abdcea5f75a314c57 Mon Sep 17 00:00:00 2001 From: Ralf Haferkamp Date: Wed, 11 May 2022 13:32:17 +0000 Subject: [PATCH] commit a7bc738daaedb067de608abb88586c0a17c27353 Author: Ralf Haferkamp Date: Wed May 11 12:05:01 2022 +0200 Added changelog for glauth/accounts removal --- .../_includes/accounts-config-example.yaml | 65 ----- extensions/_includes/accounts_configvars.md | 35 --- .../_includes/adoc/accounts_configvars.adoc | 175 -------------- .../_includes/adoc/glauth_configvars.adoc | 114 --------- .../_includes/glauth-config-example.yaml | 45 ---- extensions/_includes/glauth_configvars.md | 23 -- .../_includes/proxy-config-example.yaml | 3 +- extensions/accounts/_index.md | 20 -- extensions/accounts/configuration.md | 15 -- extensions/accounts/releasing.md | 21 -- extensions/accounts/tests.md | 85 ------- extensions/glauth/_index.md | 13 - extensions/glauth/configuration-hints.md | 16 -- extensions/glauth/configuration.md | 15 -- extensions/port-ranges.md | 6 +- extensions/storage/ports.md | 3 - extensions/storage/storagedrivers.md | 1 - grpc_apis/ocis/messages/accounts/v0/grpc.md | 134 ----------- grpc_apis/ocis/messages/search/v0/grpc.md | 2 +- grpc_apis/ocis/messages/settings/v0/grpc.md | 2 +- grpc_apis/ocis/messages/store/v0/grpc.md | 2 +- grpc_apis/ocis/messages/thumbnails/v0/grpc.md | 2 +- grpc_apis/ocis/services/accounts/v0/grpc.md | 227 ------------------ grpc_apis/ocis/services/search/v0/grpc.md | 2 +- grpc_apis/ocis/services/settings/v0/grpc.md | 2 +- grpc_apis/ocis/services/store/v0/grpc.md | 2 +- grpc_apis/ocis/services/thumbnails/v0/grpc.md | 2 +- ocis/_index.md | 2 +- ocis/config.md | 19 -- ocis/static/architecture-overview.drawio.svg | 3 +- ocis/static/runtime.drawio.svg | 2 +- 31 files changed, 16 insertions(+), 1042 deletions(-) delete mode 100644 extensions/_includes/accounts-config-example.yaml delete mode 100644 extensions/_includes/accounts_configvars.md delete mode 100644 extensions/_includes/adoc/accounts_configvars.adoc delete mode 100644 extensions/_includes/adoc/glauth_configvars.adoc delete mode 100644 extensions/_includes/glauth-config-example.yaml delete mode 100644 extensions/_includes/glauth_configvars.md delete mode 100644 extensions/accounts/_index.md delete mode 100644 extensions/accounts/configuration.md delete mode 100644 extensions/accounts/releasing.md delete mode 100644 extensions/accounts/tests.md delete mode 100644 extensions/glauth/_index.md delete mode 100644 extensions/glauth/configuration-hints.md delete mode 100644 extensions/glauth/configuration.md delete mode 100644 grpc_apis/ocis/messages/accounts/v0/grpc.md delete mode 100644 grpc_apis/ocis/services/accounts/v0/grpc.md diff --git a/extensions/_includes/accounts-config-example.yaml b/extensions/_includes/accounts-config-example.yaml deleted file mode 100644 index 31b59001251..00000000000 --- a/extensions/_includes/accounts-config-example.yaml +++ /dev/null @@ -1,65 +0,0 @@ -# Autogenerated -# Filename: accounts-config-example.yaml - -tracing: - enabled: false - type: "" - endpoint: "" - collector: "" -log: - level: "" - pretty: false - color: false - file: "" -debug: - addr: 127.0.0.1:9182 - token: "" - pprof: false - zpages: false -http: - addr: 127.0.0.1:9181 - root: / - cache_ttl: 604800 - cors: - allowed_origins: - - '*' - allowed_methods: - - GET - - POST - - PUT - - PATCH - - DELETE - - OPTIONS - allowed_headers: - - Authorization - - Origin - - Content-Type - - Accept - - X-Requested-With - allowed_credentials: true -grpc: - addr: 127.0.0.1:9180 -token_manager: - jwt_secret: "" -asset: - path: "" -repo: - backend: cs3 - disk: - path: ~/.ocis/accounts - cs3: - provider_addr: localhost:9215 -index: - uid: - lower: 0 - upper: 1000 - gid: - lower: 0 - upper: 1000 -service_user: - uuid: 95cb8724-03b2-11eb-a0a6-c33ef8ef53ad - username: 95cb8724-03b2-11eb-a0a6-c33ef8ef53ad - uid: 0 - gid: 0 -hash_difficulty: 11 -demo_users_and_groups: false diff --git a/extensions/_includes/accounts_configvars.md b/extensions/_includes/accounts_configvars.md deleted file mode 100644 index 20da670024c..00000000000 --- a/extensions/_includes/accounts_configvars.md +++ /dev/null @@ -1,35 +0,0 @@ -## Environment Variables - -| Name | Type | Default Value | Description | -|------|------|---------------|-------------| -| OCIS_TRACING_ENABLED
ACCOUNTS_TRACING_ENABLED | bool | false | Activates tracing.| -| OCIS_TRACING_TYPE
ACCOUNTS_TRACING_TYPE | string | | | -| OCIS_TRACING_ENDPOINT
ACCOUNTS_TRACING_ENDPOINT | string | | The endpoint to the tracing collector.| -| OCIS_TRACING_COLLECTOR
ACCOUNTS_TRACING_COLLECTOR | string | | | -| OCIS_LOG_LEVEL
ACCOUNTS_LOG_LEVEL | string | | The log level.| -| OCIS_LOG_PRETTY
ACCOUNTS_LOG_PRETTY | bool | false | Activates pretty log output.| -| OCIS_LOG_COLOR
ACCOUNTS_LOG_COLOR | bool | false | Activates colorized log output.| -| OCIS_LOG_FILE
ACCOUNTS_LOG_FILE | string | | The target log file.| -| ACCOUNTS_DEBUG_ADDR | string | 127.0.0.1:9182 | | -| ACCOUNTS_DEBUG_TOKEN | string | | | -| ACCOUNTS_DEBUG_PPROF | bool | false | | -| ACCOUNTS_DEBUG_ZPAGES | bool | false | | -| ACCOUNTS_HTTP_ADDR | string | 127.0.0.1:9181 | The address of the http service.| -| ACCOUNTS_HTTP_ROOT | string | / | The root path of the http service.| -| ACCOUNTS_CACHE_TTL | int | 604800 | The cache time for the static assets.| -| ACCOUNTS_GRPC_ADDR | string | 127.0.0.1:9180 | The address of the grpc service.| -| OCIS_JWT_SECRET
ACCOUNTS_JWT_SECRET | string | | | -| ACCOUNTS_ASSET_PATH | string | | The path to the ui assets.| -| ACCOUNTS_STORAGE_BACKEND | string | cs3 | Defines which storage implementation is to be used| -| ACCOUNTS_STORAGE_DISK_PATH | string | ~/.ocis/accounts | The path where the accounts data is stored.| -| ACCOUNTS_STORAGE_CS3_PROVIDER_ADDR | string | localhost:9215 | The address to the storage provider.| -| ACCOUNTS_UID_INDEX_LOWER_BOUND | int64 | 0 | The lowest possible uid value for the indexer.| -| ACCOUNTS_UID_INDEX_UPPER_BOUND | int64 | 1000 | The highest possible uid value for the indexer.| -| ACCOUNTS_GID_INDEX_LOWER_BOUND | int64 | 0 | The lowest possible gid value for the indexer.| -| ACCOUNTS_GID_INDEX_UPPER_BOUND | int64 | 1000 | The highest possible gid value for the indexer.| -| ACCOUNTS_SERVICE_USER_UUID | string | 95cb8724-03b2-11eb-a0a6-c33ef8ef53ad | The id of the accounts service user.| -| ACCOUNTS_SERVICE_USER_USERNAME | string | 95cb8724-03b2-11eb-a0a6-c33ef8ef53ad | The username of the accounts service user.| -| ACCOUNTS_SERVICE_USER_UID | int64 | 0 | The uid of the accounts service user.| -| ACCOUNTS_SERVICE_USER_GID | int64 | 0 | The gid of the accounts service user.| -| ACCOUNTS_HASH_DIFFICULTY | int | 11 | The hash difficulty makes sure that validating a password takes at least a certain amount of time.| -| ACCOUNTS_DEMO_USERS_AND_GROUPS | bool | false | If this flag is set the service will setup the demo users and groups.| \ No newline at end of file diff --git a/extensions/_includes/adoc/accounts_configvars.adoc b/extensions/_includes/adoc/accounts_configvars.adoc deleted file mode 100644 index 822e34384b4..00000000000 --- a/extensions/_includes/adoc/accounts_configvars.adoc +++ /dev/null @@ -1,175 +0,0 @@ -[caption=] -.Environment variables for the accounts extension -[width="100%",cols="~,~,~,~",options="header"] -|=== -| Name -| Type -| Default Value -| Description - -|`OCIS_TRACING_ENABLED` + -`ACCOUNTS_TRACING_ENABLED` -| bool -| false -| Activates tracing. - -|`OCIS_TRACING_TYPE` + -`ACCOUNTS_TRACING_TYPE` -| string -| -| - -|`OCIS_TRACING_ENDPOINT` + -`ACCOUNTS_TRACING_ENDPOINT` -| string -| -| The endpoint to the tracing collector. - -|`OCIS_TRACING_COLLECTOR` + -`ACCOUNTS_TRACING_COLLECTOR` -| string -| -| - -|`OCIS_LOG_LEVEL` + -`ACCOUNTS_LOG_LEVEL` -| string -| -| The log level. - -|`OCIS_LOG_PRETTY` + -`ACCOUNTS_LOG_PRETTY` -| bool -| false -| Activates pretty log output. - -|`OCIS_LOG_COLOR` + -`ACCOUNTS_LOG_COLOR` -| bool -| false -| Activates colorized log output. - -|`OCIS_LOG_FILE` + -`ACCOUNTS_LOG_FILE` -| string -| -| The target log file. - -|`ACCOUNTS_DEBUG_ADDR` -| string -| 127.0.0.1:9182 -| - -|`ACCOUNTS_DEBUG_TOKEN` -| string -| -| - -|`ACCOUNTS_DEBUG_PPROF` -| bool -| false -| - -|`ACCOUNTS_DEBUG_ZPAGES` -| bool -| false -| - -|`ACCOUNTS_HTTP_ADDR` -| string -| 127.0.0.1:9181 -| The address of the http service. - -|`ACCOUNTS_HTTP_ROOT` -| string -| / -| The root path of the http service. - -|`ACCOUNTS_CACHE_TTL` -| int -| 604800 -| The cache time for the static assets. - -|`ACCOUNTS_GRPC_ADDR` -| string -| 127.0.0.1:9180 -| The address of the grpc service. - -|`OCIS_JWT_SECRET` + -`ACCOUNTS_JWT_SECRET` -| string -| -| - -|`ACCOUNTS_ASSET_PATH` -| string -| -| The path to the ui assets. - -|`ACCOUNTS_STORAGE_BACKEND` -| string -| cs3 -| Defines which storage implementation is to be used - -|`ACCOUNTS_STORAGE_DISK_PATH` -| string -| ~/.ocis/accounts -| The path where the accounts data is stored. - -|`ACCOUNTS_STORAGE_CS3_PROVIDER_ADDR` -| string -| localhost:9215 -| The address to the storage provider. - -|`ACCOUNTS_UID_INDEX_LOWER_BOUND` -| int64 -| 0 -| The lowest possible uid value for the indexer. - -|`ACCOUNTS_UID_INDEX_UPPER_BOUND` -| int64 -| 1000 -| The highest possible uid value for the indexer. - -|`ACCOUNTS_GID_INDEX_LOWER_BOUND` -| int64 -| 0 -| The lowest possible gid value for the indexer. - -|`ACCOUNTS_GID_INDEX_UPPER_BOUND` -| int64 -| 1000 -| The highest possible gid value for the indexer. - -|`ACCOUNTS_SERVICE_USER_UUID` -| string -| 95cb8724-03b2-11eb-a0a6-c33ef8ef53ad -| The id of the accounts service user. - -|`ACCOUNTS_SERVICE_USER_USERNAME` -| string -| 95cb8724-03b2-11eb-a0a6-c33ef8ef53ad -| The username of the accounts service user. - -|`ACCOUNTS_SERVICE_USER_UID` -| int64 -| 0 -| The uid of the accounts service user. - -|`ACCOUNTS_SERVICE_USER_GID` -| int64 -| 0 -| The gid of the accounts service user. - -|`ACCOUNTS_HASH_DIFFICULTY` -| int -| 11 -| The hash difficulty makes sure that validating a password takes at least a certain amount of time. - -|`ACCOUNTS_DEMO_USERS_AND_GROUPS` -| bool -| false -| If this flag is set the service will setup the demo users and groups. -|=== - -Since Version: `+` added, `-` deprecated diff --git a/extensions/_includes/adoc/glauth_configvars.adoc b/extensions/_includes/adoc/glauth_configvars.adoc deleted file mode 100644 index cb916bc8ece..00000000000 --- a/extensions/_includes/adoc/glauth_configvars.adoc +++ /dev/null @@ -1,114 +0,0 @@ -[caption=] -.Environment variables for the glauth extension -[width="100%",cols="~,~,~,~",options="header"] -|=== -| Name -| Type -| Default Value -| Description - -|`OCIS_TRACING_ENABLED` + -`GLAUTH_TRACING_ENABLED` -| bool -| false -| - -|`OCIS_TRACING_TYPE` + -`GLAUTH_TRACING_TYPE` -| string -| -| - -|`OCIS_TRACING_ENDPOINT` + -`GLAUTH_TRACING_ENDPOINT` -| string -| -| - -|`OCIS_TRACING_COLLECTOR` + -`GLAUTH_TRACING_COLLECTOR` -| string -| -| - -|`OCIS_LOG_LEVEL` + -`GLAUTH_LOG_LEVEL` -| string -| -| - -|`OCIS_LOG_PRETTY` + -`GLAUTH_LOG_PRETTY` -| bool -| false -| - -|`OCIS_LOG_COLOR` + -`GLAUTH_LOG_COLOR` -| bool -| false -| - -|`OCIS_LOG_FILE` + -`GLAUTH_LOG_FILE` -| string -| -| - -|`GLAUTH_DEBUG_ADDR` -| string -| 127.0.0.1:9129 -| - -|`GLAUTH_DEBUG_TOKEN` -| string -| -| - -|`GLAUTH_DEBUG_PPROF` -| bool -| false -| - -|`GLAUTH_DEBUG_ZPAGES` -| bool -| false -| - -|`GLAUTH_LDAP_ENABLED` -| bool -| true -| - -|`GLAUTH_LDAP_ADDR` -| string -| 127.0.0.1:9125 -| - -|`GLAUTH_LDAPS_ENABLED` -| bool -| true -| - -|`GLAUTH_LDAPS_ADDR` -| string -| 127.0.0.1:9126 -| - -|`GLAUTH_LDAPS_CERT` -| string -| ~/.ocis/ldap/ldap.crt -| - -|`GLAUTH_LDAPS_KEY` -| string -| ~/.ocis/ldap/ldap.key -| - -|`GLAUTH_ROLE_BUNDLE_ID` -| string -| 71881883-1768-46bd-a24d-a356a2afdf7f -| -|=== - -Since Version: `+` added, `-` deprecated diff --git a/extensions/_includes/glauth-config-example.yaml b/extensions/_includes/glauth-config-example.yaml deleted file mode 100644 index 3b78ddb2558..00000000000 --- a/extensions/_includes/glauth-config-example.yaml +++ /dev/null @@ -1,45 +0,0 @@ -# Autogenerated -# Filename: glauth-config-example.yaml - -tracing: - enabled: false - type: "" - endpoint: "" - collector: "" -log: - level: "" - pretty: false - color: false - file: "" -debug: - addr: 127.0.0.1:9129 - token: "" - pprof: false - zpages: false -ldap: - enabled: true - addr: 127.0.0.1:9125 -ldaps: - enabled: true - addr: 127.0.0.1:9126 - cert: ~/.ocis/ldap/ldap.crt - key: ~/.ocis/ldap/ldap.key -backend: - datastore: accounts - base_dn: dc=ocis,dc=test - insecure: false - name_format: cn - group_format: ou - servers: [] - ssh_key_attr: sshPublicKey - use_graph_api: true -fallback: - datastore: "" - base_dn: dc=ocis,dc=test - insecure: false - name_format: cn - group_format: ou - servers: [] - ssh_key_attr: sshPublicKey - use_graph_api: true -role_bundle_uuid: 71881883-1768-46bd-a24d-a356a2afdf7f diff --git a/extensions/_includes/glauth_configvars.md b/extensions/_includes/glauth_configvars.md deleted file mode 100644 index 7ed061c913c..00000000000 --- a/extensions/_includes/glauth_configvars.md +++ /dev/null @@ -1,23 +0,0 @@ -## Environment Variables - -| Name | Type | Default Value | Description | -|------|------|---------------|-------------| -| OCIS_TRACING_ENABLED
GLAUTH_TRACING_ENABLED | bool | false | | -| OCIS_TRACING_TYPE
GLAUTH_TRACING_TYPE | string | | | -| OCIS_TRACING_ENDPOINT
GLAUTH_TRACING_ENDPOINT | string | | | -| OCIS_TRACING_COLLECTOR
GLAUTH_TRACING_COLLECTOR | string | | | -| OCIS_LOG_LEVEL
GLAUTH_LOG_LEVEL | string | | | -| OCIS_LOG_PRETTY
GLAUTH_LOG_PRETTY | bool | false | | -| OCIS_LOG_COLOR
GLAUTH_LOG_COLOR | bool | false | | -| OCIS_LOG_FILE
GLAUTH_LOG_FILE | string | | | -| GLAUTH_DEBUG_ADDR | string | 127.0.0.1:9129 | | -| GLAUTH_DEBUG_TOKEN | string | | | -| GLAUTH_DEBUG_PPROF | bool | false | | -| GLAUTH_DEBUG_ZPAGES | bool | false | | -| GLAUTH_LDAP_ENABLED | bool | true | | -| GLAUTH_LDAP_ADDR | string | 127.0.0.1:9125 | | -| GLAUTH_LDAPS_ENABLED | bool | true | | -| GLAUTH_LDAPS_ADDR | string | 127.0.0.1:9126 | | -| GLAUTH_LDAPS_CERT | string | ~/.ocis/ldap/ldap.crt | | -| GLAUTH_LDAPS_KEY | string | ~/.ocis/ldap/ldap.key | | -| GLAUTH_ROLE_BUNDLE_ID | string | 71881883-1768-46bd-a24d-a356a2afdf7f | | \ No newline at end of file diff --git a/extensions/_includes/proxy-config-example.yaml b/extensions/_includes/proxy-config-example.yaml index 3bfede42835..4dbebd05524 100644 --- a/extensions/_includes/proxy-config-example.yaml +++ b/extensions/_includes/proxy-config-example.yaml @@ -38,7 +38,7 @@ policies: - endpoint: /archiver backend: http://localhost:9140 - type: regex - endpoint: /ocs/v[12].php/cloud/(users?|groups) + endpoint: /ocs/v[12].php/cloud/user/signing-key backend: http://localhost:9110 - endpoint: /ocs/ backend: http://localhost:9140 @@ -93,7 +93,6 @@ token_manager: policy_selector: static: policy: ocis - migration: null claims: null regex: null pre_signed_url: diff --git a/extensions/accounts/_index.md b/extensions/accounts/_index.md deleted file mode 100644 index 8b99cb75f7b..00000000000 --- a/extensions/accounts/_index.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: Accounts -date: 2018-05-02T00:00:00+00:00 -weight: 20 -geekdocRepo: https://github.com/owncloud/ocis -geekdocEditPath: edit/master/docs/extensions/accounts -geekdocFilePath: _index.md -geekdocCollapseSection: true ---- - -## Abstract -oCIS needs to be able to identify users. Without a non reassignable and persistent account ID share metadata cannot be reliably persisted. `accounts` allows exchanging oidc claims for a uuid. Using a uuid allows users to change the login, mail or even openid connect provider without breaking any persisted metadata that might have been attached to it. - -- persists accounts -- uses graph api properties -- ldap can be synced using the onpremise* attributes - -## Table of Contents - -{{< toc-tree >}} \ No newline at end of file diff --git a/extensions/accounts/configuration.md b/extensions/accounts/configuration.md deleted file mode 100644 index 8fffa2559a6..00000000000 --- a/extensions/accounts/configuration.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -title: Service Configuration -date: 2018-05-02T00:00:00+00:00 -weight: 20 -geekdocRepo: https://github.com/owncloud/ocis -geekdocEditPath: edit/master/docs/extensions/accounts -geekdocFilePath: configuration.md -geekdocCollapseSection: true ---- - -## Example YAML Config - -{{< include file="extensions/_includes/accounts-config-example.yaml" language="yaml" >}} - -{{< include file="extensions/_includes/accounts_configvars.md" >}} \ No newline at end of file diff --git a/extensions/accounts/releasing.md b/extensions/accounts/releasing.md deleted file mode 100644 index 23994127eca..00000000000 --- a/extensions/accounts/releasing.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -title: "Releasing" -weight: 70 -geekdocRepo: https://github.com/owncloud/ocis -geekdocEditPath: edit/master/docs/extensions/accounts -geekdocFilePath: releasing.md ---- - -{{< toc >}} - -## Requirements - -You need a working installation of [the Go programming language](https://golang.org/), [the Node runtime](https://nodejs.org/) and [the Yarn package manager](https://yarnpkg.com/) installed to build the assets for a working release. -## Releasing - -The accounts service doesn't have a dedicated release process. Simply commit your changes, make sure linting and unit tests pass locally and open a pull request. - -### Package Hierarchy - -- [ocis](https://github.com/owncloud/ocis) - - [ocis-accounts](https://github.com/owncloud/ocis/tree/master/accounts) diff --git a/extensions/accounts/tests.md b/extensions/accounts/tests.md deleted file mode 100644 index 5fdb2b54968..00000000000 --- a/extensions/accounts/tests.md +++ /dev/null @@ -1,85 +0,0 @@ ---- -title: "Tests" -weight: 80 -geekdocRepo: https://github.com/owncloud/ocis -geekdocEditPath: edit/master/docs/extensions/accounts -geekdocFilePath: tests.md ---- - -{{< toc >}} - -## Requirements - -You need a working installation of [the Go programming language](https://golang.org/), [the Node runtime](https://nodejs.org/) and [the Yarn package manager](https://yarnpkg.com/) installed to run the acceptance tests. You may also want to use [Docker](https://www.docker.com/) to start the necessary services in their respective containers. - -## Acceptance Tests - -Make sure you've cloned the [web frontend repo](https://github.com/owncloud/web/) and the [infinite scale repo](https://github.com/owncloud/ocis/) next to each other. If your file/folder structure is different, you'll have to change the paths below accordingly. - -{{< hint info >}} -For now, an IDP configuration file gets generated once and will fail upon changing the oCIS url as done below. To avoid any clashes, remove this file before starting the tests: - -```bash -rm ~/.ocis/idp/identifier-registration.yaml -``` - -{{< /hint >}} - -### In the web repo - -#### **Optional:** Build web to test local changes - -Install dependencies and bundle the frontend with a watcher by running - -```bash -yarn && yarn build:w -``` - -If you skip the step above, the currently bundled frontend from the oCIS binary will be used. - -#### Dockerized acceptance test services - -Start the necessary acceptance test services by using Docker (Compose): - -```bash -docker compose up selenium middleware-ocis vnc -``` - -### In the oCIS repo - -#### **Optional:** Build accounts UI to test local changes - -Navigate into the accounts service via `cd ../accounts/` and install dependencies and build the bundled accounts UI with a watcher by running - -```bash -yarn && yarn watch -``` - -#### Start oCIS from binary - -Navigate into the oCIS directory inside the oCIS repository and build the oCIS binary by running - -```bash -make clean build -``` - -Then, start oCIS from the binary via - -```bash -./bin/ocis init -OCIS_URL=https://host.docker.internal:9200 OCIS_INSECURE=true PROXY_ENABLE_BASIC_AUTH=true WEB_UI_CONFIG=../../web/dev/docker/ocis.web.config.json ./bin/ocis server -``` - -If you've built the web bundle locally in its repository, you also need to reference the bundle output in the above command: `WEB_ASSET_PATH=../../web/dist` - -If you've built the accounts UI bundle locally, you also need to reference the bundle output in the above command: `ACCOUNTS_ASSET_PATH=../accounts/assets/` - -#### Run accounts acceptance tests - -If you want visual feedback on the test run, visit http://host.docker.internal:6080/ in your browser and connect to the VNC client. - -Navigate into the accounts service via `cd ../accounts/` and start the acceptance tests by running - -```bash -SERVER_HOST=https://host.docker.internal:9200 BACKEND_HOST=https://host.docker.internal:9200 RUN_ON_OCIS=true NODE_TLS_REJECT_UNAUTHORIZED=0 WEB_PATH=../../web WEB_UI_CONFIG=../../web/tests/drone/config-ocis.json MIDDLEWARE_HOST=http://host.docker.internal:3000 ./ui/tests/run-acceptance-test.sh ./ui/tests/acceptance/features/ -``` diff --git a/extensions/glauth/_index.md b/extensions/glauth/_index.md deleted file mode 100644 index 2359429dc0f..00000000000 --- a/extensions/glauth/_index.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -title: "GLAuth" -date: 2018-05-02T00:00:00+00:00 -weight: 20 -geekdocRepo: https://github.com/owncloud/ocis -geekdocEditPath: edit/master/docs/extensions/glauth -geekdocFilePath: _index.md -geekdocCollapseSection: true ---- - -This service provides a [glauth](https://github.com/glauth/glauth) based LDAP proxy for oCIS which can be used by clients or other extensions. It allows applications relying on LDAP to access the accounts stored in the oCIS accounts service. It can be used to make firewalls or identity providers aware of all users, including guest accounts. - -We are using it to make eos aware of all accounts so the native ACLs can be used to persist share information in the storage. diff --git a/extensions/glauth/configuration-hints.md b/extensions/glauth/configuration-hints.md deleted file mode 100644 index 8f03b721537..00000000000 --- a/extensions/glauth/configuration-hints.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -title: "Configuration Hints" -date: 2018-05-02T00:00:00+00:00 -weight: 20 -geekdocRepo: https://github.com/owncloud/ocis -geekdocEditPath: edit/master/docs/extensions/glauth -geekdocFilePath: configuration-hints.md ---- - -{{< toc >}} - -## Configuration hints - -The default setup does not use a fallback backend. It can be enabled by setting the `GLAUTH_FALLBACK_DATASTORE` environment variable. - -When using `owncloud` make sure to use the full URL to the [ownCloud 10 graph api app](https://github.com/owncloud/graphapi) endpoint, e.g.: `GLAUTH_FALLBACK_SERVERS="https://demo.owncloud.com/apps/graphapi/v1.0"` diff --git a/extensions/glauth/configuration.md b/extensions/glauth/configuration.md deleted file mode 100644 index e45a0c0aa9d..00000000000 --- a/extensions/glauth/configuration.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -title: Service Configuration -date: 2018-05-02T00:00:00+00:00 -weight: 20 -geekdocRepo: https://github.com/owncloud/ocis -geekdocEditPath: edit/master/docs/extensions/glauth -geekdocFilePath: configuration.md -geekdocCollapseSection: true ---- - -## Example YAML Config - -{{< include file="extensions/_includes/glauth-config-example.yaml" language="yaml" >}} - -{{< include file="extensions/_includes/glauth_configvars.md" >}} \ No newline at end of file diff --git a/extensions/port-ranges.md b/extensions/port-ranges.md index 7aa428f9cdd..7a0aa7d0dd2 100644 --- a/extensions/port-ranges.md +++ b/extensions/port-ranges.md @@ -30,11 +30,11 @@ We also suggest to use the last port in your extensions' range as a debug/metric | 9110-9114 | [ocs](https://github.com/owncloud/ocis/tree/master/ocs) | | 9115-9119 | [webdav](https://github.com/owncloud/ocis/tree/master/webdav) | | 9120-9124 | [graph](https://github.com/owncloud/ocis/tree/master/graph) | -| 9125-9129 | [glauth](https://github.com/owncloud/ocis/tree/master/devldap) | +| 9125-9129 | FREE (formerly used by glauth) | | 9130-9134 | [konnectd](https://github.com/owncloud/ocis/tree/master/konnectd) | | 9135-9139 | [graph-explorer](https://github.com/owncloud/ocis/tree/master/graph-explorer) | | 9140-9179 | [reva/storage](https://github.com/owncloud/ocis/tree/master/storage) | -| 9180-9184 | [accounts](https://github.com/owncloud/ocis/tree/master/accounts) | +| 9180-9184 | FREE (formerly used by accounts) | | 9185-9189 | [thumbnails](https://github.com/owncloud/ocis/tree/master/thumbnails) | | 9190-9194 | [settings](https://github.com/owncloud/ocis/tree/master/settings) | | 9195-9199 | [store](https://github.com/owncloud/ocis/tree/master/store) | @@ -45,7 +45,7 @@ We also suggest to use the last port in your extensions' range as a debug/metric | 9220-9224 | search | | 9225-9229 | photoprism (state: PoC) | | 9230-9234 | [nats](https://github.com/owncloud/ocis/tree/master/nats) | -| 9235-9239 | idm TBD | +| 9235-9239 | [idm](https://github.com/owncloud/ocis/tree/master/proxy) | | 9240-9244 | [app-registry](https://github.com/owncloud/ocis/tree/master/extensions/app-registry) | | 9245-9249 | FREE | | 9250-9254 | oCIS Runtime | diff --git a/extensions/storage/ports.md b/extensions/storage/ports.md index e27d50b93d8..f1332cbb342 100644 --- a/extensions/storage/ports.md +++ b/extensions/storage/ports.md @@ -38,9 +38,6 @@ For now, the storage service uses these ports to preconfigure those services: | 9165 | storage app-provider debug | | 9178 | storage public link | | 9179 | storage public link data | -| 9180 | accounts grpc | -| 9181 | accounts http | -| 9182 | accounts debug | | 9215 | storage meta grpc | | 9216 | storage meta http | | 9217 | storage meta debug | diff --git a/extensions/storage/storagedrivers.md b/extensions/storage/storagedrivers.md index b879a4e8eae..40d664db6ff 100644 --- a/extensions/storage/storagedrivers.md +++ b/extensions/storage/storagedrivers.md @@ -118,7 +118,6 @@ The *minimal* storage driver for a POSIX based filesystem. It literally supports - grant persistence - using POSIX ACLs - requires an LDAP server to make guest accounts available in the OS - - oCIS has glauth which contains all users - an existing LDAP could be used if guests ar provisioned in another way - using extended attributes to implement expiry or sharing that does not require OS level integration - fuse filesystem overlay diff --git a/grpc_apis/ocis/messages/accounts/v0/grpc.md b/grpc_apis/ocis/messages/accounts/v0/grpc.md deleted file mode 100644 index 7052f9b1d65..00000000000 --- a/grpc_apis/ocis/messages/accounts/v0/grpc.md +++ /dev/null @@ -1,134 +0,0 @@ ---- -title: "ocis.messages.accounts.v0" -url: /grpc_apis/ocis_messages_accounts_v0 -date: 2022-05-11T12:05:52Z -weight: 50 -geekdocRepo: https://github.com/owncloud/ocis ---- - -{{< toc >}} - - - -## ocis/messages/accounts/v0/accounts.proto - -### Account - -Account follows the properties of the ms graph api user resource. -See https://docs.microsoft.com/en-us/graph/api/resources/user?view=graph-rest-1.0#properties - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| id | [string](#string) | | The unique identifier for the user. Key. Not nullable. Non reassignable. Read-only. | -| account_enabled | [bool](#bool) | | `true` if the account is enabled; otherwise, `false`. This property is required when a user is created. Supports $filter. | -| is_resource_account | [bool](#bool) | | A resource account is also known as a /disabled user object/ in Azure AD, and can be used to represent resources in general.
In Exchange it might be used to represent conference rooms, for example, and allow them to have a phone number.
You could give printers or machines with a sync client resource accounts as well.
A resource account can be homed in Microsoft 365 or on premises using Skype for Business Server 2019.
`true` if the user is a resource account; otherwise, `false`. Null value should be considered false. | -| creation_type | [string](#string) | | Indicates whether the account was created as
- a regular school or work account ("" / emptystring),
- a local account, fully managed by oCIS (LocalAccount), includes synced accounts or
- an external account (Invitation),
- self-service sign-up using email verification (EmailVerified). Read-only. | -| identities | [Identities](#identities) | repeated | Represents the identities that can be used to sign in to this account.
An identity can be provided by oCIS (also known as a local account), by organizations, or by social identity providers such as Facebook, Google, and Microsoft, and is tied to an account.
May contain multiple items with the same signInType value. Supports $filter. | -| display_name | [string](#string) | | The name displayed in the address book for the account.
This is usually the combination of the user's first name, middle initial and last name.
This property is required when a user is created and it cannot be cleared during updates.
Supports $filter and $orderby.
posixaccount MUST cn | -| preferred_name | [string](#string) | | The username
posixaccount MUST uid | -| uid_number | [int64](#int64) | | used for exposing the user using ldap
posixaccount MUST uidnumber | -| gid_number | [int64](#int64) | | used for exposing the user using ldap
posixaccount MUST gidnumber | -| mail | [string](#string) | | The SMTP address for the user, for example, "jeff@contoso.onmicrosoft.com". Read-Only. Supports $filter.
inetorgperson MAY mail | -| description | [string](#string) | | A description, useful for resource accounts
posixaccount MAY description | -| password_profile | [PasswordProfile](#passwordprofile) | | Specifies the password profile for the user.
The profile contains the user’s password. This property is required when a user is created.
The password in the profile must satisfy minimum requirements as specified by the passwordPolicies property.
By default, a strong password is required.
posixaccount MAY authPassword | -| memberOf | [Group](#group) | repeated | The groups, directory roles and administrative units that the user is a member of. Read-only. Nullable.
should we only respond with repeated strings of ids? no clients should a proper filter mask! | -| created_date_time | [google.protobuf.Timestamp](#googleprotobuftimestamp) | | The created date of the account object. | -| deleted_date_time | [google.protobuf.Timestamp](#googleprotobuftimestamp) | | The date and time the user was deleted. Returned only on $select. | -| on_premises_sync_enabled | [bool](#bool) | | `true` if this object is synced from an on-premises directory;
`false` if this object was originally synced from an on-premises directory but is no longer synced;
null if this object has never been synced from an on-premises directory (default). Read-only | -| on_premises_immutable_id | [string](#string) | | This property is used to associate an on-premises LDAP user to the oCIS account object.
This property must be specified when creating a new user account in the Graph if you are using a federated domain for the user’s userPrincipalName (UPN) property.
Important: The $ and _ characters cannot be used when specifying this property. Supports $filter. | -| on_premises_security_identifier | [string](#string) | | Contains the on-premises security identifier (SID) for the user that was synchronized from on-premises to the cloud. Read-only. | -| on_premises_distinguished_name | [string](#string) | | Contains the on-premises LDAP `distinguished name` or `DN`.
The property is only populated for customers who are synchronizing their on-premises directory to ocis-accounts. Read-only. | -| on_premises_sam_account_name | [string](#string) | | Contains the on-premises `samAccountName` synchronized from the on-premises directory.
The property is only populated for customers who are synchronizing their on-premises directory to ocis-accounts. Read-only. | -| on_premises_domain_name | [string](#string) | | Contains the on-premises `domainFQDN`, also called `dnsDomainName` synchronized from the on-premises directory
The property is only populated for customers who are synchronizing their on-premises directory to ocis-accounts. Read-only. | -| on_premises_user_principal_name | [string](#string) | | Contains the on-premises userPrincipalName synchronized from the on-premises directory.
The property is only populated for customers who are synchronizing their on-premises directory to ocis-accounts. Read-only. | -| on_premises_last_sync_date_time | [google.protobuf.Timestamp](#googleprotobuftimestamp) | | Indicates the last time at which the object was synced with the on-premises directory; Read-only. | -| on_premises_provisioning_errors | [OnPremisesProvisioningError](#onpremisesprovisioningerror) | repeated | Errors when using synchronization during provisioning. | -| external_user_state | [string](#string) | | For an external user invited to the tenant using the invitation API, this property represents the invited user's invitation status.
For invited users, the state can be `PendingAcceptance` or `Accepted`, or "" / emptystring for all other users.
Returned only on $select. Supports $filter with the supported values. For example: $filter=externalUserState eq 'PendingAcceptance'. | -| external_user_state_change_date_time | [google.protobuf.Timestamp](#googleprotobuftimestamp) | | Shows the timestamp for the latest change to the externalUserState property. Returned only on $select. | -| refresh_tokens_valid_from_date_time | [google.protobuf.Timestamp](#googleprotobuftimestamp) | | Any refresh tokens or sessions tokens (session cookies) issued before this time are invalid, and applications will get
an error when using an invalid refresh or sessions token to acquire a delegated access token (to access APIs such as Microsoft Graph).
If this happens, the application will need to acquire a new refresh token by making a request to the authorize endpoint.
Returned only on $select. Read-only. Use invalidateAllRefreshTokens to reset. | -| sign_in_sessions_valid_from_date_time | [google.protobuf.Timestamp](#googleprotobuftimestamp) | | Any refresh tokens or sessions tokens (session cookies) issued before this time are invalid, and applications will get
an error when using an invalid refresh or sessions token to acquire a delegated access token (to access APIs such as Microsoft Graph).
If this happens, the application will need to acquire a new refresh token by making a request to the authorize endpoint.
Read-only. Use revokeSignInSessions to reset. | - -### Group - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| id | [string](#string) | | The unique identifier for the group.
Returned by default. Inherited from directoryObject. Key. Not nullable. Read-only. | -| display_name | [string](#string) | | The display name for the group. This property is required when a group is created and cannot be cleared during updates.
Returned by default. Supports $filter and $orderby.
groupofnames MUST cn

groupofnames MUST/MAY member | -| members | [Account](#account) | repeated | Users, contacts, and groups that are members of this group. HTTP Methods: GET (supported for all groups), POST (supported for security groups and mail-enabled security groups), DELETE (supported only for security groups) Read-only. Nullable. | -| owners | [Account](#account) | repeated | groupofnames MAY businessCategory
groupofnames MAY o
groupofnames MAY ou
groupofnames MAY owner, SINGLE-VALUE but there might be multiple owners | -| description | [string](#string) | | An optional description for the group. Returned by default.
groupofnames MAY description | -| gid_number | [int64](#int64) | | used for exposing the user using ldap
posixgroup MUST gidnumber

posixgroup MAY authPassword
posixgroup MAY userPassword
posixgroup MAY memberUid -> groupofnames member
posixgroup MAY description -> groupofnames | -| created_date_time | [google.protobuf.Timestamp](#googleprotobuftimestamp) | | Timestamp of when the group was created. The value cannot be modified and is automatically populated when the group is created
Returned by default. Read-only. | -| deleted_date_time | [google.protobuf.Timestamp](#googleprotobuftimestamp) | | For some Azure Active Directory objects (user, group, application), if the object is deleted, it is first logically deleted, and this property is updated with the date and time when the object was deleted. Otherwise this property is null. If the object is restored, this property is updated to null.
Returned by default. Read-only. | -| expiration_date_time | [google.protobuf.Timestamp](#googleprotobuftimestamp) | | Timestamp of when the group is set to expire. The value cannot be modified and is automatically populated when the group is created.
Returned by default. Read-only. | -| hide_from_address_lists | [bool](#bool) | | True if the group is not displayed in certain parts of the Outlook user interface:
in the Address Book, in address lists for selecting message recipients, and in the Browse Groups dialog for searching groups; false otherwise. Default value is false.
Returned only on $select. | -| visibility | [string](#string) | | Specifies the visibility of an Office 365 group. Possible values are: Private, Public, or Hiddenmembership; blank values are treated as public. See group visibility options to learn more.
Visibility can be set only when a group is created; it is not editable.
Returned by default. | -| on_premises_sync_enabled | [bool](#bool) | | `true` if this group is synced from an on-premises directory;
`false` if this group was originally synced from an on-premises directory but is no longer synced;
null if this object has never been synced from an on-premises directory (default).
Returned by default. Read-only. Supports $filter. | -| on_premises_immutable_id | [string](#string) | | This property is used to associate an on-premises LDAP user to the oCIS account object.
This property must be specified when creating a new user account in the Graph if you are using a federated domain for the user’s userPrincipalName (UPN) property.
Important: The $ and _ characters cannot be used when specifying this property. Supports $filter. | -| on_premises_security_identifier | [string](#string) | | Contains the on-premises security identifier (SID) for the group that was synchronized from on-premises to the cloud. Returned by default. Read-only. | -| on_premises_distinguished_name | [string](#string) | | Contains the on-premises LDAP `distinguished name` or `DN`.
The property is only populated for customers who are synchronizing their on-premises directory to ocis-accounts. Read-only. | -| on_premises_sam_account_name | [string](#string) | | Contains the on-premises `samAccountName` synchronized from the on-premises directory.
The property is only populated for customers who are synchronizing their on-premises directory to ocis-accounts. Returned by default. Read-only. | -| on_premises_domain_name | [string](#string) | | Contains the on-premises domain FQDN, also called dnsDomainName synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect.
Returned by default. Read-only. | -| on_premises_net_bios_name | [string](#string) | | Contains the on-premises netBios name synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect.
Returned by default. Read-only. | -| on_premises_last_sync_date_time | [string](#string) | | Indicates the last time at which the group was synced with the on-premises directory.
Returned by default. Read-only. Supports $filter. | -| on_premises_provisioning_errors | [OnPremisesProvisioningError](#onpremisesprovisioningerror) | repeated | Errors when using synchronization during provisioning. | - -### Identities - -Identities Represents an identity used to sign in to a user account. -An identity can be provided by oCIS, by organizations, or by social identity providers such as Facebook, Google, or Microsoft, that are tied to a user account. -This enables the user to sign in to the user account with any of those associated identities. -They are also used to keep a history of old usernames. - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| sign_in_type | [string](#string) | | Specifies the user sign-in types in your directory, such as `emailAddress`, `userName` or `federated`.
Here, federated represents a unique identifier for a user from an issuer, that can be in any format chosen by the issuer.
Additional validation is enforced on *issuer_assigned_id* when the sign-in type is set to `emailAddress` or `userName`.
This property can also be set to any custom string. | -| issuer | [string](#string) | | Specifies the issuer of the identity, for example facebook.com.
For local accounts (where signInType is not federated), this property is
the local B2C tenant default domain name, for example contoso.onmicrosoft.com.
For external users from other Azure AD organization, this will be the domain of
the federated organization, for example contoso.com.
Supports $filter. 512 character limit. | -| issuer_assigned_id | [string](#string) | | Specifies the unique identifier assigned to the user by the issuer. The combination of *issuer* and *issuerAssignedId* must be unique within the organization. Represents the sign-in name for the user, when signInType is set to emailAddress or userName (also known as local accounts).
When *signInType* is set to:
* `emailAddress`, (or starts with `emailAddress` like `emailAddress1`) `issuerAssignedId` must be a valid email address
* `userName`, issuer_assigned_id must be a valid local part of an email address
Supports $filter. 512 character limit. | - -### OnPremisesProvisioningError - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| category | [string](#string) | | Category of the provisioning error. Note: Currently, there is only one possible value. Possible value: PropertyConflict - indicates a property value is not unique. Other objects contain the same value for the property. | -| occurred_date_time | [google.protobuf.Timestamp](#googleprotobuftimestamp) | | The date and time at which the error occurred. | -| property_causing_error | [string](#string) | | Name of the directory property causing the error. Current possible values: UserPrincipalName or ProxyAddress | -| value | [string](#string) | | Value of the property causing the error. | - -### PasswordProfile - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| password | [string](#string) | | The password for the user. This property is required when a user is created.
It can be updated, but the user will be required to change the password on the next login.
The password must satisfy minimum requirements as specified by the user’s passwordPolicies property. By default, a strong password is required. | -| last_password_change_date_time | [google.protobuf.Timestamp](#googleprotobuftimestamp) | | The time when this account last changed their password. | -| password_policies | [string](#string) | repeated | Specifies password policies for the user.
This value is an enumeration with one possible value being “DisableStrongPassword”, which allows weaker passwords than the default policy to be specified.
“DisablePasswordExpiration” can also be specified. | -| force_change_password_next_sign_in | [bool](#bool) | | `true` if the user must change her password on the next login; otherwise false. | -| force_change_password_next_sign_in_with_mfa | [bool](#bool) | | If `true`, at next sign-in, the user must perform a multi-factor authentication (MFA) before being forced to change their password. The behavior is identical to forceChangePasswordNextSignIn except that the user is required to first perform a multi-factor authentication before password change. After a password change, this property will be automatically reset to false. If not set, default is false. | - - -## Scalar Value Types - -| .proto Type | Notes | C++ | Java | -| ----------- | ----- | --- | ---- | -| {{< div id="double" content="double" >}} | | double | double | -| {{< div id="float" content="float" >}} | | float | float | -| {{< div id="int32" content="int32" >}} | Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead. | int32 | int | -| {{< div id="int64" content="int64" >}} | Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead. | int64 | long | -| {{< div id="uint32" content="uint32" >}} | Uses variable-length encoding. | uint32 | int | -| {{< div id="uint64" content="uint64" >}} | Uses variable-length encoding. | uint64 | long | -| {{< div id="sint32" content="sint32" >}} | Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s. | int32 | int | -| {{< div id="sint64" content="sint64" >}} | Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s. | int64 | long | -| {{< div id="fixed32" content="fixed32" >}} | Always four bytes. More efficient than uint32 if values are often greater than 2^28. | uint32 | int | -| {{< div id="fixed64" content="fixed64" >}} | Always eight bytes. More efficient than uint64 if values are often greater than 2^56. | uint64 | long | -| {{< div id="sfixed32" content="sfixed32" >}} | Always four bytes. | int32 | int | -| {{< div id="sfixed64" content="sfixed64" >}} | Always eight bytes. | int64 | long | -| {{< div id="bool" content="bool" >}} | | bool | boolean | -| {{< div id="string" content="string" >}} | A string must always contain UTF-8 encoded or 7-bit ASCII text. | string | String | -| {{< div id="bytes" content="bytes" >}} | May contain any arbitrary sequence of bytes. | string | ByteString | - diff --git a/grpc_apis/ocis/messages/search/v0/grpc.md b/grpc_apis/ocis/messages/search/v0/grpc.md index f511af27ba6..44d56b703a4 100644 --- a/grpc_apis/ocis/messages/search/v0/grpc.md +++ b/grpc_apis/ocis/messages/search/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.messages.search.v0" url: /grpc_apis/ocis_messages_search_v0 -date: 2022-05-11T12:05:52Z +date: 2022-05-11T13:31:09Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/messages/settings/v0/grpc.md b/grpc_apis/ocis/messages/settings/v0/grpc.md index dcf1ee27696..59a2942dd0e 100644 --- a/grpc_apis/ocis/messages/settings/v0/grpc.md +++ b/grpc_apis/ocis/messages/settings/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.messages.settings.v0" url: /grpc_apis/ocis_messages_settings_v0 -date: 2022-05-11T12:05:52Z +date: 2022-05-11T13:31:09Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/messages/store/v0/grpc.md b/grpc_apis/ocis/messages/store/v0/grpc.md index 50cfa511d75..80777604db2 100644 --- a/grpc_apis/ocis/messages/store/v0/grpc.md +++ b/grpc_apis/ocis/messages/store/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.messages.store.v0" url: /grpc_apis/ocis_messages_store_v0 -date: 2022-05-11T12:05:52Z +date: 2022-05-11T13:31:09Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/messages/thumbnails/v0/grpc.md b/grpc_apis/ocis/messages/thumbnails/v0/grpc.md index ec2e20ea982..f84c387088d 100644 --- a/grpc_apis/ocis/messages/thumbnails/v0/grpc.md +++ b/grpc_apis/ocis/messages/thumbnails/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.messages.thumbnails.v0" url: /grpc_apis/ocis_messages_thumbnails_v0 -date: 2022-05-11T12:05:52Z +date: 2022-05-11T13:31:09Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/services/accounts/v0/grpc.md b/grpc_apis/ocis/services/accounts/v0/grpc.md deleted file mode 100644 index f5e4e88129d..00000000000 --- a/grpc_apis/ocis/services/accounts/v0/grpc.md +++ /dev/null @@ -1,227 +0,0 @@ ---- -title: "ocis.services.accounts.v0" -url: /grpc_apis/ocis_services_accounts_v0 -date: 2022-05-11T12:05:52Z -weight: 50 -geekdocRepo: https://github.com/owncloud/ocis ---- - -{{< toc >}} - - - -## ocis/services/accounts/v0/accounts.proto - -### AddMemberRequest - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| group_id | [string](#string) | | The id of the group to add a member to | -| account_id | [string](#string) | | The account id to add | - -### CreateAccountRequest - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| account | [ocis.messages.accounts.v0.Account](/grpc_apis/ocis_messages_accounts_v0/#account) | | The account resource to create | - -### CreateGroupRequest - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| group | [ocis.messages.accounts.v0.Group](/grpc_apis/ocis_messages_accounts_v0/#group) | | The account resource to create | - -### DeleteAccountRequest - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| id | [string](#string) | | | - -### DeleteGroupRequest - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| id | [string](#string) | | | - -### GetAccountRequest - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| id | [string](#string) | | | - -### GetGroupRequest - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| id | [string](#string) | | | - -### ListAccountsRequest - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| page_size | [int32](#int32) | | Optional. The maximum number of accounts to return in the response | -| page_token | [string](#string) | | Optional. A pagination token returned from a previous call to `Get`
that indicates from where search should continue | -| field_mask | [google.protobuf.FieldMask](#googleprotobuffieldmask) | | Optional. Used to specify a subset of fields that should be
returned by a get operation or modified by an update operation. | -| query | [string](#string) | | Optional. Search criteria used to select the accounts to return.
If no search criteria is specified then all accounts will be
returned

TODO update query language
Query expressions can be used to restrict results based upon
the account properties where the operators `=`, `NOT`, `AND` and `OR`
can be used along with the suffix wildcard symbol `*`.

The string properties in a query expression should use escaped quotes
for values that include whitespace to prevent unexpected behavior.

Some example queries are:

* Query `display_name=Th*` returns accounts whose display_name
starts with "Th"
* Query `email=foo@example.com` returns accounts with
`email` set to `foo@example.com`
* Query `display_name=\\"Test String\\"` returns accounts with
display names that include both "Test" and "String" | - -### ListAccountsResponse - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| accounts | [ocis.messages.accounts.v0.Account](/grpc_apis/ocis_messages_accounts_v0/#account) | repeated | The field name should match the noun "accounts" in the method name. There
will be a maximum number of items returned based on the page_size field
in the request | -| next_page_token | [string](#string) | | Token to retrieve the next page of results, or empty if there are no
more results in the list | - -### ListGroupsRequest - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| page_size | [int32](#int32) | | Optional. The maximum number of groups to return in the response | -| page_token | [string](#string) | | Optional. A pagination token returned from a previous call to `Get`
that indicates from where search should continue | -| field_mask | [google.protobuf.FieldMask](#googleprotobuffieldmask) | | Optional. Used to specify a subset of fields that should be
returned by a get operation or modified by an update operation. | -| query | [string](#string) | | Optional. Search criteria used to select the groups to return.
If no search criteria is specified then all groups will be
returned

TODO update query language
Query expressions can be used to restrict results based upon
the account properties where the operators `=`, `NOT`, `AND` and `OR`
can be used along with the suffix wildcard symbol `*`.

The string properties in a query expression should use escaped quotes
for values that include whitespace to prevent unexpected behavior.

Some example queries are:

* Query `display_name=Th*` returns accounts whose display_name
starts with "Th"
* Query `display_name=\\"Test String\\"` returns groups with
display names that include both "Test" and "String" | - -### ListGroupsResponse - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| groups | [ocis.messages.accounts.v0.Group](/grpc_apis/ocis_messages_accounts_v0/#group) | repeated | The field name should match the noun "group" in the method name. There
will be a maximum number of items returned based on the page_size field
in the request | -| next_page_token | [string](#string) | | Token to retrieve the next page of results, or empty if there are no
more results in the list | - -### ListMembersRequest - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| page_size | [int32](#int32) | | | -| page_token | [string](#string) | | Optional. A pagination token returned from a previous call to `Get`
that indicates from where search should continue | -| field_mask | [google.protobuf.FieldMask](#googleprotobuffieldmask) | | Optional. Used to specify a subset of fields that should be
returned by a get operation or modified by an update operation. | -| query | [string](#string) | | Optional. Search criteria used to select the groups to return.
If no search criteria is specified then all groups will be
returned

TODO update query language
Query expressions can be used to restrict results based upon
the account properties where the operators `=`, `NOT`, `AND` and `OR`
can be used along with the suffix wildcard symbol `*`.

The string properties in a query expression should use escaped quotes
for values that include whitespace to prevent unexpected behavior.

Some example queries are:

* Query `display_name=Th*` returns accounts whose display_name
starts with "Th"
* Query `display_name=\\"Test String\\"` returns groups with
display names that include both "Test" and "String" | -| id | [string](#string) | | The id of the group to list members from | - -### ListMembersResponse - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| members | [ocis.messages.accounts.v0.Account](/grpc_apis/ocis_messages_accounts_v0/#account) | repeated | The field name should match the noun "members" in the method name. There
will be a maximum number of items returned based on the page_size field
in the request | -| next_page_token | [string](#string) | | Token to retrieve the next page of results, or empty if there are no
more results in the list | - -### RebuildIndexRequest - - - - -### RebuildIndexResponse - - - - -### RemoveMemberRequest - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| group_id | [string](#string) | | The id of the group to remove a member from | -| account_id | [string](#string) | | The account id to remove | - -### UpdateAccountRequest - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| account | [ocis.messages.accounts.v0.Account](/grpc_apis/ocis_messages_accounts_v0/#account) | | The account resource which replaces the resource on the server | -| update_mask | [google.protobuf.FieldMask](#googleprotobuffieldmask) | | The update mask applies to the resource. For the `FieldMask` definition,
see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask | - -### UpdateGroupRequest - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| group | [ocis.messages.accounts.v0.Group](/grpc_apis/ocis_messages_accounts_v0/#group) | | The group resource which replaces the resource on the server | -| update_mask | [google.protobuf.FieldMask](#googleprotobuffieldmask) | | The update mask applies to the resource. For the `FieldMask` definition,
see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask | - - -### AccountsService - -Follow recommended Methods for rpc APIs https://cloud.google.com/apis/design/resources?hl=de#methods -https://cloud.google.com/apis/design/standard_methods?hl=de#list -https://cloud.google.com/apis/design/naming_convention?hl=de - -| Method Name | Request Type | Response Type | Description | -| ----------- | ------------ | ------------- | ------------| -| ListAccounts | [ListAccountsRequest](#listaccountsrequest) | [ListAccountsResponse](#listaccountsresponse) | Lists accounts | -| GetAccount | [GetAccountRequest](#getaccountrequest) | [.ocis.messages.accounts.v0.Account](/grpc_apis/ocis_messages_accounts_v0/#account) | Gets an account | -| CreateAccount | [CreateAccountRequest](#createaccountrequest) | [.ocis.messages.accounts.v0.Account](/grpc_apis/ocis_messages_accounts_v0/#account) | Creates an account | -| UpdateAccount | [UpdateAccountRequest](#updateaccountrequest) | [.ocis.messages.accounts.v0.Account](/grpc_apis/ocis_messages_accounts_v0/#account) | Updates an account | -| DeleteAccount | [DeleteAccountRequest](#deleteaccountrequest) | [.google.protobuf.Empty](#googleprotobufempty) | Deletes an account | - -### GroupsService - - - -| Method Name | Request Type | Response Type | Description | -| ----------- | ------------ | ------------- | ------------| -| ListGroups | [ListGroupsRequest](#listgroupsrequest) | [ListGroupsResponse](#listgroupsresponse) | Lists groups | -| GetGroup | [GetGroupRequest](#getgrouprequest) | [.ocis.messages.accounts.v0.Group](/grpc_apis/ocis_messages_accounts_v0/#group) | Gets an groups | -| CreateGroup | [CreateGroupRequest](#creategrouprequest) | [.ocis.messages.accounts.v0.Group](/grpc_apis/ocis_messages_accounts_v0/#group) | Creates a group | -| UpdateGroup | [UpdateGroupRequest](#updategrouprequest) | [.ocis.messages.accounts.v0.Group](/grpc_apis/ocis_messages_accounts_v0/#group) | Updates a group | -| DeleteGroup | [DeleteGroupRequest](#deletegrouprequest) | [.google.protobuf.Empty](#googleprotobufempty) | Deletes a group | -| AddMember | [AddMemberRequest](#addmemberrequest) | [.ocis.messages.accounts.v0.Group](/grpc_apis/ocis_messages_accounts_v0/#group) | group:addmember https://docs.microsoft.com/en-us/graph/api/group-post-members?view=graph-rest-1.0&tabs=http | -| RemoveMember | [RemoveMemberRequest](#removememberrequest) | [.ocis.messages.accounts.v0.Group](/grpc_apis/ocis_messages_accounts_v0/#group) | group:removemember https://docs.microsoft.com/en-us/graph/api/group-delete-members?view=graph-rest-1.0 | -| ListMembers | [ListMembersRequest](#listmembersrequest) | [ListMembersResponse](#listmembersresponse) | group:listmembers https://docs.microsoft.com/en-us/graph/api/group-list-members?view=graph-rest-1.0 | - -### IndexService - - - -| Method Name | Request Type | Response Type | Description | -| ----------- | ------------ | ------------- | ------------| -| RebuildIndex | [RebuildIndexRequest](#rebuildindexrequest) | [RebuildIndexResponse](#rebuildindexresponse) | | - -## Scalar Value Types - -| .proto Type | Notes | C++ | Java | -| ----------- | ----- | --- | ---- | -| {{< div id="double" content="double" >}} | | double | double | -| {{< div id="float" content="float" >}} | | float | float | -| {{< div id="int32" content="int32" >}} | Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead. | int32 | int | -| {{< div id="int64" content="int64" >}} | Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead. | int64 | long | -| {{< div id="uint32" content="uint32" >}} | Uses variable-length encoding. | uint32 | int | -| {{< div id="uint64" content="uint64" >}} | Uses variable-length encoding. | uint64 | long | -| {{< div id="sint32" content="sint32" >}} | Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s. | int32 | int | -| {{< div id="sint64" content="sint64" >}} | Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s. | int64 | long | -| {{< div id="fixed32" content="fixed32" >}} | Always four bytes. More efficient than uint32 if values are often greater than 2^28. | uint32 | int | -| {{< div id="fixed64" content="fixed64" >}} | Always eight bytes. More efficient than uint64 if values are often greater than 2^56. | uint64 | long | -| {{< div id="sfixed32" content="sfixed32" >}} | Always four bytes. | int32 | int | -| {{< div id="sfixed64" content="sfixed64" >}} | Always eight bytes. | int64 | long | -| {{< div id="bool" content="bool" >}} | | bool | boolean | -| {{< div id="string" content="string" >}} | A string must always contain UTF-8 encoded or 7-bit ASCII text. | string | String | -| {{< div id="bytes" content="bytes" >}} | May contain any arbitrary sequence of bytes. | string | ByteString | - diff --git a/grpc_apis/ocis/services/search/v0/grpc.md b/grpc_apis/ocis/services/search/v0/grpc.md index ab6738259d8..dfabc292fe5 100644 --- a/grpc_apis/ocis/services/search/v0/grpc.md +++ b/grpc_apis/ocis/services/search/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.services.search.v0" url: /grpc_apis/ocis_services_search_v0 -date: 2022-05-11T12:05:52Z +date: 2022-05-11T13:31:09Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/services/settings/v0/grpc.md b/grpc_apis/ocis/services/settings/v0/grpc.md index 4cfc20abc68..a3a83d86ddf 100644 --- a/grpc_apis/ocis/services/settings/v0/grpc.md +++ b/grpc_apis/ocis/services/settings/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.services.settings.v0" url: /grpc_apis/ocis_services_settings_v0 -date: 2022-05-11T12:05:52Z +date: 2022-05-11T13:31:09Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/services/store/v0/grpc.md b/grpc_apis/ocis/services/store/v0/grpc.md index 6882bec8e46..5b9a8740299 100644 --- a/grpc_apis/ocis/services/store/v0/grpc.md +++ b/grpc_apis/ocis/services/store/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.services.store.v0" url: /grpc_apis/ocis_services_store_v0 -date: 2022-05-11T12:05:52Z +date: 2022-05-11T13:31:09Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/services/thumbnails/v0/grpc.md b/grpc_apis/ocis/services/thumbnails/v0/grpc.md index a0d43fe8f4e..76e8bf2c068 100644 --- a/grpc_apis/ocis/services/thumbnails/v0/grpc.md +++ b/grpc_apis/ocis/services/thumbnails/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.services.thumbnails.v0" url: /grpc_apis/ocis_services_thumbnails_v0 -date: 2022-05-11T12:05:52Z +date: 2022-05-11T13:31:09Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/ocis/_index.md b/ocis/_index.md index 87d7407d462..f9d15ba815a 100644 --- a/ocis/_index.md +++ b/ocis/_index.md @@ -54,7 +54,7 @@ We use [ocis-pkg](https://github.com/owncloud/ocis/tree/master/ocis-pkg) to conf A lot of embedded services in oCIS are built upon the [REVA](https://reva.link/) runtime. We decided to bundle some of the [CS3 services](https://github.com/cs3org/cs3apis) to logically group them. A [home storage provider](https://github.com/owncloud/ocis/blob/v1.2.0/storage/pkg/command/storagehome.go#L93-L108), which is dealing with [metadata](https://cs3org.github.io/cs3apis/#cs3.storage.provider.v1beta1.ProviderAPI), and the corresponding [data provider](https://github.com/owncloud/ocis/blob/v1.2.0/storage/pkg/command/storagehome.go#L109-L123), which is dealing with [up and download](https://cs3org.github.io/cs3apis/#cs3.gateway.v1beta1.FileUploadProtocol), are one example. The [frontend](https://github.com/owncloud/ocis/blob/v1.2.0/storage/pkg/command/frontend.go) with the [oc flavoured webdav](https://github.com/owncloud/ocis/blob/v1.2.0/storage/pkg/command/frontend.go#L132-L138), [ocs handlers](https://github.com/owncloud/ocis/blob/v1.2.0/storage/pkg/command/frontend.go#L139-L148) and a [data-gateway](https://github.com/owncloud/ocis/blob/v1.2.0/storage/pkg/command/frontend.go#L126-L131) are another. ### Protocol driven development -Interacting with oCIS involves a multitude af APIs. The server and all clients rely on [OpenID Connect](https://openid.net/connect/) for authentication. The [embedded LibreGraph Connect](https://github.com/owncloud/ocis/tree/master/idp) can be replaced with any other OpenID Connect Identity Provider. Clients use the [WebDAV](http://webdav.org/) based [oc sync protocol](https://github.com/cernbox/smashbox/blob/master/protocol/protocol.md) to manage files and folders, [ocs to manage shares](https://doc.owncloud.com/server/developer_manual/core/apis/ocs-share-api.html) and [TUS](https://tus.io/protocols/resumable-upload.html) to upload files in a resumable way. On the server side [REVA](https://reva.link/) is the reference implementation of the [CS3 apis](https://github.com/cs3org/cs3apis) which is defined using [protobuf](https://developers.google.com/protocol-buffers/). By embedding [glauth](https://github.com/glauth/glauth/), oCIS provides a read-only [LDAP](https://tools.ietf.org/html/rfc2849) interface to make accounts, including guests available to firewalls and other systems. In the future, we are looking into [the Microsoft Graph API](https://docs.microsoft.com/en-us/graph/api/overview?view=graph-rest-1.0), which is based on [odata](http://docs.oasis-open.org/odata/odata/v4.0/odata-v4.0-part1-protocol.html), as a well-defined REST/JSON dialect for the existing endpoints. +Interacting with oCIS involves a multitude af APIs. The server and all clients rely on [OpenID Connect](https://openid.net/connect/) for authentication. The [embedded LibreGraph Connect](https://github.com/owncloud/ocis/tree/master/idp) can be replaced with any other OpenID Connect Identity Provider. Clients use the [WebDAV](http://webdav.org/) based [oc sync protocol](https://github.com/cernbox/smashbox/blob/master/protocol/protocol.md) to manage files and folders, [ocs to manage shares](https://doc.owncloud.com/server/developer_manual/core/apis/ocs-share-api.html) and [TUS](https://tus.io/protocols/resumable-upload.html) to upload files in a resumable way. On the server side [REVA](https://reva.link/) is the reference implementation of the [CS3 apis](https://github.com/cs3org/cs3apis) which is defined using [protobuf](https://developers.google.com/protocol-buffers/). By embedding [libregraph/idm](https://github.com/libregraph/idm), oCIS provides a [LDAP](https://tools.ietf.org/html/rfc2849) interface to make accounts, including guests available to firewalls and other systems. In the future, we are looking into [the Microsoft Graph API](https://docs.microsoft.com/en-us/graph/api/overview?view=graph-rest-1.0), which is based on [odata](http://docs.oasis-open.org/odata/odata/v4.0/odata-v4.0-part1-protocol.html), as a well-defined REST/JSON dialect for the existing endpoints. ### Acceptance test suite We run a huge [test suite](https://github.com/owncloud/core/tree/master/tests), which originated in ownCloud 10 and continues to grow. A detailed description can be found in the developer docs for [testing]({{< ref "development/testing" >}}). diff --git a/ocis/config.md b/ocis/config.md index 9ad12510852..c6eafc91f49 100644 --- a/ocis/config.md +++ b/ocis/config.md @@ -61,13 +61,6 @@ proxy: pretty: false color: false level: info -accounts: - http: - addr: localhost:2222 - log: - level: debug - color: false - pretty: false log: pretty: true color: true @@ -80,21 +73,12 @@ http: addr: localhost:3333 ``` -_accounts.yaml_ -```yaml -http: - addr: localhost:4444 -``` - Note that the extension files will overwrite values from the main `ocis.yaml`, causing `ocis server` to run with the following configuration: ```yaml proxy: http: addr: localhost:3333 -accounts: - http: - addr: localhost:4444 log: pretty: true color: true @@ -109,9 +93,6 @@ The logging configuration if defined in the main ocis.yaml is inherited by all e proxy: http: addr: localhost:5555 -accounts: - http: - addr: localhost:4444 log: pretty: true color: true diff --git a/ocis/static/architecture-overview.drawio.svg b/ocis/static/architecture-overview.drawio.svg index cb0b5f1be0e..19102f8110e 100644 --- a/ocis/static/architecture-overview.drawio.svg +++ b/ocis/static/architecture-overview.drawio.svg @@ -1,3 +1,4 @@ + -
Storage
Storage
ocis
ocis
example extension
example extension
hello
hello
backend
backend
staticweb ui
staticweb ui
identity management
identity management
accounts
accounts
glauth (ldap)
glauth (ldap)
proxy

part
reverse proxy
 
part
api gateway
proxy...
Persistency Layer
Persistency Layer
Stateless
Stateless
API Gateway / BFF
API Gateway / BFF
Edge / Static
Edge / St...
storage-users
storage-users
userprovider
(ldap)
userprovider...
storage-users
storage-users
storageprovider
storageprovider
dataprovider
dataprovider
storage-authbearer
storage-authbearer
authprovider
(oidc)
authprovider...
storage-gateway
storage-gateway
gateway
gateway
authregistry
authregistry
storageregistry
storageregistry
web
(aka phoenix)
web...
storage-authbasic
storage-authbasic
authprovider
(basic)
authprovider...
settings
settings
store
store
Consumers
Consumers
load balancer
load balancer
CDN
CDN
storage-frontend
storage-frontend
ocs
ocs
ocdav
ocdav
ocm
ocm
datagateway
datagateway
graph
graph
graph-explorer
graph-explorer
ocs
ocs
webdav
webdav
onlyoffice
onlyoffice
registry
mdns / etcd
registry...
Stateful
Stateful
JSON
files
JSON...
bleve
index
bleve...
ocis
driver
ocis...
ocis
driver
ocis...
single
JSON
file
single...
single
JSON
file
single...
DNS
DNS
thumbnails
thumbnails
storage-publiclink
storage-publiclink
publicstorageprovider
publicstorageprovider
authprovider
(publicshares)
authprovider...
idp
idp
konnectd
konnectd
login ui
login ui
storage-meta
storage-meta
storageprovider
storageprovider
dataprovider
dataprovider
storage-home
storage-home
storageprovider
storageprovider
dataprovider
dataprovider
storage-sharing
storage-sharing
usershareprovider
usershareprovider
publicshareprovider
publicshareprovider
ocis
ocis
reva
reva
konnectd
konnectd
storage
storage
glauth
glauth
glauth
glauth
provided by
provided by
Viewer does not support full SVG 1.1
\ No newline at end of file +
Storage
Storage
identity management
identity management
reva
reva
proxy
reverse proxy
+ api gateway
proxy...
users
users
idp
konnectd / keycloak
idp...
ldap
AD, openldap, idm
ldap...
web
(aka phoenix)
web...
graph
graph
graph-explorer
graph-explorer
hello
hello
onlyoffice
onlyoffice
settings
settings
store
store
idm
idm
OCIS
OCIS
ocs
ocs
webdav
webdav
registry
registry
authbasic
authbasic
authbearer
authbearer
authprovider
(basic)
authprovider...
authprovider
(oidc)
authprovider...
userprovider
userprovider
gateway
gateway
gateway
gateway
authregistry
authregistry
storageregistry
storageregistry
frontend
frontend
ocs
ocs
ocdav
ocdav
ocm
ocm
datagateway
datagateway
storagehome
storagehome
storageprovider
storageprovider
dataprovider
dataprovider
storageusers
storageusers
storageprovider
storageprovider
dataprovider
dataprovider
storagemeta
storagemeta
storageprovider
storageprovider
dataprovider
dataprovider
storagepubliclink
storagepubliclink
publicstorageprovider
publicstorageprovider
authprovider
(publicshares)
authprovider...
sharing
sharing
usershareprovider
usershareprovider
publicshareprovider
publicshareprovider

single host

- all services run on a single host
- no redundancy
- minimize resource usage
- home setup
single host...
Text is not SVG - cannot display
\ No newline at end of file diff --git a/ocis/static/runtime.drawio.svg b/ocis/static/runtime.drawio.svg index bbaa9ba6202..754593d7921 100644 --- a/ocis/static/runtime.drawio.svg +++ b/ocis/static/runtime.drawio.svg @@ -1,4 +1,4 @@ -
Runtime
Runtime
ocs
ocs
graph
graph
glauth
glauth
accounts
accounts
storage
storage
proxy
proxy
idp
idp
thumbnails
thumbnails
webdav
webdav
suture
suture
$ ocis server
$ ocis kill proxy
$ ocis start proxy
$ ocis list
$ ocis server...
the runtime component starts services
and suture then takes over, keeping
track of every started service, restarting
it when needed if an error occurred.
the runtime component starts services...
each service is implemented as a sub-command. The binary essentially calls itself with the right arguments and the side effect is that a
service is started. The service will then be monitored by Suture.
each service is implemented as a sub-command. The binary essentially calls itself with the right arguments and the side e...
the runtime is a service in itself. Starting an
oCIS instance will start a runtime service.
the runtime is a service in itself. Star...
Text is not SVG - cannot display
\ No newline at end of file +
Runtime
Runtime
ocs
ocs
graph
graph
idm
idm
storage
storage
proxy
proxy
idp
idp
thumbnails
thumbnails
webdav
webdav
suture
suture
$ ocis server
$ ocis kill proxy
$ ocis start proxy
$ ocis list
$ ocis server...
the runtime component starts services
and suture then takes over, keeping
track of every started service, restarting
it when needed if an error occurred.
the runtime component starts services...
each service is implemented as a sub-command. The binary essentially calls itself with the right arguments and the side effect is that a
service is started. The service will then be monitored by Suture.
each service is implemented as a sub-command. The binary essentially calls itself with the right arguments and the side e...
the runtime is a service in itself. Starting an
oCIS instance will start a runtime service.
the runtime is a service in itself. Star...
Text is not SVG - cannot display
\ No newline at end of file