4 changed files with 286 additions and 101 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://app-authserver" |
|||
} |
|||
} |
|||
}, |
|||
"administrationCluster": { |
|||
"Destinations": { |
|||
"destination1": { |
|||
"Address": "http://administration-service" |
|||
} |
|||
} |
|||
}, |
|||
"catalogCluster": { |
|||
"Destinations": { |
|||
"destination1": { |
|||
"Address": "http://catalog-service" |
|||
} |
|||
} |
|||
}, |
|||
"basketCluster": { |
|||
"Destinations": { |
|||
"destination1": { |
|||
"Address": "http://basket-service" |
|||
} |
|||
} |
|||
}, |
|||
"orderingCluster": { |
|||
"Destinations": { |
|||
"destination1": { |
|||
"Address": "http://ordering-service" |
|||
} |
|||
} |
|||
}, |
|||
"paymentCluster": { |
|||
"Destinations": { |
|||
"destination1": { |
|||
"Address": "http://payment-service" |
|||
} |
|||
} |
|||
}, |
|||
"productPictureCluster": { |
|||
"Destinations": { |
|||
"destination1": { |
|||
"Address": "http://catalog-service" |
|||
} |
|||
} |
|||
} |
|||
} |
|||
} |
|||
} |
|||
@ -1,3 +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": "https://localhost:44330" |
|||
} |
|||
} |
|||
}, |
|||
"administrationCluster": { |
|||
"Destinations": { |
|||
"destination1": { |
|||
"Address": "http://localhost:44353" |
|||
} |
|||
} |
|||
}, |
|||
"catalogCluster": { |
|||
"Destinations": { |
|||
"destination1": { |
|||
"Address": "https://localhost:44354" |
|||
} |
|||
} |
|||
}, |
|||
"basketCluster": { |
|||
"Destinations": { |
|||
"destination1": { |
|||
"Address": "https://localhost:44355" |
|||
} |
|||
} |
|||
}, |
|||
"orderingCluster": { |
|||
"Destinations": { |
|||
"destination1": { |
|||
"Address": "https://localhost:44356" |
|||
} |
|||
} |
|||
}, |
|||
"paymentCluster": { |
|||
"Destinations": { |
|||
"destination1": { |
|||
"Address": "https://localhost:44357" |
|||
} |
|||
} |
|||
}, |
|||
"productPictureCluster": { |
|||
"Destinations": { |
|||
"destination1": { |
|||
"Address": "https://localhost:44354" |
|||
} |
|||
} |
|||
} |
|||
} |
|||
} |
|||
} |
|||
|
|||
@ -0,0 +1,86 @@ |
|||
{ |
|||
"ReverseProxy": { |
|||
"Routes": { |
|||
"Account Service": { |
|||
"ClusterId": "accountCluster", |
|||
"Match": { |
|||
"Path": "/api/account/{**everything}" |
|||
} |
|||
}, |
|||
"Identity Service": { |
|||
"ClusterId": "identityCluster", |
|||
"Match": { |
|||
"Path": "/api/identity/{**everything}" |
|||
} |
|||
}, |
|||
"Administration Service": { |
|||
"ClusterId": "administrationCluster", |
|||
"Match": { |
|||
"Path": "/api/abp/{**everything}" |
|||
} |
|||
}, |
|||
"feature-management-route": { |
|||
"ClusterId": "featureManagementCluster", |
|||
"Match": { |
|||
"Path": "/api/feature-management/{**everything}" |
|||
} |
|||
}, |
|||
"permission-management-route": { |
|||
"ClusterId": "permissionManagementCluster", |
|||
"Match": { |
|||
"Path": "/api/permission-management/{**everything}" |
|||
} |
|||
}, |
|||
"setting-management-route": { |
|||
"ClusterId": "settingManagementCluster", |
|||
"Match": { |
|||
"Path": "/api/setting-management/{**everything}" |
|||
} |
|||
} |
|||
}, |
|||
"Clusters": { |
|||
"accountCluster": { |
|||
"Destinations": { |
|||
"destination1": { |
|||
"Address": "http://app-authserver" |
|||
} |
|||
} |
|||
}, |
|||
"identityCluster": { |
|||
"Destinations": { |
|||
"destination1": { |
|||
"Address": "http://identity-service" |
|||
} |
|||
} |
|||
}, |
|||
"administrationCluster": { |
|||
"Destinations": { |
|||
"destination1": { |
|||
"Address": "http://administration-service" |
|||
} |
|||
} |
|||
}, |
|||
"featureManagementCluster": { |
|||
"Destinations": { |
|||
"destination1": { |
|||
"Address": "http://administration-service" |
|||
} |
|||
} |
|||
}, |
|||
"permissionManagementCluster": { |
|||
"Destinations": { |
|||
"destination1": { |
|||
"Address": "http://administration-service" |
|||
} |
|||
} |
|||
}, |
|||
"settingManagementCluster": { |
|||
"Destinations": { |
|||
"destination1": { |
|||
"Address": "http://administration-service" |
|||
} |
|||
} |
|||
} |
|||
} |
|||
} |
|||
} |
|||
Loading…
Reference in new issue