ruby_odata 0.1.6 → 0.2.0.beta1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -0
- data/CHANGELOG.md +5 -0
- data/Gemfile +2 -0
- data/Guardfile +1 -1
- data/features/basic_auth.feature +13 -13
- data/features/cassettes/basic_auth_protected_resource.yml +22 -20
- data/features/cassettes/batch_request_additions.yml +26 -26
- data/features/cassettes/batch_request_deletes.yml +27 -27
- data/features/cassettes/batch_request_updates.yml +26 -26
- data/features/cassettes/clean_database_for_testing.yml +10 -10
- data/features/cassettes/cucumber_tags/basic_auth.yml +54 -163
- data/features/cassettes/cucumber_tags/batch_request.yml +229 -1118
- data/features/cassettes/cucumber_tags/complex_types.yml +81 -191
- data/features/cassettes/cucumber_tags/error_handling.yml +45 -33
- data/features/cassettes/cucumber_tags/query_builder.yml +555 -1248
- data/features/cassettes/cucumber_tags/service_manage.yml +216 -591
- data/features/cassettes/cucumber_tags/service_methods.yml +137 -412
- data/features/cassettes/cucumber_tags/ssl.yml +121 -117
- data/features/cassettes/cucumber_tags/type_conversion.yml +104 -170
- data/features/cassettes/service_manage_additions.yml +26 -28
- data/features/cassettes/service_manage_deletions.yml +21 -21
- data/features/cassettes/service_manage_deletions_2.yml +21 -21
- data/features/cassettes/unsecured_metadata.yml +14 -14
- data/features/service.feature +37 -37
- data/features/service_methods.feature +38 -38
- data/features/step_definitions/pickle_steps.rb +5 -5
- data/features/step_definitions/service_steps.rb +26 -26
- data/features/support/hooks.rb +3 -2
- data/features/support/vcr.rb +13 -13
- data/lib/ruby_odata.rb +4 -1
- data/lib/ruby_odata/association.rb +15 -8
- data/lib/ruby_odata/class_builder.rb +5 -1
- data/lib/ruby_odata/query_builder.rb +171 -173
- data/lib/ruby_odata/resource.rb +153 -0
- data/lib/ruby_odata/service.rb +30 -30
- data/lib/ruby_odata/version.rb +1 -1
- data/ruby_odata.gemspec +48 -43
- data/spec/association_spec.rb +15 -11
- data/spec/fixtures/decimal/metadata.xml +1 -0
- data/spec/fixtures/v4/edmx_metadata.xml +145 -0
- data/spec/fixtures/v4/result_categories.xml +0 -0
- data/spec/revised_service_spec.rb +16 -11
- data/spec/service_spec.rb +149 -114
- data/spec/service_v4_spec.rb +102 -0
- data/spec/spec_helper.rb +6 -1
- metadata +109 -32
- data/features/cassettes/cucumber_tags/service.yml +0 -234
@@ -1,39 +1,35 @@
|
|
1
1
|
---
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
|
-
method:
|
5
|
-
uri: https://
|
4
|
+
method: get
|
5
|
+
uri: https://10.10.0.17:44300/SampleService/BasicAuth/RubyOData.svc/$metadata
|
6
6
|
body:
|
7
|
-
encoding: ASCII
|
8
|
-
string:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
9
|
headers:
|
10
|
-
Accept:
|
11
|
-
- ! '*/*; q=0.5, application/xml'
|
12
|
-
Accept-Encoding:
|
13
|
-
- gzip, deflate
|
14
|
-
Content-Type:
|
15
|
-
- application/json
|
16
|
-
Content-Length:
|
17
|
-
- '69'
|
18
10
|
User-Agent:
|
19
11
|
- Ruby
|
12
|
+
Accept:
|
13
|
+
- "*/*; q=0.5, application/xml"
|
14
|
+
Authorization:
|
15
|
+
- Basic YWRtaW46cGFzc3dk
|
16
|
+
Accept-Encoding:
|
17
|
+
- gzip,deflate
|
20
18
|
response:
|
21
19
|
status:
|
22
|
-
code:
|
23
|
-
message:
|
20
|
+
code: 200
|
21
|
+
message: ''
|
24
22
|
headers:
|
25
23
|
Cache-Control:
|
26
24
|
- no-cache
|
27
25
|
Content-Length:
|
28
|
-
- '
|
26
|
+
- '4055'
|
29
27
|
Content-Type:
|
30
|
-
- application/
|
31
|
-
Location:
|
32
|
-
- https://win7dev:44300/SampleService/BasicAuth/RubyOData.svc/Categories(1)
|
28
|
+
- application/xml;charset=utf-8
|
33
29
|
Server:
|
34
|
-
- Microsoft-IIS/
|
30
|
+
- Microsoft-IIS/8.0
|
35
31
|
Set-Cookie:
|
36
|
-
- ASP.NET_SessionId=
|
32
|
+
- ASP.NET_SessionId=actpbfderh0tojhcwyq5bz0d; path=/; HttpOnly
|
37
33
|
X-Content-Type-Options:
|
38
34
|
- nosniff
|
39
35
|
Dataserviceversion:
|
@@ -43,51 +39,89 @@ http_interactions:
|
|
43
39
|
X-Powered-By:
|
44
40
|
- ASP.NET
|
45
41
|
Date:
|
46
|
-
-
|
42
|
+
- Sun, 26 Apr 2015 16:29:58 GMT
|
47
43
|
body:
|
48
|
-
encoding:
|
49
|
-
string: <?xml version="1.0" encoding="utf-8"?><
|
50
|
-
|
51
|
-
xmlns
|
52
|
-
|
53
|
-
|
54
|
-
/><
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
44
|
+
encoding: UTF-8
|
45
|
+
string: <?xml version="1.0" encoding="utf-8"?><edmx:Edmx Version="1.0" xmlns:edmx="http://schemas.microsoft.com/ado/2007/06/edmx"><edmx:DataServices
|
46
|
+
m:DataServiceVersion="1.0" m:MaxDataServiceVersion="3.0" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><Schema
|
47
|
+
Namespace="RubyODataService" xmlns="http://schemas.microsoft.com/ado/2008/09/edm"><EntityType
|
48
|
+
Name="Product"><Key><PropertyRef Name="Id" /></Key><Property Name="Id" Type="Edm.Int32"
|
49
|
+
Nullable="false" p6:StoreGeneratedPattern="Identity" xmlns:p6="http://schemas.microsoft.com/ado/2009/02/edm/annotation"
|
50
|
+
/><Property Name="Name" Type="Edm.String" MaxLength="4000" FixedLength="false"
|
51
|
+
Unicode="true" /><Property Name="Description" Type="Edm.String" MaxLength="4000"
|
52
|
+
FixedLength="false" Unicode="true" /><Property Name="Price" Type="Edm.Decimal"
|
53
|
+
Nullable="false" Precision="18" Scale="2" /><Property Name="DiscontinuedDate"
|
54
|
+
Type="Edm.DateTime" /><Property Name="CategoryId" Type="Edm.Int32" Nullable="false"
|
55
|
+
/><Property Name="AuditFields" Type="RubyODataService.AuditFields" Nullable="false"
|
56
|
+
/><NavigationProperty Name="Category" Relationship="RubyODataService.Category_Products"
|
57
|
+
ToRole="Category_Products_Source" FromRole="Category_Products_Target" /></EntityType><ComplexType
|
58
|
+
Name="AuditFields"><Property Name="CreateDate" Type="Edm.DateTime" Nullable="false"
|
59
|
+
/><Property Name="ModifiedDate" Type="Edm.DateTime" Nullable="false" /><Property
|
60
|
+
Name="CreatedBy" Type="Edm.String" MaxLength="4000" FixedLength="false" Unicode="true"
|
61
|
+
/></ComplexType><EntityType Name="Category"><Key><PropertyRef Name="Id" /></Key><Property
|
62
|
+
Name="Id" Type="Edm.Int32" Nullable="false" p6:StoreGeneratedPattern="Identity"
|
63
|
+
xmlns:p6="http://schemas.microsoft.com/ado/2009/02/edm/annotation" /><Property
|
64
|
+
Name="Name" Type="Edm.String" MaxLength="4000" FixedLength="false" Unicode="true"
|
65
|
+
/><Property Name="AuditFields" Type="RubyODataService.AuditFields" Nullable="false"
|
66
|
+
/><NavigationProperty Name="Products" Relationship="RubyODataService.Category_Products"
|
67
|
+
ToRole="Category_Products_Target" FromRole="Category_Products_Source" /></EntityType><EntityType
|
68
|
+
Name="EdmMetadata"><Key><PropertyRef Name="Id" /></Key><Property Name="Id"
|
69
|
+
Type="Edm.Int32" Nullable="false" p6:StoreGeneratedPattern="Identity" xmlns:p6="http://schemas.microsoft.com/ado/2009/02/edm/annotation"
|
70
|
+
/><Property Name="ModelHash" Type="Edm.String" MaxLength="4000" FixedLength="false"
|
71
|
+
Unicode="true" /></EntityType><Association Name="Category_Products"><End Type="RubyODataService.Product"
|
72
|
+
Role="Category_Products_Target" Multiplicity="*" /><End Type="RubyODataService.Category"
|
73
|
+
Role="Category_Products_Source" Multiplicity="1"><OnDelete Action="Cascade"
|
74
|
+
/></End><ReferentialConstraint><Principal Role="Category_Products_Source"><PropertyRef
|
75
|
+
Name="Id" /></Principal><Dependent Role="Category_Products_Target"><PropertyRef
|
76
|
+
Name="CategoryId" /></Dependent></ReferentialConstraint></Association><EntityContainer
|
77
|
+
Name="RubyODataContext" m:IsDefaultEntityContainer="true"><EntitySet Name="Products"
|
78
|
+
EntityType="RubyODataService.Product" /><EntitySet Name="Categories" EntityType="RubyODataService.Category"
|
79
|
+
/><EntitySet Name="EdmMetadatas" EntityType="RubyODataService.EdmMetadata"
|
80
|
+
/><AssociationSet Name="Category_Products" Association="RubyODataService.Category_Products"><End
|
81
|
+
Role="Category_Products_Target" EntitySet="Products" /><End Role="Category_Products_Source"
|
82
|
+
EntitySet="Categories" /></AssociationSet><FunctionImport Name="CleanDatabaseForTesting"
|
83
|
+
m:HttpMethod="POST" /><FunctionImport Name="EntityCategoryWebGet" ReturnType="Collection(RubyODataService.Category)"
|
84
|
+
EntitySet="Categories" m:HttpMethod="GET" /><FunctionImport Name="CategoryNames"
|
85
|
+
ReturnType="Collection(Edm.String)" m:HttpMethod="GET" /><FunctionImport Name="FirstCategoryId"
|
86
|
+
ReturnType="Edm.Int32" m:HttpMethod="GET" /><FunctionImport Name="EntitySingleCategoryWebGet"
|
87
|
+
ReturnType="RubyODataService.Category" EntitySet="Categories" m:HttpMethod="GET"><Parameter
|
88
|
+
Name="id" Type="Edm.Int32" /></FunctionImport></EntityContainer></Schema></edmx:DataServices></edmx:Edmx>
|
89
|
+
http_version:
|
90
|
+
recorded_at: Sun, 26 Apr 2015 16:29:59 GMT
|
63
91
|
- request:
|
64
|
-
method:
|
65
|
-
uri: https://
|
92
|
+
method: post
|
93
|
+
uri: https://10.10.0.17:44300/SampleService/BasicAuth/RubyOData.svc/Categories
|
66
94
|
body:
|
67
|
-
encoding:
|
68
|
-
string: ''
|
95
|
+
encoding: UTF-8
|
96
|
+
string: '{"Name":"Auth Test Category","AuditFields":{"CreatedBy":"Machinist"}}'
|
69
97
|
headers:
|
70
|
-
Accept:
|
71
|
-
- ! '*/*; q=0.5, application/xml'
|
72
|
-
Accept-Encoding:
|
73
|
-
- gzip, deflate
|
74
98
|
User-Agent:
|
75
99
|
- Ruby
|
100
|
+
Accept:
|
101
|
+
- "*/*; q=0.5, application/xml"
|
102
|
+
Authorization:
|
103
|
+
- Basic YWRtaW46cGFzc3dk
|
104
|
+
Content-Type:
|
105
|
+
- application/json
|
106
|
+
Accept-Encoding:
|
107
|
+
- gzip,deflate
|
76
108
|
response:
|
77
109
|
status:
|
78
|
-
code:
|
79
|
-
message:
|
110
|
+
code: 201
|
111
|
+
message: ''
|
80
112
|
headers:
|
81
113
|
Cache-Control:
|
82
114
|
- no-cache
|
83
115
|
Content-Length:
|
84
|
-
- '
|
116
|
+
- '1288'
|
85
117
|
Content-Type:
|
86
118
|
- application/atom+xml;type=entry;charset=utf-8
|
119
|
+
Location:
|
120
|
+
- https://10.10.0.17:44300/SampleService/BasicAuth/RubyOData.svc/Categories(1)
|
87
121
|
Server:
|
88
|
-
- Microsoft-IIS/
|
122
|
+
- Microsoft-IIS/8.0
|
89
123
|
Set-Cookie:
|
90
|
-
- ASP.NET_SessionId=
|
124
|
+
- ASP.NET_SessionId=5nxzsgnedd4aytyfoebtuuhq; path=/; HttpOnly
|
91
125
|
X-Content-Type-Options:
|
92
126
|
- nosniff
|
93
127
|
Dataserviceversion:
|
@@ -97,51 +131,53 @@ http_interactions:
|
|
97
131
|
X-Powered-By:
|
98
132
|
- ASP.NET
|
99
133
|
Date:
|
100
|
-
-
|
134
|
+
- Sun, 26 Apr 2015 16:29:58 GMT
|
101
135
|
body:
|
102
|
-
encoding:
|
103
|
-
string: <?xml version="1.0" encoding="utf-8"?><entry xml:base="https://
|
136
|
+
encoding: UTF-8
|
137
|
+
string: <?xml version="1.0" encoding="utf-8"?><entry xml:base="https://10.10.0.17:44300/SampleService/BasicAuth/RubyOData.svc/"
|
104
138
|
xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"
|
105
139
|
xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:georss="http://www.georss.org/georss"
|
106
|
-
xmlns:gml="http://www.opengis.net/gml"><id>https://
|
140
|
+
xmlns:gml="http://www.opengis.net/gml"><id>https://10.10.0.17:44300/SampleService/BasicAuth/RubyOData.svc/Categories(1)</id><category
|
107
141
|
term="RubyODataService.Category" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"
|
108
142
|
/><link rel="edit" title="Category" href="Categories(1)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Products"
|
109
143
|
type="application/atom+xml;type=feed" title="Products" href="Categories(1)/Products"
|
110
|
-
/><title /><updated>
|
144
|
+
/><title /><updated>2015-04-26T16:29:59Z</updated><author><name /></author><content
|
111
145
|
type="application/xml"><m:properties><d:Id m:type="Edm.Int32">1</d:Id><d:Name>Auth
|
112
146
|
Test Category</d:Name><d:AuditFields m:type="RubyODataService.AuditFields"><d:CreateDate
|
113
|
-
m:type="Edm.DateTime">
|
114
|
-
m:type="Edm.DateTime">
|
115
|
-
http_version:
|
116
|
-
recorded_at:
|
147
|
+
m:type="Edm.DateTime">2015-04-26T16:29:59.458032Z</d:CreateDate><d:ModifiedDate
|
148
|
+
m:type="Edm.DateTime">2015-04-26T16:29:59.458032Z</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry>
|
149
|
+
http_version:
|
150
|
+
recorded_at: Sun, 26 Apr 2015 16:29:59 GMT
|
117
151
|
- request:
|
118
152
|
method: get
|
119
|
-
uri: https://
|
153
|
+
uri: https://10.10.0.17:44300/SampleService/BasicAuth/RubyOData.svc/Categories(1)
|
120
154
|
body:
|
121
155
|
encoding: US-ASCII
|
122
156
|
string: ''
|
123
157
|
headers:
|
124
|
-
Accept:
|
125
|
-
- ! '*/*; q=0.5, application/xml'
|
126
|
-
Accept-Encoding:
|
127
|
-
- gzip, deflate
|
128
158
|
User-Agent:
|
129
159
|
- Ruby
|
160
|
+
Accept:
|
161
|
+
- "*/*; q=0.5, application/xml"
|
162
|
+
Authorization:
|
163
|
+
- Basic YWRtaW46cGFzc3dk
|
164
|
+
Accept-Encoding:
|
165
|
+
- gzip,deflate
|
130
166
|
response:
|
131
167
|
status:
|
132
168
|
code: 200
|
133
|
-
message:
|
169
|
+
message: ''
|
134
170
|
headers:
|
135
171
|
Cache-Control:
|
136
172
|
- no-cache
|
137
173
|
Content-Length:
|
138
|
-
- '
|
174
|
+
- '1280'
|
139
175
|
Content-Type:
|
140
|
-
- application/xml;charset=utf-8
|
176
|
+
- application/atom+xml;type=entry;charset=utf-8
|
141
177
|
Server:
|
142
|
-
- Microsoft-IIS/
|
178
|
+
- Microsoft-IIS/8.0
|
143
179
|
Set-Cookie:
|
144
|
-
- ASP.NET_SessionId=
|
180
|
+
- ASP.NET_SessionId=ywz0ygdefx0vdsa5pvgg2jdp; path=/; HttpOnly
|
145
181
|
X-Content-Type-Options:
|
146
182
|
- nosniff
|
147
183
|
Dataserviceversion:
|
@@ -151,53 +187,21 @@ http_interactions:
|
|
151
187
|
X-Powered-By:
|
152
188
|
- ASP.NET
|
153
189
|
Date:
|
154
|
-
-
|
190
|
+
- Sun, 26 Apr 2015 16:29:58 GMT
|
155
191
|
body:
|
156
|
-
encoding:
|
157
|
-
string: <?xml version="1.0" encoding="utf-8"?><
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
/><
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
Name="CreatedBy" Type="Edm.String" MaxLength="4000" FixedLength="false" Unicode="true"
|
173
|
-
/></ComplexType><EntityType Name="Category"><Key><PropertyRef Name="Id" /></Key><Property
|
174
|
-
Name="Id" Type="Edm.Int32" Nullable="false" p6:StoreGeneratedPattern="Identity"
|
175
|
-
xmlns:p6="http://schemas.microsoft.com/ado/2009/02/edm/annotation" /><Property
|
176
|
-
Name="Name" Type="Edm.String" MaxLength="4000" FixedLength="false" Unicode="true"
|
177
|
-
/><Property Name="AuditFields" Type="RubyODataService.AuditFields" Nullable="false"
|
178
|
-
/><NavigationProperty Name="Products" Relationship="RubyODataService.Category_Products"
|
179
|
-
ToRole="Category_Products_Target" FromRole="Category_Products_Source" /></EntityType><EntityType
|
180
|
-
Name="EdmMetadata"><Key><PropertyRef Name="Id" /></Key><Property Name="Id"
|
181
|
-
Type="Edm.Int32" Nullable="false" p6:StoreGeneratedPattern="Identity" xmlns:p6="http://schemas.microsoft.com/ado/2009/02/edm/annotation"
|
182
|
-
/><Property Name="ModelHash" Type="Edm.String" MaxLength="4000" FixedLength="false"
|
183
|
-
Unicode="true" /></EntityType><Association Name="Category_Products"><End Type="RubyODataService.Product"
|
184
|
-
Role="Category_Products_Target" Multiplicity="*" /><End Type="RubyODataService.Category"
|
185
|
-
Role="Category_Products_Source" Multiplicity="1"><OnDelete Action="Cascade"
|
186
|
-
/></End><ReferentialConstraint><Principal Role="Category_Products_Source"><PropertyRef
|
187
|
-
Name="Id" /></Principal><Dependent Role="Category_Products_Target"><PropertyRef
|
188
|
-
Name="CategoryId" /></Dependent></ReferentialConstraint></Association><EntityContainer
|
189
|
-
Name="RubyODataContext" m:IsDefaultEntityContainer="true"><EntitySet Name="Products"
|
190
|
-
EntityType="RubyODataService.Product" /><EntitySet Name="Categories" EntityType="RubyODataService.Category"
|
191
|
-
/><EntitySet Name="EdmMetadatas" EntityType="RubyODataService.EdmMetadata"
|
192
|
-
/><AssociationSet Name="Category_Products" Association="RubyODataService.Category_Products"><End
|
193
|
-
Role="Category_Products_Target" EntitySet="Products" /><End Role="Category_Products_Source"
|
194
|
-
EntitySet="Categories" /></AssociationSet><FunctionImport Name="CleanDatabaseForTesting"
|
195
|
-
m:HttpMethod="POST" /><FunctionImport Name="EntityCategoryWebGet" ReturnType="Collection(RubyODataService.Category)"
|
196
|
-
EntitySet="Categories" m:HttpMethod="GET" /><FunctionImport Name="CategoryNames"
|
197
|
-
ReturnType="Collection(Edm.String)" m:HttpMethod="GET" /><FunctionImport Name="FirstCategoryId"
|
198
|
-
ReturnType="Edm.Int32" m:HttpMethod="GET" /><FunctionImport Name="EntitySingleCategoryWebGet"
|
199
|
-
ReturnType="RubyODataService.Category" EntitySet="Categories" m:HttpMethod="GET"><Parameter
|
200
|
-
Name="id" Type="Edm.Int32" /></FunctionImport></EntityContainer></Schema></edmx:DataServices></edmx:Edmx>
|
201
|
-
http_version: !!null
|
202
|
-
recorded_at: Tue, 07 Aug 2012 21:21:57 GMT
|
203
|
-
recorded_with: VCR 2.2.4
|
192
|
+
encoding: UTF-8
|
193
|
+
string: <?xml version="1.0" encoding="utf-8"?><entry xml:base="https://10.10.0.17:44300/SampleService/BasicAuth/RubyOData.svc/"
|
194
|
+
xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"
|
195
|
+
xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:georss="http://www.georss.org/georss"
|
196
|
+
xmlns:gml="http://www.opengis.net/gml"><id>https://10.10.0.17:44300/SampleService/BasicAuth/RubyOData.svc/Categories(1)</id><category
|
197
|
+
term="RubyODataService.Category" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"
|
198
|
+
/><link rel="edit" title="Category" href="Categories(1)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Products"
|
199
|
+
type="application/atom+xml;type=feed" title="Products" href="Categories(1)/Products"
|
200
|
+
/><title /><updated>2015-04-26T16:29:59Z</updated><author><name /></author><content
|
201
|
+
type="application/xml"><m:properties><d:Id m:type="Edm.Int32">1</d:Id><d:Name>Auth
|
202
|
+
Test Category</d:Name><d:AuditFields m:type="RubyODataService.AuditFields"><d:CreateDate
|
203
|
+
m:type="Edm.DateTime">2015-04-26T16:29:59.457</d:CreateDate><d:ModifiedDate
|
204
|
+
m:type="Edm.DateTime">2015-04-26T16:29:59.457</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry>
|
205
|
+
http_version:
|
206
|
+
recorded_at: Sun, 26 Apr 2015 16:29:59 GMT
|
207
|
+
recorded_with: VCR 2.5.0
|
@@ -1,95 +1,33 @@
|
|
1
1
|
---
|
2
2
|
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: http://win7dev:8989/SampleService/RubyOData.svc/Products
|
6
|
-
body:
|
7
|
-
encoding: ASCII-8BIT
|
8
|
-
string: ! '{"Name":"Test Product","Description":"Test Widget","Price":"10.25","Category":{"Name":"Category
|
9
|
-
0084","AuditFields":{"CreatedBy":"Machinist"}},"AuditFields":{"CreatedBy":"Machinist"}}'
|
10
|
-
headers:
|
11
|
-
Accept:
|
12
|
-
- ! '*/*; q=0.5, application/xml'
|
13
|
-
Accept-Encoding:
|
14
|
-
- gzip, deflate
|
15
|
-
Content-Type:
|
16
|
-
- application/json
|
17
|
-
Content-Length:
|
18
|
-
- '183'
|
19
|
-
User-Agent:
|
20
|
-
- Ruby
|
21
|
-
response:
|
22
|
-
status:
|
23
|
-
code: 201
|
24
|
-
message: Created
|
25
|
-
headers:
|
26
|
-
Cache-Control:
|
27
|
-
- no-cache
|
28
|
-
Content-Length:
|
29
|
-
- '1437'
|
30
|
-
Content-Type:
|
31
|
-
- application/atom+xml;type=entry;charset=utf-8
|
32
|
-
Location:
|
33
|
-
- http://win7dev:8989/SampleService/RubyOData.svc/Products(1)
|
34
|
-
Server:
|
35
|
-
- Microsoft-IIS/7.5
|
36
|
-
Set-Cookie:
|
37
|
-
- ASP.NET_SessionId=hdlcnddo32dwqhvdtaly2a4a; path=/; HttpOnly
|
38
|
-
X-Content-Type-Options:
|
39
|
-
- nosniff
|
40
|
-
Dataserviceversion:
|
41
|
-
- 1.0;
|
42
|
-
X-Aspnet-Version:
|
43
|
-
- 4.0.30319
|
44
|
-
X-Powered-By:
|
45
|
-
- ASP.NET
|
46
|
-
Date:
|
47
|
-
- Tue, 07 Aug 2012 21:21:58 GMT
|
48
|
-
body:
|
49
|
-
encoding: US-ASCII
|
50
|
-
string: <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://win7dev:8989/SampleService/RubyOData.svc/"
|
51
|
-
xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"
|
52
|
-
xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:georss="http://www.georss.org/georss"
|
53
|
-
xmlns:gml="http://www.opengis.net/gml"><id>http://win7dev:8989/SampleService/RubyOData.svc/Products(1)</id><category
|
54
|
-
term="RubyODataService.Product" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"
|
55
|
-
/><link rel="edit" title="Product" href="Products(1)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Category"
|
56
|
-
type="application/atom+xml;type=entry" title="Category" href="Products(1)/Category"
|
57
|
-
/><title /><updated>2012-08-07T21:21:58Z</updated><author><name /></author><content
|
58
|
-
type="application/xml"><m:properties><d:Id m:type="Edm.Int32">1</d:Id><d:Name>Test
|
59
|
-
Product</d:Name><d:Description>Test Widget</d:Description><d:Price m:type="Edm.Decimal">10.25</d:Price><d:DiscontinuedDate
|
60
|
-
m:type="Edm.DateTime" m:null="true" /><d:CategoryId m:type="Edm.Int32">1</d:CategoryId><d:AuditFields
|
61
|
-
m:type="RubyODataService.AuditFields"><d:CreateDate m:type="Edm.DateTime">2012-08-07T21:21:58.65625Z</d:CreateDate><d:ModifiedDate
|
62
|
-
m:type="Edm.DateTime">2012-08-07T21:21:58.65625Z</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry>
|
63
|
-
http_version: !!null
|
64
|
-
recorded_at: Tue, 07 Aug 2012 21:21:58 GMT
|
65
3
|
- request:
|
66
4
|
method: get
|
67
|
-
uri: http://
|
5
|
+
uri: http://10.10.0.17:8989/SampleService/RubyOData.svc/Products(1)
|
68
6
|
body:
|
69
7
|
encoding: US-ASCII
|
70
8
|
string: ''
|
71
9
|
headers:
|
72
|
-
Accept:
|
73
|
-
- ! '*/*; q=0.5, application/xml'
|
74
|
-
Accept-Encoding:
|
75
|
-
- gzip, deflate
|
76
10
|
User-Agent:
|
77
11
|
- Ruby
|
12
|
+
Accept:
|
13
|
+
- "*/*; q=0.5, application/xml"
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip,deflate
|
78
16
|
response:
|
79
17
|
status:
|
80
18
|
code: 200
|
81
|
-
message:
|
19
|
+
message: ''
|
82
20
|
headers:
|
83
21
|
Cache-Control:
|
84
|
-
-
|
22
|
+
- private
|
85
23
|
Content-Length:
|
86
|
-
- '
|
24
|
+
- '1435'
|
87
25
|
Content-Type:
|
88
26
|
- application/atom+xml;type=entry;charset=utf-8
|
89
27
|
Server:
|
90
|
-
- Microsoft-IIS/
|
28
|
+
- Microsoft-IIS/8.0
|
91
29
|
Set-Cookie:
|
92
|
-
- ASP.NET_SessionId=
|
30
|
+
- ASP.NET_SessionId=q4kzxejyrn3a2haafr033nrz; path=/; HttpOnly
|
93
31
|
X-Content-Type-Options:
|
94
32
|
- nosniff
|
95
33
|
Dataserviceversion:
|
@@ -99,52 +37,50 @@ http_interactions:
|
|
99
37
|
X-Powered-By:
|
100
38
|
- ASP.NET
|
101
39
|
Date:
|
102
|
-
-
|
40
|
+
- Sun, 26 Apr 2015 16:30:01 GMT
|
103
41
|
body:
|
104
|
-
encoding:
|
105
|
-
string: <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://
|
42
|
+
encoding: UTF-8
|
43
|
+
string: <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://10.10.0.17:8989/SampleService/RubyOData.svc/"
|
106
44
|
xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"
|
107
45
|
xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:georss="http://www.georss.org/georss"
|
108
|
-
xmlns:gml="http://www.opengis.net/gml"><id>http://
|
46
|
+
xmlns:gml="http://www.opengis.net/gml"><id>http://10.10.0.17:8989/SampleService/RubyOData.svc/Products(1)</id><category
|
109
47
|
term="RubyODataService.Product" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"
|
110
48
|
/><link rel="edit" title="Product" href="Products(1)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Category"
|
111
49
|
type="application/atom+xml;type=entry" title="Category" href="Products(1)/Category"
|
112
|
-
/><title /><updated>
|
50
|
+
/><title /><updated>2015-04-26T16:30:01Z</updated><author><name /></author><content
|
113
51
|
type="application/xml"><m:properties><d:Id m:type="Edm.Int32">1</d:Id><d:Name>Test
|
114
|
-
Product</d:Name><d:Description>Test Widget</d:Description><d:Price m:type="Edm.Decimal">
|
52
|
+
Product</d:Name><d:Description>Test Widget</d:Description><d:Price m:type="Edm.Decimal">25.00</d:Price><d:DiscontinuedDate
|
115
53
|
m:type="Edm.DateTime" m:null="true" /><d:CategoryId m:type="Edm.Int32">1</d:CategoryId><d:AuditFields
|
116
|
-
m:type="RubyODataService.AuditFields"><d:CreateDate m:type="Edm.DateTime">
|
117
|
-
m:type="Edm.DateTime">
|
118
|
-
http_version:
|
119
|
-
recorded_at:
|
54
|
+
m:type="RubyODataService.AuditFields"><d:CreateDate m:type="Edm.DateTime">2015-04-26T16:30:01.77</d:CreateDate><d:ModifiedDate
|
55
|
+
m:type="Edm.DateTime">2015-04-26T16:30:01.77</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry>
|
56
|
+
http_version:
|
57
|
+
recorded_at: Sun, 26 Apr 2015 16:30:01 GMT
|
120
58
|
- request:
|
121
59
|
method: put
|
122
|
-
uri: http://
|
60
|
+
uri: http://10.10.0.17:8989/SampleService/RubyOData.svc/Products(1)
|
123
61
|
body:
|
124
|
-
encoding:
|
125
|
-
string:
|
62
|
+
encoding: UTF-8
|
63
|
+
string: '{"Name":"Changed Test Product","Description":"Test Widget","Price":"25.0","AuditFields":{"CreatedBy":"Machinist","CreateDate":"2015-04-26T16:30:01.770","ModifiedDate":"2015-04-26T16:30:01.770"},"__metadata":{"uri":"http://10.10.0.17:8989/SampleService/RubyOData.svc/Products(1)"},"Id":1,"DiscontinuedDate":null,"CategoryId":1}'
|
126
64
|
headers:
|
65
|
+
User-Agent:
|
66
|
+
- Ruby
|
127
67
|
Accept:
|
128
|
-
-
|
129
|
-
Accept-Encoding:
|
130
|
-
- gzip, deflate
|
68
|
+
- "*/*; q=0.5, application/xml"
|
131
69
|
Content-Type:
|
132
70
|
- application/json
|
133
|
-
|
134
|
-
-
|
135
|
-
User-Agent:
|
136
|
-
- Ruby
|
71
|
+
Accept-Encoding:
|
72
|
+
- gzip,deflate
|
137
73
|
response:
|
138
74
|
status:
|
139
75
|
code: 204
|
140
|
-
message:
|
76
|
+
message: ''
|
141
77
|
headers:
|
142
78
|
Cache-Control:
|
143
|
-
-
|
79
|
+
- private
|
144
80
|
Server:
|
145
|
-
- Microsoft-IIS/
|
81
|
+
- Microsoft-IIS/8.0
|
146
82
|
Set-Cookie:
|
147
|
-
- ASP.NET_SessionId=
|
83
|
+
- ASP.NET_SessionId=aiy2l2czpn3il0bwubbcrk33; path=/; HttpOnly
|
148
84
|
X-Content-Type-Options:
|
149
85
|
- nosniff
|
150
86
|
Dataserviceversion:
|
@@ -154,40 +90,40 @@ http_interactions:
|
|
154
90
|
X-Powered-By:
|
155
91
|
- ASP.NET
|
156
92
|
Date:
|
157
|
-
-
|
93
|
+
- Sun, 26 Apr 2015 16:30:01 GMT
|
158
94
|
body:
|
159
|
-
encoding:
|
95
|
+
encoding: UTF-8
|
160
96
|
string: ''
|
161
|
-
http_version:
|
162
|
-
recorded_at:
|
97
|
+
http_version:
|
98
|
+
recorded_at: Sun, 26 Apr 2015 16:30:02 GMT
|
163
99
|
- request:
|
164
100
|
method: get
|
165
|
-
uri: http://
|
101
|
+
uri: http://10.10.0.17:8989/SampleService/RubyOData.svc/Products(1)
|
166
102
|
body:
|
167
103
|
encoding: US-ASCII
|
168
104
|
string: ''
|
169
105
|
headers:
|
170
|
-
Accept:
|
171
|
-
- ! '*/*; q=0.5, application/xml'
|
172
|
-
Accept-Encoding:
|
173
|
-
- gzip, deflate
|
174
106
|
User-Agent:
|
175
107
|
- Ruby
|
108
|
+
Accept:
|
109
|
+
- "*/*; q=0.5, application/xml"
|
110
|
+
Accept-Encoding:
|
111
|
+
- gzip,deflate
|
176
112
|
response:
|
177
113
|
status:
|
178
114
|
code: 200
|
179
|
-
message:
|
115
|
+
message: ''
|
180
116
|
headers:
|
181
117
|
Cache-Control:
|
182
|
-
-
|
118
|
+
- private
|
183
119
|
Content-Length:
|
184
|
-
- '
|
120
|
+
- '1443'
|
185
121
|
Content-Type:
|
186
122
|
- application/atom+xml;type=entry;charset=utf-8
|
187
123
|
Server:
|
188
|
-
- Microsoft-IIS/
|
124
|
+
- Microsoft-IIS/8.0
|
189
125
|
Set-Cookie:
|
190
|
-
- ASP.NET_SessionId=
|
126
|
+
- ASP.NET_SessionId=v3vbwwzjqhhu3jfooylgxrzb; path=/; HttpOnly
|
191
127
|
X-Content-Type-Options:
|
192
128
|
- nosniff
|
193
129
|
Dataserviceversion:
|
@@ -197,59 +133,57 @@ http_interactions:
|
|
197
133
|
X-Powered-By:
|
198
134
|
- ASP.NET
|
199
135
|
Date:
|
200
|
-
-
|
136
|
+
- Sun, 26 Apr 2015 16:30:01 GMT
|
201
137
|
body:
|
202
|
-
encoding:
|
203
|
-
string: <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://
|
138
|
+
encoding: UTF-8
|
139
|
+
string: <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://10.10.0.17:8989/SampleService/RubyOData.svc/"
|
204
140
|
xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"
|
205
141
|
xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:georss="http://www.georss.org/georss"
|
206
|
-
xmlns:gml="http://www.opengis.net/gml"><id>http://
|
142
|
+
xmlns:gml="http://www.opengis.net/gml"><id>http://10.10.0.17:8989/SampleService/RubyOData.svc/Products(1)</id><category
|
207
143
|
term="RubyODataService.Product" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"
|
208
144
|
/><link rel="edit" title="Product" href="Products(1)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Category"
|
209
145
|
type="application/atom+xml;type=entry" title="Category" href="Products(1)/Category"
|
210
|
-
/><title /><updated>
|
146
|
+
/><title /><updated>2015-04-26T16:30:02Z</updated><author><name /></author><content
|
211
147
|
type="application/xml"><m:properties><d:Id m:type="Edm.Int32">1</d:Id><d:Name>Changed
|
212
|
-
Test Product</d:Name><d:Description>Test Widget</d:Description><d:Price m:type="Edm.Decimal">
|
148
|
+
Test Product</d:Name><d:Description>Test Widget</d:Description><d:Price m:type="Edm.Decimal">25.00</d:Price><d:DiscontinuedDate
|
213
149
|
m:type="Edm.DateTime" m:null="true" /><d:CategoryId m:type="Edm.Int32">1</d:CategoryId><d:AuditFields
|
214
|
-
m:type="RubyODataService.AuditFields"><d:CreateDate m:type="Edm.DateTime">
|
215
|
-
m:type="Edm.DateTime">
|
216
|
-
http_version:
|
217
|
-
recorded_at:
|
150
|
+
m:type="RubyODataService.AuditFields"><d:CreateDate m:type="Edm.DateTime">2015-04-26T16:30:01.77</d:CreateDate><d:ModifiedDate
|
151
|
+
m:type="Edm.DateTime">2015-04-26T16:30:01.77</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry>
|
152
|
+
http_version:
|
153
|
+
recorded_at: Sun, 26 Apr 2015 16:30:02 GMT
|
218
154
|
- request:
|
219
155
|
method: post
|
220
|
-
uri: http://
|
156
|
+
uri: http://10.10.0.17:8989/SampleService/RubyOData.svc/Products
|
221
157
|
body:
|
222
|
-
encoding:
|
223
|
-
string:
|
224
|
-
|
158
|
+
encoding: UTF-8
|
159
|
+
string: '{"Name":"Widget 0072","Description":"Test Widget","Price":"100.00","Category":{"Name":"Category
|
160
|
+
0081","AuditFields":{"CreatedBy":"Machinist"}},"AuditFields":{"CreatedBy":"Machinist"}}'
|
225
161
|
headers:
|
162
|
+
User-Agent:
|
163
|
+
- Ruby
|
226
164
|
Accept:
|
227
|
-
-
|
228
|
-
Accept-Encoding:
|
229
|
-
- gzip, deflate
|
165
|
+
- "*/*; q=0.5, application/xml"
|
230
166
|
Content-Type:
|
231
167
|
- application/json
|
232
|
-
|
233
|
-
-
|
234
|
-
User-Agent:
|
235
|
-
- Ruby
|
168
|
+
Accept-Encoding:
|
169
|
+
- gzip,deflate
|
236
170
|
response:
|
237
171
|
status:
|
238
172
|
code: 201
|
239
|
-
message:
|
173
|
+
message: ''
|
240
174
|
headers:
|
241
175
|
Cache-Control:
|
242
|
-
-
|
176
|
+
- private
|
243
177
|
Content-Length:
|
244
|
-
- '
|
178
|
+
- '1445'
|
245
179
|
Content-Type:
|
246
180
|
- application/atom+xml;type=entry;charset=utf-8
|
247
181
|
Location:
|
248
|
-
- http://
|
182
|
+
- http://10.10.0.17:8989/SampleService/RubyOData.svc/Products(1)
|
249
183
|
Server:
|
250
|
-
- Microsoft-IIS/
|
184
|
+
- Microsoft-IIS/8.0
|
251
185
|
Set-Cookie:
|
252
|
-
- ASP.NET_SessionId=
|
186
|
+
- ASP.NET_SessionId=3dzididjnc2v5b0fk3nfc3b0; path=/; HttpOnly
|
253
187
|
X-Content-Type-Options:
|
254
188
|
- nosniff
|
255
189
|
Dataserviceversion:
|
@@ -259,52 +193,52 @@ http_interactions:
|
|
259
193
|
X-Powered-By:
|
260
194
|
- ASP.NET
|
261
195
|
Date:
|
262
|
-
-
|
196
|
+
- Sun, 26 Apr 2015 16:30:01 GMT
|
263
197
|
body:
|
264
|
-
encoding:
|
265
|
-
string: <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://
|
198
|
+
encoding: UTF-8
|
199
|
+
string: <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://10.10.0.17:8989/SampleService/RubyOData.svc/"
|
266
200
|
xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"
|
267
201
|
xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:georss="http://www.georss.org/georss"
|
268
|
-
xmlns:gml="http://www.opengis.net/gml"><id>http://
|
202
|
+
xmlns:gml="http://www.opengis.net/gml"><id>http://10.10.0.17:8989/SampleService/RubyOData.svc/Products(1)</id><category
|
269
203
|
term="RubyODataService.Product" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"
|
270
204
|
/><link rel="edit" title="Product" href="Products(1)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Category"
|
271
205
|
type="application/atom+xml;type=entry" title="Category" href="Products(1)/Category"
|
272
|
-
/><title /><updated>
|
206
|
+
/><title /><updated>2015-04-26T16:30:02Z</updated><author><name /></author><content
|
273
207
|
type="application/xml"><m:properties><d:Id m:type="Edm.Int32">1</d:Id><d:Name>Widget
|
274
|
-
|
208
|
+
0072</d:Name><d:Description>Test Widget</d:Description><d:Price m:type="Edm.Decimal">100.00</d:Price><d:DiscontinuedDate
|
275
209
|
m:type="Edm.DateTime" m:null="true" /><d:CategoryId m:type="Edm.Int32">1</d:CategoryId><d:AuditFields
|
276
|
-
m:type="RubyODataService.AuditFields"><d:CreateDate m:type="Edm.DateTime">
|
277
|
-
m:type="Edm.DateTime">
|
278
|
-
http_version:
|
279
|
-
recorded_at:
|
210
|
+
m:type="RubyODataService.AuditFields"><d:CreateDate m:type="Edm.DateTime">2015-04-26T16:30:02.614282Z</d:CreateDate><d:ModifiedDate
|
211
|
+
m:type="Edm.DateTime">2015-04-26T16:30:02.614282Z</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry>
|
212
|
+
http_version:
|
213
|
+
recorded_at: Sun, 26 Apr 2015 16:30:02 GMT
|
280
214
|
- request:
|
281
215
|
method: get
|
282
|
-
uri: http://
|
216
|
+
uri: http://10.10.0.17:8989/SampleService/RubyOData.svc/Products
|
283
217
|
body:
|
284
218
|
encoding: US-ASCII
|
285
219
|
string: ''
|
286
220
|
headers:
|
287
|
-
Accept:
|
288
|
-
- ! '*/*; q=0.5, application/xml'
|
289
|
-
Accept-Encoding:
|
290
|
-
- gzip, deflate
|
291
221
|
User-Agent:
|
292
222
|
- Ruby
|
223
|
+
Accept:
|
224
|
+
- "*/*; q=0.5, application/xml"
|
225
|
+
Accept-Encoding:
|
226
|
+
- gzip,deflate
|
293
227
|
response:
|
294
228
|
status:
|
295
229
|
code: 200
|
296
|
-
message:
|
230
|
+
message: ''
|
297
231
|
headers:
|
298
232
|
Cache-Control:
|
299
|
-
-
|
233
|
+
- private
|
300
234
|
Content-Length:
|
301
|
-
- '
|
235
|
+
- '1644'
|
302
236
|
Content-Type:
|
303
237
|
- application/atom+xml;type=feed;charset=utf-8
|
304
238
|
Server:
|
305
|
-
- Microsoft-IIS/
|
239
|
+
- Microsoft-IIS/8.0
|
306
240
|
Set-Cookie:
|
307
|
-
- ASP.NET_SessionId=
|
241
|
+
- ASP.NET_SessionId=d1j1bp1szprf0x1nyobq0f1c; path=/; HttpOnly
|
308
242
|
X-Content-Type-Options:
|
309
243
|
- nosniff
|
310
244
|
Dataserviceversion:
|
@@ -314,24 +248,24 @@ http_interactions:
|
|
314
248
|
X-Powered-By:
|
315
249
|
- ASP.NET
|
316
250
|
Date:
|
317
|
-
-
|
251
|
+
- Sun, 26 Apr 2015 16:30:01 GMT
|
318
252
|
body:
|
319
|
-
encoding:
|
320
|
-
string: <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://
|
253
|
+
encoding: UTF-8
|
254
|
+
string: <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://10.10.0.17:8989/SampleService/RubyOData.svc/"
|
321
255
|
xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"
|
322
256
|
xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:georss="http://www.georss.org/georss"
|
323
|
-
xmlns:gml="http://www.opengis.net/gml"><id>http://
|
324
|
-
type="text">Products</title><updated>
|
325
|
-
title="Products" href="Products" /><entry><id>http://
|
257
|
+
xmlns:gml="http://www.opengis.net/gml"><id>http://10.10.0.17:8989/SampleService/RubyOData.svc/Products</id><title
|
258
|
+
type="text">Products</title><updated>2015-04-26T16:30:02Z</updated><link rel="self"
|
259
|
+
title="Products" href="Products" /><entry><id>http://10.10.0.17:8989/SampleService/RubyOData.svc/Products(1)</id><category
|
326
260
|
term="RubyODataService.Product" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"
|
327
261
|
/><link rel="edit" title="Product" href="Products(1)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Category"
|
328
262
|
type="application/atom+xml;type=entry" title="Category" href="Products(1)/Category"
|
329
|
-
/><title /><updated>
|
263
|
+
/><title /><updated>2015-04-26T16:30:02Z</updated><author><name /></author><content
|
330
264
|
type="application/xml"><m:properties><d:Id m:type="Edm.Int32">1</d:Id><d:Name>Widget
|
331
|
-
|
265
|
+
0072</d:Name><d:Description>Test Widget</d:Description><d:Price m:type="Edm.Decimal">100.00</d:Price><d:DiscontinuedDate
|
332
266
|
m:type="Edm.DateTime" m:null="true" /><d:CategoryId m:type="Edm.Int32">1</d:CategoryId><d:AuditFields
|
333
|
-
m:type="RubyODataService.AuditFields"><d:CreateDate m:type="Edm.DateTime">
|
334
|
-
m:type="Edm.DateTime">
|
335
|
-
http_version:
|
336
|
-
recorded_at:
|
337
|
-
recorded_with: VCR 2.
|
267
|
+
m:type="RubyODataService.AuditFields"><d:CreateDate m:type="Edm.DateTime">2015-04-26T16:30:02.613</d:CreateDate><d:ModifiedDate
|
268
|
+
m:type="Edm.DateTime">2015-04-26T16:30:02.613</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry></feed>
|
269
|
+
http_version:
|
270
|
+
recorded_at: Sun, 26 Apr 2015 16:30:02 GMT
|
271
|
+
recorded_with: VCR 2.5.0
|