рабочий вариант, но скороть 10 МБит
build / backend (push) Has been cancelled
build / node-agent (push) Has been cancelled
build / worker (push) Has been cancelled

This commit is contained in:
2026-05-22 21:46:49 +03:00
parent 469fa0e860
commit 20d361a886
280 changed files with 954890 additions and 18524 deletions
@@ -18,9 +18,9 @@ func TestProjectAdminRuntimeReturnsReadOnlyManifest(t *testing.T) {
req := httptest.NewRequest(http.MethodPost, "/clusters/cluster-1/nodes/node-1/admin-runtime/projection", bytes.NewReader([]byte(`{
"schema_version":"rap.web_ingress.control_api_projection_request.v1",
"method":"GET",
"path":"/platform-admin/ui-manifest",
"path":"/admin/ui-manifest",
"scope":"platform",
"service_class":"platform_admin"
"service_class":"admin-ingress"
}`)))
rec := httptest.NewRecorder()
@@ -72,9 +72,9 @@ func TestProjectAdminRuntimeRejectsMutations(t *testing.T) {
req := httptest.NewRequest(http.MethodPost, "/clusters/cluster-1/nodes/node-1/admin-runtime/projection", bytes.NewReader([]byte(`{
"schema_version":"rap.web_ingress.control_api_projection_request.v1",
"method":"POST",
"path":"/platform-admin/nodes",
"path":"/admin/nodes",
"scope":"platform",
"service_class":"platform_admin"
"service_class":"admin-ingress"
}`)))
rec := httptest.NewRecorder()
@@ -106,7 +106,7 @@ func TestProjectAdminRuntimeReturnsHealthProjection(t *testing.T) {
"method":"GET",
"path":"/readyz",
"scope":"platform",
"service_class":"platform_admin"
"service_class":"admin-ingress"
}`)))
rec := httptest.NewRecorder()
@@ -147,9 +147,9 @@ func TestProjectAdminRuntimeBlocksUnknownReadProjection(t *testing.T) {
req := httptest.NewRequest(http.MethodPost, "/clusters/cluster-1/nodes/node-1/admin-runtime/projection", bytes.NewReader([]byte(`{
"schema_version":"rap.web_ingress.control_api_projection_request.v1",
"method":"GET",
"path":"/platform-admin/nodes",
"path":"/admin/nodes",
"scope":"platform",
"service_class":"platform_admin"
"service_class":"admin-ingress"
}`)))
rec := httptest.NewRecorder()
@@ -181,9 +181,9 @@ func TestProjectAdminRuntimeRejectsScopeClassMismatch(t *testing.T) {
req := httptest.NewRequest(http.MethodPost, "/clusters/cluster-1/nodes/node-1/admin-runtime/projection", bytes.NewReader([]byte(`{
"schema_version":"rap.web_ingress.control_api_projection_request.v1",
"method":"GET",
"path":"/platform-admin/ui-manifest",
"path":"/admin/ui-manifest",
"scope":"organization",
"service_class":"platform_admin"
"service_class":"admin-ingress"
}`)))
rec := httptest.NewRecorder()
@@ -217,7 +217,7 @@ func TestProjectAdminRuntimeRejectsInvalidSchema(t *testing.T) {
"method":"GET",
"path":"/readyz",
"scope":"platform",
"service_class":"platform_admin"
"service_class":"admin-ingress"
}`)))
rec := httptest.NewRecorder()