diff --git a/ds-wms-service/DS.WMS.Gateway/ocelot.json b/ds-wms-service/DS.WMS.Gateway/ocelot.json index c98f2f46..9117cd3b 100644 --- a/ds-wms-service/DS.WMS.Gateway/ocelot.json +++ b/ds-wms-service/DS.WMS.Gateway/ocelot.json @@ -165,6 +165,23 @@ "LoadBalancerOptions": { "Type": "RoundRobin" } + }, + { + "DownstreamPathTemplate": "/LinkAttach/{url}", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 3000 + } + ], + "UpstreamPathTemplate": "/LinkAttach/{url}", + "UpstreamHttpMethod": [ "Get" ], + "FileCacheOptions": { + "TtlSeconds": 3600 + }, + "ReRouteIsCaseSensitive": false, + "UseServiceDiscovery": false } ], "GlobalConfiguration": {