SAP Cloud Application Programming (CAP) model implementation of Azure CosmosDB OData proxy integration. The cds service serves as proxy to the CloudFoundry destination and ultimately the OData services exposed by the .NET web api running in Azure, which collects data from Azure CosmosDB. The SAPUI5 part of the application is identical to the non-cap implementation here.
Warning: comment the SAP Private Link in mta.yaml in case you don't want use it.
Additional Resources |
---|
blog on the SAP community |
OData proxy project |
SAPUI5 freestyle client |
Geodes pattern implementation with OData proxy |
From your IDE run cds watch
(consider default-env.json when using CF destination)
Create Run configuration on SAP BAS and execute or use process attach on VSC. I found this link useful. See also my dedicated post on the SAP Private Link series.
Login with your CloudFoundry space, run
mbt build
and finally
cf deploy mta_archives/cap-cosmosdb-app_1.0.0.mtar