From ee87b92508b79bae96f3df58331f4e72a97493d1 Mon Sep 17 00:00:00 2001 From: Adam Grare Date: Sun, 19 Nov 2017 09:44:14 -0500 Subject: [PATCH] Merge pull request #16478 from karelhala/eapWildflyFactory Add two new types to MW server factories (cherry picked from commit 2a3700be7f9dcadcf6815ebc245b4224af7511f9) --- spec/factories/middleware_servers.rb | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/spec/factories/middleware_servers.rb b/spec/factories/middleware_servers.rb index 7af5f2feb31..56da2578c51 100644 --- a/spec/factories/middleware_servers.rb +++ b/spec/factories/middleware_servers.rb @@ -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