bpm_manager 1.0.7 → 1.0.8
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 +2 -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: 23347d011d42ef0ef43ca6d4c2df7b80cd4e1219
|
4
|
+
data.tar.gz: 0bf5cc811d13282bd9bb31b99d9204e62235d26f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4508a5ce87dff3d5467c0467311252c9c7170727e4b6ccce30a2da1b6ff0d132a84ed682478cf64ff53de619bcc41789ef5e5a14054fd95b402915342d0f9217
|
7
|
+
data.tar.gz: 17b606ab72deed4196330bc2e864f72d337d06e1f0da41d11a2de791108d8004eea6b6189ee30d854e50389643e61d7b43fb2a346fa1ef569c65a8629fc85332
|
data/lib/bpm_manager/red_hat.rb
CHANGED
@@ -16,7 +16,7 @@ module BpmManager
|
|
16
16
|
|
17
17
|
# Creates a new Process
|
18
18
|
def self.create_process(deployment_id, process_definition_id, opts = {})
|
19
|
-
BpmManager.server['/runtime/' +
|
19
|
+
JSON.parse(BpmManager.server['/query/runtime/process/' + (opts.empty? ? '' : '?' + opts.map{|k,v| (v.class == Array) ? v.each{|e| k.to_s + '=' + e.to_s} : k.to_s + '=' + v.to_s}.join('&'))].get)['taskInfoList']
|
20
20
|
end
|
21
21
|
|
22
22
|
# Gets all Process Instances
|
@@ -82,7 +82,7 @@ module BpmManager
|
|
82
82
|
|
83
83
|
# Gets all the runtime Tasks with query options
|
84
84
|
def self.task_query_with_opts(opts = {})
|
85
|
-
JSON.parse(BpmManager.server['/query/runtime/task/' + (opts.empty? ? '' : '?' + opts.map{|k,v| k.to_s + '=' + v.to_s}.join('&'))].get)['taskInfoList']
|
85
|
+
JSON.parse(BpmManager.server['/query/runtime/task/' + (opts.empty? ? '' : '?' + opts.map{|k,v| (v.class == Array) ? v.each{|e| k.to_s + '=' + e.to_s} : k.to_s + '=' + v.to_s}.join('&'))].get)['taskInfoList']
|
86
86
|
end
|
87
87
|
|
88
88
|
# Starts a Task
|
data/lib/bpm_manager/version.rb
CHANGED