B5: Config route serviceName trong gateway
"Routes": [
{
"DownstreamPathTemplate": "/category/{everything}",
"DownstreamScheme": "http",
"SwaggerKey": "systemservice",
"UseServiceDiscovery": true,
"DownstreamHostAndPorts": [
{
"Host": "systemservice",
"Port": "8080"
}
],
"UpstreamPathTemplate": "/category/{everything}",
"UpstreamHttpMethod": [ "GET", "POST", "PUT", "DELETE" ],
"LoadBalancerOptions": {
"Type": "LeastConnection"
}
}
]