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
@@ -6,252 +6,252 @@ http_interactions:
|
|
6
6
|
body:
|
7
7
|
string: "{\"environment\":{\"name\":\"Test\",\"prior\":1}}"
|
8
8
|
headers:
|
9
|
-
Content-Length:
|
10
|
-
- "41"
|
11
9
|
Content-Type:
|
12
10
|
- application/json
|
13
|
-
|
14
|
-
-
|
11
|
+
Content-Length:
|
12
|
+
- "41"
|
15
13
|
User-Agent:
|
16
14
|
- OAuth gem v0.4.6
|
17
15
|
Authorization:
|
18
|
-
- OAuth oauth_body_hash="lCe2lMYXISkHQNPzaGPJ0yiK97Y%3D", oauth_consumer_key="cloud_forms", oauth_nonce="
|
16
|
+
- OAuth oauth_body_hash="lCe2lMYXISkHQNPzaGPJ0yiK97Y%3D", oauth_consumer_key="cloud_forms", oauth_nonce="j4FQ7JmoxvUV1B9xO3NO1DN6DEewo0PpkXSQPxySEdE", oauth_signature="BCPutKWOfeJ9R6Vv2eCa0IorUrE%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1343842700", 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
|
-
- "\"898dd393b5d4041a694ec563606ece14\""
|
34
28
|
Server:
|
35
29
|
- thin 1.2.11 codename Bat-Shit Crazy
|
36
|
-
X-Runtime:
|
37
|
-
- "0.284120"
|
38
30
|
Transfer-Encoding:
|
39
31
|
- chunked
|
32
|
+
Date:
|
33
|
+
- Wed, 22 Aug 2012 14:23:12 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.251107"
|
40
|
+
Etag:
|
41
|
+
- "\"438bf5f562b4b6a05ee21e026497647e\""
|
42
|
+
X-Candlepin-Version:
|
43
|
+
- katello/0.2.44-1.el6
|
44
44
|
body:
|
45
|
-
string: "{\"library\":false,\"prior\":\"Library\",\"id\":
|
45
|
+
string: "{\"library\":false,\"prior\":\"Library\",\"id\":196,\"organization\":\"ACME_Corporation\",\"organization_id\":1,\"updated_at\":\"2012-08-22T14:23:12Z\",\"name\":\"Test\",\"description\":null,\"prior_id\":1,\"created_at\":\"2012-08-22T14:23:12Z\"}"
|
46
46
|
http_version:
|
47
47
|
recorded_at: Wed, 01 Aug 2012 17:38:20 GMT
|
48
48
|
- request:
|
49
49
|
method: post
|
50
|
-
uri: https://10.11.230.105/katello/api/organizations/ACME_Corporation/environments/
|
50
|
+
uri: https://10.11.230.105/katello/api/organizations/ACME_Corporation/environments/196/changesets?description=test_description&environment_id=196&name=test_changeset&organization_id=ACME_Corporation
|
51
51
|
body:
|
52
|
-
string: "{\"changeset\":{\"
|
52
|
+
string: "{\"changeset\":{\"name\":\"test_changeset\",\"description\":\"test_description\"}}"
|
53
53
|
headers:
|
54
|
-
Content-Length:
|
55
|
-
- "72"
|
56
54
|
Content-Type:
|
57
55
|
- application/json
|
58
|
-
|
59
|
-
-
|
56
|
+
Content-Length:
|
57
|
+
- "72"
|
60
58
|
User-Agent:
|
61
59
|
- OAuth gem v0.4.6
|
62
60
|
Authorization:
|
63
|
-
- OAuth oauth_body_hash="
|
61
|
+
- OAuth oauth_body_hash="LEVvXycZ0rtQYDAoBTmJFXs1JXE%3D", oauth_consumer_key="cloud_forms", oauth_nonce="R66xfPhTzXU5pbO1JWYOWrAreRnB1oiNla26jZQHcQ", oauth_signature="lmZze4IwkfG9tepkwr73I4Nk6V8%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1343842700", 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
|
-
- "\"07f9dafbf7e7ca33f8965531d2556184\""
|
79
73
|
Server:
|
80
74
|
- thin 1.2.11 codename Bat-Shit Crazy
|
81
|
-
X-Runtime:
|
82
|
-
- "0.233615"
|
83
75
|
Transfer-Encoding:
|
84
76
|
- chunked
|
77
|
+
Date:
|
78
|
+
- Wed, 22 Aug 2012 14:23:12 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.060698"
|
85
|
+
Etag:
|
86
|
+
- "\"d17afcfd47326b57331df9a1450e56e3\""
|
87
|
+
X-Candlepin-Version:
|
88
|
+
- katello/0.2.44-1.el6
|
89
89
|
body:
|
90
|
-
string: "{\"task_status_id\":null,\"id\":
|
90
|
+
string: "{\"task_status_id\":null,\"id\":23,\"promotion_date\":null,\"updated_at\":\"2012-08-22T14:23:12Z\",\"name\":\"test_changeset\",\"description\":\"test_description\",\"state\":\"new\",\"environment_id\":196,\"created_at\":\"2012-08-22T14:23:12Z\"}"
|
91
91
|
http_version:
|
92
92
|
recorded_at: Wed, 01 Aug 2012 17:38:20 GMT
|
93
93
|
- request:
|
94
94
|
method: get
|
95
|
-
uri: https://10.11.230.105/katello/api/organizations/ACME_Corporation/environments/
|
95
|
+
uri: https://10.11.230.105/katello/api/organizations/ACME_Corporation/environments/196/changesets
|
96
96
|
body:
|
97
97
|
string: ""
|
98
98
|
headers:
|
99
|
-
Http-Katello-User:
|
100
|
-
- admin
|
101
99
|
User-Agent:
|
102
100
|
- OAuth gem v0.4.6
|
103
101
|
Authorization:
|
104
|
-
- OAuth oauth_consumer_key="cloud_forms", oauth_nonce="
|
102
|
+
- OAuth oauth_consumer_key="cloud_forms", oauth_nonce="xwLnVahPIpPShenB1GUnsaY4qpWcKIatygEXNa9Bs", oauth_signature="t6iJZTY1lIv9dKobgpADwsBaJSY%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1343842700", oauth_version="1.0"
|
105
103
|
Accept:
|
106
104
|
- application/json
|
105
|
+
Http-Katello-User:
|
106
|
+
- admin
|
107
107
|
response:
|
108
108
|
status:
|
109
109
|
code: 200
|
110
110
|
message: OK
|
111
111
|
headers:
|
112
|
-
X-Candlepin-Version:
|
113
|
-
- katello/0.2.44-1.el6
|
114
112
|
Content-Type:
|
115
113
|
- application/json; charset=utf-8
|
116
|
-
Cache-Control:
|
117
|
-
- max-age=0, private, must-revalidate
|
118
|
-
Etag:
|
119
|
-
- "\"e10bbd099dea72a71347129aa396b33c\""
|
120
114
|
Server:
|
121
115
|
- thin 1.2.11 codename Bat-Shit Crazy
|
122
|
-
X-Runtime:
|
123
|
-
- "0.029858"
|
124
116
|
Transfer-Encoding:
|
125
117
|
- chunked
|
118
|
+
Date:
|
119
|
+
- Wed, 22 Aug 2012 14:23:12 GMT
|
126
120
|
X-Ua-Compatible:
|
127
121
|
- IE=Edge,chrome=1
|
128
|
-
|
129
|
-
-
|
122
|
+
Cache-Control:
|
123
|
+
- max-age=0, private, must-revalidate
|
124
|
+
X-Runtime:
|
125
|
+
- "0.020594"
|
126
|
+
Etag:
|
127
|
+
- "\"898a665879ee22daa0f726a78e915792\""
|
128
|
+
X-Candlepin-Version:
|
129
|
+
- katello/0.2.44-1.el6
|
130
130
|
body:
|
131
|
-
string: "[{\"task_status_id\":null,\"id\":
|
131
|
+
string: "[{\"task_status_id\":null,\"id\":23,\"promotion_date\":null,\"updated_at\":\"2012-08-22T14:23:12Z\",\"name\":\"test_changeset\",\"description\":\"test_description\",\"state\":\"new\",\"environment_name\":\"Test\",\"environment_id\":196,\"created_at\":\"2012-08-22T14:23:12Z\"}]"
|
132
132
|
http_version:
|
133
133
|
recorded_at: Wed, 01 Aug 2012 17:38:20 GMT
|
134
134
|
- request:
|
135
135
|
method: delete
|
136
|
-
uri: https://10.11.230.105/katello/api/changesets/
|
136
|
+
uri: https://10.11.230.105/katello/api/changesets/23
|
137
137
|
body:
|
138
138
|
string: ""
|
139
139
|
headers:
|
140
|
-
Http-Katello-User:
|
141
|
-
- admin
|
142
140
|
User-Agent:
|
143
141
|
- OAuth gem v0.4.6
|
144
142
|
Authorization:
|
145
|
-
- OAuth oauth_consumer_key="cloud_forms", oauth_nonce="
|
143
|
+
- OAuth oauth_consumer_key="cloud_forms", oauth_nonce="ivMBSqOhL9wiQ4v5kYHy5AElPbBGYx1y6P2Yhnp6W3w", oauth_signature="%2BgM3vtBqSeRBWWneUftc2J4FJ2c%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1343842700", oauth_version="1.0"
|
146
144
|
Accept:
|
147
145
|
- application/json
|
146
|
+
Http-Katello-User:
|
147
|
+
- admin
|
148
148
|
response:
|
149
149
|
status:
|
150
150
|
code: 200
|
151
151
|
message: OK
|
152
152
|
headers:
|
153
|
-
X-Candlepin-Version:
|
154
|
-
- katello/0.2.44-1.el6
|
155
153
|
Content-Type:
|
156
154
|
- application/json; charset=utf-8
|
157
|
-
Cache-Control:
|
158
|
-
- max-age=0, private, must-revalidate
|
159
|
-
Etag:
|
160
|
-
- "\"ca15b355556f4b88210a15ffd5acd433\""
|
161
155
|
Server:
|
162
156
|
- thin 1.2.11 codename Bat-Shit Crazy
|
163
|
-
X-Runtime:
|
164
|
-
- "0.036367"
|
165
157
|
Transfer-Encoding:
|
166
158
|
- chunked
|
159
|
+
Date:
|
160
|
+
- Wed, 22 Aug 2012 14:23:13 GMT
|
167
161
|
X-Ua-Compatible:
|
168
162
|
- IE=Edge,chrome=1
|
169
|
-
|
170
|
-
-
|
163
|
+
Cache-Control:
|
164
|
+
- max-age=0, private, must-revalidate
|
165
|
+
X-Runtime:
|
166
|
+
- "0.043618"
|
167
|
+
Etag:
|
168
|
+
- "\"20db6096666f7e7287dbb8a60eb40399\""
|
169
|
+
X-Candlepin-Version:
|
170
|
+
- katello/0.2.44-1.el6
|
171
171
|
body:
|
172
|
-
string: Deleted changeset '
|
172
|
+
string: Deleted changeset '23'
|
173
173
|
http_version:
|
174
174
|
recorded_at: Wed, 01 Aug 2012 17:38:20 GMT
|
175
175
|
- request:
|
176
176
|
method: get
|
177
|
-
uri: https://10.11.230.105/katello/api/organizations/ACME_Corporation/environments/
|
177
|
+
uri: https://10.11.230.105/katello/api/organizations/ACME_Corporation/environments/196/changesets
|
178
178
|
body:
|
179
179
|
string: ""
|
180
180
|
headers:
|
181
|
-
Http-Katello-User:
|
182
|
-
- admin
|
183
181
|
User-Agent:
|
184
182
|
- OAuth gem v0.4.6
|
185
183
|
Authorization:
|
186
|
-
- OAuth oauth_consumer_key="cloud_forms", oauth_nonce="
|
184
|
+
- OAuth oauth_consumer_key="cloud_forms", oauth_nonce="vp8C6h8S0lKRjskr9n2VFbZud6pv0FZAiOJqtOPrgA", oauth_signature="%2F1lBbVWGbVuOGJz%2F2hMicZ9iGKs%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1343842700", oauth_version="1.0"
|
187
185
|
Accept:
|
188
186
|
- application/json
|
187
|
+
Http-Katello-User:
|
188
|
+
- admin
|
189
189
|
response:
|
190
190
|
status:
|
191
191
|
code: 200
|
192
192
|
message: OK
|
193
193
|
headers:
|
194
|
-
X-Candlepin-Version:
|
195
|
-
- katello/0.2.44-1.el6
|
196
194
|
Content-Type:
|
197
195
|
- application/json; charset=utf-8
|
198
|
-
Cache-Control:
|
199
|
-
- max-age=0, private, must-revalidate
|
200
|
-
Etag:
|
201
|
-
- "\"d751713988987e9331980363e24189ce\""
|
202
196
|
Server:
|
203
197
|
- thin 1.2.11 codename Bat-Shit Crazy
|
204
|
-
X-Runtime:
|
205
|
-
- "0.020670"
|
206
198
|
Transfer-Encoding:
|
207
199
|
- chunked
|
200
|
+
Date:
|
201
|
+
- Wed, 22 Aug 2012 14:23:13 GMT
|
208
202
|
X-Ua-Compatible:
|
209
203
|
- IE=Edge,chrome=1
|
210
|
-
|
211
|
-
-
|
204
|
+
Cache-Control:
|
205
|
+
- max-age=0, private, must-revalidate
|
206
|
+
X-Runtime:
|
207
|
+
- "0.026047"
|
208
|
+
Etag:
|
209
|
+
- "\"d751713988987e9331980363e24189ce\""
|
210
|
+
X-Candlepin-Version:
|
211
|
+
- katello/0.2.44-1.el6
|
212
212
|
body:
|
213
213
|
string: "[]"
|
214
214
|
http_version:
|
215
215
|
recorded_at: Wed, 01 Aug 2012 17:38:20 GMT
|
216
216
|
- request:
|
217
217
|
method: delete
|
218
|
-
uri: https://10.11.230.105/katello/api/organizations/ACME_Corporation/environments/
|
218
|
+
uri: https://10.11.230.105/katello/api/organizations/ACME_Corporation/environments/196
|
219
219
|
body:
|
220
220
|
string: ""
|
221
221
|
headers:
|
222
|
-
Http-Katello-User:
|
223
|
-
- admin
|
224
222
|
User-Agent:
|
225
223
|
- OAuth gem v0.4.6
|
226
224
|
Authorization:
|
227
|
-
- OAuth oauth_consumer_key="cloud_forms", oauth_nonce="
|
225
|
+
- OAuth oauth_consumer_key="cloud_forms", oauth_nonce="99jE2XltvDzb5Ed0WnoqNL3oSxloPomXnVNj40wmUw", oauth_signature="yhI0vPsf%2BnjQq5OMODM5gKZVd%2F0%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1343842700", oauth_version="1.0"
|
228
226
|
Accept:
|
229
227
|
- application/json
|
228
|
+
Http-Katello-User:
|
229
|
+
- admin
|
230
230
|
response:
|
231
231
|
status:
|
232
232
|
code: 200
|
233
233
|
message: OK
|
234
234
|
headers:
|
235
|
-
X-Candlepin-Version:
|
236
|
-
- katello/0.2.44-1.el6
|
237
235
|
Content-Type:
|
238
236
|
- application/json; charset=utf-8
|
239
|
-
Cache-Control:
|
240
|
-
- max-age=0, private, must-revalidate
|
241
|
-
Etag:
|
242
|
-
- "\"2b67d79c4ed2e4a142b79ffeed84199c\""
|
243
237
|
Server:
|
244
238
|
- thin 1.2.11 codename Bat-Shit Crazy
|
245
|
-
X-Runtime:
|
246
|
-
- "0.140933"
|
247
239
|
Transfer-Encoding:
|
248
240
|
- chunked
|
241
|
+
Date:
|
242
|
+
- Wed, 22 Aug 2012 14:23:13 GMT
|
249
243
|
X-Ua-Compatible:
|
250
244
|
- IE=Edge,chrome=1
|
251
|
-
|
252
|
-
-
|
245
|
+
Cache-Control:
|
246
|
+
- max-age=0, private, must-revalidate
|
247
|
+
X-Runtime:
|
248
|
+
- "0.307524"
|
249
|
+
Etag:
|
250
|
+
- "\"0aa7710a6e93d73c62b471966ff03aee\""
|
251
|
+
X-Candlepin-Version:
|
252
|
+
- katello/0.2.44-1.el6
|
253
253
|
body:
|
254
|
-
string: Deleted environment '
|
254
|
+
string: Deleted environment '196'
|
255
255
|
http_version:
|
256
256
|
recorded_at: Wed, 01 Aug 2012 17:38:21 GMT
|
257
257
|
recorded_with: VCR 2.2.4
|
@@ -6,43 +6,43 @@ http_interactions:
|
|
6
6
|
body:
|
7
7
|
string: "{\"environment\":{\"name\":\"Test\",\"prior\":1}}"
|
8
8
|
headers:
|
9
|
-
Content-Length:
|
10
|
-
- "41"
|
11
9
|
Content-Type:
|
12
10
|
- application/json
|
13
|
-
|
14
|
-
-
|
11
|
+
Content-Length:
|
12
|
+
- "41"
|
15
13
|
User-Agent:
|
16
14
|
- OAuth gem v0.4.6
|
17
15
|
Authorization:
|
18
|
-
- OAuth oauth_body_hash="lCe2lMYXISkHQNPzaGPJ0yiK97Y%3D", oauth_consumer_key="cloud_forms", oauth_nonce="
|
16
|
+
- OAuth oauth_body_hash="lCe2lMYXISkHQNPzaGPJ0yiK97Y%3D", oauth_consumer_key="cloud_forms", oauth_nonce="vN6VaRqbN9CU2yviPK0zf7wx9cfQSBDP8C9dP5miso", oauth_signature="uztDzfdRo8Uhuc8tSKrPXZ14Lyk%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1343842700", 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
|
-
- "\"5a6f07ddf58277c87aaeda56c621fd0b\""
|
34
28
|
Server:
|
35
29
|
- thin 1.2.11 codename Bat-Shit Crazy
|
36
|
-
X-Runtime:
|
37
|
-
- "0.357524"
|
38
30
|
Transfer-Encoding:
|
39
31
|
- chunked
|
32
|
+
Date:
|
33
|
+
- Wed, 22 Aug 2012 14:23:13 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.279111"
|
40
|
+
Etag:
|
41
|
+
- "\"9d145af0c1b735ea1c23eb9a1fe68b42\""
|
42
|
+
X-Candlepin-Version:
|
43
|
+
- katello/0.2.44-1.el6
|
44
44
|
body:
|
45
|
-
string: "{\"library\":false,\"prior\":\"Library\",\"id\":
|
45
|
+
string: "{\"library\":false,\"prior\":\"Library\",\"id\":197,\"organization\":\"ACME_Corporation\",\"organization_id\":1,\"updated_at\":\"2012-08-22T14:23:13Z\",\"name\":\"Test\",\"description\":null,\"prior_id\":1,\"created_at\":\"2012-08-22T14:23:13Z\"}"
|
46
46
|
http_version:
|
47
47
|
recorded_at: Wed, 01 Aug 2012 17:38:20 GMT
|
48
48
|
- request:
|
@@ -51,80 +51,80 @@ http_interactions:
|
|
51
51
|
body:
|
52
52
|
string: ""
|
53
53
|
headers:
|
54
|
-
Http-Katello-User:
|
55
|
-
- admin
|
56
54
|
User-Agent:
|
57
55
|
- OAuth gem v0.4.6
|
58
56
|
Authorization:
|
59
|
-
- OAuth oauth_consumer_key="cloud_forms", oauth_nonce="
|
57
|
+
- OAuth oauth_consumer_key="cloud_forms", oauth_nonce="bTYpDTlKbZMNdMbNQu27tlFmBkWKxTVVLlbJNIPWfM", oauth_signature="eGRiEkhvXZko2lGJu6KrXtXjgVM%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1343842700", oauth_version="1.0"
|
60
58
|
Accept:
|
61
59
|
- application/json
|
60
|
+
Http-Katello-User:
|
61
|
+
- admin
|
62
62
|
response:
|
63
63
|
status:
|
64
64
|
code: 200
|
65
65
|
message: OK
|
66
66
|
headers:
|
67
|
-
X-Candlepin-Version:
|
68
|
-
- katello/0.2.44-1.el6
|
69
67
|
Content-Type:
|
70
68
|
- application/json; charset=utf-8
|
71
|
-
Cache-Control:
|
72
|
-
- max-age=0, private, must-revalidate
|
73
|
-
Etag:
|
74
|
-
- "\"c3c6ea369953366ac895affc6616e960\""
|
75
69
|
Server:
|
76
70
|
- thin 1.2.11 codename Bat-Shit Crazy
|
77
|
-
X-Runtime:
|
78
|
-
- "0.027213"
|
79
71
|
Transfer-Encoding:
|
80
72
|
- chunked
|
73
|
+
Date:
|
74
|
+
- Wed, 22 Aug 2012 14:23:13 GMT
|
81
75
|
X-Ua-Compatible:
|
82
76
|
- IE=Edge,chrome=1
|
83
|
-
|
84
|
-
-
|
77
|
+
Cache-Control:
|
78
|
+
- max-age=0, private, must-revalidate
|
79
|
+
X-Runtime:
|
80
|
+
- "0.025600"
|
81
|
+
Etag:
|
82
|
+
- "\"409f31a1e5dbe630a41c6ccc1ecf835b\""
|
83
|
+
X-Candlepin-Version:
|
84
|
+
- katello/0.2.44-1.el6
|
85
85
|
body:
|
86
|
-
string: "[{\"library\":true,\"prior\":null,\"id\":1,\"organization\":\"ACME_Corporation\",\"organization_id\":1,\"updated_at\":\"2012-07-02T18:47:39Z\",\"name\":\"Library\",\"description\":null,\"prior_id\":null,\"created_at\":\"2012-07-02T18:47:39Z\"},{\"library\":false,\"prior\":\"Library\",\"id\":
|
86
|
+
string: "[{\"library\":true,\"prior\":null,\"id\":1,\"organization\":\"ACME_Corporation\",\"organization_id\":1,\"updated_at\":\"2012-07-02T18:47:39Z\",\"name\":\"Library\",\"description\":null,\"prior_id\":null,\"created_at\":\"2012-07-02T18:47:39Z\"},{\"library\":false,\"prior\":\"Library\",\"id\":197,\"organization\":\"ACME_Corporation\",\"organization_id\":1,\"updated_at\":\"2012-08-22T14:23:13Z\",\"name\":\"Test\",\"description\":null,\"prior_id\":1,\"created_at\":\"2012-08-22T14:23:13Z\"}]"
|
87
87
|
http_version:
|
88
88
|
recorded_at: Wed, 01 Aug 2012 17:38:20 GMT
|
89
89
|
- request:
|
90
90
|
method: delete
|
91
|
-
uri: https://10.11.230.105/katello/api/organizations/ACME_Corporation/environments/
|
91
|
+
uri: https://10.11.230.105/katello/api/organizations/ACME_Corporation/environments/197
|
92
92
|
body:
|
93
93
|
string: ""
|
94
94
|
headers:
|
95
|
-
Http-Katello-User:
|
96
|
-
- admin
|
97
95
|
User-Agent:
|
98
96
|
- OAuth gem v0.4.6
|
99
97
|
Authorization:
|
100
|
-
- OAuth oauth_consumer_key="cloud_forms", oauth_nonce="
|
98
|
+
- OAuth oauth_consumer_key="cloud_forms", oauth_nonce="A4vL4Aq66t1BFk02hkplzTV4oEGEuNvelJ26bHdGk", oauth_signature="fgVOMsDhAU5R1UpY0mnKQkVDNnU%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1343842700", oauth_version="1.0"
|
101
99
|
Accept:
|
102
100
|
- application/json
|
101
|
+
Http-Katello-User:
|
102
|
+
- admin
|
103
103
|
response:
|
104
104
|
status:
|
105
105
|
code: 200
|
106
106
|
message: OK
|
107
107
|
headers:
|
108
|
-
X-Candlepin-Version:
|
109
|
-
- katello/0.2.44-1.el6
|
110
108
|
Content-Type:
|
111
109
|
- application/json; charset=utf-8
|
112
|
-
Cache-Control:
|
113
|
-
- max-age=0, private, must-revalidate
|
114
|
-
Etag:
|
115
|
-
- "\"bf7698f7ecceb6a3646356181c5fd763\""
|
116
110
|
Server:
|
117
111
|
- thin 1.2.11 codename Bat-Shit Crazy
|
118
|
-
X-Runtime:
|
119
|
-
- "0.126697"
|
120
112
|
Transfer-Encoding:
|
121
113
|
- chunked
|
114
|
+
Date:
|
115
|
+
- Wed, 22 Aug 2012 14:23:14 GMT
|
122
116
|
X-Ua-Compatible:
|
123
117
|
- IE=Edge,chrome=1
|
124
|
-
|
125
|
-
-
|
118
|
+
Cache-Control:
|
119
|
+
- max-age=0, private, must-revalidate
|
120
|
+
X-Runtime:
|
121
|
+
- "0.137646"
|
122
|
+
Etag:
|
123
|
+
- "\"67215211486103d70c52ffa1485edbdb\""
|
124
|
+
X-Candlepin-Version:
|
125
|
+
- katello/0.2.44-1.el6
|
126
126
|
body:
|
127
|
-
string: Deleted environment '
|
127
|
+
string: Deleted environment '197'
|
128
128
|
http_version:
|
129
129
|
recorded_at: Wed, 01 Aug 2012 17:38:20 GMT
|
130
130
|
recorded_with: VCR 2.2.4
|