I am trying to develop of multi-tenant application using CAP. Now I want to return destination service as a dependency during tenant subscription. I am not able figure out how to do it like what changes I have to make in "mta.yaml" file and how the callback handler method should be written in java. can someone please help me
Request clarification before answering.
As far as I know it is not required to do any changes in mta.yaml for this.
A sample how to return an additional service dependency during onboarding can be found in our CAP documentation: https://cap.cloud.sap/docs/guides/deployment/as-saas#returning-dependencies
You need to register the event handler on the DeploymentService (https://www.javadoc.io/doc/com.sap.cds/cds-services-api/latest/com/sap/cds/services/mt/DeploymentService.html)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.