cancel
Showing results for 
Search instead for 
Did you mean: 

Is cross HDI container access from CAP to DWC in a multi-tenancy scenario possible?

SebastianEsch
Active Participant

Hi CAP Team,

we have successfully setup a scenario where our CAP application has access to the HDI container of a SAP Data Warehouse Cloud space, as described in this blog post by christiano.hage or, with out the DWC context, in this great blog post by thomas.jung.

We have the HDI container of the CAP app as usual, define a user provided service with the credentials of the DWC HDI container and configure the HDI deployer module for cross container access and add the relevant HANA artefacts to the db folder of the CAP application. For a single tenant application this works.

Now we would like to grow the CAP app to a multi-tenancy app that uses different DWC spaces for the different application tenants. Is this currently possible? We would need some way to provide a new user provided service name during tenant creation, so that during tenant onboarding the HDI deployer can connect the CAP HDI container of the new tenant to the HDI container of the new DWC space that we would create for a new tenant.

Kind regards,

Sebastian

eckart_liemke
Explorer

Hi, we had something like that in `@sap/cds-mtx`: https://cap.cloud.sap/docs/guides/multitenancy/old-mtx-apis#event-handlers-for-cds-mtx-hana-deployme...

If you are using `@sap/cds-mtxs`, we need some time to verify it and finalize the documentation.

It also all based on a VCAP_SERVICES environment

SebastianEsch
Active Participant
0 Kudos

Hi eckart.liemke,

as this is a new application, we would like to use cds-mtxs to avoid the effort to migrate from cds-mtx to cds-mtxs, but I guess it will take some time before this will be possible with cds-mtxs, right?

Kind regards,

Sebastian

Accepted Solutions (0)

Answers (0)