Quantcast
Channel: SCN : All Content - SAP HANA Cloud Platform Developer Center
Viewing all articles
Browse latest Browse all 3285

use of neo-app.json for hci-odp service for HTML5 application

$
0
0

Hello all,

 

What settings do I use for my neo-app.json file in order to call a REST/Odata service from HCI-ODP for a HTML5 application deployed on HCP?

 

For now I am using a destination:

Name=my-hci-odp

URL=https://gwaas-sXXXXXXXXXXtrial.hanatrial.ondemand.com/odata

ProxyType=Internet

Type=HTTP

CloudConnectorVersion=2

Authentication=AppToAppSSO

Description=my-hci-odp

 

 

In my neo-app.json:

 

{       "routes": [        {            "path": "/api",            "target": {                "type": "destination",                "name": "my-hci-odp"            },            "description": "HCI-ODP Services"        }    ]
}

 

This works but I don't know if this is the way to connect to a HCI-ODP service. It looks a bit redundant to create a destination to HCI-ODP.

 

 

Regards,

Bert


Viewing all articles
Browse latest Browse all 3285

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>