on ‎2023 Feb 24 5:01 AM
Hi ,
I have a CAP project with custom build task( reason is here ) . Now when I add mtx to this project and "cds build" it, it throws this error
package.json has multi-tenancy enabled as well . Any clue ?
lothar.bender
=>to fix the errors, I added the below 4 models in the cdsrs.json , and error goes of. service has /-/cds/ endpoints as well . But subscription fails ( with no error I could spot from logs )
"@sap/cds-mtxs/srv/bootstrap", "@sap/cds-mtxs/srv/model-provider", "@sap/cds-mtxs/srv/deployment-service", "@sap/cds-mtxs/db/extensions"Sreehari
Request clarification before answering.
Seems that you've also set extensibility: true which requires the model @sap/cds-mtxs/db/extensions. This model defines the extensions table (cds.xt.Extensions) which holds the information of existing extensions.
Extensibility should only be enabled if required - just set it to false otherwise.
If this is not the case, please add the .cdsrc.json and package.json files including the one from the sidecar which is mandatory for Java.
- Lothar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks mate. Extensibility is disabled and just adding " "@sap/cds-mtxs/srv/bootstrap" was enough for the custom build tasks to provide necessary mtx endpoints for subscription.
I must say , CAP is a piece of art.
Sree
| User | Count |
|---|---|
| 9 | |
| 6 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 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.