Skip to content

Commit

Permalink
refactor: Update API route prefixes for basket, catalog, ordering, an…
Browse files Browse the repository at this point in the history
…d rating services
  • Loading branch information
foxminchan committed Sep 28, 2024
1 parent 611f89a commit a5606fa
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/BookWorm.Gateway/appsettings.Development.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@
"ClusterId": "basketservice",
"RateLimiterPolicy": "bucket-by-user",
"Match": {
"Path": "/api/v1/{**remainder}"
"Path": "/basket/{**remainder}"
},
"Transforms": [
{
"PathRemovePrefix": "/api/v1"
"PathRemovePrefix": "/basket"
},
{
"PathPrefix": "/"
Expand All @@ -52,11 +52,11 @@
"ClusterId": "catalogservice",
"RateLimiterPolicy": "fixed-by-ip",
"Match": {
"Path": "/api/v1/{**remainder}"
"Path": "/catalog/{**remainder}"
},
"Transforms": [
{
"PathRemovePrefix": "/api/v1"
"PathRemovePrefix": "/catalog"
},
{
"PathPrefix": "/"
Expand All @@ -74,11 +74,11 @@
"ClusterId": "orderingservice",
"RateLimiterPolicy": "bucket-by-user",
"Match": {
"Path": "/api/v1/{**remainder}"
"Path": "/ordering/{**remainder}"
},
"Transforms": [
{
"PathRemovePrefix": "/api/v1"
"PathRemovePrefix": "/ordering"
},
{
"PathPrefix": "/"
Expand All @@ -96,11 +96,11 @@
"ClusterId": "ratingservice",
"RateLimiterPolicy": "bucket-by-user",
"Match": {
"Path": "/api/v1/{**remainder}"
"Path": "/rating/{**remainder}"
},
"Transforms": [
{
"PathRemovePrefix": "/api/v1"
"PathRemovePrefix": "/rating"
},
{
"PathPrefix": "/"
Expand Down

0 comments on commit a5606fa

Please sign in to comment.