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

Method to save asset details #14827

Merged
merged 5 commits into from
May 16, 2017
Merged

Method to save asset details #14827

merged 5 commits into from
May 16, 2017

Conversation

walteraa
Copy link
Member

This PR add a method to save asset details in MIQ.

This PR depends on #14275

Added save_asset_details_inventory method, which is used to save asset details of a resource.
add a :asset_details child key in save_physical_server_inventory
@walteraa walteraa changed the title Save asset details method Method to save asset details Apr 20, 2017
@walteraa walteraa closed this Apr 20, 2017
@walteraa
Copy link
Member Author

Reopen to rebuild.

@blomquisg
Copy link
Member

The dependency PR is failing tests. Once we get that worked out, we can revisit this one.

@walteraa
Copy link
Member Author

@blomquisg the Dependency PR(#14275) was fixed. Can you look these PR?

Move save_asset_details_inventory from save_inventory.rb to save_inventory_physical_infra.rb
#
# Saves asset details information of a resource
#
def save_asset_details_inventory(parent, hash)
Copy link
Member

Choose a reason for hiding this comment

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

@walteraa can you move this method to save_inventory_physical_infra?

The base save_inventory.rb is more for general purpose inventory methods.

Copy link
Member

@blomquisg blomquisg left a comment

Choose a reason for hiding this comment

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

See comment.

@miq-bot
Copy link
Member

miq-bot commented May 4, 2017

Checked commits https://github.com/lenovo/manageiq/compare/8ce72254c71306febd7ebece6dcca827d02a9347~...66974b456226e4c157c9d25c24ce682266a730b7 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
1 file checked, 0 offenses detected
Everything looks fine. 👍

@walteraa
Copy link
Member Author

walteraa commented May 4, 2017

The requested change was done @blomquisg

@juliancheal
Copy link
Member

@blomquisg what needs doing on this PR to be merged?

@walteraa
Copy link
Member Author

@blomquisg @juliancheal I have done the requested changes. I think this PR can be merged.

@juliancheal
Copy link
Member

@blomquisg is this PR looking good for you?

@blomquisg blomquisg merged commit f02af9d into ManageIQ:master May 16, 2017
@blomquisg blomquisg added this to the Sprint 61 Ending May 22, 2017 milestone May 16, 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.

5 participants