jowavp / sap-cf-proxy

A proxy to consume destinations locally
Other
39 stars 13 forks source link

It must be possible to specify the value SAP-Connectivity-SCC-Location_ID header #1

Closed gregorwolf closed 3 years ago

gregorwolf commented 3 years ago

Multiple Cloud Connectors can be connected to one SAP BTP Cloud Foundry Subaccount. To distinguish this connectors they get a Location ID. When using the Connectivity Service service this Location ID can be set via the header:

SAP-Connectivity-SCC-Location_ID

This is documented in Specify a Cloud Connector Location ID. I think that adding a variable like for DEFAULT_DESTINATION i.e. defining DEFAULT_LOCATION_ID is the way to go.

gregorwolf commented 3 years ago

OK, I've found it in ts/proxy/index.ts#L108