Skip to content

[VSA parity] Extract the controller and route functionality to a module(s)

Goal: re-use the existing group-level controllers and route code and share and make it available on the project-level.

This is done to some degree, but we need to extract more code:

  • controller actions
  • permissions checks
  • routes

Extend and optionally add new modules:

  • ::Analytics::CycleAnalytics::StageActions
  • CycleAnalyticsParams

As a result, all API routes related to VSA should be available on the project-level (paid EE). Note: there is a slightly different implementation of actions for FOSS. This needs to stay as is for now.

Edited by Adam Hegyi