feat(gateway): add document analysis agent service route - Add...
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-urlconfiguration property inGatewayConfig - Created new route
agent-service-document-analysis-routefor/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