Currently the test API exposed for integration tests has a fixed upstream target. This PR enables the inclusion of an x-api-version header that specifies the target Azure Function App Url.
Does this introduce a breaking change?
[X] Yes
[ ] No
Pull Request Type
What kind of change does this Pull Request introduce?
[X] Bugfix
[X] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:
How to Test
Get the code
git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install
Test the code
The integration tests should show the inclusion of this value via the command that starts them on the azure pipeline
Purpose
x-api-version
header that specifies the target Azure Function App Url.Does this introduce a breaking change?
Pull Request Type
What kind of change does this Pull Request introduce?
How to Test
What to Check
Verify that the following are valid
X-Api-Version
header give the expected code (can also be checked via postman or just from the results of the test run on the pipeline)Other Information
Static Config on API Gateway:
Dynamic Config