feat(job-registry): remplace /api/admin/internal/trigger-*

remplace /api/admin/internal/trigger-* to /api/admin/jobs/{...}/trigger
remove OXICLOUD_ENABLE_ADMIN_INTERNAL_ENDPOINTS
This commit is contained in:
Edouard Vanbelle
2026-07-27 23:40:40 +02:00
parent dfedde54a4
commit f66f7fa31f
24 changed files with 155 additions and 464 deletions
-13
View File
@@ -72,19 +72,6 @@ OXICLOUD_SERVER_HOST=127.0.0.1
# higher = less background DB work. Minimum enforced: 30s.
#OXICLOUD_STORAGE_USAGE_RECONCILE_SECS=600
# Test-only sweep triggers under /api/admin/internal/*.
# When true, exposes:
# POST /api/admin/internal/trigger-sweep — run the storage-usage
# reconciliation synchronously
# POST /api/admin/internal/trigger-gc — run the blob garbage collector
# synchronously
# Used by the Hurl / integration suites to assert post-delete quota
# convergence without waiting out the periodic ticker (default 600 s).
# These endpoints short-circuit operator-visible background cadence, so
# leave OFF in production — when disabled, the routes return 404 even
# to an admin token. Default: false.
#OXICLOUD_ENABLE_ADMIN_INTERNAL_ENDPOINTS=false
# Native WebDAV URL segment that returns the drive listing. Sanitized
# by trimming leading/trailing `/` so `/@drive/`, `@drive`, and
# `@drive/` are equivalent. Three deployment modes: