* Remove OData v2 show case: Genres TreeView * Refactored bookstore and fiori services: consolidate routing and remove deprecated files * Add Jest configuration file with silent mode enabled * Refactor test files: streamline imports and remove redundant code * Change price field type to Price for better clarity and precision * Example for separation of concerns: access-control.cds
142 lines
4.2 KiB
JSON
142 lines
4.2 KiB
JSON
{
|
|
"services": {
|
|
"LaunchPage": {
|
|
"adapter": {
|
|
"config": {
|
|
"groups": [
|
|
{
|
|
"id": "Bookshop",
|
|
"title": "Bookshop",
|
|
"isPreset": true,
|
|
"isVisible": true,
|
|
"isGroupLocked": false,
|
|
"tiles": [
|
|
{
|
|
"id": "BrowseBooks",
|
|
"tileType": "sap.ushell.ui.tile.StaticTile",
|
|
"properties": {
|
|
"title": "Browse Books",
|
|
"targetURL": "#Books-display"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "Administration",
|
|
"title": "Administration",
|
|
"isPreset": true,
|
|
"isVisible": true,
|
|
"isGroupLocked": false,
|
|
"tiles": [
|
|
{
|
|
"id": "ManageBooks",
|
|
"tileType": "sap.ushell.ui.tile.StaticTile",
|
|
"properties": {
|
|
"title": "Manage Books",
|
|
"targetURL": "#Books-manage"
|
|
}
|
|
},
|
|
{
|
|
"id": "ManageAuthors",
|
|
"tileType": "sap.ushell.ui.tile.StaticTile",
|
|
"properties": {
|
|
"title": "Manage Authors",
|
|
"targetURL": "#Authors-manage"
|
|
}
|
|
},
|
|
{
|
|
"id": "ManageOrders",
|
|
"tileType": "sap.ushell.ui.tile.StaticTile",
|
|
"properties": {
|
|
"title": "Manage Orders",
|
|
"targetURL": "#Orders-manage"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"NavTargetResolution": {
|
|
"config": {
|
|
"enableClientSideTargetResolution": true
|
|
}
|
|
},
|
|
"ClientSideTargetResolution": {
|
|
"adapter": {
|
|
"config": {
|
|
"inbounds": {
|
|
"BrowseBooks": {
|
|
"semanticObject": "Books",
|
|
"action": "display",
|
|
"title": "Browse Books",
|
|
"signature": {
|
|
"parameters": {
|
|
"Books.ID": {
|
|
"renameTo": "ID"
|
|
},
|
|
"Authors.books.ID": {
|
|
"renameTo": "ID"
|
|
}
|
|
},
|
|
"additionalParameters": "ignored"
|
|
},
|
|
"resolutionResult": {
|
|
"applicationType": "SAPUI5",
|
|
"additionalInformation": "SAPUI5.Component=bookshop",
|
|
"url": "/browse/webapp"
|
|
}
|
|
},
|
|
"BrowseAuthors": {
|
|
"semanticObject": "Authors",
|
|
"action": "manage",
|
|
"title": "Browse Authors",
|
|
"signature": {
|
|
"parameters": {
|
|
"Books.author.ID":{
|
|
"renameTo": "ID"
|
|
}
|
|
},
|
|
"additionalParameters": "ignored"
|
|
},
|
|
"resolutionResult": {
|
|
"applicationType": "SAPUI5",
|
|
"additionalInformation": "SAPUI5.Component=authors",
|
|
"url": "/admin-authors/webapp"
|
|
}
|
|
},
|
|
"ManageBooks": {
|
|
"semanticObject": "Books",
|
|
"action": "manage",
|
|
"title": "Manage Books",
|
|
"signature": {
|
|
"parameters": {},
|
|
"additionalParameters": "allowed"
|
|
},
|
|
"resolutionResult": {
|
|
"applicationType": "SAPUI5",
|
|
"additionalInformation": "SAPUI5.Component=books",
|
|
"url": "/admin-books/webapp"
|
|
}
|
|
},
|
|
"ManageOrders": {
|
|
"semanticObject": "Orders",
|
|
"action": "manage",
|
|
"signature": {
|
|
"parameters": {},
|
|
"additionalParameters": "allowed"
|
|
},
|
|
"resolutionResult": {
|
|
"applicationType": "SAPUI5",
|
|
"additionalInformation": "SAPUI5.Component=orders",
|
|
"url": "/orders/webapp"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|