Skip to content

Fetch project VSA medians from group VSA endpoint

Ezekiel Kigbo requested to merge 257830-move-shared-vsa-requests-to-ce into master

What does this MR do?

Background

Currently project level VSA has a dedicated endpoint for retrievingthe VSA stages with various relevant information as well as summary metric data. In an effort to improve performance and also better align project and group level VSA, we can migrate the project level VSA to share the group level stage median endpoints.

This MR

This MR updates the project level VSA api requests for stage medians. With the group level VSA we have a dedicated endpoint for retrieving stage medians.

Screenshots or Screencasts (strongly suggested)

No visual changes

Testing instructions

  1. Create a project within a group (make sure to initialize the project with a readme, or create it from a template)
  2. Seed some test VSA data
$ VSA_SEED_PROJECT_ID=<project-id> VSA_ISSUE_COUNT=10 SEED_VSA=true FILTER=cycle_analytics rake db:seed_fu
  1. Navigate to value stream analytics for the project, ie for a project named clean-vsa-project in group new-vsa-group it would be http://<gdk>/new-vsa-group/clean-vsa-project/-/value_stream_analytics (or find it in the left menu)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Related to #257830 (closed)

Edited by Ezekiel Kigbo

Merge request reports

Loading