Update project
This commit is contained in:
26
mta.yaml
26
mta.yaml
@@ -1,6 +1,6 @@
|
|||||||
####### Generated mta.yaml based on template version 0.2.0
|
####### Generated mta.yaml based on template version 0.2.0
|
||||||
####### appName = capire-bookshop
|
####### appName = capire-bookshop
|
||||||
####### language=nodejs; multiTenant=false
|
####### language=nodejs; multiTenant=
|
||||||
####### approuter=
|
####### approuter=
|
||||||
|
|
||||||
_schema-version: '3.1'
|
_schema-version: '3.1'
|
||||||
@@ -27,7 +27,15 @@ modules:
|
|||||||
EXIT: 1 # required by deploy.js task to terminate
|
EXIT: 1 # required by deploy.js task to terminate
|
||||||
|
|
||||||
|
|
||||||
|
requires:
|
||||||
|
#### Resources extracted from CAP configuration ####
|
||||||
|
- name: capire-bookshop-db
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- name: srv-binding # required by consumers of CAP services (e.g. approuter)
|
||||||
|
properties:
|
||||||
|
srv-url: ${default-url}
|
||||||
|
|
||||||
############################################################
|
############################################################
|
||||||
|
|
||||||
############## SIDECAR MODULE #########################
|
############## SIDECAR MODULE #########################
|
||||||
@@ -37,8 +45,20 @@ modules:
|
|||||||
path: gen/db
|
path: gen/db
|
||||||
parameters:
|
parameters:
|
||||||
app-name: capire-bookshop-db
|
app-name: capire-bookshop-db
|
||||||
# requires:
|
requires:
|
||||||
#### Hana and xsuaa resources extracted from CAP configuration ####
|
#### Hana and xsuaa resources extracted from CAP configuration ####
|
||||||
|
- name: capire-bookshop-db
|
||||||
############################################################
|
############################################################
|
||||||
|
|
||||||
|
|
||||||
|
############## RESOURCES ##################################
|
||||||
|
resources:
|
||||||
|
##### Services extracted from CAP configuration ####
|
||||||
|
##### 'service-plan' can be configured via 'cds.requires.<name>.vcap.plan'
|
||||||
|
- name: capire-bookshop-db
|
||||||
|
type: com.sap.xs.hdi-container
|
||||||
|
|
||||||
|
parameters:
|
||||||
|
properties:
|
||||||
|
hdi-service-name: ${service-name} # required for Java case
|
||||||
|
############################################################
|
||||||
|
|||||||
1880
package-lock.json
generated
Normal file
1880
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
17
package.json
17
package.json
@@ -5,10 +5,25 @@
|
|||||||
"license": "SAP SAMPLE CODE LICENSE",
|
"license": "SAP SAMPLE CODE LICENSE",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@sap/cds": "latest",
|
"@sap/cds": "latest",
|
||||||
|
"@sap/hana-client": "^2.4.182",
|
||||||
"express": "*"
|
"express": "*"
|
||||||
},
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"sqlite3": "^4.1.1"
|
||||||
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "cds run --in-memory?",
|
"start": "cds run",
|
||||||
"watch": "cds watch"
|
"watch": "cds watch"
|
||||||
|
},
|
||||||
|
"cds": {
|
||||||
|
"requires": {
|
||||||
|
"db": {
|
||||||
|
"kind": "hana",
|
||||||
|
"model": [
|
||||||
|
"db",
|
||||||
|
"srv"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user