bpm_manager 0.11.4 → 1.0.0
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 -0
- 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: 722903b08b5cf4aeca33964e26ce5a9444347f51
|
4
|
+
data.tar.gz: 14640fd94f1c2ccc35ffbbfa35767ad92516c6bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cefe5c89f6f79037a4e5b89cf4c79e59374e6f0f99a598ad6a3ce5ad6fe75d5187cfdc46af9c26fb3e5bf4ae1a3beb8696e16df8090cdc4a654e4dad45db99e6
|
7
|
+
data.tar.gz: 2d524ec501b775f9c41774030c295e7bfe76d5cc44370105672ba813bfff6b31f52f8d9c04f614d3f1ac3295a831d942c82d9e6d3ea71a75c8e23b358e20c131
|
data/lib/bpm_manager/red_hat.rb
CHANGED
@@ -36,6 +36,11 @@ module BpmManager
|
|
36
36
|
end
|
37
37
|
end
|
38
38
|
|
39
|
+
# Gets the Process image as SVG
|
40
|
+
def self.process_image(deployment_id, process_definition_id, process_id = '')
|
41
|
+
BpmManager.server['/runtime/' + deployment_id.to_s + '/process/' + process_definition_id.to_s + '/image' + ((process_id.nil? || process_id.empty?) ? '' : '/' + process_id)].get
|
42
|
+
end
|
43
|
+
|
39
44
|
# Gets all tasks, optionally you could specify an user id
|
40
45
|
def self.tasks(user_id = '')
|
41
46
|
self.structure_task_data(JSON.parse(BpmManager.server['/task/query?taskOwner=' + user_id].get))
|
data/lib/bpm_manager/version.rb
CHANGED