-
Notifications
You must be signed in to change notification settings - Fork 900
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
Moving some of redhat/infra_manager code to separate model #11482
Moving some of redhat/infra_manager code to separate model #11482
Conversation
@borod108 Cannot apply the following label because they are not recognized: "refactoring" |
@miq-bot assign durandom |
96ab800
to
473bd48
Compare
@durandom oh thank you for catching this, I added that line and the did some more changes and removed it by mistake... |
473bd48
to
fae2360
Compare
@durandom can we merge this please? all the rubocop are for old code. |
@durandom Are you good with this? |
Tests are 🔴 😕 @durandom Is this a pattern we should do in the other providers to keep them consistent (i.e. create an ApiIntegration concern)? |
No, in the end it's a decision to be made the providers' author. In this case it makes sense, because they do quite some Api introspection. Whereas, say for amazon, the api integration is just the We made this, in order to make the follow up PR focus only on the changing part not the moving of methods part. ps. I'd be great to have all the |
@borod108 does the test fail also locally for you? |
This is just a small step in the direction of making this more object oriented, for now are least this cosmetic change is done to help work on another PR.
fae2360
to
2bc6c56
Compare
Checked commit borod108@2bc6c56 with ruby 2.2.5, rubocop 0.37.2, and haml-lint 0.16.1 app/models/manageiq/providers/redhat/infra_manager/api_integration.rb
|
@durandom no it was passing locally, anyway I fetched and rebased on master and now its green. |
@Fryguy it's green. Can you merge in case you have no objections? |
…m_infra_manager Moving some of redhat/infra_manager code to separate model (cherry picked from commit 7988378)
Euwe Backport details: $ git log
commit fd81918d7640995d5d79d43655c058f72a8b9e8b
Author: Jason Frey <[email protected]>
Date: Mon Sep 26 16:22:20 2016 -0400
Merge pull request #11482 from borod108/ref/split_api_integration_from_infra_manager
Moving some of redhat/infra_manager code to separate model
(cherry picked from commit 7988378a22971254d7e5eea1a8070280801dd957) |
This is just a small step in the direction of making this more object oriented, for now are least this cosmetic change is done to help work on another PR.