Add rake task and API test for Service Ping generated queries
requested to merge 347545-spike-add-test-for-service-ping-generated-queries-for-snowflake-2 into master
What does this MR do and why?
Describe in detail what your merge request does and why.
This MR adds a rake task that generates SQL metrics as a JSON file. This also includes unit and API tests. The API test ensures the generated SQL metric query matches the selected JSON responses.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
Specs should pass locally when the generated query matches the selected JSOn responses
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #347545 (closed)
Edited by Carlo Catimbang