Skip to content

Commit

Permalink
Merge pull request #16478 from karelhala/eapWildflyFactory
Browse files Browse the repository at this point in the history
Add two new types to MW server factories
(cherry picked from commit 2a3700b)
  • Loading branch information
agrare authored and simaishi committed Nov 20, 2017
1 parent c9fb71e commit ee87b92
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions spec/factories/middleware_servers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,16 @@
:class => 'ManageIQ::Providers::Hawkular::MiddlewareManager::MiddlewareServer',
:parent => :middleware_server do
end

factory :hawkular_middleware_server_wildfly,
:aliases => ['app/models/manageiq/providers/hawkular/middleware_manager/middleware_server_wildfly'],
:class => 'ManageIQ::Providers::Hawkular::MiddlewareManager::MiddlewareServerWildfly',
:parent => :middleware_server do
end

factory :hawkular_middleware_server_eap,
:aliases => ['app/models/manageiq/providers/hawkular/middleware_manager/middleware_server_eap'],
:class => 'ManageIQ::Providers::Hawkular::MiddlewareManager::MiddlewareServerEap',
:parent => :hawkular_middleware_server_wildfly do
end
end

0 comments on commit ee87b92

Please sign in to comment.