Skip to content

feat(gateway): add document analysis agent service route - Add...

zakariae yahya a demandé de fusionner feat/add-document-analysis-service-route vers develop

Add Document Analysis Agent Service to API Gateway

Description :

Summary

This MR adds the Document Analysis Agent service integration to the API Gateway, enabling routing of document analysis requests to the dedicated microservice.

Changes

  • Added agent-service-document-analysis-url configuration property in GatewayConfig
  • Created new route agent-service-document-analysis-route for /api/document-analysis/** endpoints
  • Implemented circuit breaker protection for the document analysis service
  • Added logging for document analysis service URL configuration
  • Updated CHANGELOG.md with version 0.0.5-RELEASE

Configuration Required

Add the following property to your configuration:
agent-service-document-analysis-url=http://localhost:8001

Test Plan

  • Verify gateway starts successfully with the new route
  • Test that requests to /api/document-analysis/** are properly routed
  • Verify circuit breaker functionality
  • Check logs for proper service URL configuration

Rapports de requête de fusion