kennethkalmer-postini 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +22 -0
- data/License.txt +29 -0
- data/Manifest.txt +34 -0
- data/PostInstall.txt +8 -0
- data/README.txt +62 -0
- data/Rakefile +29 -0
- data/TODO +37 -0
- data/features/development.feature +13 -0
- data/features/step_definitions/common_steps.rb +172 -0
- data/features/support/common.rb +29 -0
- data/features/support/env.rb +6 -0
- data/features/support/matchers.rb +11 -0
- data/lib/postini.rb +119 -0
- data/lib/postini/automated_batch_service.rb +464 -0
- data/lib/postini/configuration_check.rb +25 -0
- data/lib/postini/endpoint_resolver_service.rb +41 -0
- data/lib/postini/endpoints.rb +26 -0
- data/lib/postini/exceptions.rb +85 -0
- data/script/console +10 -0
- data/script/destroy +14 -0
- data/script/generate +14 -0
- data/script/txt2html +71 -0
- data/setup.rb +1585 -0
- data/spec/exceptions_spec.rb +19 -0
- data/spec/postini_spec.rb +25 -0
- data/spec/rcov.opts +1 -0
- data/spec/spec.opts +1 -0
- data/spec/spec_helper.rb +15 -0
- data/tasks/deployment.rake +34 -0
- data/tasks/environment.rake +7 -0
- data/tasks/rspec.rake +21 -0
- data/tasks/website.rake +17 -0
- data/vendor/automatedbatch.wsdl +1721 -0
- data/vendor/endpointresolver.wsdl +214 -0
- metadata +111 -0
@@ -0,0 +1,214 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!-- Originating Build y6_14_9c0, y6_14_9c0, Thu May 22 11:20:45 PDT 2008-->
|
3
|
+
|
4
|
+
<wsdl:definitions
|
5
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
6
|
+
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
|
7
|
+
xmlns:xmime="http://www.w3.org/2004/11/xmlmime"
|
8
|
+
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
|
9
|
+
xmlns:tns="http://postini.com/PSTN/SOAPAPI/v2/endpointresolver"
|
10
|
+
targetNamespace="http://postini.com/PSTN/SOAPAPI/v2/endpointresolver"
|
11
|
+
name="EndpointResolver"
|
12
|
+
>
|
13
|
+
|
14
|
+
<wsdl:types>
|
15
|
+
<schema
|
16
|
+
xmlns="http://www.w3.org/2001/XMLSchema"
|
17
|
+
targetNamespace="http://postini.com/PSTN/SOAPAPI/v2/endpointresolver"
|
18
|
+
>
|
19
|
+
|
20
|
+
<xsd:complexType name="AdminBlockException">
|
21
|
+
<xsd:sequence>
|
22
|
+
<xsd:element name="message" type="xsd:string" />
|
23
|
+
</xsd:sequence>
|
24
|
+
</xsd:complexType>
|
25
|
+
|
26
|
+
<xsd:complexType name="GetServiceEndpoint">
|
27
|
+
<xsd:sequence>
|
28
|
+
<xsd:element name="apiKey" type="xsd:string" />
|
29
|
+
<xsd:element name="email" type="xsd:string" />
|
30
|
+
<xsd:element name="service" type="tns:service" />
|
31
|
+
</xsd:sequence>
|
32
|
+
</xsd:complexType>
|
33
|
+
|
34
|
+
<xsd:complexType name="GetServiceEndpointResponse">
|
35
|
+
<xsd:sequence>
|
36
|
+
<xsd:element name="EndpointURI" minOccurs="0" type="xsd:string" />
|
37
|
+
</xsd:sequence>
|
38
|
+
</xsd:complexType>
|
39
|
+
|
40
|
+
<xsd:complexType name="InternalException">
|
41
|
+
<xsd:sequence>
|
42
|
+
<xsd:element name="message" type="xsd:string" />
|
43
|
+
</xsd:sequence>
|
44
|
+
</xsd:complexType>
|
45
|
+
|
46
|
+
<xsd:complexType name="InvalidValueException">
|
47
|
+
<xsd:sequence>
|
48
|
+
<xsd:element name="message" type="xsd:string" />
|
49
|
+
</xsd:sequence>
|
50
|
+
</xsd:complexType>
|
51
|
+
|
52
|
+
<xsd:complexType name="MalformedKeyException">
|
53
|
+
<xsd:sequence>
|
54
|
+
<xsd:element name="message" type="xsd:string" />
|
55
|
+
</xsd:sequence>
|
56
|
+
</xsd:complexType>
|
57
|
+
|
58
|
+
<xsd:complexType name="MissingElementException">
|
59
|
+
<xsd:sequence>
|
60
|
+
<xsd:element name="message" type="xsd:string" />
|
61
|
+
</xsd:sequence>
|
62
|
+
</xsd:complexType>
|
63
|
+
|
64
|
+
<xsd:complexType name="NoSuchKeyException">
|
65
|
+
<xsd:sequence>
|
66
|
+
<xsd:element name="message" type="xsd:string" />
|
67
|
+
</xsd:sequence>
|
68
|
+
</xsd:complexType>
|
69
|
+
|
70
|
+
<xsd:complexType name="UnknownEmailException">
|
71
|
+
<xsd:sequence>
|
72
|
+
<xsd:element name="message" type="xsd:string" />
|
73
|
+
</xsd:sequence>
|
74
|
+
</xsd:complexType>
|
75
|
+
|
76
|
+
<xsd:complexType name="UnknownInternalException">
|
77
|
+
<xsd:sequence>
|
78
|
+
<xsd:element name="message" type="xsd:string" />
|
79
|
+
</xsd:sequence>
|
80
|
+
</xsd:complexType>
|
81
|
+
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
|
86
|
+
<xsd:simpleType name="service">
|
87
|
+
<xsd:restriction base="xsd:string">
|
88
|
+
<xsd:enumeration value="v1"/>
|
89
|
+
<xsd:enumeration value="v2AutomatedBatch"/>
|
90
|
+
<xsd:enumeration value="v2PersonalArchive"/>
|
91
|
+
<xsd:enumeration value="v2UserSync"/>
|
92
|
+
</xsd:restriction>
|
93
|
+
</xsd:simpleType>
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
<xsd:element name="AdminBlockException" type="tns:AdminBlockException" />
|
99
|
+
|
100
|
+
<xsd:element name="GetServiceEndpoint" type="tns:GetServiceEndpoint" />
|
101
|
+
|
102
|
+
<xsd:element name="GetServiceEndpointResponse" type="tns:GetServiceEndpointResponse" />
|
103
|
+
|
104
|
+
<xsd:element name="InternalException" type="tns:InternalException" />
|
105
|
+
|
106
|
+
<xsd:element name="InvalidValueException" type="tns:InvalidValueException" />
|
107
|
+
|
108
|
+
<xsd:element name="MalformedKeyException" type="tns:MalformedKeyException" />
|
109
|
+
|
110
|
+
<xsd:element name="MissingElementException" type="tns:MissingElementException" />
|
111
|
+
|
112
|
+
<xsd:element name="NoSuchKeyException" type="tns:NoSuchKeyException" />
|
113
|
+
|
114
|
+
<xsd:element name="UnknownEmailException" type="tns:UnknownEmailException" />
|
115
|
+
|
116
|
+
<xsd:element name="UnknownInternalException" type="tns:UnknownInternalException" />
|
117
|
+
|
118
|
+
|
119
|
+
</schema>
|
120
|
+
</wsdl:types>
|
121
|
+
|
122
|
+
<wsdl:message name="UnknownEmailException">
|
123
|
+
<wsdl:part name="fault" element="tns:UnknownEmailException"/>
|
124
|
+
</wsdl:message>
|
125
|
+
|
126
|
+
|
127
|
+
<wsdl:message name="InternalException">
|
128
|
+
<wsdl:part name="fault" element="tns:InternalException"/>
|
129
|
+
</wsdl:message>
|
130
|
+
|
131
|
+
|
132
|
+
<wsdl:message name="UnknownInternalException">
|
133
|
+
<wsdl:part name="fault" element="tns:UnknownInternalException"/>
|
134
|
+
</wsdl:message>
|
135
|
+
|
136
|
+
|
137
|
+
<wsdl:message name="MissingElementException">
|
138
|
+
<wsdl:part name="fault" element="tns:MissingElementException"/>
|
139
|
+
</wsdl:message>
|
140
|
+
|
141
|
+
|
142
|
+
<wsdl:message name="InvalidValueException">
|
143
|
+
<wsdl:part name="fault" element="tns:InvalidValueException"/>
|
144
|
+
</wsdl:message>
|
145
|
+
|
146
|
+
|
147
|
+
<wsdl:message name="MalformedKeyException">
|
148
|
+
<wsdl:part name="fault" element="tns:MalformedKeyException"/>
|
149
|
+
</wsdl:message>
|
150
|
+
|
151
|
+
|
152
|
+
<wsdl:message name="NoSuchKeyException">
|
153
|
+
<wsdl:part name="fault" element="tns:NoSuchKeyException"/>
|
154
|
+
</wsdl:message>
|
155
|
+
|
156
|
+
|
157
|
+
<wsdl:message name="AdminBlockException">
|
158
|
+
<wsdl:part name="fault" element="tns:AdminBlockException"/>
|
159
|
+
</wsdl:message>
|
160
|
+
|
161
|
+
|
162
|
+
<wsdl:message name="GetServiceEndpoint">
|
163
|
+
<wsdl:part name="parameters" element="tns:GetServiceEndpoint"/>
|
164
|
+
</wsdl:message>
|
165
|
+
|
166
|
+
|
167
|
+
<wsdl:message name="GetServiceEndpointResponse">
|
168
|
+
<wsdl:part name="parameters" element="tns:GetServiceEndpointResponse"/>
|
169
|
+
</wsdl:message>
|
170
|
+
|
171
|
+
<wsdl:portType name="EndpointResolverPort">
|
172
|
+
|
173
|
+
<wsdl:operation name="GetServiceEndpoint">
|
174
|
+
<wsdl:documentation>Perform a endpoint lookup for the specified service and user email</wsdl:documentation>
|
175
|
+
<wsdl:input message="tns:GetServiceEndpoint" name="GetServiceEndpoint"/>
|
176
|
+
<wsdl:output message="tns:GetServiceEndpointResponse" name="GetServiceEndpointResponse"/>
|
177
|
+
<wsdl:fault name="AdminBlockException" message="tns:AdminBlockException"/>
|
178
|
+
<wsdl:fault name="InternalException" message="tns:InternalException"/>
|
179
|
+
<wsdl:fault name="InvalidValueException" message="tns:InvalidValueException"/>
|
180
|
+
<wsdl:fault name="MalformedKeyException" message="tns:MalformedKeyException"/>
|
181
|
+
<wsdl:fault name="MissingElementException" message="tns:MissingElementException"/>
|
182
|
+
<wsdl:fault name="NoSuchKeyException" message="tns:NoSuchKeyException"/>
|
183
|
+
<wsdl:fault name="UnknownEmailException" message="tns:UnknownEmailException"/>
|
184
|
+
<wsdl:fault name="UnknownInternalException" message="tns:UnknownInternalException"/>
|
185
|
+
</wsdl:operation>
|
186
|
+
|
187
|
+
</wsdl:portType>
|
188
|
+
|
189
|
+
<wsdl:binding name="EndpointResolverBinding" type="tns:EndpointResolverPort">
|
190
|
+
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
|
191
|
+
|
192
|
+
|
193
|
+
<wsdl:operation name="GetServiceEndpoint">
|
194
|
+
<soap:operation soapAction="" style="document"/>
|
195
|
+
<wsdl:input name="GetServiceEndpoint"><soap:body use="literal"/></wsdl:input>
|
196
|
+
<wsdl:output name="GetServiceEndpointResponse"><soap:body use="literal"/></wsdl:output>
|
197
|
+
<wsdl:fault name="AdminBlockException"><soap:fault name="AdminBlockException" use="literal"/></wsdl:fault>
|
198
|
+
<wsdl:fault name="InternalException"><soap:fault name="InternalException" use="literal"/></wsdl:fault>
|
199
|
+
<wsdl:fault name="InvalidValueException"><soap:fault name="InvalidValueException" use="literal"/></wsdl:fault>
|
200
|
+
<wsdl:fault name="MalformedKeyException"><soap:fault name="MalformedKeyException" use="literal"/></wsdl:fault>
|
201
|
+
<wsdl:fault name="MissingElementException"><soap:fault name="MissingElementException" use="literal"/></wsdl:fault>
|
202
|
+
<wsdl:fault name="NoSuchKeyException"><soap:fault name="NoSuchKeyException" use="literal"/></wsdl:fault>
|
203
|
+
<wsdl:fault name="UnknownEmailException"><soap:fault name="UnknownEmailException" use="literal"/></wsdl:fault>
|
204
|
+
<wsdl:fault name="UnknownInternalException"><soap:fault name="UnknownInternalException" use="literal"/></wsdl:fault>
|
205
|
+
</wsdl:operation>
|
206
|
+
|
207
|
+
</wsdl:binding>
|
208
|
+
|
209
|
+
<wsdl:service name="EndpointResolverService">
|
210
|
+
<wsdl:port name="EndpointResolverPort" binding="tns:EndpointResolverBinding">
|
211
|
+
<soap:address location="https://api-meta.postini.com/api2/endpointresolver"/>
|
212
|
+
</wsdl:port>
|
213
|
+
</wsdl:service>
|
214
|
+
</wsdl:definitions>
|
metadata
ADDED
@@ -0,0 +1,111 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: kennethkalmer-postini
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Kenneth Kalmer
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2009-06-12 00:00:00 -07:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: newgem
|
17
|
+
type: :development
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 1.4.1
|
24
|
+
version:
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: hoe
|
27
|
+
type: :development
|
28
|
+
version_requirement:
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 1.8.0
|
34
|
+
version:
|
35
|
+
description: A Ruby wrapper library to make the Postini SOAP API more palatable. Postini is the world leader in email message scanning, filtering and archiving. This library provides users of Postini with a convenient Ruby library that exposes the Postini SOAP API (Early Access Program) through more familiar Rubyisms.
|
36
|
+
email:
|
37
|
+
- kenneth.kalmer@gmail.com
|
38
|
+
executables: []
|
39
|
+
|
40
|
+
extensions: []
|
41
|
+
|
42
|
+
extra_rdoc_files:
|
43
|
+
- History.txt
|
44
|
+
- License.txt
|
45
|
+
- Manifest.txt
|
46
|
+
- PostInstall.txt
|
47
|
+
- README.txt
|
48
|
+
files:
|
49
|
+
- History.txt
|
50
|
+
- License.txt
|
51
|
+
- Manifest.txt
|
52
|
+
- PostInstall.txt
|
53
|
+
- README.txt
|
54
|
+
- Rakefile
|
55
|
+
- TODO
|
56
|
+
- features/development.feature
|
57
|
+
- features/step_definitions/common_steps.rb
|
58
|
+
- features/support/common.rb
|
59
|
+
- features/support/env.rb
|
60
|
+
- features/support/matchers.rb
|
61
|
+
- lib/postini.rb
|
62
|
+
- lib/postini/automated_batch_service.rb
|
63
|
+
- lib/postini/configuration_check.rb
|
64
|
+
- lib/postini/endpoint_resolver_service.rb
|
65
|
+
- lib/postini/endpoints.rb
|
66
|
+
- lib/postini/exceptions.rb
|
67
|
+
- script/console
|
68
|
+
- script/destroy
|
69
|
+
- script/generate
|
70
|
+
- script/txt2html
|
71
|
+
- setup.rb
|
72
|
+
- spec/exceptions_spec.rb
|
73
|
+
- spec/postini_spec.rb
|
74
|
+
- spec/rcov.opts
|
75
|
+
- spec/spec.opts
|
76
|
+
- spec/spec_helper.rb
|
77
|
+
- tasks/deployment.rake
|
78
|
+
- tasks/environment.rake
|
79
|
+
- tasks/rspec.rake
|
80
|
+
- tasks/website.rake
|
81
|
+
- vendor/automatedbatch.wsdl
|
82
|
+
- vendor/endpointresolver.wsdl
|
83
|
+
has_rdoc: true
|
84
|
+
homepage: http://postini4r.rubyforge.org/
|
85
|
+
post_install_message: PostInstall.txt
|
86
|
+
rdoc_options:
|
87
|
+
- --main
|
88
|
+
- README.txt
|
89
|
+
require_paths:
|
90
|
+
- lib
|
91
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - ">="
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: "0"
|
96
|
+
version:
|
97
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
98
|
+
requirements:
|
99
|
+
- - ">="
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: "0"
|
102
|
+
version:
|
103
|
+
requirements: []
|
104
|
+
|
105
|
+
rubyforge_project: postini4r
|
106
|
+
rubygems_version: 1.2.0
|
107
|
+
signing_key:
|
108
|
+
specification_version: 2
|
109
|
+
summary: A Ruby wrapper library to make the Postini SOAP API more palatable
|
110
|
+
test_files: []
|
111
|
+
|