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

Added "Copy from Provisioning" button on Retirement tab. #732

Merged
merged 2 commits into from
Mar 20, 2017

Conversation

h-kataria
Copy link
Contributor

Added Copy from Provisioning button on Retirement tab, that pops up a confirmation modal when button is pressed with Cancel/Copy buttons.

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

before
before

after:
copy_from_provisioning_button
copy_provisioning_confirmation_modal

@epwinchell please review
@gmcculloug please review/test
cc @dclarizio

@gmcculloug
Copy link
Member

@syncrou Please review.

@gmcculloug
Copy link
Member

@h-kataria This does not seem to effect cloud credential. Otherwise it is working.

vm.catalogItemModel.retirement_dialog_name = vm.catalogItemModel.provisioning_dialog_name;
vm.catalogItemModel.retirement_key = '';
vm.catalogItemModel.retirement_value = '';
vm.catalogItemModel.retirement_variables = angular.copy(vm.catalogItemModel.provisioning_variables);
Copy link
Contributor

Choose a reason for hiding this comment

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

@h-kataria - Do we have to worry about the ae_instance (retirement entry points - 'yes_without_playbook', 'no_without_playbook' etc.) getting set here as well? - Possibly that is pulled in already from the vm.catalogItemModel object, and already exists?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@syncrou that is already set when the form loads, no need to set when copying provisioning fields.

@syncrou
Copy link
Contributor

syncrou commented Mar 17, 2017

👍 Looks good to me.

@h-kataria
Copy link
Contributor Author

@gmcculloug i am looking into cloud credential drop down issue.

Added Copy from Provisioning button on Retirement tab, that pops up a confirmation modal when button is pressed with Cancel/Copy buttons.

https://www.pivotaltracker.com/story/show/140338133
@h-kataria
Copy link
Contributor Author

@gmcculloug addressed issue found with cloud credential drop down when copying data from provisioning.

@miq-bot
Copy link
Member

miq-bot commented Mar 17, 2017

Checked commits h-kataria/manageiq-ui-classic@094462f~...7c38501 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
1 file checked, 0 offenses detected
Everything looks good. ⭐

@gmcculloug
Copy link
Member

Retested cloud credentials - Looks good. Thanks.

@epwinchell
Copy link
Contributor

Looks good.

@h-kataria
Copy link
Contributor Author

@martinpovolny can you please merge.

@martinpovolny martinpovolny merged commit 1573a46 into ManageIQ:master Mar 20, 2017
@martinpovolny martinpovolny added this to the Sprint 57 Ending Mar 27, 2017 milestone Mar 20, 2017
@h-kataria h-kataria deleted the copy_provisioning_button branch March 21, 2017 20:47
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.

7 participants