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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c7bcd1543078075a82af33841eabebbdabc8fbc6
4
- data.tar.gz: 2b597d97112ba388c0972feb4c4a9f7569a90061
3
+ metadata.gz: 731a1a27044a7113609394956d9d688ae260a58f
4
+ data.tar.gz: 329d7ed24ad45d5598058411e9d5ea676acf4a80
5
5
  SHA512:
6
- metadata.gz: 3c2c1e3f72a8eb45c7d0cd24e8a3176b2d7cf5c5fff5d6bcb2f1d96aed22632087fc180561671c72d130e08b35627e54350c45b1483f2050eef2836448755337
7
- data.tar.gz: 1f320ad96bff32036267018b9468434d135ff5f517fe44e5a7f26900cad0e9b4859792ad263bc0455555cdef5fbdb9645155adceb2fb901d68e218a431f414d7
6
+ metadata.gz: e6ec1f7451a098469252e3c98fa733da3e121fd26150f4f7dd66047edc7df10d73d07fcdf4b4ac532cda1f14f8927940cf953077f6a35540470e8deec4a97f38
7
+ data.tar.gz: f0b9212671ec483e741306a8c869794a5e96829c570d3a32d115ae7c050507e39bfe43267ecc1c2f606bb3a4bf7398ca67f422643ad952c3ece33e6a0e955b63
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Iibee
2
- VERSION = "0.1.17"
2
+ VERSION = "0.1.18"
3
3
  end
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.17
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-24 00:00:00.000000000 Z
11
+ date: 2015-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler