foreman_discovery 10.0.0 → 11.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (99) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/app/controllers/api/v2/discovered_hosts_controller.rb +1 -1
  4. data/app/controllers/api/v2/discovery_rules_controller.rb +2 -1
  5. data/app/controllers/concerns/foreman/controller/parameters/discovered_host.rb +9 -2
  6. data/app/controllers/discovered_hosts_controller.rb +16 -15
  7. data/app/controllers/discovery_rules_controller.rb +1 -1
  8. data/app/models/host/discovered.rb +10 -4
  9. data/app/models/host/managed_extensions.rb +4 -1
  10. data/app/views/foreman_discovery/debian_kexec.erb +1 -1
  11. data/db/migrate/20141107091416_create_discovery_rules.rb +1 -1
  12. data/db/migrate/20141107091417_add_discovery_rule_to_host.rb +1 -1
  13. data/db/migrate/20141126165451_add_discovery_id_to_subnet.rb +1 -1
  14. data/db/migrate/20141223101707_create_discovery_attribute_sets.rb +1 -1
  15. data/db/migrate/20141223142759_fill_discovery_attribute_sets_for_existing_hosts.rb +1 -1
  16. data/db/migrate/20150302112545_remove_duplicate_tokens_from_hosts.rb +1 -1
  17. data/db/migrate/20150310153859_remove_discovery_attribute_sets_from_managed_hosts.rb +1 -1
  18. data/db/migrate/20150331132115_remove_old_permissions.rb +1 -1
  19. data/db/migrate/20150505111345_remove_leftover_tokens.rb +1 -1
  20. data/db/migrate/20150512150432_remove_old_discovery_reader_permissions.rb +1 -1
  21. data/db/migrate/20150714144500_review_discovery_permissions.rb +1 -1
  22. data/db/migrate/20151023144501_regenerate_red_hat_kexec.rb +1 -1
  23. data/db/migrate/20160719124942_add_missing_view_permissions.rb +1 -1
  24. data/db/migrate/20160805104605_rename_lock_template_setting.rb +1 -1
  25. data/db/migrate/20160818091421_add_permissions_from_default_roles.rb +1 -1
  26. data/db/migrate/20160925213030_change_discovery_widget_names.rb +1 -1
  27. data/db/migrate/20160927164411_define_explicit_length_for_discovery_rule_attributes.rb +1 -1
  28. data/db/migrate/20161006094714_add_constraints_on_subnets_smart_proxies.rb +4 -1
  29. data/lib/foreman_discovery/engine.rb +2 -1
  30. data/lib/foreman_discovery/version.rb +1 -1
  31. data/locale/ca/LC_MESSAGES/foreman_discovery.mo +0 -0
  32. data/locale/ca/foreman_discovery.edit.po +47 -38
  33. data/locale/ca/foreman_discovery.po +18 -11
  34. data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
  35. data/locale/de/foreman_discovery.edit.po +50 -42
  36. data/locale/de/foreman_discovery.po +21 -15
  37. data/locale/en/LC_MESSAGES/foreman_discovery.mo +0 -0
  38. data/locale/en/foreman_discovery.edit.po +51 -43
  39. data/locale/en/foreman_discovery.po +7 -1
  40. data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
  41. data/locale/en_GB/foreman_discovery.edit.po +43 -35
  42. data/locale/en_GB/foreman_discovery.po +14 -8
  43. data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
  44. data/locale/es/foreman_discovery.edit.po +208 -200
  45. data/locale/es/foreman_discovery.po +179 -173
  46. data/locale/foreman_discovery.pot +52 -44
  47. data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
  48. data/locale/fr/foreman_discovery.edit.po +54 -46
  49. data/locale/fr/foreman_discovery.po +25 -19
  50. data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
  51. data/locale/gl/foreman_discovery.edit.po +37 -29
  52. data/locale/gl/foreman_discovery.po +8 -2
  53. data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
  54. data/locale/it/foreman_discovery.edit.po +51 -43
  55. data/locale/it/foreman_discovery.po +22 -16
  56. data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
  57. data/locale/ja/foreman_discovery.edit.po +184 -176
  58. data/locale/ja/foreman_discovery.po +155 -151
  59. data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
  60. data/locale/ko/foreman_discovery.edit.po +57 -49
  61. data/locale/ko/foreman_discovery.po +28 -22
  62. data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
  63. data/locale/pt_BR/foreman_discovery.edit.po +206 -198
  64. data/locale/pt_BR/foreman_discovery.po +177 -171
  65. data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
  66. data/locale/ru/foreman_discovery.edit.po +57 -49
  67. data/locale/ru/foreman_discovery.po +28 -22
  68. data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
  69. data/locale/sv_SE/foreman_discovery.edit.po +37 -29
  70. data/locale/sv_SE/foreman_discovery.po +8 -2
  71. data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
  72. data/locale/zh_CN/foreman_discovery.edit.po +204 -196
  73. data/locale/zh_CN/foreman_discovery.po +177 -169
  74. data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
  75. data/locale/zh_TW/foreman_discovery.edit.po +47 -39
  76. data/locale/zh_TW/foreman_discovery.po +18 -12
  77. data/test/factories/discovery_host_related.rb +2 -2
  78. data/test/factories/discovery_rule_related.rb +1 -1
  79. data/test/functional/api/v2/discovered_hosts_controller_test.rb +28 -27
  80. data/test/functional/api/v2/discovery_rules_controller_test.rb +14 -14
  81. data/test/functional/api/v2/fact_value_extensions_test.rb +5 -2
  82. data/test/functional/discovered_hosts_controller_test.rb +47 -40
  83. data/test/functional/discovery_rules_controller_test.rb +14 -14
  84. data/test/functional/foreman_discovery/concerns/hosts_controller_extensions_test.rb +2 -2
  85. data/test/integration/discovered_hosts_test.rb +151 -0
  86. data/test/test_helper_discovery.rb +53 -23
  87. data/test/test_plugin_helper.rb +3 -7
  88. data/test/unit/discovered_extensions_test.rb +40 -38
  89. data/test/unit/discovered_mailer_test.rb +1 -1
  90. data/test/unit/discovery_attribute_set_test.rb +4 -2
  91. data/test/unit/discovery_rule_test.rb +2 -2
  92. data/test/unit/discovery_taxonomy_extensions_test.rb +1 -1
  93. data/test/unit/fact_parser_test.rb +1 -1
  94. data/test/unit/host_discovered_test.rb +26 -23
  95. data/test/unit/managed_extensions_test.rb +1 -1
  96. data/test/unit/ui_notifications/destroy_host_test.rb +21 -17
  97. data/test/unit/ui_notifications/new_host_test.rb +11 -11
  98. metadata +8 -3
  99. data/config/as_deprecation_whitelist.yaml +0 -0
