Skip to content

Commit 4eb73f8

Browse files
Fixed bug in configuration.json for Ocelot API Gateways. ReRoutes for the Marketing microservices shound't be present in the configuration.json for the Shopping API Gateways, only for the Marketing API Gateways.
1 parent c38d576 commit 4eb73f8

2 files changed

Lines changed: 0 additions & 48 deletions

File tree

src/ApiGateways/Mobile.Bff.Shopping/apigw/configuration.json

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -96,18 +96,6 @@
9696
"UpstreamPathTemplate": "/catalog-api/{everything}",
9797
"UpstreamHttpMethod": []
9898
},
99-
{
100-
"DownstreamPathTemplate": "/{everything}",
101-
"DownstreamScheme": "http",
102-
"DownstreamHostAndPorts": [
103-
{
104-
"Host": "marketing.api",
105-
"Port": 80
106-
}
107-
],
108-
"UpstreamPathTemplate": "/marketing-api/{everything}",
109-
"UpstreamHttpMethod": []
110-
},
11199
{
112100
"DownstreamPathTemplate": "/{everything}",
113101
"DownstreamScheme": "http",
@@ -119,18 +107,6 @@
119107
],
120108
"UpstreamPathTemplate": "/payment-api/{everything}",
121109
"UpstreamHttpMethod": []
122-
},
123-
{
124-
"DownstreamPathTemplate": "/{everything}",
125-
"DownstreamScheme": "http",
126-
"DownstreamHostAndPorts": [
127-
{
128-
"Host": "locations.api",
129-
"Port": 80
130-
}
131-
],
132-
"UpstreamPathTemplate": "/location-api/{everything}",
133-
"UpstreamHttpMethod": []
134110
}
135111

136112
],

src/ApiGateways/Web.Bff.Shopping/apigw/configuration.json

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -96,18 +96,6 @@
9696
"UpstreamPathTemplate": "/catalog-api/{everything}",
9797
"UpstreamHttpMethod": []
9898
},
99-
{
100-
"DownstreamPathTemplate": "/{everything}",
101-
"DownstreamScheme": "http",
102-
"DownstreamHostAndPorts": [
103-
{
104-
"Host": "marketing.api",
105-
"Port": 80
106-
}
107-
],
108-
"UpstreamPathTemplate": "/marketing-api/{everything}",
109-
"UpstreamHttpMethod": []
110-
},
11199
{
112100
"DownstreamPathTemplate": "/{everything}",
113101
"DownstreamScheme": "http",
@@ -119,18 +107,6 @@
119107
],
120108
"UpstreamPathTemplate": "/payment-api/{everything}",
121109
"UpstreamHttpMethod": []
122-
},
123-
{
124-
"DownstreamPathTemplate": "/{everything}",
125-
"DownstreamScheme": "http",
126-
"DownstreamHostAndPorts": [
127-
{
128-
"Host": "locations.api",
129-
"Port": 80
130-
}
131-
],
132-
"UpstreamPathTemplate": "/location-api/{everything}",
133-
"UpstreamHttpMethod": []
134110
}
135111

136112
],

0 commit comments

Comments
 (0)