foreman_azure_rm 2.0.6 → 2.0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 910b1dd793ab445a40152db2f4613550f39d846cb53603da5a1b80cbd785f832
4
- data.tar.gz: ed13a2dd55819f1c12f6c572173108b300c6ac456ec9d788507b68cf171c0260
3
+ metadata.gz: c6b3d52bb180b583d6d307ef39a00efea028a52cb783d0f5dcfb1635e9e73c74
4
+ data.tar.gz: db51091159e0eb00bcf3bfe3c13d6eee7c66e4db53e49200988717ac352ad0aa
5
5
  SHA512:
6
- metadata.gz: 8876efb62862f4d57684d620a91ee740459187e3e7b64cf35da8d12473fde4189902a8a88ec0bb6aca6c6f3785b79cb1973b12a2d2cf00f7b5ff15aa27a0a7c0
7
- data.tar.gz: 79b0e983f67fe039698c1ecb7ae2699435049d26aec02ed2389299492113c26e197e4366aac740bafd5e4b9251a18a7e3912fd65daf43628186c54cf83c78a26
6
+ metadata.gz: 0203261bd33988e9f453e8247bef50fff3c7ece7e265e7928f20c27b9c147c5f7207431056d4b5549bcfc6951456e2819e9b0d5c724eec0ee950ed09d0d64e63
7
+ data.tar.gz: d4a34c46a09a35b9e0bcb42df77ef24d9f6a99ce3216e72c736ffb782f18c036f523d8a0ccdaf2df009519a30aa5d54a330a5b57397aa87edb1e8a461a09549a
@@ -69,7 +69,44 @@ module ForemanAzureRm
69
69
  ['East US', 'eastus'],
70
70
  ['East US 2', 'eastus2'],
71
71
  ['West US', 'westus'],
72
- ['West US 2', 'westus2']
72
+ ['West US 2', 'westus2'],
73
+ ['Canada Central', 'canadacentral'],
74
+ ['Canada East', 'canadaeast'],
75
+ ['Brazil South', 'brazilsouth'],
76
+ ['North Europe', 'northeurope'],
77
+ ['France Central', 'francecentral'],
78
+ ['France South', 'francesouth'],
79
+ ['UK South', 'uksouth'],
80
+ ['UK West', 'ukwest'],
81
+ ['Germany Central', 'germanycentral'],
82
+ ['Germany Northeast', 'germanynortheast'],
83
+ ['Germany West Central', 'germanywestcentral'],
84
+ ['Germany North', 'germanynorth'],
85
+ ['Switzerland North', 'switzerlandnorth'],
86
+ ['Switzerland West', 'switzerlandwest'],
87
+ ['Norway West', 'norwaywest'],
88
+ ['Norway East', 'norwayeast'],
89
+ ['East Asia', 'eastasia'],
90
+ ['Southeast Asia', 'southeastasia'],
91
+ ['Australia Central', 'australiacentral'],
92
+ ['Australia Central 2', 'australiacentral2'],
93
+ ['Australia East', 'australiaeast'],
94
+ ['Australia Southeast', 'australiasoutheast'],
95
+ ['China East', 'chinaeast'],
96
+ ['China North', 'chinanorth'],
97
+ ['China East 2', 'chinaeast2'],
98
+ ['China North 2', 'chinanorth2'],
99
+ ['Central India', 'centralindia'],
100
+ ['South India', 'southindia'],
101
+ ['West India', 'westindia'],
102
+ ['Japan East', 'japaneast'],
103
+ ['Japan West', 'japanwest'],
104
+ ['Korea Central', 'koreacentral'],
105
+ ['Korea South', 'koreasouth'],
106
+ ['South Africa North', 'southafricanorth'],
107
+ ['South Africa West', 'southafricawest'],
108
+ ['UAE Central', 'uaecentral'],
109
+ ['UAE North', 'uaenorth']
73
110
  ]
74
111
  end
75
112
 
@@ -3,7 +3,7 @@
3
3
  <%= text_f f, :user, :label => _('Subscription ID'), :required => true %>
4
4
  <%= text_f f, :uuid, :label => _('Tenant ID'), :required => true %>
5
5
 
6
- <%= selectable_f(f, :url, f.object.class.regions, {}, {:label => _('Azure Region'), :required => true }) %>
6
+ <%= selectable_f(f, :url, f.object.class.regions, {}, {:label => _('Azure Region'), :label_help => _("Some of the listed regions might not be supported for your subscription. Please verify on Azure portal."), :required => true }) %>
7
7
 
8
8
  <div class="col-md-offset-2">
9
9
  <%= test_connection_button_f(f, true) %>
@@ -0,0 +1,5 @@
1
+ class FixCaseAzureRm < ActiveRecord::Migration[5.2]
2
+ def change
3
+ ComputeResource.where(type: 'ForemanAzureRM::AzureRM').update_all(type: 'ForemanAzureRm::AzureRm')
4
+ end
5
+ end
@@ -14,6 +14,13 @@ module ForemanAzureRm
14
14
  end
15
15
  end
16
16
 
17
+ # Add any db migrations
18
+ initializer "foreman_azure_rm.load_app_instance_data" do |app|
19
+ ForemanAzureRm::Engine.paths['db/migrate'].existent.each do |path|
20
+ app.config.paths['db/migrate'] << path
21
+ end
22
+ end
23
+
17
24
  initializer "foreman_azure_rm.add_rabl_view_path" do
18
25
  Rabl.configure do |config|
19
26
  config.view_paths << ForemanAzureRm::Engine.root.join('app', 'views')
@@ -1,3 +1,3 @@
1
1
  module ForemanAzureRm
2
- VERSION = '2.0.6'.freeze
2
+ VERSION = '2.0.7'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_azure_rm
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.6
4
+ version: 2.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aditi Puntambekar
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2020-01-23 00:00:00.000000000 Z
13
+ date: 2020-02-17 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: deface
@@ -148,6 +148,7 @@ files:
148
148
  - app/views/compute_resources_vms/show/_azurerm.html.erb
149
149
  - app/views/images/form/_azurerm.html.erb
150
150
  - config/routes.rb
151
+ - db/migrate/20200211073049_fix_case_azure_rm.rb
151
152
  - lib/foreman_azure_rm.rake
152
153
  - lib/foreman_azure_rm.rb
153
154
  - lib/foreman_azure_rm/azure_sdk_adapter.rb