iibee 0.1.17 → 0.1.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/iibee/application.rb +11 -0
- data/lib/iibee/service.rb +11 -0
- data/lib/iibee/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 731a1a27044a7113609394956d9d688ae260a58f
|
4
|
+
data.tar.gz: 329d7ed24ad45d5598058411e9d5ea676acf4a80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6ec1f7451a098469252e3c98fa733da3e121fd26150f4f7dd66047edc7df10d73d07fcdf4b4ac532cda1f14f8927940cf953077f6a35540470e8deec4a97f38
|
7
|
+
data.tar.gz: f0b9212671ec483e741306a8c869794a5e96829c570d3a32d115ae7c050507e39bfe43267ecc1c2f606bb3a4bf7398ca67f422643ad952c3ece33e6a0e955b63
|
data/lib/iibee/application.rb
CHANGED
@@ -61,6 +61,17 @@ module Iibee
|
|
61
61
|
return applications
|
62
62
|
end
|
63
63
|
|
64
|
+
def message_flows
|
65
|
+
msg_flows = []
|
66
|
+
response = Iibee::Connection.new(options: options).get("#{CONTEXT_PATH}/#{executionGroupName}/applications/#{name}/messageflows")
|
67
|
+
document = Oga.parse_xml(response.body)
|
68
|
+
document.xpath("//messageFlow']").each do |msg_flow|
|
69
|
+
msg_flows << Iibee::MessageFlow.new(msg_flow, 'application', name, executionGroupName, options)
|
70
|
+
end
|
71
|
+
|
72
|
+
return msg_flows
|
73
|
+
end
|
74
|
+
|
64
75
|
def perform(action)
|
65
76
|
response = Iibee::Connection.new(options: options).put("#{CONTEXT_PATH}/#{executionGroupName}/applications/#{name}?action=#{action}")
|
66
77
|
end
|
data/lib/iibee/service.rb
CHANGED
@@ -60,6 +60,17 @@ module Iibee
|
|
60
60
|
return services
|
61
61
|
end
|
62
62
|
|
63
|
+
def message_flows
|
64
|
+
msg_flows = []
|
65
|
+
response = Iibee::Connection.new(options: options).get("#{CONTEXT_PATH}/#{executionGroupName}/services/#{name}/messageflows")
|
66
|
+
document = Oga.parse_xml(response.body)
|
67
|
+
document.xpath("//messageFlow']").each do |msg_flow|
|
68
|
+
msg_flows << Iibee::MessageFlow.new(msg_flow, 'service', name, executionGroupName, options)
|
69
|
+
end
|
70
|
+
|
71
|
+
return msg_flows
|
72
|
+
end
|
73
|
+
|
63
74
|
def perform(action)
|
64
75
|
response = Iibee::Connection.new(options: options).put("#{CONTEXT_PATH}/#{executionGroupName}/services/#{name}?action=#{action}")
|
65
76
|
end
|
data/lib/iibee/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: iibee
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- akil
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-09-
|
11
|
+
date: 2015-09-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|