prometheus-splash 0.4.2 → 0.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/splash/cli/commands.rb +0 -1
- data/lib/splash/constants.rb +1 -1
- data/lib/splash/orchestrator.rb +3 -3
- data/lib/splash/orchestrator/grammar.rb +3 -3
- 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: 0157b17f9e9750c69cf71a3b133c15a42b58cab0d37be85ef9e690f1f6ffd209
|
|
4
|
+
data.tar.gz: 7c58e395336cde253b619f6d3d9d008275ad839778ca2c2191cdfb9a0636be2c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a759f8ada29b0f8a8a6b63bfe7d01fcdcec9afb7c0b670ed3d30ff0dc48981a7a958caf91bdcc0d6b0753161564ae2395467fa3bc6f6906a8e6db559d5a6393e
|
|
7
|
+
data.tar.gz: ae57030a6960e88b73c2be890d400582e5379956603d9b0468f6797126572bcb865dc2c7276d8fc420925b946e116dd84658b4e10a0ebd77d95332515b0e1c02
|
data/CHANGELOG.md
CHANGED
|
@@ -37,3 +37,10 @@
|
|
|
37
37
|
|
|
38
38
|
* REOPEN : Unix rights on trace,stores,pid path to 644 => 755 #19
|
|
39
39
|
* ruby 2.5 error with w-deprecated on sheebang, removing #20
|
|
40
|
+
|
|
41
|
+
## V0.4.3 2020/04/15
|
|
42
|
+
|
|
43
|
+
### FIX :
|
|
44
|
+
|
|
45
|
+
* private method for ruby 2.5 (self) #21
|
|
46
|
+
* treeview partial display because of lake of recursion #22
|
data/lib/splash/cli/commands.rb
CHANGED
data/lib/splash/constants.rb
CHANGED
data/lib/splash/orchestrator.rb
CHANGED
|
@@ -25,7 +25,7 @@ module Splash
|
|
|
25
25
|
@log.info "Splash Orchestrator starting :"
|
|
26
26
|
if options[:scheduling] then
|
|
27
27
|
@log.item "Initializing commands Scheduling."
|
|
28
|
-
|
|
28
|
+
init_commands_scheduling
|
|
29
29
|
end
|
|
30
30
|
sched,value = @config.daemon_logmon_scheduling.flatten
|
|
31
31
|
@log.item "Initializing logs monitorings & notifications."
|
|
@@ -65,7 +65,7 @@ module Splash
|
|
|
65
65
|
@log.info "Splash daemon shutdown"
|
|
66
66
|
@server.shutdown
|
|
67
67
|
change_logger logger: :cli
|
|
68
|
-
splash_exit case: :quiet_exit
|
|
68
|
+
splash_exit case: :quiet_exit
|
|
69
69
|
end
|
|
70
70
|
|
|
71
71
|
private
|
|
@@ -77,7 +77,7 @@ module Splash
|
|
|
77
77
|
@log.arrow "Scheduling command #{command.to_s}"
|
|
78
78
|
@server.send sched,value do
|
|
79
79
|
@log.trigger "Executing Scheduled command #{command.to_s} for Scheduling : #{sched.to_s} #{value.to_s}"
|
|
80
|
-
|
|
80
|
+
execute command: command.to_s
|
|
81
81
|
end
|
|
82
82
|
end
|
|
83
83
|
|
|
@@ -11,7 +11,7 @@ module Splash
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
def shutdown
|
|
14
|
-
|
|
14
|
+
terminate
|
|
15
15
|
end
|
|
16
16
|
|
|
17
17
|
def ping(payload)
|
|
@@ -24,7 +24,7 @@ module Splash
|
|
|
24
24
|
end
|
|
25
25
|
|
|
26
26
|
def ack_command(payload)
|
|
27
|
-
return
|
|
27
|
+
return execute command: payload[:name], ack: true
|
|
28
28
|
end
|
|
29
29
|
|
|
30
30
|
|
|
@@ -38,7 +38,7 @@ module Splash
|
|
|
38
38
|
@log.schedule "remote call command #{payload[:name]}, scheduling : #{sched.to_s} #{value}"
|
|
39
39
|
@server.send sched,value do
|
|
40
40
|
@log.trigger "Executing Scheduled command #{payload[:name]} for Scheduling : #{sched.to_s} #{value}"
|
|
41
|
-
|
|
41
|
+
execute command: payload[:name]
|
|
42
42
|
end
|
|
43
43
|
return { :case => :quiet_exit }
|
|
44
44
|
else
|