Skip to content

Conversation

Menu::Section.new(:embedded_terraform_automation_manager, N_("Embedded Terraform"), nil, [
Menu::Item.new('embedded_terraform_template', N_('Templates'), 'embedded_terraform_template', {:feature => 'embedded_configuration_script_payload_view', :any => true}, '/embedded_terraform_template/show_list'),
Menu::Item.new('embedded_terraform_repository', N_('Repositories'), 'embedded_terraform_repository', {:feature => 'embedded_configuration_script_source_view', :any => true}, '/embedded_terraform_repository/show_list'),
Menu::Item.new('embedded_terraform_credentials', N_('Credentials'), 'embedded_terraform_credentials', {:feature => 'embedded_configuration_script_source_view', :any => true}, '/embedded_terraform_credential/show_list')
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fixes the menu sections to reuse the existing shared product feature. This means that if you enable either embedded ansible or embedded terraform features, they are shared so, the check box for one will be enable it for the other.

image

For example, I enabled just configuration scripts in embedded ansible and it enables it for embedded terraform after saving and reloading the page.

@jrafanie jrafanie force-pushed the rename_ansible_tag_features_to_be_generic branch from a9fe645 to 545883b Compare May 2, 2024 21:45
@jrafanie jrafanie force-pushed the rename_ansible_tag_features_to_be_generic branch from 545883b to be3b8be Compare May 2, 2024 21:57
@miq-bot
Copy link
Member

miq-bot commented May 2, 2024

Checked commits jrafanie/manageiq-providers-embedded_terraform@be4ee03~...be3b8be with ruby 2.7.8, rubocop 1.56.3, haml-lint 0.51.0, and yamllint
7 files checked, 0 offenses detected
Everything looks fine. 👍

@agrare agrare merged commit d8e9ea4 into ManageIQ:master May 8, 2024
@jrafanie jrafanie deleted the rename_ansible_tag_features_to_be_generic branch May 8, 2024 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants