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

Fix Orchestration Stack UI for infra stacks #12569

Merged
merged 1 commit into from
Nov 12, 2016

Conversation

sseago
Copy link
Contributor

@sseago sseago commented Nov 11, 2016

https://bugzilla.redhat.com/show_bug.cgi?id=1383263

Prior development work ended up breaking infra stack UI when separating
Configuration jobs from Cloud Orchestration Stacks. This is a
short-term fix which removes the explicit Infra model class limitation
and filters Configuration jobs out of the show_list operation.

Longer-term, we need to refactor this into separate controllers
for infra and cloud stacks.

@sseago sseago force-pushed the orchestration-stacks-infra branch 2 times, most recently from 5b01123 to 008bf26 Compare November 11, 2016 02:34
@sseago
Copy link
Contributor Author

sseago commented Nov 11, 2016

@lgalis Ready for you to test.

@lgalis
Copy link
Contributor

lgalis commented Nov 11, 2016

@sseago - looks good. Can you add a spec?

@sseago
Copy link
Contributor Author

sseago commented Nov 11, 2016

@lgalis So I guess I'll add tests for the following to orchestration_stack_controller_spec.rb:

  1. test that both infra and cloud stacks work for 'show'
  2. test that ansible jobs are hidden on 'show_list'

@lgalis
Copy link
Contributor

lgalis commented Nov 11, 2016

@sseago - perfect, thanks!

https://bugzilla.redhat.com/show_bug.cgi?id=1383263

Prior development work ended up breaking infra stack UI when separating
Configuration  jobs from Cloud Orchestration Stacks. This is a
short-term fix which removes the explicit Infra model class limitation
and filters Configuration jobs out of the show_list operation.

Longer-term, we need to refactor this into separate controllers
for infra and cloud stacks.
@miq-bot
Copy link
Member

miq-bot commented Nov 11, 2016

Checked commit sseago@664acf1 with ruby 2.2.5, rubocop 0.37.2, and haml-lint 0.16.1
2 files checked, 0 offenses detected
Everything looks good. 🏆

@sseago
Copy link
Contributor Author

sseago commented Nov 11, 2016

@lgalis Spec tests added

@lgalis
Copy link
Contributor

lgalis commented Nov 11, 2016

@sseago - looks good, thanks!

@lgalis
Copy link
Contributor

lgalis commented Nov 11, 2016

@dclarizio - would you be able to merge this?

@dclarizio dclarizio merged commit f0c0d28 into ManageIQ:master Nov 12, 2016
@dclarizio dclarizio added this to the Sprint 49 Ending Nov 14, 2016 milestone Nov 12, 2016
@dclarizio dclarizio self-assigned this Nov 12, 2016
@chessbyte
Copy link
Member

chessbyte pushed a commit that referenced this pull request Nov 14, 2016
@chessbyte
Copy link
Member

Euwe Backport details:

$ git log -1
commit 9d1fefb02f88d3b113fe593f71b8c44345bb1547
Author: Dan Clarizio <dclarizi@redhat.com>
Date:   Fri Nov 11 16:01:21 2016 -0800

    Merge pull request #12569 from sseago/orchestration-stacks-infra

    Fix Orchestration Stack UI for infra stacks
    (cherry picked from commit f0c0d28b3662e317d691f5de5f0d379d65fd69d1)

    https://bugzilla.redhat.com/show_bug.cgi?id=1394842

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

5 participants