Move VSA API requests into api/analytics_api module
What does this MR do and why?
- Moves all VSA api requests from
ee/api.js
toee/api/analytics_api.js
- Moves jest specs from
ee/api_spec.js
toee/api/analytics_api_spec.js
- Updates all existing calls to the api requests
- Removes the
cycleAnalytics
prefix from all api requests
Screenshots or screen recordings
No visual changes
How to set up and validate locally
Run all analytics jest tests
$ yarn jest analytics
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 #382847 (closed)
Edited by Ezekiel Kigbo