Accessing a On Premise system using a cloud connector from a Cloud Foundry python application
- For convenience we are accessing SAP GitHub (github.wdf.sap.corp)
- Add destination in the account pointing the Cloud Connector
- Deploy the application and bind the destination, XSUAA, Connectivity services to the application.
- Alter the service names in the 13th line of the
app.py
file - Access the
getData
endpoint for getting data, anddownloadDir
for downloading the entire directory from Github.- pass the parameters
destination
andpath
- pass the parameters