fixes
This commit is contained in:
@@ -1 +1 @@
|
||||
../bookshop/app/vue
|
||||
../../bookshop/app/vue
|
||||
@@ -1 +1 @@
|
||||
../orders/app/orders
|
||||
../../orders/app/orders
|
||||
2427
app/router/package-lock.json
generated
Normal file
2427
app/router/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1 +1 @@
|
||||
../reviews/app/vue
|
||||
../../reviews/app/vue
|
||||
@@ -8,8 +8,7 @@
|
||||
"cacheControl": "no-cache, no-store, must-revalidate"
|
||||
},
|
||||
{
|
||||
"source": "^(.*)$",
|
||||
"target": "$1",
|
||||
"source": "^/appconfig/",
|
||||
"localDir": ".",
|
||||
"cacheControl": "no-cache, no-store, must-revalidate"
|
||||
},
|
||||
@@ -42,6 +41,12 @@
|
||||
"target": "/reviews/$1",
|
||||
"destination": "reviews-api",
|
||||
"csrfProtection": true
|
||||
},
|
||||
{
|
||||
"source": "^(.*)$",
|
||||
"target": "$1",
|
||||
"localDir": ".",
|
||||
"cacheControl": "no-cache, no-store, must-revalidate"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
8
mta.yaml
8
mta.yaml
@@ -21,7 +21,7 @@ modules:
|
||||
instances: 1
|
||||
buildpack: nodejs_buildpack
|
||||
build-parameters:
|
||||
builder: npm-ci
|
||||
builder: npm
|
||||
properties:
|
||||
cds_requires_ReviewsService_credentials: {"destination": "reviews-dest","path": "/reviews"}
|
||||
cds_requires_OrdersService_credentials: {"destination": "orders-dest","path": "/odata/v4/orders"}
|
||||
@@ -60,7 +60,7 @@ modules:
|
||||
instances: 1
|
||||
buildpack: nodejs_buildpack
|
||||
build-parameters:
|
||||
builder: npm-ci
|
||||
builder: npm
|
||||
provides:
|
||||
- name: reviews-api # required by consumers of CAP services (e.g. approuter)
|
||||
properties:
|
||||
@@ -112,10 +112,8 @@ modules:
|
||||
properties:
|
||||
app-protocol: ${protocol}
|
||||
app-uri: ${default-uri}
|
||||
requires:
|
||||
- name: samples-auth
|
||||
|
||||
- name: destination-content
|
||||
- name: destination-content
|
||||
type: com.sap.application.content
|
||||
requires:
|
||||
- name: orders-api
|
||||
|
||||
Reference in New Issue
Block a user