I’m trying out the virtual endpoints feature and having some difficulty to figure out how to configure the URL pattern matching properly.
I wanted to have two virtual endpoints: “GET /books” (to get a collection of books) and “GET /books/{id}” (to get a single book), both call two micro-services to fetch book information (book services) as well as supplementary information (cross-module meta data services), and the virtual endpoints aggregate results.
In my testing, requests like “GET /books/123” were routed to “GET /books” always, despite that I had specified the URL patterns clearly.
Any idea?
Thanks.