bpm_manager 0.8.4 → 0.8.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bpm_manager/red_hat.rb +5 -2
- data/lib/bpm_manager/version.rb +1 -1
- 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: 3ade07626ee283273b4082d57f30ff74d4ae7e99
|
4
|
+
data.tar.gz: 941c206704876ce44f86d10421a0c50adfb7b45f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8dffb086d7ef3445032f5206f59d7ffeb485e61536a431f99b535ecbb66d7c95480e2f6c2fadfdaeb8657c4038bb5afd9534a4a20ae73038250e6354e73a496d
|
7
|
+
data.tar.gz: 882d982688f065488f5a8ae12ff6969edba0e2ab466672fabb6f8448a0d24314e6d7225e78d19f0740479e10ea2a08347079d59ff5c8049c81a1c606241979ff
|
data/lib/bpm_manager/red_hat.rb
CHANGED
@@ -27,9 +27,12 @@ module BpmManager
|
|
27
27
|
# Gets a Process Instance Variables
|
28
28
|
def self.process_instance_variables(process_instance_id)
|
29
29
|
begin
|
30
|
-
|
30
|
+
result = Hash.new
|
31
|
+
JSON.parse(RestClient.get(BpmManager.uri('/history/instance/' + process_instance_id.to_s + '/variable'), :accept => :json))['historyLogList'].each{|e| result[e['variable-instance-log']['variable-id']] = e['variable-instance-log']['value']}
|
32
|
+
|
33
|
+
return result
|
31
34
|
rescue
|
32
|
-
return
|
35
|
+
return {}
|
33
36
|
end
|
34
37
|
end
|
35
38
|
|
data/lib/bpm_manager/version.rb
CHANGED