File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 "dependencies" : {
44 "@sap/hdi-deploy" : " ^4"
55 },
6+ "engines" : {
7+ "node" : " ^16"
8+ },
69 "scripts" : {
7- "start" : " node node_modules/@sap/hdi-deploy --exit"
10+ "start" : " node node_modules/@sap/hdi-deploy/deploy.js" ,
11+ "build" : " npm i && npx -p @sap/cds-dk@^6 cds build .. --for hana --production"
812 }
913}
Original file line number Diff line number Diff line change @@ -4,12 +4,6 @@ version: 1.0.0
44description : " Bookshop CAP Java Project with UI"
55parameters :
66 enable-parallel-deployments : true
7- build-parameters :
8- before-all :
9- - builder : custom
10- commands :
11- - npm install --production
12- - npx -p @sap/cds-dk cds build --production
137modules :
148# --------------------- SERVER MODULE ------------------------
159 - name : bookshop-srv
@@ -38,18 +32,15 @@ modules:
3832# --------------------- DB MODULE ---------------------------
3933 - name : bookshop-db
4034# -----------------------------------------------------------
41- type : nodejs
35+ type : hdb
4236 path : db
4337 parameters :
44- memory : 256M
45- disk-quota : 512M
46- no-route : true
47- no-start : true
48- tasks : # execute hdi deployer on app creation/update
49- - name : hdi-deploy
50- command : npm run start
38+ buildpack : nodejs_buildpack
39+ build-parameters :
40+ builder : custom
41+ commands :
42+ - npm run build
5143 requires :
52- # Set user and password to secure rest API via basic authentication
5344 - name : bookshop-hdi-container
5445# --------------------- APPROUTER MODULE ---------------------
5546 - name : bookshop-app
You can’t perform that action at this time.
0 commit comments