rbbt-util 5.20.17 → 5.20.18
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/lib/rbbt/rest/client/step.rb +7 -1
- data/share/rbbt_commands/workflow/remote/list +5 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 275b3d126d9067cb0221c14fab806e7433a1ea21
|
|
4
|
+
data.tar.gz: 9eb4e0938a45edb0fdf381a1f0459900e89d4df2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6626a15c382c40acd98dfe5b2c3221f8340942a619ecd52b0e640f2ee41ac40d4d93f40c09a45831af5b62bf28973b7ae87d43c49f347aea595dc0945543fa27
|
|
7
|
+
data.tar.gz: b5793d5cdcedd1d715aa2dcbf0454830bbccbbf3fb7e988944bd34a4d5e1a130d790785e903ae4e860894801f4cb039782c3755421bcd9a24d0414861e480164
|
|
@@ -119,7 +119,7 @@ class WorkflowRESTClient
|
|
|
119
119
|
end
|
|
120
120
|
|
|
121
121
|
def started?
|
|
122
|
-
@result != nil or @started
|
|
122
|
+
@result != nil or @started or @streaming
|
|
123
123
|
end
|
|
124
124
|
|
|
125
125
|
def done?
|
|
@@ -146,6 +146,12 @@ class WorkflowRESTClient
|
|
|
146
146
|
end
|
|
147
147
|
|
|
148
148
|
def grace
|
|
149
|
+
sleep 0.1 unless started?
|
|
150
|
+
sleep 0.5 unless started?
|
|
151
|
+
sleep 1 unless started?
|
|
152
|
+
while not (done? or started?)
|
|
153
|
+
sleep 1
|
|
154
|
+
end
|
|
149
155
|
end
|
|
150
156
|
|
|
151
157
|
#{{{ MANAGEMENT
|
|
@@ -3,7 +3,10 @@
|
|
|
3
3
|
require 'rbbt'
|
|
4
4
|
|
|
5
5
|
config_file = Rbbt.etc.remote_workflows
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
begin
|
|
7
|
+
config_file.yaml.sort_by{|k,v| k}.each do |workflow, server|
|
|
8
|
+
puts [workflow, server] * "\t"
|
|
9
|
+
end
|
|
10
|
+
rescue
|
|
8
11
|
end
|
|
9
12
|
|