Introduce Packages::TerraformModule::PackagePresenter
What does this MR do and why?
Introduce Packages::TerraformModule::PackagePresenter
The existing Packages::Detail::PackagePresenter
is only used to show the
details for terraform module on UI but contains multiple locations with
the logic for various package formats.
Implement Packages::TerraformModule::PackagePresenter
to hold the
necessary logic and remove the rest.
References
Introduce terraform module presenter (#552329 - closed)
Screenshots or screen recordings
No.
How to set up and validate locally
-
Visit the details page of existing terraform module or publish a new one docs.
-
Switch on the feature flag and make sure that the content of the page remains the same.
Feature.enable(:packages_terraform_module_presenter)
Bonus:
- Visit the details page of the package of another format => there shouldn't be any changes as well.
- Create a new terraform module with the CI pipeline and publish it to another project steps.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #552329 (closed)