feat: update OpenAPI spec and TypeScript types for execution overlay
Add iteration fields (loopIndex, loopSize, splitIndex, splitSize,
multicastIndex) to ProcessorNode schema. Add new endpoint path
/executions/{executionId}/processors/by-id/{processorId}/snapshot.
Remove stale diagramNodeId field that was dropped in V6 migration.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -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": {
|
"/diagrams": {
|
||||||
"get": {
|
"get": {
|
||||||
"tags": [
|
"tags": [
|
||||||
@@ -4588,8 +4643,25 @@
|
|||||||
"type": "integer",
|
"type": "integer",
|
||||||
"format": "int64"
|
"format": "int64"
|
||||||
},
|
},
|
||||||
"diagramNodeId": {
|
"loopIndex": {
|
||||||
"type": "string"
|
"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": {
|
"errorMessage": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
@@ -4613,7 +4685,6 @@
|
|||||||
"required": [
|
"required": [
|
||||||
"attributes",
|
"attributes",
|
||||||
"children",
|
"children",
|
||||||
"diagramNodeId",
|
|
||||||
"durationMs",
|
"durationMs",
|
||||||
"endTime",
|
"endTime",
|
||||||
"errorMessage",
|
"errorMessage",
|
||||||
|
|||||||
64
ui/src/api/schema.d.ts
vendored
64
ui/src/api/schema.d.ts
vendored
@@ -735,6 +735,23 @@ export interface paths {
|
|||||||
patch?: never;
|
patch?: never;
|
||||||
trace?: 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": {
|
"/diagrams": {
|
||||||
parameters: {
|
parameters: {
|
||||||
query?: never;
|
query?: never;
|
||||||
@@ -1620,7 +1637,16 @@ export interface components {
|
|||||||
endTime: string;
|
endTime: string;
|
||||||
/** Format: int64 */
|
/** Format: int64 */
|
||||||
durationMs: number;
|
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;
|
errorMessage: string;
|
||||||
errorStackTrace: string;
|
errorStackTrace: string;
|
||||||
attributes: {
|
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: {
|
findByApplicationAndRoute: {
|
||||||
parameters: {
|
parameters: {
|
||||||
query: {
|
query: {
|
||||||
|
|||||||
Reference in New Issue
Block a user