foreman_datacenter 1.23.0 → 1.23.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/routes.rb +20 -1
- data/lib/foreman_datacenter/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a44dc816dea3659ea8eb2d4ff24f7fa0f82d4ca1552d659661f9e7c5c9d93d87
|
4
|
+
data.tar.gz: 6ba9ef23cc9ee6297dbc9b8df5e8a4096643860309a9d3a6639ad12634c1c65a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37cfcdb4c8cdd5e8e4ce4b8108167fd770a11448e570b9f3efcfebdbf10231ceefc1b6a040b648043f20c8f86dddbc92c60c755ef3b306709736b82c73c22e53
|
7
|
+
data.tar.gz: f036bf54383c7cf2d2f97df86b4bb0c3e3dd7ed803a9b0fdac7d2f40d3902cdb166c1dff1c7a992f3499f2103bafae749452e0214dbd673781a58cbf779746d0
|
data/config/routes.rb
CHANGED
@@ -74,11 +74,30 @@ Foreman::Application.routes.draw do
|
|
74
74
|
get 'datacenter/import_to_device', to: 'hosts#import_to_device',
|
75
75
|
as: 'import_to_device'
|
76
76
|
|
77
|
-
get '/api/:controller/(:action(/*welcome))'
|
77
|
+
# get '/api/:controller/(:action(/*welcome))'
|
78
78
|
# get '/datacenter/(:controller)/help', :action => 'welcome', :as => "help"
|
79
79
|
|
80
80
|
scope 'datacenter', module: :foreman_datacenter do
|
81
81
|
|
82
|
+
welcoming_controllers = [
|
83
|
+
'console_ports',
|
84
|
+
'device_interface_connections',
|
85
|
+
'device_interface_connections',
|
86
|
+
'device_roles',
|
87
|
+
'device_types',
|
88
|
+
'devices',
|
89
|
+
'manufacturers',
|
90
|
+
'platforms',
|
91
|
+
'power_ports',
|
92
|
+
'rack_groups',
|
93
|
+
'racks',
|
94
|
+
'sites',
|
95
|
+
]
|
96
|
+
|
97
|
+
welcoming_controllers.each do |welcoming_controller|
|
98
|
+
get "#{welcoming_controller}/help", :action => :welcome, :controller => welcoming_controller
|
99
|
+
end
|
100
|
+
|
82
101
|
post :site_update_associated_objects, to: "sites#update_associated_objects"
|
83
102
|
post :rack_group_update_associated_objects, to: "rack_groups#update_associated_objects"
|
84
103
|
post :rack_update_associated_objects, to: "racks#update_associated_objects"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman_datacenter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.23.
|
4
|
+
version: 1.23.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pavel Ivanov
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-
|
12
|
+
date: 2019-11-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: prawn
|