I have created Azure service fabric application with several stateless and stateful services. All my statefull services are accessible via a Web Api stateless service. Now I have added Ocelot API gateway to another stateless web api service and I want to access all my services from that gateway only. Now when I am trying to access the services from my API gateway service, it gives me 404.
Ocelot configurtion
{
"ReRoutes": [
{
"DownstreamPathTemplate": "/api/product/seed",
"DownstreamScheme": "http",
"UpstreamPathTemplate": "/api/product/randomize",
"UpstreamHttpMethod": [ "Get" ],
"DownstreamHostAndPorts": [
{
"Host": "http://localhost:8314"
}
],
"QoSOptions": {
"TimeoutValue": 360000
}
}
],
"GlobalConfiguration": {
"BaseUrl": "http://localhost:8445"
}
}
What I am missing here?