Skip to content

Generate guest package events list

Giorgenes Gelatti requested to merge 205578-gen-pkg-guest-events-list into master

What does this MR do?

  • Adds GuestPackageEventCounter class to count package guest events using the redis counter.
  • Adds a rake task to generate a yml file with the list of events which are loaded by GuestPackageEventCounter. This is done as a partial transition to load these events from a yml file in the future.

Follow up MR: Trigger these events from the package code and add extra specs.

Screenshots (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • [-] 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 #205578 (closed)

Edited by Mayra Cabrera

Merge request reports