Browse Source

Renamed services and clusters

pull/222/head
Galip Tolga Erdem 3 years ago
parent
commit
6a39f59b03
  1. 49
      gateways/web-public/src/EShopOnAbp.WebPublicGateway/yarp.json

49
gateways/web-public/src/EShopOnAbp.WebPublicGateway/yarp.json

@ -23,19 +23,19 @@
] ]
}, },
"FeatureManagement": { "FeatureManagement": {
"ClusterId": "feature-management-cluster", "ClusterId": "administrationCluster",
"Match": { "Match": {
"Path": "/api/feature-management/{**everything}" "Path": "/api/feature-management/{**everything}"
} }
}, },
"PermissionManagement": { "PermissionManagement": {
"ClusterId": "permission-management-cluster", "ClusterId": "administrationCluster",
"Match": { "Match": {
"Path": "/api/permission-management/{**everything}" "Path": "/api/permission-management/{**everything}"
} }
}, },
"SettingManagement": { "SettingManagement": {
"ClusterId": "setting-management-cluster", "ClusterId": "administrationCluster",
"Match": { "Match": {
"Path": "/api/setting-management/{**everything}" "Path": "/api/setting-management/{**everything}"
} }
@ -64,8 +64,8 @@
{ "PathRemovePrefix": "/swagger-json/Catalog" } { "PathRemovePrefix": "/swagger-json/Catalog" }
] ]
}, },
"product-picture-route": { "ProductPictures": {
"ClusterId": "productPictureCluster", "ClusterId": "catalogCluster",
"Match": { "Match": {
"Path": "/product-images/{**everything}", "Path": "/product-images/{**everything}",
"Methods": [ "GET" ] "Methods": [ "GET" ]
@ -77,6 +77,15 @@
"Path": "/api/basket/{**everything}" "Path": "/api/basket/{**everything}"
} }
}, },
"Basket Service Swagger": {
"ClusterId": "basketCluster",
"Match": {
"Path": "/swagger-json/Basket/swagger/v1/swagger.json"
},
"Transforms": [
{ "PathRemovePrefix": "/swagger-json/Basket" }
]
},
"Ordering Service": { "Ordering Service": {
"ClusterId": "orderingCluster", "ClusterId": "orderingCluster",
"Match": { "Match": {
@ -112,6 +121,15 @@
"Match": { "Match": {
"Path": "/api/payment/{**everything}" "Path": "/api/payment/{**everything}"
} }
},
"Payment Service Swagger": {
"ClusterId": "paymentCluster",
"Match": {
"Path": "/swagger-json/Payment/swagger/v1/swagger.json"
},
"Transforms": [
{ "PathRemovePrefix": "/swagger-json/Payment" }
]
} }
}, },
"Clusters": { "Clusters": {
@ -129,20 +147,6 @@
} }
} }
}, },
"permission-management-cluster": {
"Destinations": {
"destination1": {
"Address": "https://localhost:44353"
}
}
},
"setting-management-cluster": {
"Destinations": {
"destination1": {
"Address": "https://localhost:44353"
}
}
},
"catalogCluster": { "catalogCluster": {
"Destinations": { "Destinations": {
"destination1": { "destination1": {
@ -171,13 +175,6 @@
} }
} }
}, },
"productPictureCluster": {
"Destinations": {
"destination1": {
"Address": "https://localhost:44354"
}
}
},
"paymentCluster": { "paymentCluster": {
"Destinations": { "Destinations": {
"destination1": { "destination1": {

Loading…
Cancel
Save