Deploy on BTP (#793)

minimal changes required to deploy the CAP samples in _shared db_ mode:
- db: all bookshop, orders, reviews CDS models into one db instance (_shared-db_)
- services: bookstore, orders, reviews
- approuter with UI symlinks:
  - Vue: bookshop, reviews
  - Fiori: orders
 - authentification: xsuaa
 - messaging: Event Mesh
 - destinations: orders, reviews
- cds:
  - projection OrdersNoDraft for backend direct access
  - event OrderChanged
- deployment: mta.yml
This commit is contained in:
Vladislav Leonkev
2025-03-20 09:36:16 +01:00
committed by GitHub
parent ac4154eef3
commit 737e766d53
21 changed files with 3354 additions and 52 deletions

View File

@@ -7,17 +7,18 @@
"index.cds"
],
"dependencies": {
"@cap-js/hana": "^1",
"@sap/cds": ">=5",
"@sap/xssec": "^4.2.7",
"express": "^4.17.1"
},
"cds": {
"requires": {
"messaging": {
"[development]": { "kind": "file-based-messaging" },
"[hybrid]": { "kind": "enterprise-messaging-shared" },
"[production]": { "kind": "enterprise-messaging" }
},
"db": { "kind": "sql" }
"messaging": true,
"db": true
}
},
"scripts": {
"start": "cds-serve"
}
}
}