orchestracities / ngsi-timeseries-api

QuantumLeap: a FIWARE Generic Enabler to support the usage of NGSIv2 (and NGSI-LD experimentally) data in time-series databases
https://quantumleap.rtfd.io/
MIT License
37 stars 49 forks source link

ngsild-tenant header support #721

Closed c0c0n3 closed 1 year ago

c0c0n3 commented 1 year ago

Proposed changes

This PR makes Quantum Leap use the NGSI-LD tenant header if present in a request. If there's no NGSI-LD tenant header, we fall back to the FIWARE service header we all know and love. Notice if both headers are present, the NGSI-LD tenant takes precedence.

The code in this PR was originally contributed by @rohit-vrrr in #695. We're only porting it over to a new branch because we needed to rebase @rohit-vrrr's branch to be able to merge.

Types of changes

What types of changes does your code introduce to the project?

Checklist

Further comments

N/A

"Martel Open Source Software Individual Contributor License Agreement"
"Contributing to QuantumLeap"
"QuantumLeap Release Notes"
github-actions[bot] commented 1 year ago

CLA Assistant Lite bot All contributors have signed the CLA ✍️