Sample project that demonstrates how to setup a multitenant application for a Software-as-a-Service scenario, leveraging the Kyma and Cloud Foundry Runtimes of the SAP Business Technology Platform. Developers learn how to implement their own CAP (mtxs) based SaaS app including an SaaS API and integration with various essential SAP BTP service of...
This fixes two crucial deployment problems on Kyma version of the repo:
Service Replacements was not working for Common DB container, because CAP Emulation is currently overwriting the tenant HDI container with common HDI container. This was causing the bug. To overcome this, common-db is removed from the .cdsrc.json file and VCAP emulation is done by application in the server.js.
HDI dependencies were calculated wrong, @cds.persistence.exists annotation somehow is not considered and hdi-deployer somehow wanted to create the common db content also in the tenant container. This was also fixed with some folder rearrangement.
This fixes two crucial deployment problems on Kyma version of the repo:
Feel free to contact if there are any questions.