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

[DEMO] Add notifications around the toolbar and dialog demo for ansible operations #475

Closed
wants to merge 26 commits into from

Conversation

skateman
Copy link
Member

Demo around @martinpovolny's PR #468 with notifications.

It was necessary to pass ˙user_id˙ as an extra argument for the create_security_group method. The task initiation comes from the API, so the arguments had to be adjusted there in ManageIQ/manageiq-api#450.

The new notification types and the notification mixin comes from ManageIQ/manageiq#17835

martinpovolny and others added 26 commits August 13, 2018 15:47
(cherry-picked from Hyperkid123/manageiq-ui-classic/b0c269da32fde4238475d1cc7f35bb3d6a36aa62)
and make it a string, we need to support all ids
Add ansible root and env_vars to ems
Replace vm start&stop by ansible call
Add role for changing VM state and start&stop playbooks using it
@miq-bot
Copy link
Member

miq-bot commented Aug 15, 2018

Checked commits skateman/manageiq-providers-amazon@9ce7e67~...9618637 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
21 files checked, 37 offenses detected

app/helpers/manageiq/providers/amazon/toolbar_overrides/ems_cloud_center.rb

app/helpers/manageiq/providers/amazon/toolbar_overrides/ems_network_center.rb

  • ❗ - Line 17, Col 74 - Layout/MultilineMethodCallBraceLayout - Closing method call brace must be on the line after the last argument when opening brace is on a separate line from the first argument.
  • ❗ - Line 18, Col 11 - Layout/IndentArray - Indent the right bracket the same as the first position after the preceding left parenthesis.
  • ❗ - Line 7, Col 13 - Layout/IndentArray - Use 2 spaces for indentation in an array, relative to the first position after the preceding left parenthesis.

app/helpers/manageiq/providers/amazon/toolbar_overrides/x_vm_cloud_center.rb

app/models/manageiq/providers/amazon/network_manager/security_group.rb

content_tmp/ansible/create_security_group.yml

  • ⚠️ - Line 7, Col 5 - indentation - wrong indentation: expected 2 but found 4

content_tmp/ansible/roles/change_vm_state/defaults/main.yml

  • 💣 💥 🔥 🚒 - Line 2, Col 36 - new-line-at-end-of-file - no new line character at the end of file

content_tmp/ansible/roles/change_vm_state/handlers/main.yml

  • 💣 💥 🔥 🚒 - Line 2, Col 36 - new-line-at-end-of-file - no new line character at the end of file

content_tmp/ansible/roles/change_vm_state/meta/main.yml

  • ⚠️ - Line 8, Col 5 - indentation - wrong indentation: expected 2 but found 4

content_tmp/ansible/roles/change_vm_state/tasks/main.yml

  • ⚠️ - Line 7, Col 1 - 1 > 0) (empty-lines - too many blank lines

content_tmp/ansible/roles/change_vm_state/tests/test.yml

  • ⚠️ - Line 7, Col 5 - indentation - wrong indentation: expected 2 but found 4

content_tmp/ansible/roles/change_vm_state/vars/main.yml

  • 💣 💥 🔥 🚒 - Line 2, Col 32 - new-line-at-end-of-file - no new line character at the end of file

content_tmp/ansible/roles/create_security_group/defaults/main.yml

  • 💣 💥 🔥 🚒 - Line 2, Col 42 - new-line-at-end-of-file - no new line character at the end of file

content_tmp/ansible/roles/create_security_group/handlers/main.yml

  • 💣 💥 🔥 🚒 - Line 2, Col 42 - new-line-at-end-of-file - no new line character at the end of file

content_tmp/ansible/roles/create_security_group/meta/main.yml

  • 💣 💥 🔥 🚒 - Line 57, Col 42 - new-line-at-end-of-file - no new line character at the end of file

content_tmp/ansible/roles/create_security_group/tests/test.yml

  • ⚠️ - Line 29, Col 1 - 1 > 0) (empty-lines - too many blank lines
  • ⚠️ - Line 7, Col 5 - indentation - wrong indentation: expected 2 but found 4

content_tmp/ansible/roles/create_security_group/vars/main.yml

  • 💣 💥 🔥 🚒 - Line 2, Col 38 - new-line-at-end-of-file - no new line character at the end of file

content_tmp/ansible/start_vm.yml

  • ⚠️ - Line 9, Col 5 - indentation - wrong indentation: expected 2 but found 4

content_tmp/ansible/stop_vm.yml

  • ⚠️ - Line 9, Col 5 - indentation - wrong indentation: expected 2 but found 4

@miq-bot miq-bot closed this Feb 18, 2019
@miq-bot
Copy link
Member

miq-bot commented Feb 18, 2019

This pull request has been automatically closed because it has not been updated for at least 6 months.

Feel free to reopen this pull request if these changes are still valid.

Thank you for all your contributions!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants