Skip to content

IAV-1243/feat(agent-service): async title generation, full working hours update, integration lifecycle & dead code removal

salaheddine zidani a demandé de fusionner feature/IAV-1243 vers develop

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

  • updateWorkingHoursByAgent now correctly sets all fields of the working hours entity instead of partial updates.

🔌 Agent integration connect / disconnect

  • Added connectAgentIntegration and disconnectAgentIntegration methods.
  • Both call the Orchestration Microservice via MCRestTemplateService to 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
  • connectAgentIntegration and disconnectAgentIntegration call orchestration service as expected
  • No regressions from removed code

Rapports de requête de fusion