-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add x-elastic-product-origin
header to serverless testing in 8.x
and 9.0
#16736
Comments
This commit contains an example for a clarifying question on: elastic#16736 TODO: after confirming this is the approach, clean up commit msg
I may be missing something here... I put up a draft of how I interpreted this task #16766 but i realize i may be way off. |
The header should be capital letter |
Thanks for looking. All the tickets related to this work on the LS side and corresponding work so far have had the all lower case version. I did a search in the org and see both https://github.com/search?q=org%3Aelastic+x-elastic-product-origin&type=code&p=3 Header fields are case insensitive https://www.rfc-editor.org/rfc/rfc9110.html#fields but I agree consistency is probably nice. Is there a technical reason we would want to try to update everything with the capitalized first letter? The main question I have on this issue is that all the other tasks have been pretty clear in terms of ensuring a header is included for requests to an internal product. This has mostly consisted of finding http clients in the source code and ensuring that if it s communicating with an internal end point that it is including a header. This ticket references
So my two explicit questions now are:
References: |
@donoghuc thanks for double checking the header. I wasn't aware of lowercase x is used in our code. No need to make existing to capital letter. This ticket is about updating the current serverless tests with header. The tests locate here. You can follow readme to setup environment. The buildkite job that run the tests daily |
We don't need to change the header to
Yes |
Thank you both for the clarification! I cleaned up the commit and moved #16766 out of draft mode in to ready for review. |
Add Header to uses of the Kibana API endpoint
api/logstash/pipeline/*
The text was updated successfully, but these errors were encountered: