Skip to content
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

Add Ansible Playbook custom button type #15874

Merged
merged 1 commit into from
Sep 8, 2017

Conversation

lgalis
Copy link
Contributor

@lgalis lgalis commented Aug 22, 2017

Added Ansible Playbook custom button type

Links

https://www.pivotaltracker.com/story/show/148248347

@lgalis lgalis force-pushed the add_playbook_custom_button_type branch from bcc1368 to 7105cbd Compare August 27, 2017 13:24
@miq-bot
Copy link
Member

miq-bot commented Aug 27, 2017

Checked commit lgalis@7105cbd with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
1 file checked, 0 offenses detected
Everything looks fine. ⭐

@lgalis lgalis changed the title [WIP] Add Ansible Playbook custom button type Add Ansible Playbook custom button type Aug 28, 2017
@miq-bot miq-bot removed the wip label Aug 28, 2017
@lgalis
Copy link
Contributor Author

lgalis commented Aug 28, 2017

@miq-bot add_label enhancement, fine/no

TYPES = { "default" => "Default",
"ansible_playbook" => "Ansible Playbook"}.freeze

PLAYBOOK_METHOD = "Order_Ansible_Playbook".freeze
Copy link
Member

Choose a reason for hiding this comment

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

Link to where these are used?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@gmcculloug
Copy link
Member

@Fryguy Can this be merged?

@Fryguy
Copy link
Member

Fryguy commented Sep 8, 2017

I just find it really strange that there's a hardcoded method name the shared/generic/common CustomButton model. If we are introducing types of custom buttons, we may want to go STI eventually

I'll merge now anyway though.

@Fryguy Fryguy merged commit 0c1309f into ManageIQ:master Sep 8, 2017
@Fryguy Fryguy added this to the Sprint 69 Ending Sep 18, 2017 milestone Sep 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants