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"
|
"cacheControl": "no-cache, no-store, must-revalidate"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"source": "^(.*)$",
|
"source": "^/appconfig/",
|
||||||
"target": "$1",
|
|
||||||
"localDir": ".",
|
"localDir": ".",
|
||||||
"cacheControl": "no-cache, no-store, must-revalidate"
|
"cacheControl": "no-cache, no-store, must-revalidate"
|
||||||
},
|
},
|
||||||
@@ -42,6 +41,12 @@
|
|||||||
"target": "/reviews/$1",
|
"target": "/reviews/$1",
|
||||||
"destination": "reviews-api",
|
"destination": "reviews-api",
|
||||||
"csrfProtection": true
|
"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
|
instances: 1
|
||||||
buildpack: nodejs_buildpack
|
buildpack: nodejs_buildpack
|
||||||
build-parameters:
|
build-parameters:
|
||||||
builder: npm-ci
|
builder: npm
|
||||||
properties:
|
properties:
|
||||||
cds_requires_ReviewsService_credentials: {"destination": "reviews-dest","path": "/reviews"}
|
cds_requires_ReviewsService_credentials: {"destination": "reviews-dest","path": "/reviews"}
|
||||||
cds_requires_OrdersService_credentials: {"destination": "orders-dest","path": "/odata/v4/orders"}
|
cds_requires_OrdersService_credentials: {"destination": "orders-dest","path": "/odata/v4/orders"}
|
||||||
@@ -60,7 +60,7 @@ modules:
|
|||||||
instances: 1
|
instances: 1
|
||||||
buildpack: nodejs_buildpack
|
buildpack: nodejs_buildpack
|
||||||
build-parameters:
|
build-parameters:
|
||||||
builder: npm-ci
|
builder: npm
|
||||||
provides:
|
provides:
|
||||||
- name: reviews-api # required by consumers of CAP services (e.g. approuter)
|
- name: reviews-api # required by consumers of CAP services (e.g. approuter)
|
||||||
properties:
|
properties:
|
||||||
@@ -112,10 +112,8 @@ modules:
|
|||||||
properties:
|
properties:
|
||||||
app-protocol: ${protocol}
|
app-protocol: ${protocol}
|
||||||
app-uri: ${default-uri}
|
app-uri: ${default-uri}
|
||||||
requires:
|
|
||||||
- name: samples-auth
|
|
||||||
|
|
||||||
- name: destination-content
|
- name: destination-content
|
||||||
type: com.sap.application.content
|
type: com.sap.application.content
|
||||||
requires:
|
requires:
|
||||||
- name: orders-api
|
- name: orders-api
|
||||||
|
|||||||
Reference in New Issue
Block a user