deadwood 0.0.1

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.
Files changed (77) hide show
  1. data/COPYING +19 -0
  2. data/README.md +19 -0
  3. data/Rakefile +65 -0
  4. data/examples/deadwood-config.yml +5 -0
  5. data/lib/deadwood.rb +45 -0
  6. data/lib/deadwood/active_resource_oauth_client.rb +74 -0
  7. data/lib/deadwood/model/activation_key.rb +24 -0
  8. data/lib/deadwood/model/base.rb +82 -0
  9. data/lib/deadwood/model/changeset.rb +28 -0
  10. data/lib/deadwood/model/consumer.rb +18 -0
  11. data/lib/deadwood/model/crl.rb +18 -0
  12. data/lib/deadwood/model/entitlement.rb +18 -0
  13. data/lib/deadwood/model/environment.rb +40 -0
  14. data/lib/deadwood/model/errata.rb +18 -0
  15. data/lib/deadwood/model/gpg_key.rb +37 -0
  16. data/lib/deadwood/model/organization.rb +21 -0
  17. data/lib/deadwood/model/pool.rb +18 -0
  18. data/lib/deadwood/model/product.rb +33 -0
  19. data/lib/deadwood/model/provider.rb +24 -0
  20. data/lib/deadwood/model/repository.rb +18 -0
  21. data/lib/deadwood/model/role.rb +38 -0
  22. data/lib/deadwood/model/status.rb +18 -0
  23. data/lib/deadwood/model/subscription.rb +18 -0
  24. data/lib/deadwood/model/system.rb +24 -0
  25. data/lib/deadwood/model/system_group.rb +33 -0
  26. data/lib/deadwood/model/task.rb +18 -0
  27. data/lib/deadwood/model/template.rb +24 -0
  28. data/lib/deadwood/model/user.rb +28 -0
  29. data/lib/deadwood/model/version.rb +18 -0
  30. data/rake/rpmtask.rb +126 -0
  31. data/spec/models/activation_key_spec.rb +35 -0
  32. data/spec/models/base_spec.rb +30 -0
  33. data/spec/models/changeset_spec.rb +38 -0
  34. data/spec/models/crl_spec.rb +25 -0
  35. data/spec/models/environment_spec.rb +54 -0
  36. data/spec/models/gpg_key_spec.rb +30 -0
  37. data/spec/models/organization_spec.rb +75 -0
  38. data/spec/models/product_spec.rb +38 -0
  39. data/spec/models/provider_spec.rb +72 -0
  40. data/spec/models/repository_spec.rb +36 -0
  41. data/spec/models/role_spec.rb +57 -0
  42. data/spec/models/system_group_spec.rb +31 -0
  43. data/spec/models/task_spec.rb +26 -0
  44. data/spec/models/template_spec.rb +37 -0
  45. data/spec/models/user_spec.rb +53 -0
  46. data/spec/spec_helper.rb +50 -0
  47. data/spec/vcr/cassettes/create_activation_key.yml +255 -0
  48. data/spec/vcr/cassettes/create_changeset.yml +257 -0
  49. data/spec/vcr/cassettes/create_find_all_environment.yml +130 -0
  50. data/spec/vcr/cassettes/create_find_single_environment.yml +130 -0
  51. data/spec/vcr/cassettes/create_gpg_key.yml +173 -0
  52. data/spec/vcr/cassettes/create_provider_for_default_org.yml +171 -0
  53. data/spec/vcr/cassettes/create_repository.yml +261 -0
  54. data/spec/vcr/cassettes/create_role.yml +130 -0
  55. data/spec/vcr/cassettes/create_system.yml +171 -0
  56. data/spec/vcr/cassettes/create_template.yml +253 -0
  57. data/spec/vcr/cassettes/create_user.yml +130 -0
  58. data/spec/vcr/cassettes/create_user_role.yml +263 -0
  59. data/spec/vcr/cassettes/find_ACME_Corporation.yml +44 -0
  60. data/spec/vcr/cassettes/find_admin.yml +44 -0
  61. data/spec/vcr/cassettes/find_crl.yml +62 -0
  62. data/spec/vcr/cassettes/find_template.yml +44 -0
  63. data/spec/vcr/cassettes/find_users.yml +44 -0
  64. data/spec/vcr/cassettes/organization_1_exists.yml +85 -0
  65. data/spec/vcr/cassettes/organization_create.yml +128 -0
  66. data/spec/vcr/cassettes/organization_default_exists.yml +44 -0
  67. data/spec/vcr/cassettes/organization_exists.yml +44 -0
  68. data/spec/vcr/cassettes/organization_update.yml +130 -0
  69. data/spec/vcr/cassettes/provider_1_exists.yml +44 -0
  70. data/spec/vcr/cassettes/providers_all_exists.yml +44 -0
  71. data/spec/vcr/cassettes/read_products.yml +257 -0
  72. data/spec/vcr/cassettes/update_environment_name_description.yml +216 -0
  73. data/spec/vcr/cassettes/update_provider_for_org.yml +175 -0
  74. data/spec/vcr/cassettes/update_role.yml +175 -0
  75. data/spec/vcr/cassettes/update_user.yml +130 -0
  76. data/spec/vcr_setup.rb +46 -0
  77. metadata +242 -0
