Skip to content

Include namespace data during trial creation

Mark Chao requested to merge cdot-6544 into master

What does this MR do and why?

Currently during Registrations::GroupsProjectsController#import and Registrations::GroupsProjectsController#create, it can trigger the CustomersDot trial creation process. However it currently only passes namespace_id, and CustomersDot will need to request gitlab again for more namespace details.

This MR adds namespace information, so CustomersDot won't need to request for them separately.

The main goal is to bypass a bug we have found, where the namespace data request by CDot fails. By providing namespace data ahead of time, this bug can be avoided.

The secondary goal is to save processing time and increase performance.

Screenshots or screen recordings

The behavior should not change.

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports