Pass namespace in the params
What does this MR do and why?
Currently, the (/trials/new
) process is:
- In GitLab after selecting or creating a group, trigger a trial on CustomersDot
- On CustomersDot, ask GitLab(via api call) some things about the namespace -
'id', 'name', 'path', 'kind', 'trial_ends_on'
. - Create the trial on CustomersDot
- Respond to initial Post from GitLab.
- Update the namespace on GitLab with an admin token from CustomersDot in the background
Sometimes we are seeing step #2 fail due to token expiration or other reasons.
Solution
We could likely send the info that customersDot needs from #2 in the initial payload from GitLab in #1 and forgo asking GitLab for it again in #2.
How to set up and validate locally
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 #403054 (closed)
Edited by Doug Stull