mission_control-servers 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mission_control/servers/routing_helpers.rb +12 -12
- data/lib/mission_control/servers/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e818923257e97f3be2604c3839df971c49a1caf057c3b2d79d22dca1a2bace1
|
4
|
+
data.tar.gz: 46f351f700e72f8de130abe4ce0c925933fe13e20f49b1b28b2421d01a92294f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7cbda6f93978e41ff0607a343a822000d1320eaab37cc5804a32a837fff4660ee9db85bbf9e1fba6e286562be71fc962a6c5688017a16ecc5521ecf6d6f2b67
|
7
|
+
data.tar.gz: 1d4f1d75ec5f7c13e81f526441919cd476097d558821df48e3d5193e62a00331b4142bffd481098578bcaf2662de0d5f2a6bcfb087ebb867fe15292a3f0fec3c
|
@@ -1,20 +1,20 @@
|
|
1
1
|
module MissionControl
|
2
2
|
module Servers
|
3
3
|
module RoutingHelpers
|
4
|
-
def self.add_public_routes_helper(drawer, engine_mount_path="mission_control-servers")
|
4
|
+
def self.add_public_routes_helper(drawer, engine_mount_path="/mission_control-servers")
|
5
5
|
drawer.instance_eval do
|
6
|
-
get "
|
7
|
-
get "
|
8
|
-
get "
|
9
|
-
get "
|
10
|
-
get "
|
11
|
-
get "
|
12
|
-
get "
|
13
|
-
get "
|
6
|
+
get "#{engine_mount_path}/projects/:project_id/dashboards/project_table", to: "mission_control/servers/dashboards/project_tables#show"
|
7
|
+
get "#{engine_mount_path}/projects/:project_id/dashboards/cpu_usage", to: "mission_control/servers/dashboards/cpu_usages#show"
|
8
|
+
get "#{engine_mount_path}/projects/:project_id/dashboards/memory_usage", to: "mission_control/servers/dashboards/memory_usages#show"
|
9
|
+
get "#{engine_mount_path}/projects/:project_id/dashboards/disk_free", to: "mission_control/servers/dashboards/disk_frees#show"
|
10
|
+
get "#{engine_mount_path}/projects/:project_id/dashboards/last_seen", to: "mission_control/servers/dashboards/last_seens#show"
|
11
|
+
get "#{engine_mount_path}/projects/:project_id/dashboards/cpu_history", to: "mission_control/servers/dashboards/cpu_histories#show"
|
12
|
+
get "#{engine_mount_path}/projects/:project_id/dashboards/memory_history", to: "mission_control/servers/dashboards/memory_histories#show"
|
13
|
+
get "#{engine_mount_path}/projects/:project_id/dashboards/combo_history", to: "mission_control/servers/dashboards/combo_histories#show"
|
14
14
|
get "#{engine_mount_path}/projects/:project_id/public_projects/new", to: "mission_control/servers/public_projects#new", as: :new_project_public_project
|
15
|
-
get "
|
16
|
-
get "
|
17
|
-
post "
|
15
|
+
get "#{engine_mount_path}/projects/:project_id/public_projects/:id", to: "mission_control/servers/public_projects#show"
|
16
|
+
get "#{engine_mount_path}/projects/:project_id/script", to: "mission_control/servers/scripts#show"
|
17
|
+
post "#{engine_mount_path}/projects/:project_id/ingress", to: "mission_control/servers/ingresses#create"
|
18
18
|
end
|
19
19
|
end
|
20
20
|
end
|