cancel
Showing results for 
Search instead for 
Did you mean: 

SAP CAP : Postgres on Azure

mani_ac
Participant
138

We have the PostgreSQL database created directly in Azure, not in SAP BTP as a hyperscaler option. We are using SAP BTP Private Link to reach the database. I can read or create tables via Node.js (pg) modules. However, I want to try using a CAP (Cloud Application Programming) app. Can I still use the SAP CAP with the @cap-js/postgres module? I tried binding the private link to the SAP CAP application by creating an entity, but the deployment always fails. I could not make this work. Is there anything additional I need to configure to reach to the external DB?

Accepted Solutions (0)

Answers (1)

Answers (1)

lars_lutz
Advisor
Advisor
0 Kudos

Hi mani_ac,
You can locally try by configuring your service bindings (See https://pages.github.tools.sap/cap/docs/guides/databases-postgres#in-your-private-cdsrc-json).
Best regards,
Lars Lutz

mani_ac
Participant
@lars_lutz. I am not able to access the link as I do not have SAP ID. Can you please share the public link