@@ -4,7 +4,7 @@ class DiscoveredMailerTest < ActiveSupport::TestCase
4
4
  setup do
5
5
  @user = User.current = users :admin
6
6
 
7
- FactoryGirl.create(:mail_notification,
7
+ FactoryBot.create(:mail_notification,
8
8
  :name => :discovered_summary,
9
9
  :description => N_('A summary of discovered hosts'),
10
10
  :mailer => 'DiscoveredMailer',
@@ -1,14 +1,16 @@
1
1
  require 'test_plugin_helper'
2
2
 
3
3
  class DiscoveryAttributeSetTest < ActiveSupport::TestCase
4
+ include FactImporterIsolation
5
+ allow_transactions_for_any_importer
4
6
 
5
7
  setup do
6
8
  @facts = parse_json_fixture('/facts.json')['facts']
7
- FactoryGirl.create(:setting,
9
+ FactoryBot.create(:setting,
8
10
  :name => 'discovery_hostname',
9
11
  :value => 'discovery_bootif',
10
12
  :category => 'Setting::Discovered')
11
- FactoryGirl.create(:setting,
13
+ FactoryBot.create(:setting,
12
14
  :name => 'discovery_prefix',
13
15
  :value => 'mac',
14
16
  :category => 'Setting::Discovered')
@@ -2,7 +2,7 @@ require 'test_plugin_helper'
2
2
 
3
3
  class DiscoveryRuleTest < ActiveSupport::TestCase
4
4
  setup do
5
- @hostgroup = FactoryGirl.create(:hostgroup)
5
+ @hostgroup = FactoryBot.create(:hostgroup)
6
6
  end
7
7
 
8
8
  context "#validates attribute" do
@@ -114,7 +114,7 @@ class DiscoveryRuleTest < ActiveSupport::TestCase
114
114
 
115
115
  test "should enforce hostgroup organizations and locations" do
116
116
  skip unless (SETTINGS[:organizations_enabled] && SETTINGS[:locations_enabled])
117
- loc = FactoryGirl.create(:location, :name => "hgloc")
117
+ loc = FactoryBot.create(:location, :name => "hgloc")
118
118
  @hostgroup.locations << loc
119
119
  @hostgroup.save!
120
120
  rule = DiscoveryRule.new :name => "myrule",
@@ -7,7 +7,7 @@ class DiscoveryTaxonomyExtensionsTest < ActiveSupport::TestCase
7
7
  end
8
8
 
9
9
  test 'deleting location does not hard fail if there is associated discovered host' do
10
- location = FactoryGirl.create(:location)
10
+ location = FactoryBot.create(:location)
11
11
 
12
12
  assert (host = discover_host_from_facts(@facts))
13
13
  host.location = location
@@ -55,7 +55,7 @@ class FactParserTest < ActiveSupport::TestCase
55
55
  end
56
56
 
57
57
  test "#suggested_primary_interface detects interface even when 'ignore_puppet_facts_for_provisioning' is set" do
58
- FactoryGirl.create(:setting,
58
+ FactoryBot.create(:setting,
59
59
  :name => 'ignore_puppet_facts_for_provisioning',
60
60
  :value => true,
61
61
  :category => 'Setting::Provisioning')
@@ -1,6 +1,9 @@
1
1
  require 'test_plugin_helper'
2
2
 
3
3
  class HostDiscoveredTest < ActiveSupport::TestCase
4
+ include FactImporterIsolation
5
+ allow_transactions_for_any_importer
6
+
4
7
  setup do
5
8
  @facts = parse_json_fixture('/facts.json')['facts']
6
9
  set_default_settings
@@ -17,52 +20,52 @@ class HostDiscoveredTest < ActiveSupport::TestCase
17
20
  end
18
21
 
19
22
  test 'fact value association is set accordingly' do
20
- discovered_host = FactoryGirl.create(:discovered_host, :with_facts, :fact_count => 1)
23
+ discovered_host = FactoryBot.create(:discovered_host, :with_facts, :fact_count => 1)
21
24
  fact_value = discovered_host.fact_values.first
22
25
  assert_equal discovered_host.id, fact_value.host.id
23
26
  end
24
27
 
25
28
  test "should setup subnet" do
26
29
  raw = parse_json_fixture('/facts.json')
27
- subnet = FactoryGirl.create(:subnet_ipv4, :name => 'Subnet99', :network => '10.35.27.0', :organizations => [organization_one], :locations => [location_one])
30
+ subnet = FactoryBot.create(:subnet_ipv4, :name => 'Subnet99', :network => '10.35.27.0', :organizations => [organization_one], :locations => [location_one])
28
31
  Subnet.expects(:subnet_for).with('10.35.27.3').returns(subnet)
29
32
  host = discover_host_from_facts(@facts)
30
33
  assert_equal subnet, host.primary_interface.subnet
31
34
  end
32
35
 
33
36
  test "should setup subnet with org and loc set via settings" do
34
- org = FactoryGirl.create(:organization, :name => "subnet_org")
35
- loc = FactoryGirl.create(:location, :name => "subnet_loc")
37
+ org = FactoryBot.create(:organization, :name => "subnet_org")
38
+ loc = FactoryBot.create(:location, :name => "subnet_loc")
36
39
  Setting['discovery_organization'] = org.name
37
40
  Setting['discovery_location'] = loc.name
38
41
  raw = parse_json_fixture('/facts.json')
39
- subnet = FactoryGirl.create(:subnet_ipv4, :name => 'Subnet99', :network => '10.35.27.0', :organizations => [org], :locations => [loc])
42
+ subnet = FactoryBot.create(:subnet_ipv4, :name => 'Subnet99', :network => '10.35.27.0', :organizations => [org], :locations => [loc])
40
43
  Subnet.expects(:subnet_for).with('10.35.27.3').returns(subnet)
41
44
  host = discover_host_from_facts(@facts)
42
45
  assert_equal subnet, host.primary_interface.subnet
43
46
  end
44
47
 
45
48
  test "should setup subnet with org and loc set via facts" do
46
- org = FactoryGirl.create(:organization, :name => "subnet_org_via_fact")
47
- loc = FactoryGirl.create(:location, :name => "subnet_loc_via_fact")
49
+ org = FactoryBot.create(:organization, :name => "subnet_org_via_fact")
50
+ loc = FactoryBot.create(:location, :name => "subnet_loc_via_fact")
48
51
  raw = parse_json_fixture('/facts.json')
49
52
  @facts['foreman_organization'] = org.name
50
53
  @facts['foreman_location'] = loc.name
51
- subnet = FactoryGirl.create(:subnet_ipv4, :name => 'Subnet99', :network => '10.35.27.0', :organizations => [org], :locations => [loc])
54
+ subnet = FactoryBot.create(:subnet_ipv4, :name => 'Subnet99', :network => '10.35.27.0', :organizations => [org], :locations => [loc])
52
55
  Subnet.expects(:subnet_for).with('10.35.27.3').returns(subnet)
53
56
  host = discover_host_from_facts(@facts)
54
57
  assert_equal subnet, host.primary_interface.subnet
55
58
  end
56
59
 
57
60
  test "should set nested org and loc" do
58
- org_parent = FactoryGirl.create(:organization, :name => "org")
59
- org = FactoryGirl.create(:organization, :name => "suborg", :parent_id => org_parent.id)
60
- loc_parent = FactoryGirl.create(:location, :name => "loc")
61
- loc = FactoryGirl.create(:location, :name => "subloc", :parent_id => loc_parent.id)
61
+ org_parent = FactoryBot.create(:organization, :name => "org")
62
+ org = FactoryBot.create(:organization, :name => "suborg", :parent_id => org_parent.id)
63
+ loc_parent = FactoryBot.create(:location, :name => "loc")
64
+ loc = FactoryBot.create(:location, :name => "subloc", :parent_id => loc_parent.id)
62
65
  Setting['discovery_organization'] = org.name
63
66
  Setting['discovery_location'] = loc.name
64
67
  raw = parse_json_fixture('/facts.json')
65
- subnet = FactoryGirl.create(:subnet_ipv4, :name => 'Subnet99', :network => '10.35.27.0', :organizations => [org], :locations => [loc])
68
+ subnet = FactoryBot.create(:subnet_ipv4, :name => 'Subnet99', :network => '10.35.27.0', :organizations => [org], :locations => [loc])
66
69
  Subnet.expects(:subnet_for).with('10.35.27.3').returns(subnet)
67
70
  host = discover_host_from_facts(@facts)
68
71
  assert_equal org, host.organization
@@ -98,7 +101,7 @@ class HostDiscoveredTest < ActiveSupport::TestCase
98
101
  Host::Discovered.delete('mace41f13cc3658')
99
102
  Setting[:discovery_lock] = "true"
100
103
  raw = parse_json_fixture('/facts.json')
101
- subnet = FactoryGirl.create(:subnet,
104
+ subnet = FactoryBot.create(:subnet,
102
105
  :tftp,
103
106
  :network => '10.35.27.0',
104
107
  :cidr => '24',
@@ -140,7 +143,7 @@ class HostDiscoveredTest < ActiveSupport::TestCase
140
143
  end
141
144
 
142
145
  test "should not create discovered host when managed host exists" do
143
- FactoryGirl.create(:host, :mac => 'E4:1F:13:CC:36:58')
146
+ FactoryBot.create(:host, :mac => 'E4:1F:13:CC:36:58')
144
147
  raw = parse_json_fixture('/facts.json')
145
148
  exception = assert_raises(::Foreman::Exception) do
146
149
  discover_host_from_facts(@facts)
@@ -192,14 +195,14 @@ class HostDiscoveredTest < ActiveSupport::TestCase
192
195
  end
193
196
 
194
197
  test 'discovered host can be searched in multiple taxonomies' do
195
- org1 = FactoryGirl.create(:organization)
196
- org2 = FactoryGirl.create(:organization)
197
- org3 = FactoryGirl.create(:organization)
198
- user_subset = FactoryGirl.create(:user, :organizations => [org1, org2])
199
- user_all = FactoryGirl.create(:user, :organizations => [org1, org2, org3])
200
- host1 = FactoryGirl.create(:host, :type => "Host::Discovered", :organization => org1)
201
- host2 = FactoryGirl.create(:host, :type => "Host::Discovered", :organization => org2)
202
- host3 = FactoryGirl.create(:host, :type => "Host::Discovered", :organization => org3)
198
+ org1 = FactoryBot.create(:organization)
199
+ org2 = FactoryBot.create(:organization)
200
+ org3 = FactoryBot.create(:organization)
201
+ user_subset = FactoryBot.create(:user, :organizations => [org1, org2])
202
+ user_all = FactoryBot.create(:user, :organizations => [org1, org2, org3])
203
+ host1 = FactoryBot.create(:host, :type => "Host::Discovered", :organization => org1)
204
+ host2 = FactoryBot.create(:host, :type => "Host::Discovered", :organization => org2)
205
+ host3 = FactoryBot.create(:host, :type => "Host::Discovered", :organization => org3)
203
206
  hosts = nil
204
207
 
205
208
  assert_nil Organization.current
@@ -24,7 +24,7 @@ class ManagedExtensionsTest < ActiveSupport::TestCase
24
24
  @host.stubs(:operatingsystem).returns(@operatingsystem)
25
25
  @host.stubs(:provisioning_template).returns('A template')
26
26
  @host.stubs(:medium).returns('http://a_medium')
27
- @host.stubs(:architecture).returns(FactoryGirl.create(:architecture))
27
+ @host.stubs(:architecture).returns(FactoryBot.create(:architecture))
28
28
  @kexec_json = {
29
29
  :kernel => "http://a_host/vmlinuz",
30
30
  :initrd => "http://a_host/someimage.img"
@@ -1,26 +1,36 @@
1
1
  require 'test_plugin_helper'
2
2
 
3
3
  class DestroyHostNotificationTest < ActiveSupport::TestCase
4
+ alias_method :blueprint, :discovered_notification_blueprint
5
+
6
+ setup do
7
+ assert blueprint
8
+ end
9
+
4
10
  test 'destorying discovered host should remove notification' do
5
- host = FactoryGirl.create(:discovered_host)
11
+ host = FactoryBot.create(:discovered_host)
6
12
  assert_difference('blueprint.notifications.count', -1) do
7
13
  host.destroy
8
14
  end
9
15
  end
10
16
 
11
- test 'do not remove notification if others discovered hosts exists' do
12
- host1 = FactoryGirl.create(:discovered_host)
13
- assert_equal 1, blueprint.notifications.count
14
- host2 = FactoryGirl.create(:discovered_host)
15
- assert_equal 1, blueprint.notifications.count
16
- host2.destroy
17
+ test 'do not remove notification if other discovered hosts exists' do
18
+ assert_difference('blueprint.notifications.count') do
19
+ FactoryBot.create(:discovered_host)
20
+ end
17
21
  assert_equal 1, blueprint.notifications.count
18
- host1.destroy
22
+ assert_no_difference('blueprint.notifications.count') do
23
+ FactoryBot.create(:discovered_host)
24
+ end
25
+ assert_no_difference('blueprint.notifications.count') do
26
+ Host::Discovered.all.last.destroy
27
+ end
28
+ Host::Discovered.destroy_all
19
29
  assert_equal 0, blueprint.notifications.count
20
30
  end
21
31
 
22
32
  test 'discovered host type change should update notifications' do
23
- host = FactoryGirl.create(:discovered_host)
33
+ host = FactoryBot.create(:discovered_host)
24
34
  assert_equal 1, blueprint.notifications.count
25
35
  new_host = ::ForemanDiscovery::HostConverter.to_managed(host, false, false)
26
36
  assert new_host.save!
@@ -28,17 +38,11 @@ class DestroyHostNotificationTest < ActiveSupport::TestCase
28
38
  end
29
39
 
30
40
  test 'type change should not removing notifications for discovered hosts' do
31
- host1 = FactoryGirl.create(:discovered_host)
32
- FactoryGirl.create(:discovered_host)
41
+ host1 = FactoryBot.create(:discovered_host)
42
+ FactoryBot.create(:discovered_host)
33
43
  assert_equal 1, blueprint.notifications.count
34
44
  new_host = ::ForemanDiscovery::HostConverter.to_managed(host1, false, false)
35
45
  assert new_host.save!
36
46
  assert_equal 1, blueprint.notifications.count
37
47
  end
38
-
39
- private
40
-
41
- def blueprint
42
- NotificationBlueprint.find_by(name: 'new_discovered_host')
43
- end
44
48
  end
@@ -1,26 +1,26 @@
1
1
  require 'test_plugin_helper'
2
2
 
3
3
  class NewHostNotificationTest < ActiveSupport::TestCase
4
- test 'new discovered host should generate a notification' do
4
+ alias_method :blueprint, :discovered_notification_blueprint
5
+
6
+ setup do
5
7
  assert blueprint
6
- FactoryGirl.create :discovered_host
7
- assert_equal 1, blueprint.notifications.count
8
+ end
9
+
10
+ test 'new discovered host should generate a notification' do
11
+ assert_difference('blueprint.notifications.count') do
12
+ FactoryBot.create :discovered_host
13
+ end
8
14
  end
9
15
 
10
16
  test 'multiple discovered hosts should generate only one notification' do
11
- host1 = FactoryGirl.create :discovered_host
17
+ host1 = FactoryBot.create :discovered_host
12
18
  ForemanDiscovery::UINotifications::NewHost.deliver!(host1)
13
19
  expired_at = blueprint.notifications.first.expired_at
14
20
  Time.any_instance.stubs(:utc).returns(expired_at + 1.hour)
15
- host2 = FactoryGirl.create :discovered_host
21
+ host2 = FactoryBot.create :discovered_host
16
22
  ForemanDiscovery::UINotifications::NewHost.deliver!(host2)
17
23
  assert_equal 1, blueprint.notifications.count
18
24
  assert_not_equal expired_at, blueprint.notifications.first.expired_at
19
25
  end
20
-
21
- private
22
-
23
- def blueprint
24
- NotificationBlueprint.find_by(name: 'new_discovered_host')
25
- end
26
26
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_discovery
3
3
  version: !ruby/object:Gem::Version
4
- version: 10.0.0
4
+ version: 11.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - alongoldboim
@@ -16,6 +16,7 @@ authors:
16
16
  - David Davis
17
17
  - Dominic Cleal
18
18
  - Eric D. Helms
19
+ - Ewoud Kohl van Wijngaarden
19
20
  - Frank Wall
20
21
  - Greg Sutcliffe
21
22
  - ChairmanTubeAmp
@@ -23,6 +24,7 @@ authors:
23
24
  - Imri Zvik
24
25
  - Joseph Mitchell Magen
25
26
  - June Zhang
27
+ - Lars Berntzon
26
28
  - Lukas Zapletal
27
29
  - Lukáš Zapletal
28
30
  - Marek Hulan
@@ -32,8 +34,10 @@ authors:
32
34
  - Michael Moll
33
35
  - Nick
34
36
  - Ohad Levy
37
+ - Ondrej Prazak
35
38
  - Ori Rabin
36
39
  - orrabin
40
+ - Partha Aji
37
41
  - Petr Chalupa
38
42
  - Phirince Philip
39
43
  - Rahul Bajaj
@@ -52,7 +56,7 @@ authors:
52
56
  autorequire:
53
57
  bindir: bin
54
58
  cert_chain: []
55
- date: 2017-10-18 00:00:00.000000000 Z
59
+ date: 2018-01-30 00:00:00.000000000 Z
56
60
  dependencies: []
57
61
  description: MaaS Discovery Plugin engine for Foreman
58
62
  email: gsutclif@redhat.com
@@ -126,7 +130,6 @@ files:
126
130
  - app/views/discovery_rules/new.html.erb
127
131
  - app/views/foreman_discovery/debian_kexec.erb
128
132
  - app/views/foreman_discovery/redhat_kexec.erb
129
- - config/as_deprecation_whitelist.yaml
130
133
  - config/initializers/discovery_setup.rb
131
134
  - config/routes.rb
132
135
  - db/migrate/20141107091416_create_discovery_rules.rb
@@ -218,6 +221,7 @@ files:
218
221
  - test/functional/discovered_hosts_controller_test.rb
219
222
  - test/functional/discovery_rules_controller_test.rb
220
223
  - test/functional/foreman_discovery/concerns/hosts_controller_extensions_test.rb
224
+ - test/integration/discovered_hosts_test.rb
221
225
  - test/test_helper_discovery.rb
222
226
  - test/test_plugin_helper.rb
223
227
  - test/unit/discovered_extensions_test.rb
@@ -259,6 +263,7 @@ summary: MaaS Discovery Plugin for Foreman
259
263
  test_files:
260
264
  - test/test_plugin_helper.rb
261
265
  - test/test_helper_discovery.rb
266
+ - test/integration/discovered_hosts_test.rb
262
267
  - test/unit/discovery_attribute_set_test.rb
263
268
  - test/unit/facts.json
264
269
  - test/unit/discovered_mailer_test.rb
File without changes