deadwood 0.0.1 → 0.0.3
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/README.md +65 -3
- data/Rakefile +2 -4
- data/lib/deadwood/active_resource_oauth_client.rb +16 -8
- data/lib/deadwood/model/activation_key.rb +24 -8
- data/lib/deadwood/model/base.rb +16 -9
- data/lib/deadwood/model/changeset.rb +18 -10
- data/lib/deadwood/model/consumer.rb +16 -8
- data/lib/deadwood/model/crl.rb +16 -8
- data/lib/deadwood/model/entitlement.rb +16 -8
- data/lib/deadwood/model/environment.rb +22 -20
- data/lib/deadwood/model/errata.rb +16 -8
- data/lib/deadwood/model/gpg_key.rb +21 -16
- data/lib/deadwood/model/organization.rb +16 -8
- data/lib/deadwood/model/pool.rb +16 -8
- data/lib/deadwood/model/product.rb +22 -13
- data/lib/deadwood/model/provider.rb +18 -9
- data/lib/deadwood/model/repository.rb +16 -8
- data/lib/deadwood/model/role.rb +21 -14
- data/lib/deadwood/model/status.rb +16 -8
- data/lib/deadwood/model/subscription.rb +16 -8
- data/lib/deadwood/model/system.rb +18 -9
- data/lib/deadwood/model/system_group.rb +22 -13
- data/lib/deadwood/model/task.rb +16 -8
- data/lib/deadwood/model/template.rb +18 -9
- data/lib/deadwood/model/user.rb +16 -8
- data/lib/deadwood/model/version.rb +16 -8
- data/rake/rpmtask.rb +16 -13
- data/spec/models/activation_key_spec.rb +48 -8
- data/spec/models/base_spec.rb +16 -8
- data/spec/models/changeset_spec.rb +16 -8
- data/spec/models/crl_spec.rb +16 -8
- data/spec/models/environment_spec.rb +16 -8
- data/spec/models/gpg_key_spec.rb +16 -8
- data/spec/models/organization_spec.rb +16 -8
- data/spec/models/product_spec.rb +16 -8
- data/spec/models/provider_spec.rb +16 -8
- data/spec/models/repository_spec.rb +16 -8
- data/spec/models/role_spec.rb +16 -8
- data/spec/models/system_group_spec.rb +16 -8
- data/spec/models/task_spec.rb +16 -8
- data/spec/models/template_spec.rb +16 -8
- data/spec/models/user_spec.rb +16 -8
- data/spec/spec_helper.rb +15 -21
- data/spec/vcr/cassettes/create_activation_key.yml +91 -91
- data/spec/vcr/cassettes/create_changeset.yml +93 -93
- data/spec/vcr/cassettes/create_find_all_environment.yml +45 -45
- data/spec/vcr/cassettes/create_find_by_id_activation_key.yml +214 -0
- data/spec/vcr/cassettes/create_find_single_environment.yml +49 -49
- data/spec/vcr/cassettes/create_gpg_key.yml +64 -64
- data/spec/vcr/cassettes/create_provider_for_default_org.yml +63 -63
- data/spec/vcr/cassettes/create_repository.yml +98 -98
- data/spec/vcr/cassettes/create_role.yml +46 -46
- data/spec/vcr/cassettes/create_system.yml +59 -59
- data/spec/vcr/cassettes/create_template.yml +86 -86
- data/spec/vcr/cassettes/create_update_activation_key.yml +345 -0
- data/spec/vcr/cassettes/create_user.yml +48 -48
- data/spec/vcr/cassettes/create_user_role.yml +103 -103
- data/spec/vcr/cassettes/find_ACME_Corporation.yml +14 -14
- data/spec/vcr/cassettes/find_admin.yml +14 -14
- data/spec/vcr/cassettes/find_crl.yml +22 -22
- data/spec/vcr/cassettes/find_template.yml +13 -13
- data/spec/vcr/cassettes/find_users.yml +13 -13
- data/spec/vcr/cassettes/organization_1_exists.yml +28 -28
- data/spec/vcr/cassettes/organization_create.yml +46 -46
- data/spec/vcr/cassettes/organization_default_exists.yml +14 -14
- data/spec/vcr/cassettes/organization_exists.yml +13 -13
- data/spec/vcr/cassettes/organization_update.yml +44 -44
- data/spec/vcr/cassettes/provider_1_exists.yml +14 -14
- data/spec/vcr/cassettes/providers_all_exists.yml +15 -15
- data/spec/vcr/cassettes/read_products.yml +92 -92
- data/spec/vcr/cassettes/update_environment_name_description.yml +83 -83
- data/spec/vcr/cassettes/update_provider_for_org.yml +64 -64
- data/spec/vcr/cassettes/update_role.yml +67 -67
- data/spec/vcr/cassettes/update_user.yml +48 -48
- data/spec/vcr_setup.rb +16 -23
- metadata +8 -32
@@ -4,260 +4,260 @@ http_interactions:
|
|
4
4
|
method: post
|
5
5
|
uri: https://10.11.230.105/katello/api/roles?description=test%20role%20description&name=test_role_name
|
6
6
|
body:
|
7
|
-
string: "{\"role\":{\"
|
7
|
+
string: "{\"role\":{\"name\":\"test_role_name\",\"description\":\"test role description\"}}"
|
8
8
|
headers:
|
9
|
-
Content-Length:
|
10
|
-
- "72"
|
11
9
|
Content-Type:
|
12
10
|
- application/json
|
13
|
-
|
14
|
-
-
|
11
|
+
Content-Length:
|
12
|
+
- "72"
|
15
13
|
User-Agent:
|
16
14
|
- OAuth gem v0.4.6
|
17
15
|
Authorization:
|
18
|
-
- OAuth oauth_body_hash="
|
16
|
+
- OAuth oauth_body_hash="nXWLLsK4lEwHyDf8IykUdry02q4%3D", oauth_consumer_key="cloud_forms", oauth_nonce="6BupiHoqfswSF9zdYk9VpqqrQrcUP7333CjfrLUZBA", oauth_signature="3yNEv1TE9MPhe2FTJ8uMcD%2FA3%2FE%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1345645411", oauth_version="1.0"
|
19
17
|
Accept:
|
20
18
|
- "*/*"
|
19
|
+
Http-Katello-User:
|
20
|
+
- admin
|
21
21
|
response:
|
22
22
|
status:
|
23
23
|
code: 200
|
24
24
|
message: OK
|
25
25
|
headers:
|
26
|
-
X-Candlepin-Version:
|
27
|
-
- katello/0.2.44-1.el6
|
28
26
|
Content-Type:
|
29
27
|
- application/json; charset=utf-8
|
30
|
-
Cache-Control:
|
31
|
-
- max-age=0, private, must-revalidate
|
32
|
-
Etag:
|
33
|
-
- "\"18723cd79eb9e6d9cc1803b4d0323a19\""
|
34
28
|
Server:
|
35
29
|
- thin 1.2.11 codename Bat-Shit Crazy
|
36
|
-
X-Runtime:
|
37
|
-
- "0.044312"
|
38
30
|
Transfer-Encoding:
|
39
31
|
- chunked
|
32
|
+
Date:
|
33
|
+
- Wed, 22 Aug 2012 14:23:30 GMT
|
40
34
|
X-Ua-Compatible:
|
41
35
|
- IE=Edge,chrome=1
|
42
|
-
|
43
|
-
-
|
36
|
+
Cache-Control:
|
37
|
+
- max-age=0, private, must-revalidate
|
38
|
+
X-Runtime:
|
39
|
+
- "0.043934"
|
40
|
+
Etag:
|
41
|
+
- "\"91352b9b8475f2dfcfeca384025de68f\""
|
42
|
+
X-Candlepin-Version:
|
43
|
+
- katello/0.2.44-1.el6
|
44
44
|
body:
|
45
|
-
string: "{\"id\":
|
45
|
+
string: "{\"id\":67,\"updated_at\":\"2012-08-22T14:23:31Z\",\"name\":\"test_role_name\",\"description\":\"test role description\",\"locked\":false,\"created_at\":\"2012-08-22T14:23:31Z\"}"
|
46
46
|
http_version:
|
47
|
-
recorded_at:
|
47
|
+
recorded_at: Wed, 22 Aug 2012 14:23:31 GMT
|
48
48
|
- request:
|
49
49
|
method: post
|
50
50
|
uri: https://10.11.230.105/katello/api/users?disabled=false&email=spam@example.com&password=secretpw&username=funzo
|
51
51
|
body:
|
52
52
|
string: ""
|
53
53
|
headers:
|
54
|
-
Content-Length:
|
55
|
-
- "0"
|
56
54
|
Content-Type:
|
57
55
|
- application/json
|
58
|
-
|
59
|
-
-
|
56
|
+
Content-Length:
|
57
|
+
- "0"
|
60
58
|
User-Agent:
|
61
59
|
- OAuth gem v0.4.6
|
62
60
|
Authorization:
|
63
|
-
- OAuth oauth_body_hash="2jmj7l5rSw0yVb%2FvlWAYkK%2FYBwk%3D", oauth_consumer_key="cloud_forms", oauth_nonce="
|
61
|
+
- OAuth oauth_body_hash="2jmj7l5rSw0yVb%2FvlWAYkK%2FYBwk%3D", oauth_consumer_key="cloud_forms", oauth_nonce="C3uV7W9xM8Z1GUtDBvFIEJuyrHCtWrfB3amJ9E", oauth_signature="mgm1BZFxW%2FYoXfpX6jnqTb00yo0%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1345645411", oauth_version="1.0"
|
64
62
|
Accept:
|
65
63
|
- "*/*"
|
64
|
+
Http-Katello-User:
|
65
|
+
- admin
|
66
66
|
response:
|
67
67
|
status:
|
68
68
|
code: 200
|
69
69
|
message: OK
|
70
70
|
headers:
|
71
|
-
X-Candlepin-Version:
|
72
|
-
- katello/0.2.44-1.el6
|
73
71
|
Content-Type:
|
74
72
|
- application/json; charset=utf-8
|
75
|
-
Cache-Control:
|
76
|
-
- max-age=0, private, must-revalidate
|
77
|
-
Etag:
|
78
|
-
- "\"7046aaa0177dc7b58824f5a1eaeab0e8\""
|
79
73
|
Server:
|
80
74
|
- thin 1.2.11 codename Bat-Shit Crazy
|
81
|
-
X-Runtime:
|
82
|
-
- "0.540999"
|
83
75
|
Transfer-Encoding:
|
84
76
|
- chunked
|
77
|
+
Date:
|
78
|
+
- Wed, 22 Aug 2012 14:23:31 GMT
|
85
79
|
X-Ua-Compatible:
|
86
80
|
- IE=Edge,chrome=1
|
87
|
-
|
88
|
-
-
|
81
|
+
Cache-Control:
|
82
|
+
- max-age=0, private, must-revalidate
|
83
|
+
X-Runtime:
|
84
|
+
- "0.383109"
|
85
|
+
Etag:
|
86
|
+
- "\"31e09a2cdaaa9abb67a6949cbc38aee9\""
|
87
|
+
X-Candlepin-Version:
|
88
|
+
- katello/0.2.44-1.el6
|
89
89
|
body:
|
90
|
-
string: "{\"password_reset_token\":null,\"password_reset_sent_at\":null,\"default_organization\":null,\"helptips_enabled\":true,\"disabled\":false,\"id\":
|
90
|
+
string: "{\"password_reset_token\":null,\"password_reset_sent_at\":null,\"default_organization\":null,\"helptips_enabled\":true,\"disabled\":false,\"id\":37,\"default_environment\":null,\"own_role_id\":68,\"preferences\":{},\"updated_at\":\"2012-08-22T14:23:31Z\",\"password\":\"2d3850eec6156e76b2d8f15b072f619da9df4df768d86a38f1b78b2f23083378578353896c0b09b771ce404cbd330525edd69cfa2dba0888e859b31966c85a674NanIQiPDRJQZ2BXKoVbNHdewJGSYetBMKJhnD9A5swfrAQG8Hkmw821GV1bQCXF\",\"username\":\"funzo\",\"created_at\":\"2012-08-22T14:23:31Z\",\"email\":\"spam@example.com\",\"hidden\":false,\"page_size\":25}"
|
91
91
|
http_version:
|
92
|
-
recorded_at:
|
92
|
+
recorded_at: Wed, 22 Aug 2012 14:23:32 GMT
|
93
93
|
- request:
|
94
94
|
method: post
|
95
|
-
uri: https://10.11.230.105/katello/api/users/
|
95
|
+
uri: https://10.11.230.105/katello/api/users/37/roles?description=test%20role%20description&name=test_role&role_id=67&user_id=37
|
96
96
|
body:
|
97
|
-
string: "{\"role\":{\"
|
97
|
+
string: "{\"role\":{\"name\":\"test_role\",\"role_id\":67,\"description\":\"test role description\"}}"
|
98
98
|
headers:
|
99
|
-
Content-Length:
|
100
|
-
- "80"
|
101
99
|
Content-Type:
|
102
100
|
- application/json
|
103
|
-
|
104
|
-
-
|
101
|
+
Content-Length:
|
102
|
+
- "80"
|
105
103
|
User-Agent:
|
106
104
|
- OAuth gem v0.4.6
|
107
105
|
Authorization:
|
108
|
-
- OAuth oauth_body_hash="
|
106
|
+
- OAuth oauth_body_hash="w5hFfZPdt9o0GZD5N3Dny82TYqM%3D", oauth_consumer_key="cloud_forms", oauth_nonce="4VeQg03OI0QkH0faTE2VxlVXRe4X9P54IsN5uSTl4", oauth_signature="8XzzLqDjQmKO8ogs2eJOYN10ppo%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1345645412", oauth_version="1.0"
|
109
107
|
Accept:
|
110
108
|
- "*/*"
|
109
|
+
Http-Katello-User:
|
110
|
+
- admin
|
111
111
|
response:
|
112
112
|
status:
|
113
113
|
code: 200
|
114
114
|
message: OK
|
115
115
|
headers:
|
116
|
-
Vary:
|
117
|
-
- Accept-Encoding
|
118
|
-
X-Candlepin-Version:
|
119
|
-
- katello/0.2.44-1.el6
|
120
116
|
Content-Type:
|
121
117
|
- text/html; charset=utf-8
|
122
|
-
Cache-Control:
|
123
|
-
- max-age=0, private, must-revalidate
|
124
|
-
Etag:
|
125
|
-
- "\"3bdb38c92900b606b7a473aea2462ab4\""
|
126
118
|
Server:
|
127
119
|
- thin 1.2.11 codename Bat-Shit Crazy
|
128
|
-
X-Runtime:
|
129
|
-
- "0.131008"
|
130
120
|
Transfer-Encoding:
|
131
121
|
- chunked
|
122
|
+
Date:
|
123
|
+
- Wed, 22 Aug 2012 14:23:31 GMT
|
132
124
|
X-Ua-Compatible:
|
133
125
|
- IE=Edge,chrome=1
|
134
|
-
|
135
|
-
-
|
126
|
+
Cache-Control:
|
127
|
+
- max-age=0, private, must-revalidate
|
128
|
+
X-Runtime:
|
129
|
+
- "0.123815"
|
130
|
+
Vary:
|
131
|
+
- Accept-Encoding
|
132
|
+
Etag:
|
133
|
+
- "\"3bdb38c92900b606b7a473aea2462ab4\""
|
134
|
+
X-Candlepin-Version:
|
135
|
+
- katello/0.2.44-1.el6
|
136
136
|
body:
|
137
137
|
string: User 'funzo' assigned to role 'test_role_name'
|
138
138
|
http_version:
|
139
|
-
recorded_at:
|
139
|
+
recorded_at: Wed, 22 Aug 2012 14:23:32 GMT
|
140
140
|
- request:
|
141
141
|
method: get
|
142
|
-
uri: https://10.11.230.105/katello/api/users/
|
142
|
+
uri: https://10.11.230.105/katello/api/users/37/roles
|
143
143
|
body:
|
144
144
|
string: ""
|
145
145
|
headers:
|
146
|
-
Http-Katello-User:
|
147
|
-
- admin
|
148
146
|
User-Agent:
|
149
147
|
- OAuth gem v0.4.6
|
150
148
|
Authorization:
|
151
|
-
- OAuth oauth_consumer_key="cloud_forms", oauth_nonce="
|
149
|
+
- OAuth oauth_consumer_key="cloud_forms", oauth_nonce="aPF9HolInImwDK7AvDxMZXrzZo54bVogbFxPx2tY", oauth_signature="3vKYFayzIWbH6CYbwuydP8pk8eo%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1345645412", oauth_version="1.0"
|
152
150
|
Accept:
|
153
151
|
- application/json
|
152
|
+
Http-Katello-User:
|
153
|
+
- admin
|
154
154
|
response:
|
155
155
|
status:
|
156
156
|
code: 200
|
157
157
|
message: OK
|
158
158
|
headers:
|
159
|
-
X-Candlepin-Version:
|
160
|
-
- katello/0.2.44-1.el6
|
161
159
|
Content-Type:
|
162
160
|
- application/json; charset=utf-8
|
163
|
-
Cache-Control:
|
164
|
-
- max-age=0, private, must-revalidate
|
165
|
-
Etag:
|
166
|
-
- "\"615e67bf741b0cbc76d30cb2267917e5\""
|
167
161
|
Server:
|
168
162
|
- thin 1.2.11 codename Bat-Shit Crazy
|
169
|
-
X-Runtime:
|
170
|
-
- "0.033082"
|
171
163
|
Transfer-Encoding:
|
172
164
|
- chunked
|
165
|
+
Date:
|
166
|
+
- Wed, 22 Aug 2012 14:23:31 GMT
|
173
167
|
X-Ua-Compatible:
|
174
168
|
- IE=Edge,chrome=1
|
175
|
-
|
176
|
-
-
|
169
|
+
Cache-Control:
|
170
|
+
- max-age=0, private, must-revalidate
|
171
|
+
X-Runtime:
|
172
|
+
- "0.146812"
|
173
|
+
Etag:
|
174
|
+
- "\"131281627a5aa89413000978bc78c523\""
|
175
|
+
X-Candlepin-Version:
|
176
|
+
- katello/0.2.44-1.el6
|
177
177
|
body:
|
178
|
-
string: "[{\"id\":
|
178
|
+
string: "[{\"id\":67,\"updated_at\":\"2012-08-22T14:23:31Z\",\"name\":\"test_role_name\",\"description\":\"test role description\",\"locked\":false,\"created_at\":\"2012-08-22T14:23:31Z\"}]"
|
179
179
|
http_version:
|
180
|
-
recorded_at:
|
180
|
+
recorded_at: Wed, 22 Aug 2012 14:23:32 GMT
|
181
181
|
- request:
|
182
182
|
method: delete
|
183
|
-
uri: https://10.11.230.105/katello/api/users/
|
183
|
+
uri: https://10.11.230.105/katello/api/users/37
|
184
184
|
body:
|
185
185
|
string: ""
|
186
186
|
headers:
|
187
|
-
Http-Katello-User:
|
188
|
-
- admin
|
189
187
|
User-Agent:
|
190
188
|
- OAuth gem v0.4.6
|
191
189
|
Authorization:
|
192
|
-
- OAuth oauth_consumer_key="cloud_forms", oauth_nonce="
|
190
|
+
- OAuth oauth_consumer_key="cloud_forms", oauth_nonce="KdWCXUkb8WlBwjirnSImEDZI7PcnjWAmP3wFuymQ", oauth_signature="Y9qtNL6wWlKiXpKRprlnXhorzgM%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1345645412", oauth_version="1.0"
|
193
191
|
Accept:
|
194
192
|
- application/json
|
193
|
+
Http-Katello-User:
|
194
|
+
- admin
|
195
195
|
response:
|
196
196
|
status:
|
197
197
|
code: 200
|
198
198
|
message: OK
|
199
199
|
headers:
|
200
|
-
X-Candlepin-Version:
|
201
|
-
- katello/0.2.44-1.el6
|
202
200
|
Content-Type:
|
203
201
|
- application/json; charset=utf-8
|
204
|
-
Cache-Control:
|
205
|
-
- max-age=0, private, must-revalidate
|
206
|
-
Etag:
|
207
|
-
- "\"5f5a60620448195063dfe9c8c330419c\""
|
208
202
|
Server:
|
209
203
|
- thin 1.2.11 codename Bat-Shit Crazy
|
210
|
-
X-Runtime:
|
211
|
-
- "0.203671"
|
212
204
|
Transfer-Encoding:
|
213
205
|
- chunked
|
206
|
+
Date:
|
207
|
+
- Wed, 22 Aug 2012 14:23:31 GMT
|
214
208
|
X-Ua-Compatible:
|
215
209
|
- IE=Edge,chrome=1
|
216
|
-
|
217
|
-
-
|
210
|
+
Cache-Control:
|
211
|
+
- max-age=0, private, must-revalidate
|
212
|
+
X-Runtime:
|
213
|
+
- "0.213481"
|
214
|
+
Etag:
|
215
|
+
- "\"8747ec95132f37adbc867e7312ab6a85\""
|
216
|
+
X-Candlepin-Version:
|
217
|
+
- katello/0.2.44-1.el6
|
218
218
|
body:
|
219
|
-
string: Deleted user '
|
219
|
+
string: Deleted user '37'
|
220
220
|
http_version:
|
221
|
-
recorded_at:
|
221
|
+
recorded_at: Wed, 22 Aug 2012 14:23:33 GMT
|
222
222
|
- request:
|
223
223
|
method: delete
|
224
|
-
uri: https://10.11.230.105/katello/api/roles/
|
224
|
+
uri: https://10.11.230.105/katello/api/roles/67
|
225
225
|
body:
|
226
226
|
string: ""
|
227
227
|
headers:
|
228
|
-
Http-Katello-User:
|
229
|
-
- admin
|
230
228
|
User-Agent:
|
231
229
|
- OAuth gem v0.4.6
|
232
230
|
Authorization:
|
233
|
-
- OAuth oauth_consumer_key="cloud_forms", oauth_nonce="
|
231
|
+
- OAuth oauth_consumer_key="cloud_forms", oauth_nonce="WyAmH5n2OCKBGCKWLtdTsERQZw2OxmbILT7RJbvIXH8", oauth_signature="KmzMe7W%2Fijlt%2F2wP4t9pGtUntE8%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1345645413", oauth_version="1.0"
|
234
232
|
Accept:
|
235
233
|
- application/json
|
234
|
+
Http-Katello-User:
|
235
|
+
- admin
|
236
236
|
response:
|
237
237
|
status:
|
238
238
|
code: 200
|
239
239
|
message: OK
|
240
240
|
headers:
|
241
|
-
X-Candlepin-Version:
|
242
|
-
- katello/0.2.44-1.el6
|
243
241
|
Content-Type:
|
244
242
|
- application/json; charset=utf-8
|
245
|
-
Cache-Control:
|
246
|
-
- max-age=0, private, must-revalidate
|
247
|
-
Etag:
|
248
|
-
- "\"0207e9084293ae5615c3f2b6d06f0e17\""
|
249
243
|
Server:
|
250
244
|
- thin 1.2.11 codename Bat-Shit Crazy
|
251
|
-
X-Runtime:
|
252
|
-
- "0.035482"
|
253
245
|
Transfer-Encoding:
|
254
246
|
- chunked
|
247
|
+
Date:
|
248
|
+
- Wed, 22 Aug 2012 14:23:32 GMT
|
255
249
|
X-Ua-Compatible:
|
256
250
|
- IE=Edge,chrome=1
|
257
|
-
|
258
|
-
-
|
251
|
+
Cache-Control:
|
252
|
+
- max-age=0, private, must-revalidate
|
253
|
+
X-Runtime:
|
254
|
+
- "0.038708"
|
255
|
+
Etag:
|
256
|
+
- "\"7498697546fd62ad08d57e6c9f35de1a\""
|
257
|
+
X-Candlepin-Version:
|
258
|
+
- katello/0.2.44-1.el6
|
259
259
|
body:
|
260
|
-
string: Deleted role '
|
260
|
+
string: Deleted role '67'
|
261
261
|
http_version:
|
262
|
-
recorded_at:
|
262
|
+
recorded_at: Wed, 22 Aug 2012 14:23:33 GMT
|
263
263
|
recorded_with: VCR 2.2.4
|
@@ -6,39 +6,39 @@ http_interactions:
|
|
6
6
|
body:
|
7
7
|
string: ""
|
8
8
|
headers:
|
9
|
-
Http-Katello-User:
|
10
|
-
- admin
|
11
9
|
User-Agent:
|
12
10
|
- OAuth gem v0.4.6
|
13
11
|
Authorization:
|
14
|
-
- OAuth oauth_consumer_key="cloud_forms", oauth_nonce="
|
12
|
+
- OAuth oauth_consumer_key="cloud_forms", oauth_nonce="qmxaIdEPP0KsEndeXlQjqFVjLtNwAfSeFtxhmuYpA", oauth_signature="5ouFcjRE0PTBebcZTMPvOLs8z9k%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1345645397", oauth_version="1.0"
|
15
13
|
Accept:
|
16
14
|
- application/json
|
15
|
+
Http-Katello-User:
|
16
|
+
- admin
|
17
17
|
response:
|
18
18
|
status:
|
19
19
|
code: 200
|
20
20
|
message: OK
|
21
21
|
headers:
|
22
|
-
X-Candlepin-Version:
|
23
|
-
- katello/0.2.44-1.el6
|
24
22
|
Content-Type:
|
25
23
|
- application/json; charset=utf-8
|
26
|
-
Cache-Control:
|
27
|
-
- max-age=0, private, must-revalidate
|
28
|
-
Etag:
|
29
|
-
- "\"379072b2370f9a967d92e2999ae8d266\""
|
30
24
|
Server:
|
31
25
|
- thin 1.2.11 codename Bat-Shit Crazy
|
32
|
-
X-Runtime:
|
33
|
-
- "0.069138"
|
34
26
|
Transfer-Encoding:
|
35
27
|
- chunked
|
28
|
+
Date:
|
29
|
+
- Wed, 22 Aug 2012 14:23:16 GMT
|
36
30
|
X-Ua-Compatible:
|
37
31
|
- IE=Edge,chrome=1
|
38
|
-
|
39
|
-
-
|
32
|
+
Cache-Control:
|
33
|
+
- max-age=0, private, must-revalidate
|
34
|
+
X-Runtime:
|
35
|
+
- "0.074005"
|
36
|
+
Etag:
|
37
|
+
- "\"379072b2370f9a967d92e2999ae8d266\""
|
38
|
+
X-Candlepin-Version:
|
39
|
+
- katello/0.2.44-1.el6
|
40
40
|
body:
|
41
41
|
string: "[{\"service_levels\":[],\"task_id\":null,\"id\":1,\"updated_at\":\"2012-08-09T14:52:28Z\",\"description\":\"Updated description\",\"name\":\"ACME_Corporation\",\"cp_key\":\"ACME_Corporation\",\"created_at\":\"2012-07-02T18:47:39Z\"}]"
|
42
42
|
http_version:
|
43
|
-
recorded_at:
|
43
|
+
recorded_at: Wed, 22 Aug 2012 14:23:17 GMT
|
44
44
|
recorded_with: VCR 2.2.4
|
@@ -6,39 +6,39 @@ http_interactions:
|
|
6
6
|
body:
|
7
7
|
string: ""
|
8
8
|
headers:
|
9
|
-
Http-Katello-User:
|
10
|
-
- admin
|
11
9
|
User-Agent:
|
12
10
|
- OAuth gem v0.4.6
|
13
11
|
Authorization:
|
14
|
-
- OAuth oauth_consumer_key="cloud_forms", oauth_nonce="
|
12
|
+
- OAuth oauth_consumer_key="cloud_forms", oauth_nonce="OMFSIOQAsh7V3Tf9rIE7o4SY9BDf6RVCv4cgthLJKI", oauth_signature="WTgzA5WIyEekDy4Lcq2aetl0Nfk%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1345645400", oauth_version="1.0"
|
15
13
|
Accept:
|
16
14
|
- application/json
|
15
|
+
Http-Katello-User:
|
16
|
+
- admin
|
17
17
|
response:
|
18
18
|
status:
|
19
19
|
code: 200
|
20
20
|
message: OK
|
21
21
|
headers:
|
22
|
-
X-Candlepin-Version:
|
23
|
-
- katello/0.2.44-1.el6
|
24
22
|
Content-Type:
|
25
23
|
- application/json; charset=utf-8
|
26
|
-
Cache-Control:
|
27
|
-
- max-age=0, private, must-revalidate
|
28
|
-
Etag:
|
29
|
-
- "\"740232fc5d472b6fdbf5cadd2b4e5dc4\""
|
30
24
|
Server:
|
31
25
|
- thin 1.2.11 codename Bat-Shit Crazy
|
32
|
-
X-Runtime:
|
33
|
-
- "0.032288"
|
34
26
|
Transfer-Encoding:
|
35
27
|
- chunked
|
28
|
+
Date:
|
29
|
+
- Wed, 22 Aug 2012 14:23:19 GMT
|
36
30
|
X-Ua-Compatible:
|
37
31
|
- IE=Edge,chrome=1
|
38
|
-
|
39
|
-
-
|
32
|
+
Cache-Control:
|
33
|
+
- max-age=0, private, must-revalidate
|
34
|
+
X-Runtime:
|
35
|
+
- "0.040176"
|
36
|
+
Etag:
|
37
|
+
- "\"740232fc5d472b6fdbf5cadd2b4e5dc4\""
|
38
|
+
X-Candlepin-Version:
|
39
|
+
- katello/0.2.44-1.el6
|
40
40
|
body:
|
41
41
|
string: "[{\"password_reset_token\":null,\"password_reset_sent_at\":null,\"default_organization\":null,\"helptips_enabled\":true,\"disabled\":false,\"id\":1,\"default_environment\":null,\"own_role_id\":3,\"preferences\":{},\"updated_at\":\"2012-07-02T18:47:38Z\",\"password\":\"748d6e91bc794a3989e9d9820cbf6317fdc727e4129d13a61d3df6ece9194d453338d02c28505daee277d49566ad4827f2910ac2c1c12e1ab0b5788ccf101030T3h7mXXXPsvJtD7sDkF7kAihIKXuTHyTL81EUWcOCYbxk7kFcomuv7w3xel5y7Gq\",\"username\":\"admin\",\"created_at\":\"2012-07-02T18:47:38Z\",\"email\":\"root@localhost\",\"hidden\":false,\"page_size\":25}]"
|
42
42
|
http_version:
|
43
|
-
recorded_at:
|
43
|
+
recorded_at: Wed, 22 Aug 2012 14:23:20 GMT
|
44
44
|
recorded_with: VCR 2.2.4
|