7 changed files with 137 additions and 23 deletions
@ -0,0 +1,100 @@ |
|||
{ |
|||
"ReverseProxy": { |
|||
"Routes": { |
|||
"Account Service": { |
|||
"ClusterId": "accountCluster", |
|||
"Match": { |
|||
"Path": "/api/account/{**everything}" |
|||
} |
|||
}, |
|||
"Administration Service": { |
|||
"ClusterId": "administrationCluster", |
|||
"Match": { |
|||
"Path": "/api/abp/{**everything}" |
|||
} |
|||
}, |
|||
"Catalog Service": { |
|||
"ClusterId": "catalogCluster", |
|||
"Match": { |
|||
"Path": "/api/catalog/{**everything}" |
|||
} |
|||
}, |
|||
"Basket Service": { |
|||
"ClusterId": "basketCluster", |
|||
"Match": { |
|||
"Path": "/api/basket/{**everything}" |
|||
} |
|||
}, |
|||
"Ordering Service": { |
|||
"ClusterId": "orderingCluster", |
|||
"Match": { |
|||
"Path": "/api/ordering/{**everything}" |
|||
} |
|||
}, |
|||
"Payment Service": { |
|||
"ClusterId": "paymentCluster", |
|||
"Match": { |
|||
"Path": "/api/payment/{**everything}" |
|||
} |
|||
}, |
|||
"product-picture-route": { |
|||
"ClusterId": "productPictureCluster", |
|||
"Match": { |
|||
"Path": "/product-images/{**everything}", |
|||
"Methods" : [ "GET" ] |
|||
} |
|||
} |
|||
}, |
|||
"Clusters": { |
|||
"accountCluster": { |
|||
"Destinations": { |
|||
"destination1": { |
|||
"Address": "http://eshop-st-authserver" |
|||
} |
|||
} |
|||
}, |
|||
"administrationCluster": { |
|||
"Destinations": { |
|||
"destination1": { |
|||
"Address": "http://eshop-st-administration" |
|||
} |
|||
} |
|||
}, |
|||
"catalogCluster": { |
|||
"Destinations": { |
|||
"destination1": { |
|||
"Address": "http://eshop-st-catalog" |
|||
} |
|||
} |
|||
}, |
|||
"basketCluster": { |
|||
"Destinations": { |
|||
"destination1": { |
|||
"Address": "http://eshop-st-basket" |
|||
} |
|||
} |
|||
}, |
|||
"orderingCluster": { |
|||
"Destinations": { |
|||
"destination1": { |
|||
"Address": "http://eshop-st-ordering" |
|||
} |
|||
} |
|||
}, |
|||
"paymentCluster": { |
|||
"Destinations": { |
|||
"destination1": { |
|||
"Address": "http://eshop-st-payment" |
|||
} |
|||
} |
|||
}, |
|||
"productPictureCluster": { |
|||
"Destinations": { |
|||
"destination1": { |
|||
"Address": "http://eshop-st-catalog" |
|||
} |
|||
} |
|||
} |
|||
} |
|||
} |
|||
} |
|||
@ -1,2 +1,18 @@ |
|||
{ |
|||
"Kestrel": { |
|||
"Endpoints": { |
|||
"Http": { |
|||
"Url": "http://localhost:5000", |
|||
"Protocols": "Http1AndHttp2" |
|||
}, |
|||
"Https": { |
|||
"Url": "https://localhost:44354", |
|||
"Protocols": "Http1AndHttp2" |
|||
}, |
|||
"gRPC": { |
|||
"Url": "http://localhost:81", |
|||
"Protocols": "Http2" |
|||
} |
|||
} |
|||
} |
|||
} |
|||
|
|||
@ -1,2 +0,0 @@ |
|||
{ |
|||
} |
|||
Loading…
Reference in new issue