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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2526b45caa397c2e070eea32e723b24e2d8e7cfccccc34dc325d9773ff612d8f
4
- data.tar.gz: 7c5125d05ac95756b6ecbd6940a5945b6270e6896f9b61827d1e6198c75d5a47
3
+ metadata.gz: a44dc816dea3659ea8eb2d4ff24f7fa0f82d4ca1552d659661f9e7c5c9d93d87
4
+ data.tar.gz: 6ba9ef23cc9ee6297dbc9b8df5e8a4096643860309a9d3a6639ad12634c1c65a
5
5
  SHA512:
6
- metadata.gz: 69fde6a95432be24db60c9d8d4445001e843d35482c5bd6e206d05c955f3f3bedad0dbc337ccbcd111ba388a1635f3d71e81c43fb2afc6a989d4f85c22fb960a
7
- data.tar.gz: d27d1b23ab5573c0d5920368b0528fb8818aaff7583311c1b0873309bc09c676c4f7a8084054b4d73a0dcfa81c1b60c9b5d1e0b34dc83ace4f40836b3f66e6c8
6
+ metadata.gz: 37cfcdb4c8cdd5e8e4ce4b8108167fd770a11448e570b9f3efcfebdbf10231ceefc1b6a040b648043f20c8f86dddbc92c60c755ef3b306709736b82c73c22e53
7
+ data.tar.gz: f036bf54383c7cf2d2f97df86b4bb0c3e3dd7ed803a9b0fdac7d2f40d3902cdb166c1dff1c7a992f3499f2103bafae749452e0214dbd673781a58cbf779746d0
@@ -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"
@@ -1,3 +1,3 @@
1
1
  module ForemanDatacenter
2
- VERSION = '1.23.0'.freeze
2
+ VERSION = '1.23.1'.freeze
3
3
  end
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.0
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-08-29 00:00:00.000000000 Z
12
+ date: 2019-11-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: prawn