I am using Spring Cloud Gateway(Spring Boot 2.7.X) to route/POST request to different external endpoints for configured customers. The routes are configured in application yml.
With more and more customers getting added, defining all ‘routes’ (plus filters, headers etc) is causing the application yml file to grow and hard to maintain/read (also prone to mix ups).
Tried few approaches like Spring profile include / Spring config import, but so far unable to successfully configure (with possible conflict in routes).
Appreciate any suggestions/thoughts?