IAV-1243/feat(agent-service): async title generation, full working hours update, integration lifecycle & dead code removal
Summary
This MR improves the agent Spring microservice across four areas: conversation UX, scheduling, integration lifecycle management, and codebase hygiene.
Changes
✨ Async conversation title generation
- On the first message of a conversation, the title is now generated asynchronously by calling the Prompt Processing Microservice.
- Keeps the initial response fast while the title is resolved in the background.
🕐 Full working hours update
-
updateWorkingHoursByAgentnow correctly sets all fields of the working hours entity instead of partial updates.
🔌 Agent integration connect / disconnect
- Added
connectAgentIntegrationanddisconnectAgentIntegrationmethods. - Both call the Orchestration Microservice via
MCRestTemplateServiceto manage the integration lifecycle.
🧹 Dead code removal
- Removed deprecated methods, unused DTOs, and obsolete constants to reduce noise and technical debt.
Testing
-
Conversation title is generated asynchronously after first message -
All working hours fields are persisted correctly on update -
connectAgentIntegrationanddisconnectAgentIntegrationcall orchestration service as expected -
No regressions from removed code