diff --git a/ui/src/api/openapi.json b/ui/src/api/openapi.json index 3fe82c87..56e71656 100644 --- a/ui/src/api/openapi.json +++ b/ui/src/api/openapi.json @@ -2359,6 +2359,61 @@ } } }, + "/executions/{executionId}/processors/by-id/{processorId}/snapshot": { + "get": { + "tags": [ + "Detail" + ], + "summary": "Get exchange snapshot for a processor by processorId", + "operationId": "getProcessorSnapshotById", + "parameters": [ + { + "name": "executionId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "processorId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Snapshot data", + "content": { + "*/*": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + } + }, + "404": { + "description": "Snapshot not found", + "content": { + "*/*": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + } + } + } + } + }, "/diagrams": { "get": { "tags": [ @@ -4588,8 +4643,25 @@ "type": "integer", "format": "int64" }, - "diagramNodeId": { - "type": "string" + "loopIndex": { + "type": "integer", + "format": "int32" + }, + "loopSize": { + "type": "integer", + "format": "int32" + }, + "splitIndex": { + "type": "integer", + "format": "int32" + }, + "splitSize": { + "type": "integer", + "format": "int32" + }, + "multicastIndex": { + "type": "integer", + "format": "int32" }, "errorMessage": { "type": "string" @@ -4613,7 +4685,6 @@ "required": [ "attributes", "children", - "diagramNodeId", "durationMs", "endTime", "errorMessage", diff --git a/ui/src/api/schema.d.ts b/ui/src/api/schema.d.ts index 79389d45..43de9ef7 100644 --- a/ui/src/api/schema.d.ts +++ b/ui/src/api/schema.d.ts @@ -735,6 +735,23 @@ export interface paths { patch?: never; trace?: never; }; + "/executions/{executionId}/processors/by-id/{processorId}/snapshot": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** Get exchange snapshot for a processor by processorId */ + get: operations["getProcessorSnapshotById"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; "/diagrams": { parameters: { query?: never; @@ -1620,7 +1637,16 @@ export interface components { endTime: string; /** Format: int64 */ durationMs: number; - diagramNodeId: string; + /** Format: int32 */ + loopIndex?: number; + /** Format: int32 */ + loopSize?: number; + /** Format: int32 */ + splitIndex?: number; + /** Format: int32 */ + splitSize?: number; + /** Format: int32 */ + multicastIndex?: number; errorMessage: string; errorStackTrace: string; attributes: { @@ -3637,6 +3663,42 @@ export interface operations { }; }; }; + getProcessorSnapshotById: { + parameters: { + query?: never; + header?: never; + path: { + executionId: string; + processorId: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Snapshot data */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "*/*": { + [key: string]: string; + }; + }; + }; + /** @description Snapshot not found */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "*/*": { + [key: string]: string; + }; + }; + }; + }; + }; findByApplicationAndRoute: { parameters: { query: {