Cluster M from the structural analysis: bean-validation of the assembled FlowCreateRequest plus FlowExecutionValidator's structural/execution checks (dangling connections, unconnected BranchRejoin inputs, global- input mismatches, container subflow rules). - New AssistantFlowValidation holds validate/toFallbackError - validator and flowExecutionValidator now passed as explicit parameters 1341 -> 1081 -> 1046 lines. 3350 -> 1046 total (-2304, ~69%). Behavior-preserving: pure extraction, no logic changes. This closes out the batch of medium/low-risk cluster extractions from FlowAssistantService. What remains in the file is the entry-point/ retry-loop orchestration (generateFlow, draft/refine/fix/explain), assembleFlow/assembleContainer (the central assembler - intentionally left alone, flagged in the original analysis as near-duplicated with subtle behavioral divergences, risky to touch), and the MDC request- scoped logging plumbing (an ownership invariant, left untouched). Verified with `mvn test`: 462 tests, 0 failures, 0 errors. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .mvn/wrapper | ||
| src | ||
| .gitattributes | ||
| .gitignore | ||
| Dockerfile | ||
| mvnw | ||
| mvnw.cmd | ||
| ollama-preloaded-docker | ||
| pom.xml | ||
| run_service.sh | ||