uddi4r 0.8 → 0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/uddi4r.rb +7 -0
- data/lib/{client.rb → uddi4r/client.rb} +121 -3
- data/lib/{connection.rb → uddi4r/connection.rb} +0 -1
- data/lib/{models.rb → uddi4r/models.rb} +94 -5
- data/lib/{soap_builder.rb → uddi4r/soap_builder.rb} +0 -0
- data/lib/uddi4r/try.rb +46 -0
- data/test/test_client.rb +5 -4
- data/test/test_connection.rb +4 -1
- data/test/test_model.rb +4 -1
- metadata +23 -78
- data/doc/classes/Uddi4r.html +0 -190
- data/doc/classes/Uddi4r/BindingDetail.html +0 -172
- data/doc/classes/Uddi4r/BindingTemplate.html +0 -187
- data/doc/classes/Uddi4r/BusinessDetail.html +0 -167
- data/doc/classes/Uddi4r/BusinessEntity.html +0 -167
- data/doc/classes/Uddi4r/BusinessInfo.html +0 -177
- data/doc/classes/Uddi4r/BusinessList.html +0 -172
- data/doc/classes/Uddi4r/BusinessService.html +0 -167
- data/doc/classes/Uddi4r/CategoryBag.html +0 -167
- data/doc/classes/Uddi4r/Client.html +0 -744
- data/doc/classes/Uddi4r/Connection.html +0 -365
- data/doc/classes/Uddi4r/DiscoveryURLs.html +0 -191
- data/doc/classes/Uddi4r/FindQualifiers.html +0 -191
- data/doc/classes/Uddi4r/IdentifierBag.html +0 -167
- data/doc/classes/Uddi4r/KeyedReference.html +0 -192
- data/doc/classes/Uddi4r/Model.html +0 -333
- data/doc/classes/Uddi4r/OverviewDoc.html +0 -154
- data/doc/classes/Uddi4r/RelatedBusinessesList.html +0 -167
- data/doc/classes/Uddi4r/ServiceDetail.html +0 -172
- data/doc/classes/Uddi4r/ServiceInfo.html +0 -172
- data/doc/classes/Uddi4r/ServiceList.html +0 -172
- data/doc/classes/Uddi4r/SoapBuilder.html +0 -390
- data/doc/classes/Uddi4r/TModel.html +0 -187
- data/doc/classes/Uddi4r/TModelBag.html +0 -189
- data/doc/classes/Uddi4r/TModelDetail.html +0 -167
- data/doc/classes/Uddi4r/TModelInfo.html +0 -167
- data/doc/classes/Uddi4r/TModelInstanceInfo.html +0 -172
- data/doc/classes/Uddi4r/TModelList.html +0 -167
- data/doc/created.rid +0 -1
- data/doc/dot/f_0.dot +0 -14
- data/doc/dot/f_0.png +0 -0
- data/doc/dot/f_1.dot +0 -386
- data/doc/dot/f_1.png +0 -0
- data/doc/dot/f_2.dot +0 -386
- data/doc/dot/f_2.png +0 -0
- data/doc/dot/f_3.dot +0 -386
- data/doc/dot/f_3.png +0 -0
- data/doc/dot/f_4.dot +0 -386
- data/doc/dot/f_4.png +0 -0
- data/doc/dot/m_1_0.dot +0 -386
- data/doc/dot/m_1_0.png +0 -0
- data/doc/dot/m_2_0.dot +0 -386
- data/doc/dot/m_2_0.png +0 -0
- data/doc/dot/m_3_0.dot +0 -386
- data/doc/dot/m_3_0.png +0 -0
- data/doc/dot/m_4_0.dot +0 -386
- data/doc/dot/m_4_0.png +0 -0
- data/doc/files/README.html +0 -152
- data/doc/files/lib/client_rb.html +0 -151
- data/doc/files/lib/connection_rb.html +0 -153
- data/doc/files/lib/models_rb.html +0 -149
- data/doc/files/lib/soap_builder_rb.html +0 -142
- data/doc/fr_class_index.html +0 -54
- data/doc/fr_file_index.html +0 -31
- data/doc/fr_method_index.html +0 -55
- data/doc/index.html +0 -24
- data/doc/rdoc-style.css +0 -208
data/lib/uddi4r.rb
ADDED
@@ -1,8 +1,6 @@
|
|
1
1
|
# uddi4r - UDDI Client for Ruby
|
2
2
|
# http://rubyforge.org/projects/uddi4r/
|
3
3
|
require "rexml/element"
|
4
|
-
require "lib/connection"
|
5
|
-
require "lib/models"
|
6
4
|
|
7
5
|
module Uddi4r
|
8
6
|
# = Uddi4r::Client
|
@@ -52,6 +50,126 @@ module Uddi4r
|
|
52
50
|
@conn = (connection.is_a? Connection) ? connection :
|
53
51
|
Connection.new(connection, "2.0", debug)
|
54
52
|
end
|
53
|
+
|
54
|
+
# Get an authorization token for use with
|
55
|
+
# the publishing API.
|
56
|
+
# [Returns] Uddi4r::AuthToken
|
57
|
+
# ==== Simple arguments
|
58
|
+
# user_id:: String, user id
|
59
|
+
# credentials:: String, most likely a password
|
60
|
+
# ==== Examples
|
61
|
+
# token = client.get_authToken(:user_id=>"russ", :credentials=>"xyzzy")
|
62
|
+
#
|
63
|
+
def get_authToken(args)
|
64
|
+
user_id = required(args, :user_id, String)
|
65
|
+
cred = required(args, :credentials, String)
|
66
|
+
operation = @conn.create_operation('get_authToken',
|
67
|
+
{'userID'=>user_id, 'cred'=>cred})
|
68
|
+
AuthToken.create_from(@conn.invoke_operation(operation))
|
69
|
+
end
|
70
|
+
|
71
|
+
# Save or modify a service
|
72
|
+
# [Returns] Uddi4r::ServiceDetail
|
73
|
+
# ==== Simple arguments
|
74
|
+
# auth_info:: String, from get_authToken
|
75
|
+
# business_service:: BusinessService, the new business service
|
76
|
+
# ==== Examples
|
77
|
+
#
|
78
|
+
#
|
79
|
+
def save_service(args)
|
80
|
+
authInfo = required(args, :auth_info, String)
|
81
|
+
service = required(args, :business_service, BusinessService)
|
82
|
+
operation = @conn.create_operation('save_service', {},
|
83
|
+
{'authInfo'=>authInfo},
|
84
|
+
service.to_xml)
|
85
|
+
ServiceDetail.create_from(@conn.invoke_operation(operation))
|
86
|
+
end
|
87
|
+
|
88
|
+
# Delete a service
|
89
|
+
# [Returns] Uddi4r::DispositionReport
|
90
|
+
# ==== Simple arguments
|
91
|
+
# auth_info:: String, from get_authToken
|
92
|
+
# service_keys:: Array of binding key String, or
|
93
|
+
# service_key:: String, a service key
|
94
|
+
# ==== Examples
|
95
|
+
#
|
96
|
+
def delete_service(args)
|
97
|
+
authInfo = required(args, :auth_info, String)
|
98
|
+
service_keys = args[:service_key] ? [ args[:service_key] ] : args[:service_keys]
|
99
|
+
operation = @conn.create_operation("delete_service", {},
|
100
|
+
{'authInfo'=>authInfo},
|
101
|
+
@conn.create_elements("serviceKey", *service_keys))
|
102
|
+
DispositionReport.create_from(@conn.invoke_operation(operation))
|
103
|
+
end
|
104
|
+
|
105
|
+
# Save or modify a business
|
106
|
+
# [Returns] Uddi4r::BusinessDetail
|
107
|
+
# ==== Simple arguments
|
108
|
+
# auth_info:: String, from get_authToken
|
109
|
+
# business_entity:: BusinessEntity, the new business service
|
110
|
+
# ==== Examples
|
111
|
+
#
|
112
|
+
#
|
113
|
+
def save_business(args)
|
114
|
+
authInfo = required(args, :auth_info, String)
|
115
|
+
business = required(args, :business, BusinessEntity)
|
116
|
+
operation = @conn.create_operation('save_business', {},
|
117
|
+
{'authInfo'=>authInfo},
|
118
|
+
business.to_xml)
|
119
|
+
BusinessDetail.create_from(@conn.invoke_operation(operation))
|
120
|
+
end
|
121
|
+
|
122
|
+
# Delete a business
|
123
|
+
# [Returns] Uddi4r::DispositionReport
|
124
|
+
# ==== Simple arguments
|
125
|
+
# auth_info:: String, from get_authToken
|
126
|
+
# business_keys:: Array of binding key String, or
|
127
|
+
# business_key:: String, a business key
|
128
|
+
# ==== Examples
|
129
|
+
#
|
130
|
+
def delete_business(args)
|
131
|
+
authInfo = required(args, :auth_info, String)
|
132
|
+
business_keys = args[:business_key] ? [ args[:business_key] ] : args[:business_keys]
|
133
|
+
operation = @conn.create_operation("delete_business", {},
|
134
|
+
{'authInfo'=>authInfo},
|
135
|
+
@conn.create_elements("businessKey", *business_keys))
|
136
|
+
DispositionReport.create_from(@conn.invoke_operation(operation))
|
137
|
+
end
|
138
|
+
|
139
|
+
# Save or modify a binding
|
140
|
+
# [Returns] Uddi4r::BindingDetail
|
141
|
+
# ==== Simple arguments
|
142
|
+
# auth_info:: String, from get_authToken
|
143
|
+
# binding_entity:: the new binding
|
144
|
+
# ==== Examples
|
145
|
+
#
|
146
|
+
#
|
147
|
+
def save_binding(args)
|
148
|
+
authInfo = required(args, :auth_info, String)
|
149
|
+
binding = args[:binding]
|
150
|
+
operation = @conn.create_operation('save_binding', {},
|
151
|
+
{'authInfo'=>authInfo},
|
152
|
+
binding.to_xml)
|
153
|
+
BindingDetail.create_from(@conn.invoke_operation(operation))
|
154
|
+
end
|
155
|
+
|
156
|
+
# Delete a binding
|
157
|
+
# [Returns] Uddi4r::DispositionReport
|
158
|
+
# ==== Simple arguments
|
159
|
+
# auth_info:: String, from get_authToken
|
160
|
+
# binding_keys:: Array of binding key String, or
|
161
|
+
# binding_key:: String, a binding key
|
162
|
+
# ==== Examples
|
163
|
+
#
|
164
|
+
def delete_binding(args)
|
165
|
+
authInfo = required(args, :auth_info, String)
|
166
|
+
binding_keys = args[:binding_key] ? [ args[:binding_key] ] : args[:binding_keys]
|
167
|
+
operation = @conn.create_operation("delete_binding", {},
|
168
|
+
{'authInfo'=>authInfo},
|
169
|
+
@conn.create_elements("bindingKey", *binding_keys))
|
170
|
+
DispositionReport.create_from(@conn.invoke_operation(operation))
|
171
|
+
end
|
172
|
+
|
55
173
|
|
56
174
|
# Find binding detail for a given service and tModels.
|
57
175
|
# [Returns] Uddi4r::BindingDetail
|
@@ -219,4 +337,4 @@ module Uddi4r
|
|
219
337
|
return arg[symbol]
|
220
338
|
end
|
221
339
|
end
|
222
|
-
end
|
340
|
+
end
|
@@ -2,7 +2,8 @@
|
|
2
2
|
# http://rubyforge.org/projects/uddi4r/
|
3
3
|
|
4
4
|
require "rubygems"
|
5
|
-
|
5
|
+
require "roxml"
|
6
|
+
require 'forwardable'
|
6
7
|
|
7
8
|
module Uddi4r
|
8
9
|
# UDDI models are first-class Ruby objects that represent UDDI data structures.
|
@@ -51,13 +52,66 @@ module Uddi4r
|
|
51
52
|
return nil unless element
|
52
53
|
self.parse(element)
|
53
54
|
end
|
54
|
-
|
55
|
+
|
55
56
|
# Yield self if a block is passed.
|
56
57
|
def initialize()
|
57
58
|
yield self if block_given?
|
58
59
|
end
|
59
60
|
|
60
61
|
end
|
62
|
+
|
63
|
+
# UDDI ErrInfo
|
64
|
+
# <xsd:complexType name="errInfo">
|
65
|
+
# <xsd:simpleContent>
|
66
|
+
# <xsd:extension base="string">
|
67
|
+
# <xsd:attribute name="errCode" type="string" use="required"/>
|
68
|
+
# </xsd:extension>
|
69
|
+
# </xsd:simpleContent>
|
70
|
+
# </xsd:complexType>
|
71
|
+
#
|
72
|
+
class ErrInfo < Model
|
73
|
+
xml_name 'errInfo'
|
74
|
+
xml_attribute :err_code, "errCode"
|
75
|
+
xml_text :message, nil, ROXML::TEXT_CONTENT
|
76
|
+
end
|
77
|
+
|
78
|
+
|
79
|
+
# UDDI Result object
|
80
|
+
# <xsd:complexType name="result">
|
81
|
+
# <xsd:sequence>
|
82
|
+
# <xsd:element ref="uddi:errInfo" minOccurs="0"/>
|
83
|
+
# </xsd:sequence>
|
84
|
+
# <xsd:attribute name="keyType" type="uddi:keyType" use="optional"/>
|
85
|
+
# <xsd:attribute name="errno" type="int" use="required"/>
|
86
|
+
# </xsd:complexType>
|
87
|
+
#
|
88
|
+
class Result < Model
|
89
|
+
xml_object :err_info, ErrInfo
|
90
|
+
xml_attribute :key_type, "keyType"
|
91
|
+
xml_attribute :errno, "errno"
|
92
|
+
end
|
93
|
+
|
94
|
+
# UDDI DispositionReport, essentially a status
|
95
|
+
# <xsd:complexType name="dispositionReport">
|
96
|
+
# <xsd:sequence>
|
97
|
+
# <xsd:element ref="uddi:result" maxOccurs="unbounded"/>
|
98
|
+
# </xsd:sequence>
|
99
|
+
# <xsd:attribute name="generic" type="string" use="required"/>
|
100
|
+
# <xsd:attribute name="operator" type="string" use="required"/>
|
101
|
+
# <xsd:attribute name="truncated" type="uddi:truncated" use="optional"/>
|
102
|
+
# </xsd:complexType>
|
103
|
+
class DispositionReport < Model
|
104
|
+
xml_name 'dispositionReport'
|
105
|
+
xml_object :results, Result, ROXML::TAG_ARRAY
|
106
|
+
xml_attribute :generic, "generic"
|
107
|
+
xml_attribute :operator, "operator"
|
108
|
+
xml_attribute :truncated, "truncated"
|
109
|
+
end
|
110
|
+
|
111
|
+
# UDDI authToken, for more information, see Uddi4r::Model.
|
112
|
+
class AuthToken < Model
|
113
|
+
xml_text :authInfo
|
114
|
+
end
|
61
115
|
|
62
116
|
# UDDI ServiceInfo, for more information, see Uddi4r::Model.
|
63
117
|
class ServiceInfo < Model
|
@@ -74,12 +128,20 @@ module Uddi4r
|
|
74
128
|
|
75
129
|
# UDDI BusinessList, for more information, see Uddi4r::Model.
|
76
130
|
class BusinessList < Model
|
131
|
+
extend Forwardable
|
132
|
+
|
133
|
+
def_delegators :@business_infos, :each, :length, :size, :[]
|
134
|
+
|
77
135
|
xml_attribute :operator
|
78
136
|
xml_object :business_infos, Uddi4r::BusinessInfo, ROXML::TAG_ARRAY, "businessInfos"
|
79
137
|
end
|
80
138
|
|
81
139
|
# UDDI ServiceList, for more information, see Uddi4r::Model.
|
82
140
|
class ServiceList < Model
|
141
|
+
extend Forwardable
|
142
|
+
|
143
|
+
def_delegators :@service_infos, :each, :length, :size, :[]
|
144
|
+
|
83
145
|
xml_attribute :operator
|
84
146
|
xml_object :service_infos, ServiceInfo, ROXML::TAG_ARRAY, "serviceInfos"
|
85
147
|
end
|
@@ -88,13 +150,18 @@ module Uddi4r
|
|
88
150
|
class TModelInstanceInfo < Model
|
89
151
|
xml_attribute :t_model_key, "tModelKey"
|
90
152
|
end
|
153
|
+
|
154
|
+
class AccessPoint < Model
|
155
|
+
xml_attribute :url_type, "URLType"
|
156
|
+
xml_text :url, "url", ROXML::TEXT_CONTENT
|
157
|
+
end
|
91
158
|
|
92
159
|
# UDDI bindingTemplate, for more information, see Uddi4r::Model.
|
93
160
|
class BindingTemplate < Model
|
94
161
|
xml_attribute :binding_key, "bindingKey"
|
95
162
|
xml_attribute :service_key, "serviceKey"
|
96
163
|
xml_text :description
|
97
|
-
|
164
|
+
xml_object :access_point, AccessPoint
|
98
165
|
xml_object :t_model_instance_details, Uddi4r::TModelInstanceInfo, ROXML::TAG_ARRAY, "tModelInstanceDetails"
|
99
166
|
end
|
100
167
|
|
@@ -106,12 +173,17 @@ module Uddi4r
|
|
106
173
|
|
107
174
|
# UDDI relatedBusinessesList, for more information, see Uddi4r::Model.
|
108
175
|
class RelatedBusinessesList < Model
|
176
|
+
extend Forwardable
|
177
|
+
|
178
|
+
def_delegators :@business_infos, :each, :length, :size, :[]
|
179
|
+
|
109
180
|
xml_text :business_key, "businessKey"
|
110
181
|
xml_object :business_infos, Uddi4r::BusinessInfo, ROXML::TAG_ARRAY, "relatedBusinessInfos"
|
111
182
|
end
|
112
183
|
|
113
184
|
# UDDI businessService, for more information, see Uddi4r::Model.
|
114
185
|
class BusinessService < Model
|
186
|
+
xml_attribute :service_key, "serviceKey"
|
115
187
|
xml_text :name
|
116
188
|
xml_text :description, nil, ROXML::TAG_ARRAY
|
117
189
|
xml_object :binding_templates, Uddi4r::BindingTemplate, ROXML::TAG_ARRAY, "bindingTemplates"
|
@@ -119,13 +191,22 @@ module Uddi4r
|
|
119
191
|
|
120
192
|
# UDDI businessEntity, for more information, see Uddi4r::Model.
|
121
193
|
class BusinessEntity < Model
|
122
|
-
|
194
|
+
extend Forwardable
|
195
|
+
|
196
|
+
def_delegators :@business_services, :each, :length, :size, :[]
|
197
|
+
|
123
198
|
xml_text :discovery_url, "discoveryURL", ROXML::TAG_ARRAY, "discoveryURLs"
|
199
|
+
xml_text :name
|
200
|
+
xml_text :description
|
201
|
+
xml_attribute :business_key, "businessKey"
|
124
202
|
xml_object :business_services, Uddi4r::BusinessService, ROXML::TAG_ARRAY, "businessServices"
|
125
203
|
end
|
126
204
|
|
127
205
|
# UDDI businessDetail, for more information, see Uddi4r::Model.
|
128
206
|
class BusinessDetail < Model
|
207
|
+
extend Forwardable
|
208
|
+
|
209
|
+
def_delegators :@business_entity, :each, :length, :size, :[]
|
129
210
|
xml_object :business_entity, Uddi4r::BusinessEntity, ROXML::TAG_ARRAY
|
130
211
|
end
|
131
212
|
|
@@ -180,6 +261,10 @@ module Uddi4r
|
|
180
261
|
|
181
262
|
# UDDI identifierBag, for more information, see Uddi4r::Model.
|
182
263
|
class IdentifierBag < Model
|
264
|
+
extend Forwardable
|
265
|
+
|
266
|
+
def_delegators :@keyed_reference, :each, :length, :size, :[]
|
267
|
+
|
183
268
|
xml_object :keyed_reference, Uddi4r::KeyedReference, ROXML::TAG_ARRAY
|
184
269
|
end
|
185
270
|
|
@@ -213,7 +298,11 @@ module Uddi4r
|
|
213
298
|
|
214
299
|
# UDDI tModelList, for more information, see Uddi4r::Model.
|
215
300
|
class TModelList < Model
|
301
|
+
extend Forwardable
|
302
|
+
|
303
|
+
def_delegators :@t_model_infos, :each, :length, :size, :[]
|
304
|
+
|
216
305
|
xml_object :t_model_infos, Uddi4r::TModelInfo, ROXML::TAG_ARRAY, "tModelInfos"
|
217
306
|
end
|
218
307
|
|
219
|
-
end
|
308
|
+
end
|
File without changes
|
data/lib/uddi4r/try.rb
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'uddi4r'
|
3
|
+
require 'uuidtools'
|
4
|
+
require 'pp'
|
5
|
+
|
6
|
+
url='http://socrates.fgm.com:18080/uddi/publishing'
|
7
|
+
client = Uddi4r::Client.new(url)
|
8
|
+
|
9
|
+
token = client.get_authToken(:user_id => 'admin', :credentials => 'changeit')
|
10
|
+
|
11
|
+
#key = 'd8771d58-ea8f-46bc-bf20-7df3366f2d70'
|
12
|
+
# pp client.delete_service(:auth_info => token.authInfo, :service_key => key)
|
13
|
+
#key = [ '12345678-2219-1111-2222-333333333333', 'f8ce0ee7-3e10-44c0-86e5-0cd938e9ac05']
|
14
|
+
#pp client.delete_business(:auth_info => token.authInfo, :business_keys => key)
|
15
|
+
#
|
16
|
+
|
17
|
+
#b = Uddi4r::BindingTemplate.new
|
18
|
+
#b.binding_key = UUID.random_create
|
19
|
+
#b.description = 'Russ Binding'
|
20
|
+
#b.access_point = Uddi4r::AccessPoint.new
|
21
|
+
#pp b.access_point.public_methods.sort
|
22
|
+
#b.access_point.url_type = 'http'
|
23
|
+
#b.access_point.url = 'http://www.yahoo.com'
|
24
|
+
#b.service_key = '7bccb887-c301-438e-970f-72a0a847aef6'
|
25
|
+
#
|
26
|
+
#client.save_binding(:auth_info => token.authInfo, :binding=>b)
|
27
|
+
#
|
28
|
+
|
29
|
+
client.delete_binding(:auth_info => token.authInfo, :binding_key => '6f0b3643-67bd-4268-9593-55989a24624f')
|
30
|
+
|
31
|
+
#500.times do |biz_number|
|
32
|
+
# b = Uddi4r::BusinessEntity.new
|
33
|
+
# b.name = "RussBusiness#{biz_number}"
|
34
|
+
# b.description = "Yet another business"
|
35
|
+
# b.business_key = UUID.random_create
|
36
|
+
#
|
37
|
+
# 10.times do |service_number|
|
38
|
+
# s = Uddi4r::BusinessService.new
|
39
|
+
# s.name = "RussService#{service_number}"
|
40
|
+
# s.service_key = UUID.random_create
|
41
|
+
# b.business_services << s
|
42
|
+
# end
|
43
|
+
# client.save_business( :auth_info => token.authInfo, :business => b )
|
44
|
+
#end
|
45
|
+
#
|
46
|
+
#
|
data/test/test_client.rb
CHANGED
@@ -1,8 +1,9 @@
|
|
1
|
+
BaseDir=File.dirname(__FILE__) unless BaseDir
|
2
|
+
$: << BaseDir + "/../lib"
|
3
|
+
|
1
4
|
require "test/unit"
|
2
|
-
require "
|
3
|
-
require "
|
4
|
-
require "lib/models"
|
5
|
-
require "test/fixtures/test_uddi_servers"
|
5
|
+
require "uddi4r"
|
6
|
+
require BaseDir + "/fixtures/test_uddi_servers"
|
6
7
|
|
7
8
|
# Following test run against private UDDI registries. Internet connection
|
8
9
|
# is required. The tests will fail if the source registry is modified.
|
data/test/test_connection.rb
CHANGED
data/test/test_model.rb
CHANGED
metadata
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
rubygems_version: 0.
|
2
|
+
rubygems_version: 0.8.10
|
3
3
|
specification_version: 1
|
4
4
|
name: uddi4r
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: "0.
|
7
|
-
date:
|
6
|
+
version: "0.9"
|
7
|
+
date: 2007-11-10
|
8
8
|
summary: UDDI for Ruby
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -23,85 +23,22 @@ required_ruby_version: !ruby/object:Gem::Version::Requirement
|
|
23
23
|
version: 0.0.0
|
24
24
|
version:
|
25
25
|
platform: ruby
|
26
|
-
signing_key:
|
27
|
-
cert_chain:
|
28
|
-
post_install_message:
|
29
26
|
authors:
|
30
27
|
- Zak Mandhro
|
31
28
|
files:
|
32
|
-
- lib/
|
33
|
-
- lib/soap_builder.rb
|
34
|
-
- lib/
|
35
|
-
- lib/connection.rb
|
29
|
+
- lib/uddi4r.rb
|
30
|
+
- lib/uddi4r/soap_builder.rb
|
31
|
+
- lib/uddi4r/models.rb
|
32
|
+
- lib/uddi4r/connection.rb
|
33
|
+
- lib/uddi4r/try.rb
|
34
|
+
- lib/uddi4r/client.rb
|
36
35
|
- README
|
36
|
+
- test/test_connection.rb
|
37
37
|
- test/test_model.rb
|
38
|
-
- test/test_client.rb
|
39
38
|
- test/fixtures
|
40
|
-
- test/
|
41
|
-
- test/fixtures/business_service.xml
|
39
|
+
- test/test_client.rb
|
42
40
|
- test/fixtures/test_uddi_servers.rb
|
43
|
-
-
|
44
|
-
- doc/dot
|
45
|
-
- doc/rdoc-style.css
|
46
|
-
- doc/files
|
47
|
-
- doc/classes
|
48
|
-
- doc/fr_file_index.html
|
49
|
-
- doc/fr_class_index.html
|
50
|
-
- doc/fr_method_index.html
|
51
|
-
- doc/index.html
|
52
|
-
- doc/dot/f_0.dot
|
53
|
-
- doc/dot/f_0.png
|
54
|
-
- doc/dot/f_1.dot
|
55
|
-
- doc/dot/f_1.png
|
56
|
-
- doc/dot/m_1_0.dot
|
57
|
-
- doc/dot/m_1_0.png
|
58
|
-
- doc/dot/f_2.dot
|
59
|
-
- doc/dot/f_2.png
|
60
|
-
- doc/dot/m_2_0.dot
|
61
|
-
- doc/dot/m_2_0.png
|
62
|
-
- doc/dot/f_3.dot
|
63
|
-
- doc/dot/f_3.png
|
64
|
-
- doc/dot/m_3_0.dot
|
65
|
-
- doc/dot/m_3_0.png
|
66
|
-
- doc/dot/f_4.dot
|
67
|
-
- doc/dot/f_4.png
|
68
|
-
- doc/dot/m_4_0.dot
|
69
|
-
- doc/dot/m_4_0.png
|
70
|
-
- doc/files/README.html
|
71
|
-
- doc/files/lib
|
72
|
-
- doc/files/lib/models_rb.html
|
73
|
-
- doc/files/lib/soap_builder_rb.html
|
74
|
-
- doc/files/lib/client_rb.html
|
75
|
-
- doc/files/lib/connection_rb.html
|
76
|
-
- doc/classes/Uddi4r.html
|
77
|
-
- doc/classes/Uddi4r
|
78
|
-
- doc/classes/Uddi4r/SoapBuilder.html
|
79
|
-
- doc/classes/Uddi4r/BindingDetail.html
|
80
|
-
- doc/classes/Uddi4r/ServiceList.html
|
81
|
-
- doc/classes/Uddi4r/BusinessList.html
|
82
|
-
- doc/classes/Uddi4r/FindQualifiers.html
|
83
|
-
- doc/classes/Uddi4r/IdentifierBag.html
|
84
|
-
- doc/classes/Uddi4r/OverviewDoc.html
|
85
|
-
- doc/classes/Uddi4r/KeyedReference.html
|
86
|
-
- doc/classes/Uddi4r/BindingTemplate.html
|
87
|
-
- doc/classes/Uddi4r/TModelInstanceInfo.html
|
88
|
-
- doc/classes/Uddi4r/Model.html
|
89
|
-
- doc/classes/Uddi4r/BusinessEntity.html
|
90
|
-
- doc/classes/Uddi4r/BusinessService.html
|
91
|
-
- doc/classes/Uddi4r/BusinessInfo.html
|
92
|
-
- doc/classes/Uddi4r/ServiceInfo.html
|
93
|
-
- doc/classes/Uddi4r/Client.html
|
94
|
-
- doc/classes/Uddi4r/RelatedBusinessesList.html
|
95
|
-
- doc/classes/Uddi4r/ServiceDetail.html
|
96
|
-
- doc/classes/Uddi4r/TModelDetail.html
|
97
|
-
- doc/classes/Uddi4r/TModelInfo.html
|
98
|
-
- doc/classes/Uddi4r/Connection.html
|
99
|
-
- doc/classes/Uddi4r/TModelList.html
|
100
|
-
- doc/classes/Uddi4r/TModelBag.html
|
101
|
-
- doc/classes/Uddi4r/DiscoveryURLs.html
|
102
|
-
- doc/classes/Uddi4r/TModel.html
|
103
|
-
- doc/classes/Uddi4r/CategoryBag.html
|
104
|
-
- doc/classes/Uddi4r/BusinessDetail.html
|
41
|
+
- test/fixtures/business_service.xml
|
105
42
|
test_files:
|
106
43
|
- test/test_client.rb
|
107
44
|
rdoc_options: []
|
@@ -113,6 +50,14 @@ executables: []
|
|
113
50
|
extensions: []
|
114
51
|
|
115
52
|
requirements:
|
116
|
-
- roxml
|
117
|
-
dependencies:
|
118
|
-
|
53
|
+
- roxml >= 1.2
|
54
|
+
dependencies:
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: roxml
|
57
|
+
version_requirement:
|
58
|
+
version_requirements: !ruby/object:Gem::Version::Requirement
|
59
|
+
requirements:
|
60
|
+
- - ">="
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: "1.2"
|
63
|
+
version:
|