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

Move the Ansible Tower UI to the Automation tab #170

Merged
merged 24 commits into from
Feb 9, 2017

Conversation

lgalis
Copy link
Contributor

@lgalis lgalis commented Jan 16, 2017

Add the Ansible Tower UI to the Automation Tab.


Depends on ManageIQ/manageiq#13526 - will remove the WIP label after 13526 is merged.

This PR moves the Ansible Tower UI from the Configuration tab to the Automation Tab.
It uses the new AutomationManager model for Ansible introduced in PR #13630.

Links:

https://www.pivotaltracker.com/n/projects/1937457

screenshot from 2017-01-25 01-17-12

screenshot from 2017-01-30 01-31-19

screenshot from 2017-01-30 22-39-44
screenshot from 2017-01-30 22-38-52

screenshot from 2017-02-09 13-08-43

@lgalis
Copy link
Contributor Author

lgalis commented Jan 16, 2017

@miq-bot add_label wip

@miq-bot miq-bot added the wip label Jan 16, 2017
@@ -1929,7 +1929,7 @@ def process_objects(objs, task, display_name = nil)
:models => ui_lookup(:models => klass.to_s)})
end

def foreman_button_operation(method, display_name)
def configmgr_button_operation(method, display_name)
Copy link
Member

Choose a reason for hiding this comment

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

Please rename configmgr to configuration_manager

@lgalis lgalis force-pushed the move_ansible_tower_ui_to_automation branch 6 times, most recently from a220557 to c22aaf5 Compare January 24, 2017 14:11
@lgalis lgalis force-pushed the move_ansible_tower_ui_to_automation branch 3 times, most recently from 1ff3338 to a6055c7 Compare January 25, 2017 06:01
@lgalis
Copy link
Contributor Author

lgalis commented Jan 25, 2017

@dclarizio , @h-kataria - please review - Please note that this PR needs ManageIQ/manageiq#13526.

@dclarizio
Copy link

@martinpovolny added you as a reviewer to check for any of the currenty UI refactoring patterns that @lgalis could apply either in this PR or in a follow up.

@lgalis
Copy link
Contributor Author

lgalis commented Jan 26, 2017

@martinpovolny - just FYI - the AnsibleTower::ConfigurationManager will be changed to AnsibleTower::AutomationManager after the PR 13630 is merged.

@miq-bot
Copy link
Member

miq-bot commented Jan 26, 2017

This pull request is not mergeable. Please rebase and repush.

@lgalis lgalis force-pushed the move_ansible_tower_ui_to_automation branch from c176721 to 7e8b22c Compare January 26, 2017 21:51
@lgalis lgalis force-pushed the move_ansible_tower_ui_to_automation branch 4 times, most recently from f5aab6f to 3575fa1 Compare January 29, 2017 21:49
@lgalis lgalis force-pushed the move_ansible_tower_ui_to_automation branch from 3575fa1 to 6a56023 Compare January 30, 2017 03:16
@lgalis lgalis changed the title [WIP] Move the Ansible Tower UI to the Automation tab Move the Ansible Tower UI to the Automation tab Jan 30, 2017
@lgalis lgalis force-pushed the move_ansible_tower_ui_to_automation branch from dea243d to ded1155 Compare January 30, 2017 06:30
@lgalis lgalis force-pushed the move_ansible_tower_ui_to_automation branch from e2eefe1 to 83d5e5c Compare February 9, 2017 17:30
@miq-bot
Copy link
Member

miq-bot commented Feb 9, 2017

Checked commits lgalis/manageiq-ui-classic@a90de89~...83d5e5c with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
34 files checked, 106 offenses detected

app/controllers/application_controller/ci_processing.rb

app/controllers/application_controller/filter.rb

app/controllers/automation_manager_controller.rb

app/controllers/mixins/manager_controller_mixin.rb

app/controllers/provider_foreman_controller.rb

app/helpers/application_helper.rb

app/helpers/application_helper/toolbar/automation_manager_provider_center.rb

app/helpers/application_helper/toolbar/automation_manager_providers_center.rb

app/helpers/application_helper/toolbar/configured_system/automation_policy_mixin.rb

  • ❗ - Line 22, Col 6 - Style/IndentArray - Indent the right bracket the same as the first position after the preceding left parenthesis.
  • ❗ - Line 4, Col 8 - Style/IndentArray - Use 2 spaces for indentation in an array, relative to the first position after the preceding left parenthesis.

app/helpers/application_helper/toolbar/x_automation_manager_ansible_tower_configured_system_center.rb

app/helpers/application_helper/toolbar_chooser.rb

app/helpers/automation_manager_helper.rb

app/presenters/menu/default_menu.rb

app/presenters/tree_builder_automation_manager_configuration_scripts.rb

app/presenters/tree_builder_automation_manager_providers.rb

spec/controllers/automation_manager_controller_spec.rb

@dclarizio dclarizio self-assigned this Feb 9, 2017
@dclarizio dclarizio merged commit 022ed62 into ManageIQ:master Feb 9, 2017
@dclarizio dclarizio added this to the Sprint 54 Ending Feb 13, 2017 milestone Feb 9, 2017
@epwinchell
Copy link
Contributor

@lgalis I am aware of that - it was a general statement

@himdel
Copy link
Contributor

himdel commented Feb 10, 2017

When adding euwe/yes or euwe/no, please add the same to #350

@martinpovolny
Copy link
Member

martinpovolny commented Feb 10, 2017

The textual summary helper functions added here seem to contain a lot of dead code :-(

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.

None yet

9 participants