I am using Ocelot and API gateway with Consul and the service discovery. I am registering services in the Consul with dynamic names like : service.name.1234 and service.name.5678
This services are statful and not meant to be scaled at all
Since i am working with Ocelot i would like to be able to route a request to the desired service but since the names are dynamic i would need to use the query string parameter as the service name
Example : http://myapp.com/service/1234 Should be redirected to the container with the name service.name.1234
Is there any way to achive this using both products? or maybe other product?
Thank you