Merge pull request #9439 from owncloud/addDocsToOcmTests
[test-only] add testing docs to ocm test
This commit is contained in:
+3
-1
@@ -2064,6 +2064,7 @@ def ocisServer(storage, accounts_hash_difficulty = 4, volumes = [], depends_on =
|
||||
|
||||
if deploy_type == "federation":
|
||||
environment["OCIS_URL"] = OCIS_FED_URL
|
||||
environment["PROXY_HTTP_ADDR"] = OCIS_FED_DOMAIN
|
||||
container_name = "federation-ocis-server"
|
||||
|
||||
if tika_enabled:
|
||||
@@ -2478,7 +2479,8 @@ def pipelineSanityChecks(ctx, pipelines):
|
||||
OCIS_URL = "https://ocis-server:9200"
|
||||
OCIS_DOMAIN = "ocis-server:9200"
|
||||
OC10_URL = "http://oc10:8080"
|
||||
OCIS_FED_URL = "https://federation-ocis-server:9200"
|
||||
OCIS_FED_URL = "https://federation-ocis-server:10200"
|
||||
OCIS_FED_DOMAIN = "federation-ocis-server:10200"
|
||||
|
||||
# step volumes
|
||||
stepVolumeOC10Templates = \
|
||||
|
||||
Vendored
+131
-1
@@ -73,6 +73,136 @@
|
||||
"OCIS_SERVICE_ACCOUNT_ID": "service-account-id",
|
||||
"OCIS_SERVICE_ACCOUNT_SECRET": "service-account-secret"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "10200",
|
||||
"type": "go",
|
||||
"request": "launch",
|
||||
"mode": "debug",
|
||||
"program": "${workspaceFolder}/ocis/cmd/ocis/main.go",
|
||||
"args": [
|
||||
"server"
|
||||
],
|
||||
"env": {
|
||||
"OCM_OCM_PROVIDER_AUTHORIZER_PROVIDERS_FILE": "${workspaceFolder}/tests/config/drone/providers.json",
|
||||
"OCM_OCM_INVITE_MANAGER_INSECURE": "true",
|
||||
"OCM_OCM_SHARE_PROVIDER_INSECURE": "true",
|
||||
"OCM_OCM_STORAGE_PROVIDER_INSECURE": "true",
|
||||
"FRONTEND_OCS_INCLUDE_OCM_SHAREES": "true",
|
||||
"OCIS_BASE_DATA_PATH": "${env:HOME}/.ocis-10200",
|
||||
"OCIS_CONFIG_DIR": "${env:HOME}/.ocis-10200/config",
|
||||
"OCIS_EVENTS_ENDPOINT": "127.0.0.1:10233",
|
||||
"OCIS_LDAP_URI": "ldaps://localhost:10235",
|
||||
"OCIS_RUNTIME_PORT": "10250",
|
||||
"OCIS_URL": "https://federation-ocis-server:10200",
|
||||
"FRONTEND_OCS_LIST_OCM_SHARES": "true",
|
||||
"FRONTEND_ENABLE_FEDERATED_SHARING_INCOMING": "true",
|
||||
"FRONTEND_ENABLE_FEDERATED_SHARING_OUTGOING": "true",
|
||||
"OCIS_ADD_RUN_SERVICES": "ocm",
|
||||
"GRAPH_INCLUDE_OCM_SHAREES": "true",
|
||||
"APP_PROVIDER_DEBUG_ADDR": "127.0.0.1:10165",
|
||||
"APP_PROVIDER_GRPC_ADDR": "127.0.0.1:10164",
|
||||
"APP_REGISTRY_DEBUG_ADDR": "127.0.0.1:10243",
|
||||
"APP_REGISTRY_GRPC_ADDR": "127.0.0.1:10242",
|
||||
"AUTH_BASIC_DEBUG_ADDR": "127.0.0.1:10147",
|
||||
"AUTH_BASIC_GRPC_ADDR": "127.0.0.1:10146",
|
||||
"AUTH_MACHINE_DEBUG_ADDR": "127.0.0.1:10167",
|
||||
"AUTH_MACHINE_GRPC_ADDR": "127.0.0.1:10166",
|
||||
"AUTH_SERVICE_DEBUG_ADDR": "127.0.0.1:10169",
|
||||
"AUTH_SERVICE_GRPC_ADDR": "127.0.0.1:10199",
|
||||
"CLIENTLOG_DEBUG_ADDR": "127.0.0.1:10260",
|
||||
"ACTIVITYLOG_DEBUG_ADDR": "127.0.0.1:10261",
|
||||
"EVENTHISTORY_DEBUG_ADDR": "127.0.0.1:10270",
|
||||
"FRONTEND_DEBUG_ADDR": "127.0.0.1:10141",
|
||||
"FRONTEND_HTTP_ADDR": "127.0.0.1:10140",
|
||||
"GATEWAY_DEBUG_ADDR": "127.0.0.1:10143",
|
||||
"GATEWAY_GRPC_ADDR": "127.0.0.1:10142",
|
||||
"GRAPH_DEBUG_ADDR": "127.0.0.1:10124",
|
||||
"GRAPH_HTTP_ADDR": "127.0.0.1:10120",
|
||||
"GROUPS_DEBUG_ADDR": "127.0.0.1:10161",
|
||||
"GROUPS_GRPC_ADDR": "127.0.0.1:10160",
|
||||
"IDM_DEBUG_ADDR": "127.0.0.1:10239",
|
||||
"IDM_LDAPS_ADDR": "127.0.0.1:10235",
|
||||
"IDP_DEBUG_ADDR": "127.0.0.1:10134",
|
||||
"IDP_HTTP_ADDR": "127.0.0.1:10130",
|
||||
"NATS_DEBUG_ADDR": "127.0.0.1:10234",
|
||||
"NATS_NATS_PORT": "10233",
|
||||
"OCDAV_DEBUG_ADDR": "127.0.0.1:10163",
|
||||
"OCM_DEBUG_ADDR": "127.0.0.1:10281",
|
||||
"OCM_HTTP_ADDR": "127.0.0.1:10280",
|
||||
"OCM_GRPC_ADDR": "127.0.0.1:10282",
|
||||
"OCS_DEBUG_ADDR": "127.0.0.1:10114",
|
||||
"OCS_HTTP_ADDR": "127.0.0.1:10110",
|
||||
"POSTPROCESSING_DEBUG_ADDR": "127.0.0.1:10255",
|
||||
"POSTPROCESSING_SERVICE_DEBUG_ADDR": "127.0.0.1:10255",
|
||||
"PROXY_DEBUG_ADDR": "127.0.0.1:10205",
|
||||
"PROXY_HTTP_ADDR": "127.0.0.1:10200",
|
||||
"SEARCH_DEBUG_ADDR": "127.0.0.1:10224",
|
||||
"SEARCH_GRPC_ADDR": "127.0.0.1:10220",
|
||||
"SETTINGS_DEBUG_ADDR": "127.0.0.1:10189",
|
||||
"SETTINGS_GRPC_ADDR": "127.0.0.1:10185",
|
||||
"SETTINGS_HTTP_ADDR": "127.0.0.1:10186",
|
||||
"SHARING_DEBUG_ADDR": "127.0.0.1:10151",
|
||||
"SHARING_GRPC_ADDR": "127.0.0.1:10150",
|
||||
"SSE_DEBUG_ADDR": "127.0.0.1:10135",
|
||||
"STORAGE_PUBLICLINK_DEBUG_ADDR": "127.0.0.1:10179",
|
||||
"STORAGE_PUBLICLINK_GRPC_ADDR": "127.0.0.1:10178",
|
||||
"STORAGE_SHARES_DEBUG_ADDR": "127.0.0.1:10156",
|
||||
"STORAGE_SHARES_GRPC_ADDR": "127.0.0.1:10154",
|
||||
"STORAGE_SYSTEM_DATA_SERVER_URL": "http://localhost:10216/data",
|
||||
"STORAGE_SYSTEM_DEBUG_ADDR": "127.0.0.1:10217",
|
||||
"STORAGE_SYSTEM_GRPC_ADDR": "127.0.0.1:10215",
|
||||
"STORAGE_SYSTEM_HTTP_ADDR": "127.0.0.1:10216",
|
||||
"STORAGE_USERS_DEBUG_ADDR": "127.0.0.1:10159",
|
||||
"STORAGE_USERS_GRPC_ADDR": "127.0.0.1:10157",
|
||||
"STORAGE_USERS_HTTP_ADDR": "127.0.0.1:10158",
|
||||
"STORAGE_USERS_DATA_SERVER_URL": "http://localhost:10158/data",
|
||||
"STORE_DEBUG_ADDR": "127.0.0.1:10464",
|
||||
"STORE_GRPC_ADDR": "127.0.0.1:10460",
|
||||
"THUMBNAILS_DEBUG_ADDR": "127.0.0.1:10194",
|
||||
"THUMBNAILS_GRPC_ADDR": "127.0.0.1:10191",
|
||||
"THUMBNAILS_HTTP_ADDR": "127.0.0.1:10190",
|
||||
"USERLOG_DEBUG_ADDR": "127.0.0.1:10210",
|
||||
"USERS_DEBUG_ADDR": "127.0.0.1:10145",
|
||||
"USERS_GRPC_ADDR": "127.0.0.1:10144",
|
||||
"WEB_DEBUG_ADDR": "localhost:10104",
|
||||
"WEB_HTTP_ADDR": "localhost:10100",
|
||||
"WEBDAV_DEBUG_ADDR": "127.0.0.1:10119",
|
||||
"WEBDAV_HTTP_ADDR": "127.0.0.1:10115",
|
||||
"OCIS_SERVICE_ACCOUNT_ID": "serviceaccount",
|
||||
"OCIS_SERVICE_ACCOUNT_SECRET": "serviceaccountsecret",
|
||||
"OCIS_DECOMPOSEDFS_PROPAGATOR": "async",
|
||||
"STORAGE_USERS_ASYNC_PROPAGATOR_PROPAGATION_DELAY": "10s",
|
||||
"TLS_INSECURE": "true",
|
||||
"OCIS_INSECURE": "true",
|
||||
"IDP_ACCESS_TOKEN_EXPIRATION": "9000",
|
||||
"GATEWAY_STORAGE_USERS_MOUNT_ID": "storage-users-1",
|
||||
"STORAGE_USERS_MOUNT_ID": "storage-users-1",
|
||||
"MICRO_REGISTRY": "memory",
|
||||
"SHARING_PUBLIC_DRIVER": "jsoncs3",
|
||||
"FRONTEND_OCS_RESOURCE_INFO_CACHE_TTL": "0",
|
||||
"OCIS_LOG_LEVEL": "info",
|
||||
"OCIS_LOG_PRETTY": "true",
|
||||
"OCIS_LOG_COLOR": "true",
|
||||
"PROXY_ENABLE_BASIC_AUTH": "true",
|
||||
"IDM_CREATE_DEMO_USERS": "true",
|
||||
"OCIS_ADMIN_USER_ID": "some-admin-user-id-0000-000000000000",
|
||||
"IDM_ADMIN_PASSWORD": "admin",
|
||||
"OCIS_SYSTEM_USER_ID": "some-system-user-id-000-000000000000",
|
||||
"OCIS_SYSTEM_USER_API_KEY": "some-system-user-machine-auth-api-key",
|
||||
"OCIS_JWT_SECRET": "some-ocis-jwt-secret",
|
||||
"OCIS_MACHINE_AUTH_API_KEY": "some-ocis-machine-auth-api-key",
|
||||
"OCIS_TRANSFER_SECRET": "some-ocis-transfer-secret",
|
||||
"IDM_SVC_PASSWORD": "some-ldap-idm-password",
|
||||
"GRAPH_LDAP_BIND_PASSWORD": "some-ldap-idm-password",
|
||||
"IDM_REVASVC_PASSWORD": "some-ldap-reva-password",
|
||||
"GROUPS_LDAP_BIND_PASSWORD": "some-ldap-reva-password",
|
||||
"USERS_LDAP_BIND_PASSWORD": "some-ldap-reva-password",
|
||||
"AUTH_BASIC_LDAP_BIND_PASSWORD": "some-ldap-reva-password",
|
||||
"IDM_IDPSVC_PASSWORD": "some-ldap-idp-password",
|
||||
"IDP_LDAP_BIND_PASSWORD": "some-ldap-idp-password",
|
||||
"GRAPH_APPLICATION_ID": "application-1"
|
||||
}
|
||||
},
|
||||
]
|
||||
}
|
||||
|
||||
@@ -539,6 +539,69 @@ BEHAT_FEATURE="tests/acceptance/features/apiAntivirus/antivirus.feature" \
|
||||
make test-acceptance-api
|
||||
```
|
||||
|
||||
## Running Test Suite With Federated Sharing (@ocm)
|
||||
Test suites that are tagged with `@ocm` require running two different ocis instances. More detailed information and configuration related to it can be found [here](https://doc.owncloud.com/ocis/5.0/deployment/services/s-list/ocm.html).
|
||||
|
||||
Put
|
||||
```bash
|
||||
127.0.0.1 ocis-server
|
||||
127.0.0.1 federation-ocis-server
|
||||
```
|
||||
in the `/etc/hosts` file
|
||||
|
||||
### Setup first ocis instance
|
||||
|
||||
```bash
|
||||
# run oCIS
|
||||
OCIS_URL="https://ocis-server:9200" \
|
||||
PROXY_ENABLE_BASIC_AUTH=true \
|
||||
GRAPH_INCLUDE_OCM_SHAREES=true \
|
||||
OCM_OCM_INVITE_MANAGER_INSECURE=true \
|
||||
OCM_OCM_SHARE_PROVIDER_INSECURE=true \
|
||||
OCM_OCM_STORAGE_PROVIDER_INSECURE=true \
|
||||
OCM_OCM_PROVIDER_AUTHORIZER_PROVIDERS_FILE="${workspaceFolder}/tests/config/drone/providers.json" \
|
||||
OCIS_ADD_RUN_SERVICES="ocm"
|
||||
ocis/bin/ocis server
|
||||
```
|
||||
|
||||
The first oCIS instance should be available at: https://ocis-server:9200/
|
||||
|
||||
### Setup second ocis instance
|
||||
#### Using .vscode/launch.json
|
||||
|
||||
#### Using .env file
|
||||
|
||||
```bash
|
||||
# init oCIS
|
||||
source tests/config/drone/.env-federation && ocis/bin/ocis init
|
||||
|
||||
# run oCIS
|
||||
ocis/bin/ocis server
|
||||
```
|
||||
|
||||
The second oCIS instance should be available at: https://federation-ocis-server:10200/
|
||||
|
||||
{{< hint info >}}
|
||||
To enable ocm in the web interface, you need to set the following envs:
|
||||
`FRONTEND_OCS_INCLUDE_OCM_SHAREES=true` \
|
||||
`FRONTEND_OCS_LIST_OCM_SHARES=true` \
|
||||
`FRONTEND_ENABLE_FEDERATED_SHARING_INCOMING=true` \
|
||||
`FRONTEND_ENABLE_FEDERATED_SHARING_OUTGOING=true`
|
||||
|
||||
and put `ocm` to apps https://github.com/owncloud/ocis/blob/master/services/web/pkg/config/defaults/defaultconfig.go#L101
|
||||
{{< /hint>}}
|
||||
|
||||
#### Run the Acceptance Test
|
||||
|
||||
Run the acceptance test with the following command:
|
||||
|
||||
```bash
|
||||
TEST_SERVER_URL="https://ocis-server:9200" \
|
||||
TEST_SERVER_FED_URL="https://federation-ocis-server:10200" \
|
||||
BEHAT_FEATURE="tests/acceptance/features/apiOcm/ocm.feature" \
|
||||
make test-acceptance-api
|
||||
```
|
||||
|
||||
## Running Text Preview Tests Containing Unicode Characters
|
||||
|
||||
There are some tests that check the text preview of files containing Unicode characters. The oCIS server by default cannot generate the thumbnail of such files correctly but it provides an environment variable to allow the use of custom fonts that support Unicode characters. So to run such tests successfully, we have to run the oCIS server with this environment variable.
|
||||
|
||||
@@ -37,7 +37,7 @@ func InitCommand(cfg *config.Config) *cli.Command {
|
||||
Name: "config-path",
|
||||
Value: defaults.BaseConfigPath(),
|
||||
Usage: "Config path for the ocis runtime",
|
||||
EnvVars: []string{"OCIS_CONFIG_DIR"},
|
||||
EnvVars: []string{"OCIS_CONFIG_DIR", "OCIS_BASE_DATA_PATH"},
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "admin-password",
|
||||
|
||||
@@ -287,10 +287,10 @@ The expected failures in this file are from features in the owncloud/ocis repo.
|
||||
|
||||
- [apiSpacesDavOperation/moveByFileId.feature:466](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSpacesDavOperation/moveByFileId.feature#L466)
|
||||
- [apiSpacesDavOperation/moveByFileId.feature:467](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSpacesDavOperation/moveByFileId.feature#L467)
|
||||
- [apiSpacesDavOperation/moveByFileId.feature:488](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSpacesDavOperation/moveByFileId.feature#L488)
|
||||
- [apiSpacesDavOperation/moveByFileId.feature:489](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSpacesDavOperation/moveByFileId.feature#L489)
|
||||
- [apiSpacesDavOperation/moveByFileId.feature:724](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSpacesDavOperation/moveByFileId.feature#L724)
|
||||
- [apiSpacesDavOperation/moveByFileId.feature:490](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSpacesDavOperation/moveByFileId.feature#L490)
|
||||
- [apiSpacesDavOperation/moveByFileId.feature:725](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSpacesDavOperation/moveByFileId.feature#L725)
|
||||
- [apiSpacesDavOperation/moveByFileId.feature:726](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSpacesDavOperation/moveByFileId.feature#L726)
|
||||
|
||||
### [MOVE a file into same folder with same name returns 404 instead of 403](https://github.com/owncloud/ocis/issues/1976)
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@ocm
|
||||
Feature: an user shares resources usin ScienceMesh application
|
||||
As a user
|
||||
I want to share resources between different ocis instances
|
||||
|
||||
@@ -478,6 +478,7 @@ Feature: moving/renaming file using file id
|
||||
| sharee | Brian |
|
||||
| shareType | user |
|
||||
| permissionsRole | <permissions> |
|
||||
And user "Brian" has a share "/folder" synced
|
||||
When user "Brian" moves a file "Shares/folder/test.txt" into "folder" inside space "Shares" using file-id path "<dav-path>"
|
||||
Then the HTTP status code should be "403"
|
||||
And as "Alice" file "test.txt" should not exist in the trashbin of the space "Personal"
|
||||
|
||||
@@ -0,0 +1,118 @@
|
||||
export OCM_OCM_PROVIDER_AUTHORIZER_PROVIDERS_FILE=${workspaceFolder}/tests/config/drone/providers.json
|
||||
export OCM_OCM_INVITE_MANAGER_INSECURE=true
|
||||
export OCM_OCM_SHARE_PROVIDER_INSECURE=true
|
||||
export OCM_OCM_STORAGE_PROVIDER_INSECURE=true
|
||||
export FRONTEND_OCS_INCLUDE_OCM_SHAREES=true
|
||||
export OCIS_BASE_DATA_PATH=${HOME}/.ocis-10200
|
||||
export OCIS_CONFIG_DIR=${HOME}/.ocis-10200/config
|
||||
export OCIS_EVENTS_ENDPOINT=127.0.0.1:10233
|
||||
export OCIS_LDAP_URI=ldaps://localhost:10235
|
||||
export OCIS_RUNTIME_PORT=10250
|
||||
export OCIS_URL=https://federation-ocis-server:10200
|
||||
export FRONTEND_OCS_LIST_OCM_SHARES=true
|
||||
export FRONTEND_ENABLE_FEDERATED_SHARING_INCOMING=true
|
||||
export FRONTEND_ENABLE_FEDERATED_SHARING_OUTGOING=true
|
||||
export OCIS_ADD_RUN_SERVICES=ocm
|
||||
export GRAPH_INCLUDE_OCM_SHAREES=true
|
||||
export APP_PROVIDER_DEBUG_ADDR=127.0.0.1:10165
|
||||
export APP_PROVIDER_GRPC_ADDR=127.0.0.1:10164
|
||||
export APP_REGISTRY_DEBUG_ADDR=127.0.0.1:10243
|
||||
export APP_REGISTRY_GRPC_ADDR=127.0.0.1:10242
|
||||
export AUTH_BASIC_DEBUG_ADDR=127.0.0.1:10147
|
||||
export AUTH_BASIC_GRPC_ADDR=127.0.0.1:10146
|
||||
export AUTH_MACHINE_DEBUG_ADDR=127.0.0.1:10167
|
||||
export AUTH_MACHINE_GRPC_ADDR=127.0.0.1:10166
|
||||
export AUTH_SERVICE_DEBUG_ADDR=127.0.0.1:10169
|
||||
export AUTH_SERVICE_GRPC_ADDR=127.0.0.1:10199
|
||||
export CLIENTLOG_DEBUG_ADDR=127.0.0.1:10260
|
||||
export ACTIVITYLOG_DEBUG_ADDR=127.0.0.1:10261
|
||||
export EVENTHISTORY_DEBUG_ADDR=127.0.0.1:10270
|
||||
export FRONTEND_DEBUG_ADDR=127.0.0.1:10141
|
||||
export FRONTEND_HTTP_ADDR=127.0.0.1:10140
|
||||
export GATEWAY_DEBUG_ADDR=127.0.0.1:10143
|
||||
export GATEWAY_GRPC_ADDR=127.0.0.1:10142
|
||||
export GRAPH_DEBUG_ADDR=127.0.0.1:10124
|
||||
export GRAPH_HTTP_ADDR=127.0.0.1:10120
|
||||
export GROUPS_DEBUG_ADDR=127.0.0.1:10161
|
||||
export GROUPS_GRPC_ADDR=127.0.0.1:10160
|
||||
export IDM_DEBUG_ADDR=127.0.0.1:10239
|
||||
export IDM_LDAPS_ADDR=127.0.0.1:10235
|
||||
export IDP_DEBUG_ADDR=127.0.0.1:10134
|
||||
export IDP_HTTP_ADDR=127.0.0.1:10130
|
||||
export NATS_DEBUG_ADDR=127.0.0.1:10234
|
||||
export NATS_NATS_PORT=10233
|
||||
export OCDAV_DEBUG_ADDR=127.0.0.1:10163
|
||||
export OCM_DEBUG_ADDR=127.0.0.1:10281
|
||||
export OCM_HTTP_ADDR=127.0.0.1:10280
|
||||
export OCM_GRPC_ADDR=127.0.0.1:10282
|
||||
export OCS_DEBUG_ADDR=127.0.0.1:10114
|
||||
export OCS_HTTP_ADDR=127.0.0.1:10110
|
||||
export POSTPROCESSING_DEBUG_ADDR=127.0.0.1:10255
|
||||
export POSTPROCESSING_SERVICE_DEBUG_ADDR=127.0.0.1:10255
|
||||
export PROXY_DEBUG_ADDR=127.0.0.1:10205
|
||||
export PROXY_HTTP_ADDR=127.0.0.1:10200
|
||||
export SEARCH_DEBUG_ADDR=127.0.0.1:10224
|
||||
export SEARCH_GRPC_ADDR=127.0.0.1:10220
|
||||
export SETTINGS_DEBUG_ADDR=127.0.0.1:10189
|
||||
export SETTINGS_GRPC_ADDR=127.0.0.1:10185
|
||||
export SETTINGS_HTTP_ADDR=127.0.0.1:10186
|
||||
export SHARING_DEBUG_ADDR=127.0.0.1:10151
|
||||
export SHARING_GRPC_ADDR=127.0.0.1:10150
|
||||
export SSE_DEBUG_ADDR=127.0.0.1:10135
|
||||
export STORAGE_PUBLICLINK_DEBUG_ADDR=127.0.0.1:10179
|
||||
export STORAGE_PUBLICLINK_GRPC_ADDR=127.0.0.1:10178
|
||||
export STORAGE_SHARES_DEBUG_ADDR=127.0.0.1:10156
|
||||
export STORAGE_SHARES_GRPC_ADDR=127.0.0.1:10154
|
||||
export STORAGE_SYSTEM_DATA_SERVER_URL=http://localhost:10216/data
|
||||
export STORAGE_SYSTEM_DEBUG_ADDR=127.0.0.1:10217
|
||||
export STORAGE_SYSTEM_GRPC_ADDR=127.0.0.1:10215
|
||||
export STORAGE_SYSTEM_HTTP_ADDR=127.0.0.1:10216
|
||||
export STORAGE_USERS_DEBUG_ADDR=127.0.0.1:10159
|
||||
export STORAGE_USERS_GRPC_ADDR=127.0.0.1:10157
|
||||
export STORAGE_USERS_HTTP_ADDR=127.0.0.1:10158
|
||||
export STORAGE_USERS_DATA_SERVER_URL=http://localhost:10158/data
|
||||
export STORE_DEBUG_ADDR=127.0.0.1:10464
|
||||
export STORE_GRPC_ADDR=127.0.0.1:10460
|
||||
export THUMBNAILS_DEBUG_ADDR=127.0.0.1:10194
|
||||
export THUMBNAILS_GRPC_ADDR=127.0.0.1:10191
|
||||
export THUMBNAILS_HTTP_ADDR=127.0.0.1:10190
|
||||
export USERLOG_DEBUG_ADDR=127.0.0.1:10210
|
||||
export USERS_DEBUG_ADDR=127.0.0.1:10145
|
||||
export USERS_GRPC_ADDR=127.0.0.1:10144
|
||||
export WEB_DEBUG_ADDR=localhost:10104
|
||||
export WEB_HTTP_ADDR=localhost:10100
|
||||
export WEBDAV_DEBUG_ADDR=127.0.0.1:10119
|
||||
export WEBDAV_HTTP_ADDR=127.0.0.1:10115
|
||||
export OCIS_SERVICE_ACCOUNT_ID=serviceaccount
|
||||
export OCIS_SERVICE_ACCOUNT_SECRET=serviceaccountsecret
|
||||
export OCIS_DECOMPOSEDFS_PROPAGATOR=async
|
||||
export STORAGE_USERS_ASYNC_PROPAGATOR_PROPAGATION_DELAY=10s
|
||||
export TLS_INSECURE=true
|
||||
export OCIS_INSECURE=true
|
||||
export IDP_ACCESS_TOKEN_EXPIRATION=9000
|
||||
export GATEWAY_STORAGE_USERS_MOUNT_ID=storage-users-1
|
||||
export STORAGE_USERS_MOUNT_ID=storage-users-1
|
||||
export MICRO_REGISTRY=memory
|
||||
export SHARING_PUBLIC_DRIVER=jsoncs3
|
||||
export FRONTEND_OCS_RESOURCE_INFO_CACHE_TTL=0
|
||||
export OCIS_LOG_LEVEL=info
|
||||
export OCIS_LOG_PRETTY=true
|
||||
export OCIS_LOG_COLOR=true
|
||||
export PROXY_ENABLE_BASIC_AUTH=true
|
||||
export IDM_CREATE_DEMO_USERS=true
|
||||
export OCIS_ADMIN_USER_ID=some-admin-user-id-0000-000000000000
|
||||
export IDM_ADMIN_PASSWORD=admin
|
||||
export OCIS_SYSTEM_USER_ID=some-system-user-id-000-000000000000
|
||||
export OCIS_SYSTEM_USER_API_KEY=some-system-user-machine-auth-api-key
|
||||
export OCIS_JWT_SECRET=some-ocis-jwt-secret
|
||||
export OCIS_MACHINE_AUTH_API_KEY=some-ocis-machine-auth-api-key
|
||||
export OCIS_TRANSFER_SECRET=some-ocis-transfer-secret
|
||||
export IDM_SVC_PASSWORD=some-ldap-idm-password
|
||||
export GRAPH_LDAP_BIND_PASSWORD=some-ldap-idm-password
|
||||
export IDM_REVASVC_PASSWORD=some-ldap-reva-password
|
||||
export GROUPS_LDAP_BIND_PASSWORD=some-ldap-reva-password
|
||||
export USERS_LDAP_BIND_PASSWORD=some-ldap-reva-password
|
||||
export AUTH_BASIC_LDAP_BIND_PASSWORD=some-ldap-reva-password
|
||||
export IDM_IDPSVC_PASSWORD=some-ldap-idp-password
|
||||
export IDP_LDAP_BIND_PASSWORD=some-ldap-idp-password
|
||||
export GRAPH_APPLICATION_ID=application-1export
|
||||
@@ -1,6 +1,6 @@
|
||||
[
|
||||
{
|
||||
"name": "ocis-server:9200",
|
||||
"name": "ocis-server",
|
||||
"full_name": "first-ocis-instance",
|
||||
"organization": "Owncloud",
|
||||
"domain": "ocis-server",
|
||||
@@ -22,7 +22,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "federation-ocis-server:9200",
|
||||
"name": "federation-ocis-server",
|
||||
"full_name": "Federation ocis",
|
||||
"organization": "Owncloud",
|
||||
"domain": "federation-ocis-server",
|
||||
@@ -35,11 +35,11 @@
|
||||
"description": "CERNBox Open Cloud Mesh API"
|
||||
},
|
||||
"name": "CERNBox - OCM API",
|
||||
"path": "https:federation-ocis-server:9200/ocm/",
|
||||
"path": "https://federation-ocis-server:10200/ocm/",
|
||||
"is_monitored": true
|
||||
},
|
||||
"api_version": "0.0.1",
|
||||
"host": "federation-ocis-server:9200"
|
||||
"host": "federation-ocis-server:10200"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user