From 8887545de04f826db99eb377a9c940e1859f8600 Mon Sep 17 00:00:00 2001 From: Imre Toth <imre.toth@ess.eu> Date: Mon, 15 Jul 2024 09:32:55 +0200 Subject: [PATCH] CE-2895: Update API json file --- src/mocks/fixtures/ccce-api.json | 121 +------------------------------ 1 file changed, 1 insertion(+), 120 deletions(-) diff --git a/src/mocks/fixtures/ccce-api.json b/src/mocks/fixtures/ccce-api.json index c93169d9..d0ec99b4 100644 --- a/src/mocks/fixtures/ccce-api.json +++ b/src/mocks/fixtures/ccce-api.json @@ -3,7 +3,7 @@ "info": { "title": "CE deploy & monitor API", "description": "CE deploy & monitor backend", - "version": "2.0.0" + "version": "2.1.0" }, "servers": [ { @@ -24,9 +24,6 @@ { "name": "Authentication" }, - { - "name": "AWX" - }, { "name": "Records" }, @@ -683,70 +680,6 @@ ] } }, - "/api/v1/awx/jobs": { - "post": { - "tags": ["AWX"], - "summary": "Update an AWX job's status", - "operationId": "updateJob", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AwxJobMeta" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "Job updated", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GeneralException" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GeneralException" - } - } - } - }, - "404": { - "description": "Job not found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GeneralException" - } - } - } - }, - "500": { - "description": "Service exception", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GeneralException" - } - } - } - } - }, - "security": [ - { - "apiKey": [] - } - ] - } - }, "/api/v1/authentication/renew": { "post": { "tags": ["Authentication"], @@ -1361,24 +1294,6 @@ ] } }, - "/healthcheck": { - "get": { - "tags": ["health-check-controller"], - "operationId": "getHealthCheck", - "responses": { - "200": { - "description": "OK", - "content": { - "*/*": { - "schema": { - "type": "string" - } - } - } - } - } - } - }, "/api/v1/statistics/general/{statistics_type}": { "get": { "tags": ["Statistics"], @@ -3735,40 +3650,6 @@ } } }, - "AwxJobMeta": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "started": { - "type": "string", - "format": "date-time" - }, - "finished": { - "type": "string", - "format": "date-time" - }, - "status": { - "type": "string", - "enum": [ - "UNKNOWN", - "CREATED", - "QUEUED_BY_BACKEND", - "new", - "pending", - "waiting", - "running", - "failed", - "canceled", - "error", - "successful" - ] - } - }, - "description": "Job to update" - }, "LoginResponse": { "type": "object", "properties": { -- GitLab