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
35 lines
738 B
JSON
35 lines
738 B
JSON
{
|
|
"scopes": [
|
|
{
|
|
"name": "$XSAPPNAME.admin",
|
|
"description": "admin"
|
|
},
|
|
{
|
|
"name": "$XSAPPNAME.emcallback",
|
|
"description": "Enterprise-Messaging Callback Access",
|
|
"grant-as-authority-to-apps": [
|
|
"$XSSERVICENAME(samples-messaging)"
|
|
]
|
|
},
|
|
{
|
|
"name": "$XSAPPNAME.emmanagement",
|
|
"description": "Enterprise-Messaging Management Access"
|
|
}
|
|
],
|
|
"attributes": [],
|
|
"role-templates": [
|
|
{
|
|
"name": "admin",
|
|
"scope-references": [
|
|
"$XSAPPNAME.admin"
|
|
],
|
|
"description": "cloud-cap-samples bookstore admin"
|
|
}
|
|
],
|
|
"authorities-inheritance": false,
|
|
"authorities": [
|
|
"$XSAPPNAME.emmanagement",
|
|
"$XSAPPNAME.mtcallback"
|
|
]
|
|
}
|