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

VCpus and Memory for Cloud Providers visual #13124

Merged
merged 1 commit into from
Dec 13, 2016

Conversation

aljesusg
Copy link
Member

@aljesusg aljesusg commented Dec 12, 2016

This is a simple change in the visual of Cloud list View of providers, now we can see Total Cores and Total Memory of each Provider of Instances(VMs).

@sergio-ocon, @kbrock is the same than #12758 but in cloud provider list view.

captura de pantalla de 2016-12-12 19-39-01

@aljesusg aljesusg changed the title VCpus and Memory for Cloud Providers visual [WIP] VCpus and Memory for Cloud Providers visual Dec 12, 2016
@aljesusg
Copy link
Member Author

@miq-bot add_label wip,ui
@miq-bot assign @sergio-ocon

Copy link
Member

@kbrock kbrock left a comment

Choose a reason for hiding this comment

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

This looks good.

:hardware => FactoryGirl.create(:hardware,
:cpu1x2,
:ram1GB),
:name => "vm_#{i}")
Copy link
Member

Choose a reason for hiding this comment

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

if possible, drop the :name.

@aljesusg aljesusg force-pushed the add_cores_memory_cloud_visual branch from e9c92ee to 6f6b015 Compare December 12, 2016 19:34
@aljesusg
Copy link
Member Author

I did the changes @kbrock Thanks

@aljesusg aljesusg changed the title [WIP] VCpus and Memory for Cloud Providers visual VCpus and Memory for Cloud Providers visual Dec 12, 2016
@aljesusg
Copy link
Member Author

@miq-bot remove_label wip

@@ -258,7 +258,20 @@
context "with virtual totals" do
before(:each) do
@ems = FactoryGirl.create(:ems_vmware)
(1..2).each { |i| FactoryGirl.create(:vm_vmware, :ext_management_system => @ems, :name => "vm_#{i}") }
(1..2).each { |i| FactoryGirl.create(:vm_vmware,
Copy link
Member

Choose a reason for hiding this comment

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

looking good

please do not change, but for future reference: 2.times { FactoryGirl.create

Copy link
Member Author

Choose a reason for hiding this comment

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

Did it !!!!

@aljesusg
Copy link
Member Author

aljesusg commented Dec 12, 2016 via email

@aljesusg aljesusg force-pushed the add_cores_memory_cloud_visual branch from 6f6b015 to c83b855 Compare December 13, 2016 07:52
@miq-bot
Copy link
Member

miq-bot commented Dec 13, 2016

Checked commit aljesusg@c83b855 with ruby 2.2.5, rubocop 0.37.2, and haml-lint 0.16.1
2 files checked, 0 offenses detected
Everything looks good. ⭐

@chrisarcand chrisarcand merged commit f5995c0 into ManageIQ:master Dec 13, 2016
@chrisarcand chrisarcand added this to the Sprint 51 Ending Jan 2, 2017 milestone Dec 13, 2016
@aljesusg aljesusg deleted the add_cores_memory_cloud_visual branch May 25, 2017 06:32
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.

6 participants