|
|
|
@ -1,29 +1,68 @@ |
|
|
|
{ |
|
|
|
"ReverseProxy": { |
|
|
|
"Routes": { |
|
|
|
"Account Service": { |
|
|
|
"ClusterId": "accountCluster", |
|
|
|
"AbpApi": { |
|
|
|
"ClusterId": "administrationCluster", |
|
|
|
"Match": { |
|
|
|
"Path": "/api/account/{**everything}" |
|
|
|
"Path": "/api/abp/{**catch-all}" |
|
|
|
} |
|
|
|
}, |
|
|
|
"Administration Service": { |
|
|
|
"ClusterId": "administrationCluster", |
|
|
|
"Identity Service": { |
|
|
|
"ClusterId": "identityCluster", |
|
|
|
"Match": { |
|
|
|
"Path": "/api/identity/{**everything}" |
|
|
|
} |
|
|
|
}, |
|
|
|
"Identity Service Swagger": { |
|
|
|
"ClusterId": "identityCluster", |
|
|
|
"Match": { |
|
|
|
"Path": "/swagger-json/Identity/swagger/v1/swagger.json" |
|
|
|
}, |
|
|
|
"Transforms": [ |
|
|
|
{ "PathRemovePrefix": "/swagger-json/Identity" } |
|
|
|
] |
|
|
|
}, |
|
|
|
"FeatureManagement": { |
|
|
|
"ClusterId": "feature-management-cluster", |
|
|
|
"Match": { |
|
|
|
"Path": "/api/feature-management/{**everything}" |
|
|
|
} |
|
|
|
}, |
|
|
|
"PermissionManagement": { |
|
|
|
"ClusterId": "permission-management-cluster", |
|
|
|
"Match": { |
|
|
|
"Path": "/api/abp/{**everything}" |
|
|
|
"Path": "/api/permission-management/{**everything}" |
|
|
|
} |
|
|
|
}, |
|
|
|
"SettingManagement": { |
|
|
|
"ClusterId": "setting-management-cluster", |
|
|
|
"Match": { |
|
|
|
"Path": "/api/setting-management/{**everything}" |
|
|
|
} |
|
|
|
}, |
|
|
|
"Administration Service Swagger": { |
|
|
|
"ClusterId": "administrationCluster", |
|
|
|
"Match": { |
|
|
|
"Path": "/swagger-json/Administration/swagger/v1/swagger.json" |
|
|
|
}, |
|
|
|
"Transforms": [ |
|
|
|
{ "PathRemovePrefix": "/swagger-json/Administration" } |
|
|
|
] |
|
|
|
}, |
|
|
|
"Catalog Service": { |
|
|
|
"ClusterId": "catalogCluster", |
|
|
|
"Match": { |
|
|
|
"Path": "/api/catalog/{**everything}" |
|
|
|
} |
|
|
|
}, |
|
|
|
"Basket Service": { |
|
|
|
"ClusterId": "basketCluster", |
|
|
|
"Catalog Service Swagger": { |
|
|
|
"ClusterId": "catalogCluster", |
|
|
|
"Match": { |
|
|
|
"Path": "/api/basket/{**everything}" |
|
|
|
} |
|
|
|
"Path": "/swagger-json/Catalog/swagger/v1/swagger.json" |
|
|
|
}, |
|
|
|
"Transforms": [ |
|
|
|
{ "PathRemovePrefix": "/swagger-json/Catalog" } |
|
|
|
] |
|
|
|
}, |
|
|
|
"Ordering Service": { |
|
|
|
"ClusterId": "orderingCluster", |
|
|
|
@ -31,11 +70,14 @@ |
|
|
|
"Path": "/api/ordering/{**everything}" |
|
|
|
} |
|
|
|
}, |
|
|
|
"Payment Service": { |
|
|
|
"ClusterId": "paymentCluster", |
|
|
|
"Ordering Service Swagger": { |
|
|
|
"ClusterId": "orderingCluster", |
|
|
|
"Match": { |
|
|
|
"Path": "/api/payment/{**everything}" |
|
|
|
} |
|
|
|
"Path": "/swagger-json/Ordering/swagger/v1/swagger.json" |
|
|
|
}, |
|
|
|
"Transforms": [ |
|
|
|
{ "PathRemovePrefix": "/swagger-json/Ordering" } |
|
|
|
] |
|
|
|
}, |
|
|
|
"Cmskit Service": { |
|
|
|
"ClusterId": "cmskitCluster", |
|
|
|
@ -43,31 +85,21 @@ |
|
|
|
"Path": "/api/cmskit/{**everything}" |
|
|
|
} |
|
|
|
}, |
|
|
|
"Cmskit Public Service": { |
|
|
|
"Cmskit Service Swagger": { |
|
|
|
"ClusterId": "cmskitCluster", |
|
|
|
"Match": { |
|
|
|
"Path": "/api/cms-kit-public/{**everything}" |
|
|
|
} |
|
|
|
}, |
|
|
|
"Cmskit Admin Service": { |
|
|
|
"ClusterId": "cmskitCluster", |
|
|
|
"Match": { |
|
|
|
"Path": "/api/cms-kit-admin/{**everything}" |
|
|
|
} |
|
|
|
}, |
|
|
|
"product-picture-route": { |
|
|
|
"ClusterId": "productPictureCluster", |
|
|
|
"Match": { |
|
|
|
"Path": "/product-images/{**everything}", |
|
|
|
"Methods": [ "GET" ] |
|
|
|
} |
|
|
|
"Path": "/swagger-json/Cmskit/swagger/v1/swagger.json" |
|
|
|
}, |
|
|
|
"Transforms": [ |
|
|
|
{ "PathRemovePrefix": "/swagger-json/Cmskit" } |
|
|
|
] |
|
|
|
} |
|
|
|
}, |
|
|
|
"Clusters": { |
|
|
|
"accountCluster": { |
|
|
|
"identityCluster": { |
|
|
|
"Destinations": { |
|
|
|
"destination1": { |
|
|
|
"Address": "https://localhost:44330" |
|
|
|
"Address": "https://localhost:44351" |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
@ -78,31 +110,31 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
"catalogCluster": { |
|
|
|
"permission-management-cluster": { |
|
|
|
"Destinations": { |
|
|
|
"destination1": { |
|
|
|
"Address": "https://localhost:44354" |
|
|
|
"Address": "https://localhost:44353" |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
"basketCluster": { |
|
|
|
"setting-management-cluster": { |
|
|
|
"Destinations": { |
|
|
|
"destination1": { |
|
|
|
"Address": "https://localhost:44355" |
|
|
|
"Address": "https://localhost:44353" |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
"orderingCluster": { |
|
|
|
}, |
|
|
|
"catalogCluster": { |
|
|
|
"Destinations": { |
|
|
|
"destination1": { |
|
|
|
"Address": "https://localhost:44356" |
|
|
|
"Address": "https://localhost:44354" |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
"paymentCluster": { |
|
|
|
"orderingCluster": { |
|
|
|
"Destinations": { |
|
|
|
"destination1": { |
|
|
|
"Address": "https://localhost:44357" |
|
|
|
"Address": "https://localhost:44356" |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
@ -112,14 +144,7 @@ |
|
|
|
"Address": "https://localhost:44358" |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
"productPictureCluster": { |
|
|
|
"Destinations": { |
|
|
|
"destination1": { |
|
|
|
"Address": "https://localhost:44354" |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |