Initial QSfera import

This commit is contained in:
Курнат Андрей
2026-06-07 10:20:04 +03:00
commit 2315f25754
16485 changed files with 4826827 additions and 0 deletions
+127
View File
@@ -0,0 +1,127 @@
#!/bin/bash
export WEB_UI_CONFIG_FILE=tests/config/local/fed-qsfera-web.json
export OCM_OCM_PROVIDER_AUTHORIZER_PROVIDERS_FILE=tests/config/local/providers.json
export OCM_OCM_INVITE_MANAGER_INSECURE=true
export OCM_OCM_SHARE_PROVIDER_INSECURE=true
export OCM_OCM_STORAGE_PROVIDER_INSECURE=true
export OC_BASE_DATA_PATH=${HOME}/.qsfera-10200
export OC_CONFIG_DIR=${HOME}/.qsfera-10200/config
export OC_EVENTS_ENDPOINT=127.0.0.1:10233
export OC_LDAP_URI=ldaps://localhost:10235
export OC_RUNTIME_PORT=10250
export OC_URL=https://localhost:10200
export OC_ADD_RUN_SERVICES=ocm
export OC_ENABLE_OCM=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_APP_DEBUG_ADDR=127.0.0.1:10245
export AUTH_APP_GRPC_ADDR=127.0.0.1:10246
export AUTH_APP_HTTP_ADDR=127.0.0.1:10247
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_HTTP_ADDR=127.0.0.1:10195
export ACTIVITYLOG_DEBUG_ADDR=127.0.0.1:10261
export EVENTHISTORY_GRPC_ADDR=127.0.0.1:10274
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 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 OCM_OCM_STORAGE_DATA_SERVER_URL=http://localhost:10280/data
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 SSE_HTTP_ADDR=127.0.0.1:10132
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 THUMBNAILS_DATA_ENDPOINT=http://127.0.0.1:10190/thumbnails/data
export USERLOG_HTTP_ADDR=127.0.0.1:10211
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 WEBFINGER_DEBUG_ADDR=127.0.0.1:10279
export WEBFINGER_HTTP_ADDR=127.0.0.1:10275
export OC_SERVICE_ACCOUNT_ID=serviceaccount
export OC_SERVICE_ACCOUNT_SECRET=serviceaccountsecret
export OC_DECOMPOSEDFS_PROPAGATOR=async
export STORAGE_USERS_ASYNC_PROPAGATOR_PROPAGATION_DELAY=10s
export TLS_INSECURE=true
export OC_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 OC_LOG_LEVEL=info
export OC_LOG_PRETTY=true
export OC_LOG_COLOR=true
export PROXY_ENABLE_BASIC_AUTH=true
export IDM_CREATE_DEMO_USERS=true
export OC_ADMIN_USER_ID=some-admin-user-id-0000-000000000000
export IDM_ADMIN_PASSWORD=admin
export OC_SYSTEM_USER_ID=some-system-user-id-000-000000000000
export OC_SYSTEM_USER_API_KEY=some-system-user-machine-auth-api-key
export OC_JWT_SECRET=some-qsfera-jwt-secret
export OC_MACHINE_AUTH_API_KEY=some-qsfera-machine-auth-api-key
export OC_TRANSFER_SECRET=some-qsfera-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
@@ -0,0 +1,31 @@
{
"server": "https://localhost:10200",
"theme": "https://localhost:10200/themes/qsfera/theme.json",
"version": "0.1.0",
"openIdConnect": {
"metadata_url": "https://localhost:10200/.well-known/openid-configuration",
"authority": "https://localhost:10200",
"client_id": "web",
"response_type": "code",
"scope": "openid profile email"
},
"options": {
"topCenterNotifications": true,
"displayResourcesLazy": false,
"sidebar": {
"shares": {
"showAllOnLoad": true
}
}
},
"apps": [
"files",
"ocm",
"text-editor",
"preview",
"pdf-viewer",
"search",
"admin-settings",
"app-store"
]
}
+46
View File
@@ -0,0 +1,46 @@
[
{
"name": "qsfera-server",
"full_name": "first-qsfera-instance",
"organization": "КуСфера",
"domain": "localhost:9200",
"homepage": "https://qsfera.eu",
"services": [
{
"endpoint": {
"type": {
"name": "OCM",
"description": "CERNBox Open Cloud Mesh API"
},
"name": "CERNBox - OCM API",
"path": "https://localhost:9200/ocm/",
"is_monitored": true
},
"api_version": "0.0.1",
"host": "localhost:9200"
}
]
},
{
"name": "federation-qsfera-server",
"full_name": "Federation qsfera",
"organization": "КуСфера",
"domain": "localhost:10200",
"homepage": "https://qsfera.eu",
"services": [
{
"endpoint": {
"type": {
"name": "OCM",
"description": "CERNBox Open Cloud Mesh API"
},
"name": "CERNBox - OCM API",
"path": "https://localhost:10200/ocm/",
"is_monitored": true
},
"api_version": "0.0.1",
"host": "localhost:10200"
}
]
}
]
+31
View File
@@ -0,0 +1,31 @@
{
"server": "https://localhost:9200",
"theme": "https://localhost:9200/themes/qsfera/theme.json",
"version": "0.1.0",
"openIdConnect": {
"metadata_url": "https://localhost:9200/.well-known/openid-configuration",
"authority": "https://localhost:9200",
"client_id": "web",
"response_type": "code",
"scope": "openid profile email"
},
"options": {
"topCenterNotifications": true,
"displayResourcesLazy": false,
"sidebar": {
"shares": {
"showAllOnLoad": true
}
}
},
"apps": [
"files",
"ocm",
"text-editor",
"preview",
"pdf-viewer",
"search",
"admin-settings",
"app-store"
]
}