Write here how you think we can improve the tutorial ...
cds add data adds all files into the db/data folder. It should be shown that this can be dangerous and will lead to overwrites of data in production. Should only be used for master data or config data. This tutorial should be clear and explain that any test transactional data should be moved to the test/data folder for safety.
- Use Local Launchpad - convoluted. Is this even necessary. I don't know any developers that do this. It used to be necessary for the SAPUI5 OPA5 test library because the launchpad back button was the only way to navback. Thi sis however fixed in recent versions of sapui5 where you can access the browser back button via OPA5. So why even show this in the tutorial? The only practical use-case would be cross-app navigation when you have multiple linked sapui5 apps in the same project. FI this is the only use-case then it should be shown in this tutorial - else point to a different tutorial which shows it. Also it would be better to use this instead: cds-launchpad-plugin
- Messy authorization config. When running
cds add auth it will create the xs-security.json file without the xsappname and tenant-mode parameters. Then later in the deployment tutorial when cds add mta is run it adds the auth section to the mta-yaml file with the xsappname and tenant-mode parameters and its dodgy - because if your cf org or cf space has space characters or - characters then mbt build will fail. Best would be to move these properties to the xs-security.json file.
- Role Collections. Why are they created manually in the BTP cockpit. We want to remove as much manual cockpit effort as possible - these role collection can be created from the
xs-security.json file and this should be shown in this tutorial.
cds add workzone-standard did not add the title and subTitle properties to the inbound navigation in manifest.json
- Lots of manual mta.yaml changes. This is bad. Makes the tooling look clunky and half-finished. For example - having to remove the forward slash in the odata service path. Surely that must be automated by the tooling. Manual changes to the build path: /resources as well.
- The manual changes for the CDM to get the app into workzone standard are nasty. Surely this can be automated by the
cds add workzone-standard command?
Group: https://developers.sap.com/group.cap-application-full-stack.html
Write here how you think we can improve the tutorial ...
cds add dataadds all files into thedb/datafolder. It should be shown that this can be dangerous and will lead to overwrites of data in production. Should only be used for master data or config data. This tutorial should be clear and explain that any test transactional data should be moved to thetest/datafolder for safety.cds add authit will create thexs-security.jsonfile without the xsappname and tenant-mode parameters. Then later in the deployment tutorial whencds add mtais run it adds the auth section to the mta-yaml file with the xsappname and tenant-mode parameters and its dodgy - because if your cf org or cf space has space characters or - characters thenmbt buildwill fail. Best would be to move these properties to thexs-security.jsonfile.xs-security.jsonfile and this should be shown in this tutorial.cds add workzone-standarddid not add thetitleandsubTitleproperties to the inbound navigation inmanifest.jsoncds add workzone-standardcommand?