deploy orders,reviews,bookstore

This commit is contained in:
Vladislav Leonkev
2024-12-09 18:56:38 +01:00
parent 1a0df4d31d
commit 32b0e82c98
8 changed files with 197 additions and 29 deletions

View File

@@ -12,10 +12,64 @@
"cacheControl": "no-cache, no-store, must-revalidate"
},
{
"source": "^/(.*)$",
"target": "$1",
"source": "^/admin/(.*)$",
"target": "/admin/$1",
"destination": "bookshop-api",
"csrfProtection": true
},
{
"source": "^/browse/(.*)$",
"target": "/browse/$1",
"destination": "bookshop-api",
"csrfProtection": true
},
{
"source": "^/user/(.*)$",
"target": "/user/$1",
"destination": "bookshop-api",
"csrfProtection": true
},
{
"source": "^/odata/v4/orders/(.*)$",
"target": "/odata/v4/orders/$1",
"destination": "orders-api",
"csrfProtection": true
},
{
"source": "^/reviews/(.*)$",
"target": "/reviews/$1",
"destination": "reviews-api",
"csrfProtection": true
},
{
"source": "^/mashup/admin/(.*)$",
"target": "/admin/$1",
"destination": "bookstore-api",
"csrfProtection": true
},
{
"source": "^/mashup/browse/(.*)$",
"target": "/browse/$1",
"destination": "bookstore-api",
"csrfProtection": true
},
{
"source": "^/mashup/user/(.*)$",
"target": "/user/$1",
"destination": "bookstore-api",
"csrfProtection": true
},
{
"source": "^/mashup/orders/(.*)$",
"target": "/odata/v4/orders/$1",
"destination": "bookstore-api",
"csrfProtection": true
},
{
"source": "^/mashup/reviews/(.*)$",
"target": "/reviews/$1",
"destination": "bookstore-api",
"csrfProtection": true
}
]
}