| | |
| | | |
| | | /** 打开实时 SSE;连接初次发送当前事实,后续只推送最新快照。 */ |
| | | SseEmitter stream(Long testId); |
| | | record LiveState(Long testId, String testStatus, String receptionStatus, Instant updatedAt, |
| | | record LiveState(Long testId, String testStatus, String receptionStatus, long updatedAt, |
| | | List<LiveSource> sources, List<Map<String, Object>> exceptions, TestPlanSnapshot testPlan) |
| | | { |
| | | public LiveState(Long testId, String testStatus, String receptionStatus, Instant updatedAt, |
| | | List<LiveSource> sources, List<Map<String, Object>> exceptions) |
| | | { this(testId, testStatus, receptionStatus, updatedAt, sources, exceptions, null); } |
| | | { this(testId, testStatus, receptionStatus, updatedAt.toEpochMilli(), sources, exceptions, null); } |
| | | } |
| | | record TestPlanSnapshot(int currentCycleNo, int currentStepNo, int plannedCycleCount, |
| | | List<TestPlanRow> rows) { } |