Remove legacy fetchCycleAnalyticsData api request
What does this MR do and why?
Removes the frontend API request for the legacy value_stream_analytics
endpoint, previously this was used to return metrics as well as the permissions
object to restrict access to stages a user did not have access to. With Authorize project-level VSA stages (!92802 - merged) the permission check now occurs in the backend controller.
This MR:
- Removes the frontend permissions checks
- Removes the request to the
value_stream_analytics
endpoint
Screenshots or screen recordings
No visual changes, we're removing API requests.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Navigate to project level VSA for any project, for example
http://GDK_PATH/gitlab-org/gitlab-shell/-/value_stream_analytics
- Check the console, there should be no request made to
/value_stream_analytics
![Value stream analytics api requests](/-/project/278964/uploads/d2c6423bfd0e04298be7418a2e11de15/Screen_Shot_2022-08-05_at_3.37.38_pm.png)
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 #335810 (closed)
Edited by Ezekiel Kigbo