Add authorisation mechanism for experiments
What does this merge request do and why?
How to set up and validate locally
curl -X 'POST' 'http://localhost:5052/experimental/dynamic_test_cases/generate' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'X-Gitlab-Authentication-Type: pat'\
-H 'Authorization: Bearer token'\
-d '{ "project_id": 22, "base_url": "http://gdk.test:3000" }'
Numbered steps to set up and validate the change are strongly suggested.
Merge request checklist
-
Tests added for new functionality. If not, please raise an issue to follow up. -
Documentation added/updated, if needed.