Skip to Content
2
Dec 09, 2022 at 09:09 AM

Develop CAP, MTX, Extensions project in a team

507 Views Last edit Dec 09, 2022 at 09:13 AM 3 rev

Hi,

we are developing a CAP MTX application in a team. In addition, our application uses MTX extensions.

Each developer is working on different features. Both the application logic and the database structures are therefore different for each developer.

How can we run this application locally and deploy the current development status from each local PC without losing the extensions contained in the database?

Since we use HANA native code in our application, local development with SQLite is out of the question.

I have visualised our scenario in the below graphic.

  • The application was deployed to the provider subaccount of the BTP.
  • We created a subaccount for each developer and subscribed the application in it.
  • In each tenant subaccount there is an HDI container for the runtime data and one for the metadata. The latter contains the information about the extensions.

Our requirements:

  1. we want to connect our application started locally with "cds run" to the runtime HDI container in the associated subaccount. This is already possible.
  2. We would like to deploy the current DB structures of the developer into the HDI container of the assigned subaccount with "cds deploy" without losing the extensions.

Any ideas on that? @Cap team: Is a solution for this already on your roadmap?

sap-cap-mtx-dev-in-team.png


P.S.: I created this graphic with pyhon. see here for details.

Attachments