@@ -0,0 +1,130 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://10.11.230.105/katello/api/organizations
6
+ body:
7
+ string: ""
8
+ headers:
9
+ Http-Katello-User:
10
+ - admin
11
+ User-Agent:
12
+ - OAuth gem v0.4.6
13
+ Authorization:
14
+ - OAuth oauth_consumer_key="cloud_forms", oauth_nonce="x9ay5e8nTxm7PeCcrEPx4IbfvKnbno6bErULcv8kE", oauth_signature="KxtiQZgXwx7hokTE3v4LlIsAs1g%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1345486926", oauth_version="1.0"
15
+ Accept:
16
+ - application/json
17
+ response:
18
+ status:
19
+ code: 200
20
+ message: OK
21
+ headers:
22
+ X-Candlepin-Version:
23
+ - katello/0.2.44-1.el6
24
+ Content-Type:
25
+ - application/json; charset=utf-8
26
+ Cache-Control:
27
+ - max-age=0, private, must-revalidate
28
+ Etag:
29
+ - "\"379072b2370f9a967d92e2999ae8d266\""
30
+ Server:
31
+ - thin 1.2.11 codename Bat-Shit Crazy
32
+ X-Runtime:
33
+ - "0.079686"
34
+ Transfer-Encoding:
35
+ - chunked
36
+ X-Ua-Compatible:
37
+ - IE=Edge,chrome=1
38
+ Date:
39
+ - Mon, 20 Aug 2012 18:22:06 GMT
40
+ body:
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
+ http_version:
43
+ recorded_at: Mon, 20 Aug 2012 18:22:07 GMT
44
+ - request:
45
+ method: put
46
+ uri: https://10.11.230.105/katello/api/organizations/ACME_Corporation
47
+ body:
48
+ string: "{\"organization\":{\"name\":\"ACME_Corporation\",\"description\":\"Updated description\"}}"
49
+ headers:
50
+ Content-Length:
51
+ - "80"
52
+ Content-Type:
53
+ - application/json
54
+ Http-Katello-User:
55
+ - admin
56
+ User-Agent:
57
+ - OAuth gem v0.4.6
58
+ Authorization:
59
+ - OAuth oauth_body_hash="OBvEpYrXi2TFwKS4OFEW9QsDjZA%3D", oauth_consumer_key="cloud_forms", oauth_nonce="D3rCfxwhhD97gckTQXBf8JL1LOH1PSnnCuAZsDjE6A", oauth_signature="l%2FRnWSNYSX%2BueKD72dbMlQEJ%2FvQ%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1345486927", oauth_version="1.0"
60
+ Accept:
61
+ - "*/*"
62
+ response:
63
+ status:
64
+ code: 200
65
+ message: OK
66
+ headers:
67
+ X-Candlepin-Version:
68
+ - katello/0.2.44-1.el6
69
+ Content-Type:
70
+ - application/json; charset=utf-8
71
+ Cache-Control:
72
+ - max-age=0, private, must-revalidate
73
+ Etag:
74
+ - "\"b326b5062b2f0e69046810717534cb09\""
75
+ Server:
76
+ - thin 1.2.11 codename Bat-Shit Crazy
77
+ X-Runtime:
78
+ - "0.211000"
79
+ Transfer-Encoding:
80
+ - chunked
81
+ X-Ua-Compatible:
82
+ - IE=Edge,chrome=1
83
+ Date:
84
+ - Mon, 20 Aug 2012 18:22:06 GMT
85
+ body:
86
+ string: "true"
87
+ http_version:
88
+ recorded_at: Mon, 20 Aug 2012 18:22:07 GMT
89
+ - request:
90
+ method: get
91
+ uri: https://10.11.230.105/katello/api/organizations
92
+ body:
93
+ string: ""
94
+ headers:
95
+ Http-Katello-User:
96
+ - admin
97
+ User-Agent:
98
+ - OAuth gem v0.4.6
99
+ Authorization:
100
+ - OAuth oauth_consumer_key="cloud_forms", oauth_nonce="UFPvoecrgCIqap5W0Uukf1iphKC3S9a2c4v4GWk60Q", oauth_signature="piV9WHLpX8f59DGbrjEYgqxe0SA%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1345486927", oauth_version="1.0"
101
+ Accept:
102
+ - application/json
103
+ response:
104
+ status:
105
+ code: 200
106
+ message: OK
107
+ headers:
108
+ X-Candlepin-Version:
109
+ - katello/0.2.44-1.el6
110
+ Content-Type:
111
+ - application/json; charset=utf-8
112
+ Cache-Control:
113
+ - max-age=0, private, must-revalidate
114
+ Etag:
115
+ - "\"379072b2370f9a967d92e2999ae8d266\""
116
+ Server:
117
+ - thin 1.2.11 codename Bat-Shit Crazy
118
+ X-Runtime:
119
+ - "0.066602"
120
+ Transfer-Encoding:
121
+ - chunked
122
+ X-Ua-Compatible:
123
+ - IE=Edge,chrome=1
124
+ Date:
125
+ - Mon, 20 Aug 2012 18:22:06 GMT
126
+ body:
127
+ 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\"}]"
128
+ http_version:
129
+ recorded_at: Mon, 20 Aug 2012 18:22:07 GMT
130
+ recorded_with: VCR 2.2.4
@@ -0,0 +1,44 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://10.11.230.105/katello/api/providers/1
6
+ body:
7
+ string: ""
8
+ headers:
9
+ Http-Katello-User:
10
+ - admin
11
+ User-Agent:
12
+ - OAuth gem v0.4.6
13
+ Authorization:
14
+ - OAuth oauth_consumer_key="cloud_forms", oauth_nonce="PbIzXJxVLYKbpLA8iQL0tyZPWETnqde9IlzDzGT44w", oauth_signature="vVvOYV1uqUC59DP4NspBq7CK%2FnM%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1343842700", oauth_version="1.0"
15
+ Accept:
16
+ - application/json
17
+ response:
18
+ status:
19
+ code: 200
20
+ message: OK
21
+ headers:
22
+ X-Candlepin-Version:
23
+ - katello/0.2.44-1.el6
24
+ Content-Type:
25
+ - application/json; charset=utf-8
26
+ Cache-Control:
27
+ - max-age=0, private, must-revalidate
28
+ Etag:
29
+ - "\"efb2bfd71ef5f3cde147e1dcbd96a9c0\""
30
+ Server:
31
+ - thin 1.2.11 codename Bat-Shit Crazy
32
+ X-Runtime:
33
+ - "0.021125"
34
+ Transfer-Encoding:
35
+ - chunked
36
+ X-Ua-Compatible:
37
+ - IE=Edge,chrome=1
38
+ Date:
39
+ - Mon, 20 Aug 2012 18:22:14 GMT
40
+ body:
41
+ string: "{\"provider_type\":\"Red Hat\",\"id\":1,\"task_status_id\":null,\"organization_id\":1,\"sync_state\":\"not_synced\",\"last_sync\":null,\"updated_at\":\"2012-08-20T17:47:14Z\",\"description\":null,\"name\":\"Red Hat\",\"created_at\":\"2012-07-02T18:47:39Z\",\"repository_url\":\"https://cdn.redhat.com\"}"
42
+ http_version:
43
+ recorded_at: Wed, 01 Aug 2012 17:38:20 GMT
44
+ recorded_with: VCR 2.2.4
@@ -0,0 +1,44 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://10.11.230.105/katello/api/organizations/ACME_Corporation/providers
6
+ body:
7
+ string: ""
8
+ headers:
9
+ Http-Katello-User:
10
+ - admin
11
+ User-Agent:
12
+ - OAuth gem v0.4.6
13
+ Authorization:
14
+ - OAuth oauth_consumer_key="cloud_forms", oauth_nonce="61TIwgJnmLbXjKyZIKa4m1WuaJJeaFiUwYQkfY4rYI", oauth_signature="R2e06ZXEYW8gGj5BmFIlrSXpFM4%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1345486935", oauth_version="1.0"
15
+ Accept:
16
+ - application/json
17
+ response:
18
+ status:
19
+ code: 200
20
+ message: OK
21
+ headers:
22
+ X-Candlepin-Version:
23
+ - katello/0.2.44-1.el6
24
+ Content-Type:
25
+ - application/json; charset=utf-8
26
+ Cache-Control:
27
+ - max-age=0, private, must-revalidate
28
+ Etag:
29
+ - "\"f7c1a33504b2f6c78b0c2e0a9e10d106\""
30
+ Server:
31
+ - thin 1.2.11 codename Bat-Shit Crazy
32
+ X-Runtime:
33
+ - "0.034598"
34
+ Transfer-Encoding:
35
+ - chunked
36
+ X-Ua-Compatible:
37
+ - IE=Edge,chrome=1
38
+ Date:
39
+ - Mon, 20 Aug 2012 18:22:14 GMT
40
+ body:
41
+ string: "[{\"provider_type\":\"Red Hat\",\"id\":1,\"task_status_id\":null,\"organization_id\":1,\"sync_state\":\"not_synced\",\"last_sync\":null,\"updated_at\":\"2012-08-20T17:47:14Z\",\"description\":null,\"name\":\"Red Hat\",\"created_at\":\"2012-07-02T18:47:39Z\",\"repository_url\":\"https://cdn.redhat.com\"}]"
42
+ http_version:
43
+ recorded_at: Mon, 20 Aug 2012 18:22:15 GMT
44
+ recorded_with: VCR 2.2.4
@@ -0,0 +1,257 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://10.11.230.105/katello/api/providers?description=Test%20provider%20description&name=test_provider_name&organization_id=ACME_Corporation&provider_type=Custom&repository_url=http://repo.example.com
6
+ body:
7
+ string: "{\"provider\":{\"description\":\"Test provider description\",\"name\":\"test_provider_name\",\"provider_type\":\"Custom\",\"repository_url\":\"http://repo.example.com\"}}"
8
+ headers:
9
+ Content-Length:
10
+ - "152"
11
+ Content-Type:
12
+ - application/json
13
+ Http-Katello-User:
14
+ - admin
15
+ User-Agent:
16
+ - OAuth gem v0.4.6
17
+ Authorization:
18
+ - OAuth oauth_body_hash="XH6Lrjetr0P5dcTTa0%2BSLlL%2B1z0%3D", oauth_consumer_key="cloud_forms", oauth_nonce="Z0BrAN8oVUi4kwEolhdM9GDhPVYoXS5hnc49979sY", oauth_signature="APSe4sICDeIHL%2FJSVx3qPNeEDn4%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1343842700", oauth_version="1.0"
19
+ Accept:
20
+ - "*/*"
21
+ response:
22
+ status:
23
+ code: 200
24
+ message: OK
25
+ headers:
26
+ X-Candlepin-Version:
27
+ - katello/0.2.44-1.el6
28
+ Content-Type:
29
+ - application/json; charset=utf-8
30
+ Cache-Control:
31
+ - max-age=0, private, must-revalidate
32
+ Etag:
33
+ - "\"e249ec9e6769b5fdc74dead1fea31e6e\""
34
+ Server:
35
+ - thin 1.2.11 codename Bat-Shit Crazy
36
+ X-Runtime:
37
+ - "0.168367"
38
+ Transfer-Encoding:
39
+ - chunked
40
+ X-Ua-Compatible:
41
+ - IE=Edge,chrome=1
42
+ Date:
43
+ - Mon, 20 Aug 2012 18:22:11 GMT
44
+ body:
45
+ string: "{\"provider_type\":\"Custom\",\"id\":100,\"task_status_id\":null,\"organization_id\":1,\"sync_state\":\"not_synced\",\"last_sync\":null,\"updated_at\":\"2012-08-20T18:22:11Z\",\"description\":\"Test provider description\",\"name\":\"test_provider_name\",\"created_at\":\"2012-08-20T18:22:11Z\",\"repository_url\":\"http://repo.example.com\"}"
46
+ http_version:
47
+ recorded_at: Wed, 01 Aug 2012 17:38:20 GMT
48
+ - request:
49
+ method: post
50
+ uri: https://10.11.230.105/katello/api/providers/100/product_create?description=Test%20description&name=Test_product&provider_id=100
51
+ body:
52
+ string: "{\"product\":{\"description\":\"Test description\",\"name\":\"Test_product\"}}"
53
+ headers:
54
+ Content-Length:
55
+ - "68"
56
+ Content-Type:
57
+ - application/json
58
+ Http-Katello-User:
59
+ - admin
60
+ User-Agent:
61
+ - OAuth gem v0.4.6
62
+ Authorization:
63
+ - OAuth oauth_body_hash="MppCWPo5sBFfF%2FTziiO55E6ychk%3D", oauth_consumer_key="cloud_forms", oauth_nonce="H1lzJXUz2cRAP9aOwC2P9n1FJnrYRJUCD46UWGne7Q", oauth_signature="3Ecqvs9%2FFcxL4JVvFzwbpvIHwUQ%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1343842700", oauth_version="1.0"
64
+ Accept:
65
+ - "*/*"
66
+ response:
67
+ status:
68
+ code: 200
69
+ message: OK
70
+ headers:
71
+ X-Candlepin-Version:
72
+ - katello/0.2.44-1.el6
73
+ Content-Type:
74
+ - application/json; charset=utf-8
75
+ Cache-Control:
76
+ - max-age=0, private, must-revalidate
77
+ Etag:
78
+ - "\"cecde3d78bc4b976828a52eeeb9d2e51\""
79
+ Server:
80
+ - thin 1.2.11 codename Bat-Shit Crazy
81
+ X-Runtime:
82
+ - "0.308247"
83
+ Transfer-Encoding:
84
+ - chunked
85
+ X-Ua-Compatible:
86
+ - IE=Edge,chrome=1
87
+ Date:
88
+ - Mon, 20 Aug 2012 18:22:11 GMT
89
+ body:
90
+ string: "{\"marketing_product\":false,\"gpg_key_name\":\"\",\"sync_plan_id\":null,\"multiplier\":null,\"productContent\":[],\"sync_state\":\"not_synced\",\"last_sync\":null,\"updated_at\":\"2012-08-20T18:22:11Z\",\"multiplier\":null,\"name\":\"Test_product\",\"gpg_key_id\":null,\"description\":\"Test description\",\"sync_plan_name\":null,\"provider_id\":100,\"id\":\"1345486931566\",\"attributes\":[],\"created_at\":\"2012-08-20T18:22:11Z\"}"
91
+ http_version:
92
+ recorded_at: Wed, 01 Aug 2012 17:38:20 GMT
93
+ - request:
94
+ method: get
95
+ uri: https://10.11.230.105/katello/api/organizations/ACME_Corporation/products
96
+ body:
97
+ string: ""
98
+ headers:
99
+ Http-Katello-User:
100
+ - admin
101
+ User-Agent:
102
+ - OAuth gem v0.4.6
103
+ Authorization:
104
+ - OAuth oauth_consumer_key="cloud_forms", oauth_nonce="MLwS5PV0NbMNHUnGcaYcJkrWUX9ILMKbQJYZ5n75wk", oauth_signature="w8ecLwWbhJ%2FZ%2FghLOFTkCFhWaGs%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1343842700", oauth_version="1.0"
105
+ Accept:
106
+ - application/json
107
+ response:
108
+ status:
109
+ code: 200
110
+ message: OK
111
+ headers:
112
+ X-Candlepin-Version:
113
+ - katello/0.2.44-1.el6
114
+ Content-Type:
115
+ - application/json; charset=utf-8
116
+ Cache-Control:
117
+ - max-age=0, private, must-revalidate
118
+ Etag:
119
+ - "\"e7c58684ecca0aada0cabd883935d73f\""
120
+ Server:
121
+ - thin 1.2.11 codename Bat-Shit Crazy
122
+ X-Runtime:
123
+ - "0.071656"
124
+ Transfer-Encoding:
125
+ - chunked
126
+ X-Ua-Compatible:
127
+ - IE=Edge,chrome=1
128
+ Date:
129
+ - Mon, 20 Aug 2012 18:22:11 GMT
130
+ body:
131
+ string: "[{\"marketing_product\":false,\"gpg_key_name\":\"\",\"sync_plan_id\":null,\"multiplier\":1,\"productContent\":[],\"sync_state\":\"not_synced\",\"provider_name\":\"test_provider_name\",\"last_sync\":null,\"updated_at\":\"2012-08-20T18:22:11Z\",\"multiplier\":1,\"name\":\"Test_product\",\"gpg_key_id\":null,\"description\":\"Test description\",\"sync_plan_name\":null,\"provider_id\":100,\"id\":\"1345486931566\",\"attributes\":[],\"created_at\":\"2012-08-20T18:22:11Z\"}]"
132
+ http_version:
133
+ recorded_at: Wed, 01 Aug 2012 17:38:20 GMT
134
+ - request:
135
+ method: delete
136
+ uri: https://10.11.230.105/katello/api/organizations/ACME_Corporation/products/1345486931566
137
+ body:
138
+ string: ""
139
+ headers:
140
+ Http-Katello-User:
141
+ - admin
142
+ User-Agent:
143
+ - OAuth gem v0.4.6
144
+ Authorization:
145
+ - OAuth oauth_consumer_key="cloud_forms", oauth_nonce="rsMsNaZ4seJLefw91qrkQIzA2xbDV1n0M0PUB8l0", oauth_signature="wbaxmlxHay1Zr35ESTIN%2B%2BNtlO4%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1343842700", oauth_version="1.0"
146
+ Accept:
147
+ - application/json
148
+ response:
149
+ status:
150
+ code: 200
151
+ message: OK
152
+ headers:
153
+ X-Candlepin-Version:
154
+ - katello/0.2.44-1.el6
155
+ Content-Type:
156
+ - application/json; charset=utf-8
157
+ Cache-Control:
158
+ - max-age=0, private, must-revalidate
159
+ Etag:
160
+ - "\"eb46d86bab73cf8eb7d4fb84defb5545\""
161
+ Server:
162
+ - thin 1.2.11 codename Bat-Shit Crazy
163
+ X-Runtime:
164
+ - "1.178776"
165
+ Transfer-Encoding:
166
+ - chunked
167
+ X-Ua-Compatible:
168
+ - IE=Edge,chrome=1
169
+ Date:
170
+ - Mon, 20 Aug 2012 18:22:11 GMT
171
+ body:
172
+ string: Deleted product '1345486931566'
173
+ http_version:
174
+ recorded_at: Wed, 01 Aug 2012 17:38:22 GMT
175
+ - request:
176
+ method: delete
177
+ uri: https://10.11.230.105/katello/api/providers/100
178
+ body:
179
+ string: ""
180
+ headers:
181
+ Http-Katello-User:
182
+ - admin
183
+ User-Agent:
184
+ - OAuth gem v0.4.6
185
+ Authorization:
186
+ - OAuth oauth_consumer_key="cloud_forms", oauth_nonce="AgFrUKX7QOrL9Ea2YdlUTKgeKYz1KonisoDNnAFQAw", oauth_signature="qXS8oysNF4%2Fe99swpolsWQIunN0%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1343842702", oauth_version="1.0"
187
+ Accept:
188
+ - application/json
189
+ response:
190
+ status:
191
+ code: 200
192
+ message: OK
193
+ headers:
194
+ X-Candlepin-Version:
195
+ - katello/0.2.44-1.el6
196
+ Content-Type:
197
+ - application/json; charset=utf-8
198
+ Cache-Control:
199
+ - max-age=0, private, must-revalidate
200
+ Etag:
201
+ - "\"728712a61c5bf29dc38964dba52a259e\""
202
+ Server:
203
+ - thin 1.2.11 codename Bat-Shit Crazy
204
+ X-Runtime:
205
+ - "0.045013"
206
+ Transfer-Encoding:
207
+ - chunked
208
+ X-Ua-Compatible:
209
+ - IE=Edge,chrome=1
210
+ Date:
211
+ - Mon, 20 Aug 2012 18:22:13 GMT
212
+ body:
213
+ string: Deleted provider [ test_provider_name ]
214
+ http_version:
215
+ recorded_at: Wed, 01 Aug 2012 17:38:22 GMT
216
+ - request:
217
+ method: get
218
+ uri: https://10.11.230.105/katello/api/organizations/ACME_Corporation/products
219
+ body:
220
+ string: ""
221
+ headers:
222
+ Http-Katello-User:
223
+ - admin
224
+ User-Agent:
225
+ - OAuth gem v0.4.6
226
+ Authorization:
227
+ - OAuth oauth_consumer_key="cloud_forms", oauth_nonce="e6KpkzbwPB6a0hshfCuU6aSYGuWCPPlDg0z5m6yZcE", oauth_signature="Z4KYZOsigIvxmrUHJQ8hdvDkGTo%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1343842702", oauth_version="1.0"
228
+ Accept:
229
+ - application/json
230
+ response:
231
+ status:
232
+ code: 200
233
+ message: OK
234
+ headers:
235
+ X-Candlepin-Version:
236
+ - katello/0.2.44-1.el6
237
+ Content-Type:
238
+ - application/json; charset=utf-8
239
+ Cache-Control:
240
+ - max-age=0, private, must-revalidate
241
+ Etag:
242
+ - "\"d751713988987e9331980363e24189ce\""
243
+ Server:
244
+ - thin 1.2.11 codename Bat-Shit Crazy
245
+ X-Runtime:
246
+ - "0.035369"
247
+ Transfer-Encoding:
248
+ - chunked
249
+ X-Ua-Compatible:
250
+ - IE=Edge,chrome=1
251
+ Date:
252
+ - Mon, 20 Aug 2012 18:22:13 GMT
253
+ body:
254
+ string: "[]"
255
+ http_version:
256
+ recorded_at: Wed, 01 Aug 2012 17:38:22 GMT
257
+ recorded_with: VCR 2.2.4