feat: configure support service routing and gateway security
Overview
This Merge Request configures the API Gateway to support the new AI Support microservice, enabling routing and security for the chatbot and notification features.
Key Changes
Routing Configuration
-
Support Service Routes: Added route definitions in
application.ymlfor/api/support/**to redirect traffic to thedarvest-support-service. -
BFF Integration: Updated
GatewayConfig.javato ensure compatibility and correct header propagation for support-specific requests.
Security & Access Control
-
Public Access: Configured security bypass for the assistant endpoints (
/api/support/chatbot/**) to allow interaction for anonymous users/visitors. - Service Security: Maintained strict JWT verification for administrative and notification-heavy endpoints.
Technical Details
-
Sync with Common: Verified compatibility with
darvest-common:0.0.19-RELEASE. - Isolation: Changes are strictly limited to the support domain; no impact on existing Wallet or Auth routing logic or other.
Verification
- Verified route mapping via local testing.
- Confirmed that the Gateway correctly handles cross-origin requests for the new support components.