-
Notifications
You must be signed in to change notification settings - Fork 897
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Only show catalog types for supported EMSs #20039
Only show catalog types for supported EMSs #20039
Conversation
8072098
to
1eeddac
Compare
1eeddac
to
c6c6340
Compare
fea624f
to
a9aafaa
Compare
Aside, I'm concerned about the |
@agrare Can you also verify that the API makes its way here as well? I'm concerned the API might present/allow things it shouldn't. |
a9aafaa
to
c8123d9
Compare
Yeah that's true let me rename the methods I added to |
c8123d9
to
150dfeb
Compare
spec/models/manageiq/providers/embedded_ansible/automation_manager_spec.rb
Outdated
Show resolved
Hide resolved
spec/models/manageiq/providers/embedded_ansible/automation_manager_spec.rb
Outdated
Show resolved
Hide resolved
spec/models/manageiq/providers/embedded_ansible/automation_manager_spec.rb
Outdated
Show resolved
Hide resolved
150dfeb
to
16adfcb
Compare
16adfcb
to
6b1ea4b
Compare
If an EMS isn't supported by disabling it in the Vmdb::PermissionStore we shouldn't show it as an available catalog type Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1746084
6b1ea4b
to
4514e30
Compare
@Fryguy cross-repo tests are green (at least on traivs .org) ManageIQ/manageiq-cross_repo-tests#106 |
I noticed that the network manager also has this method, which feels like it should be refactored as part of this PR. |
|
ee836b6
to
227ad29
Compare
Checked commits agrare/manageiq@4514e30~...227ad29 with ruby 2.5.7, rubocop 0.69.0, haml-lint 0.28.0, and yamllint app/models/service_template.rb
|
Merging on red since cross-repo is green |
…g_types Only show catalog types for supported EMSs (cherry picked from commit ac4f13a)
Jansa backport details:
|
If an EMS isn't supported by disabling it in the Vmdb::PermissionStore we shouldn't show it as an available catalog type
Follow-up to: #19214
Pluggability: #19440
Cross-Repo-Tests: ManageIQ/manageiq-cross_repo-tests#106
Depends on:
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1746084