Hi Experts,
We have an issue with the Cloud connector and we are not sure its because of application or environment. Below are details.
#1 We have successful connection with on-premise URL in the CP from the SAP Cloud connector

It is connecting to HANA db in on-premise and its calling an python application URL
#2 We developed a Fiori application in CF using Web IDE and able to get data from the URL service call through ajax during development unit testing and got the data successfully

#3 Here is the problem. When we deploy the app in the sub-account (Destination is maintained) and test the application we are getting not found error for the same destination from the ajax call

#4 We have maintained the destination in below files,
xs-app.json
"routes": [ {
"source": "^/FORECAST_PYTHON",
"target": "$1",
"authenticationType": "none",
"httpMethods": ["GET","POST"],
"destination": "FORECAST_PYTHON",
"csrfProtection": false },
neo-app.json
{
"path": "/FORECAST_PYTHON",
"target": {
"type": "destination",
"name": "FORECAST_PYTHON"
},
"description": "FORECAST_PYTHON" }
mta.yaml (added standard destination services)
requires: - name: mta_Sample_html5_repo_runtime - name: uaa_mta_Sample - name: dest_mta_Sample - name: conn_mta_Sample
- name: dest_mta_Sample parameters: service-plan: lite service: destination type: org.cloudfoundry.managed-service - name: conn_mta_Sample
Ajax call
jQuery.ajax({ url : "/FORECAST_PYTHON", cache:false, success : function(response) { console.log(response); },
Please let me know if I am missing anything in the setup or json parameters in Web IDE. Any clues or directions are much appreciated.
Thanks,
Vijay