runcible 0.0.5 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/runcible/version.rb +1 -1
- metadata +8 -153
- data/.gitignore +0 -18
- data/Gemfile +0 -19
- data/LICENSE +0 -22
- data/README.md +0 -29
- data/Rakefile +0 -37
- data/rel-eng/packages/.readme +0 -3
- data/rel-eng/packages/rubygem-runcible +0 -1
- data/rel-eng/tito.props +0 -5
- data/runcible.gemspec +0 -17
- data/runcible.spec +0 -66
- data/test/.gitkeep +0 -0
- data/test/integration/extensions/repository_test.rb +0 -117
- data/test/integration/fixtures/repositories/zoo5/.treeinfo +0 -12
- data/test/integration/fixtures/repositories/zoo5/CHANGESET +0 -11
- data/test/integration/fixtures/repositories/zoo5/PULP_MANIFEST +0 -1
- data/test/integration/fixtures/repositories/zoo5/cheetah-0.3-0.8.noarch.rpm +0 -0
- data/test/integration/fixtures/repositories/zoo5/create.sh +0 -20
- data/test/integration/fixtures/repositories/zoo5/elephant-0.3-0.8.noarch.rpm +0 -0
- data/test/integration/fixtures/repositories/zoo5/empty.iso +0 -0
- data/test/integration/fixtures/repositories/zoo5/giraffe-0.3-0.8.noarch.rpm +0 -0
- data/test/integration/fixtures/repositories/zoo5/images/test1.img +0 -0
- data/test/integration/fixtures/repositories/zoo5/images/test2.img +0 -0
- data/test/integration/fixtures/repositories/zoo5/lion-0.3-0.8.noarch.rpm +0 -0
- data/test/integration/fixtures/repositories/zoo5/monkey-0.3-0.8.noarch.rpm +0 -0
- data/test/integration/fixtures/repositories/zoo5/penguin-0.3-0.8.noarch.rpm +0 -0
- data/test/integration/fixtures/repositories/zoo5/repodata/06661e2a9839cf0beebcf409410ca4f93c09081f4e772fd0d03e1faf62705a11-comps.xml +0 -39
- data/test/integration/fixtures/repositories/zoo5/repodata/0c4d57a68f9a3b13dabc6f8b01ca8958aa796167cececee04717edfc26d02f2d-other.xml.gz +0 -0
- data/test/integration/fixtures/repositories/zoo5/repodata/298ce23f48b3613e030d19f3d9c2ff2df31c2f08479bdf94cebb87c208e48c0e-filelists.xml.gz +0 -0
- data/test/integration/fixtures/repositories/zoo5/repodata/32c0e38317aade0c057b173ff62344e912e1bd650409c6ac31aecee78e3413af-comps.xml.gz +0 -0
- data/test/integration/fixtures/repositories/zoo5/repodata/34d954906c7ce7aa2254e24d7be0a9049e0a2f436add023ca056123a2d48e30e-updateinfo.xml.gz +0 -0
- data/test/integration/fixtures/repositories/zoo5/repodata/63aedd074d9f0daf7c6be8c61f91d76a962bb6ceda86b9abd2140f154c320fa2-other.sqlite.bz2 +0 -0
- data/test/integration/fixtures/repositories/zoo5/repodata/69d65cdebffc6199d3adb3e38b06ca9abaae6c1c7366805099987b28f182178d-filelists.sqlite.bz2 +0 -0
- data/test/integration/fixtures/repositories/zoo5/repodata/799241a518a4a6b11a68f8e6fbdb719875f87832f60accc0851ced0d6a0497c6-updateinfo.xml.gz +0 -0
- data/test/integration/fixtures/repositories/zoo5/repodata/a4ea9fcdce31dc8673c7a9ba66c086bd6a16e1eff717e3896dd1cac444a1423c-primary.xml.gz +0 -0
- data/test/integration/fixtures/repositories/zoo5/repodata/fb9b9508e148368d0edf7e03dc905b343937fd958e6531cce6380933d18c3455-primary.sqlite.bz2 +0 -0
- data/test/integration/fixtures/repositories/zoo5/repodata/repomd.xml +0 -75
- data/test/integration/fixtures/repositories/zoo5/squirrel-0.3-0.8.noarch.rpm +0 -0
- data/test/integration/fixtures/repositories/zoo5/updateinfo.xml +0 -26
- data/test/integration/fixtures/repositories/zoo5/walrus-0.3-0.8.noarch.rpm +0 -0
- data/test/integration/fixtures/vcr_cassettes/extensions/pulp_repository_extensions.yml +0 -137
- data/test/integration/fixtures/vcr_cassettes/pulp_consumer.yml +0 -1529
- data/test/integration/fixtures/vcr_cassettes/pulp_consumer_group.yml +0 -430
- data/test/integration/fixtures/vcr_cassettes/pulp_consumer_helper.yml +0 -120
- data/test/integration/fixtures/vcr_cassettes/pulp_distribution.yml +0 -77
- data/test/integration/fixtures/vcr_cassettes/pulp_errata.yml +0 -77
- data/test/integration/fixtures/vcr_cassettes/pulp_filter.yml +0 -233
- data/test/integration/fixtures/vcr_cassettes/pulp_filter_helper.yml +0 -81
- data/test/integration/fixtures/vcr_cassettes/pulp_package.yml +0 -155
- data/test/integration/fixtures/vcr_cassettes/pulp_package_group.yml +0 -40
- data/test/integration/fixtures/vcr_cassettes/pulp_package_group_category.yml +0 -40
- data/test/integration/fixtures/vcr_cassettes/pulp_ping.yml +0 -40
- data/test/integration/fixtures/vcr_cassettes/pulp_repository.yml +0 -1196
- data/test/integration/fixtures/vcr_cassettes/pulp_repository_helper.yml +0 -8659
- data/test/integration/fixtures/vcr_cassettes/pulp_repository_sync.yml +0 -215
- data/test/integration/fixtures/vcr_cassettes/pulp_role.yml +0 -193
- data/test/integration/fixtures/vcr_cassettes/pulp_roles.yml +0 -120
- data/test/integration/fixtures/vcr_cassettes/pulp_task.yml +0 -943
- data/test/integration/fixtures/vcr_cassettes/pulp_user.yml +0 -664
- data/test/integration/fixtures/vcr_cassettes/pulp_user_helper.yml +0 -683
- data/test/integration/resources/helpers/consumer_helper.rb +0 -49
- data/test/integration/resources/helpers/filter_helper.rb +0 -44
- data/test/integration/resources/helpers/repository_helper.rb +0 -127
- data/test/integration/resources/pulp_consumer_group_test.rb +0 -182
- data/test/integration/resources/pulp_consumer_test.rb +0 -200
- data/test/integration/resources/pulp_distribution_test.rb +0 -55
- data/test/integration/resources/pulp_errata_test.rb +0 -60
- data/test/integration/resources/pulp_filter_test.rb +0 -92
- data/test/integration/resources/pulp_package_group_category_test.rb +0 -55
- data/test/integration/resources/pulp_package_group_test.rb +0 -56
- data/test/integration/resources/pulp_package_test.rb +0 -79
- data/test/integration/resources/pulp_ping_test.rb +0 -31
- data/test/integration/resources/pulp_repository_test.rb +0 -307
- data/test/integration/resources/pulp_role_test.rb +0 -62
- data/test/integration/resources/pulp_task_test.rb +0 -79
- data/test/integration/resources/pulp_user_test.rb +0 -105
- data/test/integration/test_runner.rb +0 -121
- data/test/integration/vcr_setup.rb +0 -22
- data/test/unit/test_base.rb +0 -62
@@ -1,215 +0,0 @@
|
|
1
|
-
---
|
2
|
-
recorded_with: VCR 2.2.4
|
3
|
-
http_interactions:
|
4
|
-
- request:
|
5
|
-
method: post
|
6
|
-
uri: https://localhost/pulp/api/repositories/integration_test_id/generate_metadata/
|
7
|
-
body:
|
8
|
-
string: ""
|
9
|
-
headers:
|
10
|
-
Content-Length:
|
11
|
-
- "0"
|
12
|
-
Accept:
|
13
|
-
- "*/*; q=0.5, application/xml"
|
14
|
-
Accept-Language:
|
15
|
-
- en
|
16
|
-
Authorization:
|
17
|
-
- OAuth oauth_body_hash="2jmj7l5rSw0yVb%2FvlWAYkK%2FYBwk%3D", oauth_consumer_key="katello", oauth_nonce="OXtT9p2xAyLSO2r5DgSfssjqzqtGs4zl1VraN0", oauth_signature="as4O0vvDLzkdnTPbowNUzmx44KE%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1346291348", oauth_version="1.0"
|
18
|
-
Pulp-User:
|
19
|
-
- admin
|
20
|
-
Content-Type:
|
21
|
-
- application/json
|
22
|
-
Accept-Encoding:
|
23
|
-
- gzip, deflate
|
24
|
-
response:
|
25
|
-
status:
|
26
|
-
code: 202
|
27
|
-
message: Accepted
|
28
|
-
headers:
|
29
|
-
Content-Length:
|
30
|
-
- "358"
|
31
|
-
Server:
|
32
|
-
- Apache/2.2.22 (Fedora)
|
33
|
-
Date:
|
34
|
-
- Thu, 30 Aug 2012 01:49:08 GMT
|
35
|
-
Connection:
|
36
|
-
- close
|
37
|
-
Content-Type:
|
38
|
-
- application/json
|
39
|
-
body:
|
40
|
-
string: "{\"scheduled_time\": \"2012-08-30T01:49:08Z\", \"exception\": null, \"traceback\": null, \"job_id\": null, \"class_name\": \"RepoApi\", \"start_time\": null, \"args\": [\"integration_test_id\"], \"method_name\": \"_generate_metadata\", \"finish_time\": null, \"state\": \"waiting\", \"result\": null, \"scheduler\": \"immediate\", \"progress\": null, \"id\": \"e3658359-f244-11e1-b3ec-bc305bcab086\"}"
|
41
|
-
http_version:
|
42
|
-
recorded_at: Thu, 30 Aug 2012 01:49:08 GMT
|
43
|
-
- request:
|
44
|
-
method: post
|
45
|
-
uri: https://localhost/pulp/api/repositories/integration_test_id/sync/
|
46
|
-
body:
|
47
|
-
string: "{\"threads\":4}"
|
48
|
-
headers:
|
49
|
-
Content-Length:
|
50
|
-
- "13"
|
51
|
-
Accept:
|
52
|
-
- "*/*; q=0.5, application/xml"
|
53
|
-
Accept-Language:
|
54
|
-
- en
|
55
|
-
Authorization:
|
56
|
-
- OAuth oauth_body_hash="2jmj7l5rSw0yVb%2FvlWAYkK%2FYBwk%3D", oauth_consumer_key="katello", oauth_nonce="9NOsELIelMKxUmgE74OP1c6gV3oba3sHGfF2UeMkI", oauth_signature="a43DwIwvWe%2FTLWEnxqphpZblYNk%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1346291356", oauth_version="1.0"
|
57
|
-
Pulp-User:
|
58
|
-
- admin
|
59
|
-
Content-Type:
|
60
|
-
- application/json
|
61
|
-
Accept-Encoding:
|
62
|
-
- gzip, deflate
|
63
|
-
response:
|
64
|
-
status:
|
65
|
-
code: 202
|
66
|
-
message: Accepted
|
67
|
-
headers:
|
68
|
-
Content-Length:
|
69
|
-
- "340"
|
70
|
-
Server:
|
71
|
-
- Apache/2.2.22 (Fedora)
|
72
|
-
Date:
|
73
|
-
- Thu, 30 Aug 2012 01:49:16 GMT
|
74
|
-
Connection:
|
75
|
-
- close
|
76
|
-
Content-Type:
|
77
|
-
- application/json
|
78
|
-
body:
|
79
|
-
string: "{\"scheduled_time\": \"2012-08-30T01:49:16Z\", \"exception\": null, \"traceback\": null, \"job_id\": null, \"class_name\": null, \"start_time\": null, \"args\": [\"integration_test_id\"], \"method_name\": \"_sync\", \"finish_time\": null, \"state\": \"waiting\", \"result\": null, \"scheduler\": \"immediate\", \"progress\": null, \"id\": \"e83a1b82-f244-11e1-9394-bc305bcab086\"}"
|
80
|
-
http_version:
|
81
|
-
recorded_at: Thu, 30 Aug 2012 01:49:16 GMT
|
82
|
-
- request:
|
83
|
-
method: get
|
84
|
-
uri: https://localhost/pulp/api/repositories/integration_test_id/sync/
|
85
|
-
body:
|
86
|
-
string: ""
|
87
|
-
headers:
|
88
|
-
Accept:
|
89
|
-
- "*/*; q=0.5, application/xml"
|
90
|
-
Accept-Language:
|
91
|
-
- en
|
92
|
-
Authorization:
|
93
|
-
- OAuth oauth_consumer_key="katello", oauth_nonce="XBahcO0fPAy38d3tayV1q4cYb2FZ8Go4tihqmr3Q", oauth_signature="CwDNBz9917S3QlJO2KKqXKvuMsQ%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1346291369", oauth_version="1.0"
|
94
|
-
Pulp-User:
|
95
|
-
- admin
|
96
|
-
Content-Type:
|
97
|
-
- application/json
|
98
|
-
Accept-Encoding:
|
99
|
-
- gzip, deflate
|
100
|
-
response:
|
101
|
-
status:
|
102
|
-
code: 200
|
103
|
-
message: OK
|
104
|
-
headers:
|
105
|
-
Content-Length:
|
106
|
-
- "857"
|
107
|
-
Server:
|
108
|
-
- Apache/2.2.22 (Fedora)
|
109
|
-
Date:
|
110
|
-
- Thu, 30 Aug 2012 01:49:29 GMT
|
111
|
-
Connection:
|
112
|
-
- close
|
113
|
-
Content-Type:
|
114
|
-
- application/json
|
115
|
-
body:
|
116
|
-
string: "[{\"scheduled_time\": null, \"exception\": null, \"traceback\": null, \"job_id\": null, \"class_name\": null, \"start_time\": \"2012-08-29T21:49:24-04:00\", \"args\": [\"integration_test_id\"], \"method_name\": \"_sync\", \"finish_time\": \"2012-08-29T21:49:26-04:00\", \"state\": \"finished\", \"result\": true, \"scheduler\": \"immediate\", \"progress\": {\"status\": \"running\", \"size_total\": 17872, \"num_download\": 2, \"items_left\": 0, \"items_total\": 10, \"step\": \"Running Createrepo\", \"num_success\": 10, \"item_name\": \"\", \"item_type\": \"\", \"size_left\": 0, \"details\": {\"tree_file\": {\"num_success\": 2, \"total_count\": 2, \"items_left\": 0, \"size_left\": 0, \"num_error\": 0, \"total_size_bytes\": 0}, \"rpm\": {\"num_success\": 8, \"total_count\": 8, \"items_left\": 0, \"size_left\": 0, \"num_error\": 0, \"total_size_bytes\": 17872}}, \"error_details\": [], \"num_error\": 0}, \"id\": \"ed36e4fa-f244-11e1-b444-bc305bcab086\"}]"
|
117
|
-
http_version:
|
118
|
-
recorded_at: Thu, 30 Aug 2012 01:49:29 GMT
|
119
|
-
- request:
|
120
|
-
method: get
|
121
|
-
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id/
|
122
|
-
body:
|
123
|
-
string: ""
|
124
|
-
headers:
|
125
|
-
Accept:
|
126
|
-
- application/json
|
127
|
-
Content-Type:
|
128
|
-
- application/json
|
129
|
-
Accept-Encoding:
|
130
|
-
- gzip, deflate
|
131
|
-
response:
|
132
|
-
status:
|
133
|
-
code: 200
|
134
|
-
message: OK
|
135
|
-
headers:
|
136
|
-
Content-Length:
|
137
|
-
- "265"
|
138
|
-
Server:
|
139
|
-
- Apache/2.2.22 (Fedora)
|
140
|
-
Date:
|
141
|
-
- Mon, 10 Sep 2012 02:11:39 GMT
|
142
|
-
Connection:
|
143
|
-
- close
|
144
|
-
Content-Type:
|
145
|
-
- application/json
|
146
|
-
body:
|
147
|
-
string: "{\"scratchpad\": {}, \"display_name\": \"integration_test_id\", \"description\": null, \"_ns\": \"repos\", \"notes\": {}, \"content_unit_count\": 0, \"_id\": {\"$oid\": \"504d4c4aec6a6d6976001998\"}, \"id\": \"integration_test_id\", \"_href\": \"/pulp/api/v2/repositories/integration_test_id/\"}"
|
148
|
-
http_version:
|
149
|
-
recorded_at: Mon, 10 Sep 2012 02:11:39 GMT
|
150
|
-
- request:
|
151
|
-
method: get
|
152
|
-
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id/?details=true
|
153
|
-
body:
|
154
|
-
string: ""
|
155
|
-
headers:
|
156
|
-
Accept:
|
157
|
-
- application/json
|
158
|
-
Content-Type:
|
159
|
-
- application/json
|
160
|
-
Accept-Encoding:
|
161
|
-
- gzip, deflate
|
162
|
-
response:
|
163
|
-
status:
|
164
|
-
code: 200
|
165
|
-
message: OK
|
166
|
-
headers:
|
167
|
-
Content-Length:
|
168
|
-
- "627"
|
169
|
-
Server:
|
170
|
-
- Apache/2.2.22 (Fedora)
|
171
|
-
Date:
|
172
|
-
- Mon, 10 Sep 2012 02:27:24 GMT
|
173
|
-
Connection:
|
174
|
-
- close
|
175
|
-
Content-Type:
|
176
|
-
- application/json
|
177
|
-
body:
|
178
|
-
string: "{\"scratchpad\": {}, \"display_name\": \"integration_test_id\", \"description\": null, \"_ns\": \"repos\", \"notes\": {}, \"content_unit_count\": 0, \"_id\": {\"$oid\": \"504d4fe3ec6a6d29b4000029\"}, \"id\": \"integration_test_id\", \"_href\": \"/pulp/api/v2/repositories/integration_test_id/\", \"importers\": [{\"repo_id\": \"integration_test_id\", \"_ns\": \"repo_importers\", \"importer_type_id\": \"yum_importer\", \"last_sync\": null, \"scratchpad\": null, \"scheduled_syncs\": [], \"_id\": {\"$oid\": \"504d4fe3ec6a6d29b400002a\"}, \"config\": {\"feed_url\": \"file:///home/ehelms/workspace/runcible/test/integration/resources/helpers\"}, \"id\": \"yum_importer\"}], \"distributors\": []}"
|
179
|
-
http_version:
|
180
|
-
recorded_at: Mon, 10 Sep 2012 02:27:24 GMT
|
181
|
-
- request:
|
182
|
-
method: post
|
183
|
-
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id/actions/sync/
|
184
|
-
body:
|
185
|
-
string: "{}"
|
186
|
-
headers:
|
187
|
-
Content-Length:
|
188
|
-
- "2"
|
189
|
-
Accept:
|
190
|
-
- application/json
|
191
|
-
Content-Type:
|
192
|
-
- application/json
|
193
|
-
Accept-Encoding:
|
194
|
-
- gzip, deflate
|
195
|
-
response:
|
196
|
-
status:
|
197
|
-
code: 202
|
198
|
-
message: Accepted
|
199
|
-
headers:
|
200
|
-
Content-Length:
|
201
|
-
- "445"
|
202
|
-
Content-Encoding:
|
203
|
-
- utf-8
|
204
|
-
Server:
|
205
|
-
- Apache/2.2.22 (Fedora)
|
206
|
-
Date:
|
207
|
-
- Mon, 10 Sep 2012 05:57:05 GMT
|
208
|
-
Connection:
|
209
|
-
- close
|
210
|
-
Content-Type:
|
211
|
-
- application/json
|
212
|
-
body:
|
213
|
-
string: "[{\"task_group_id\": \"7b3b6eda-1207-45d4-9ef0-83ebe3802680\", \"exception\": null, \"_href\": \"/pulp/api/v2/task_groups/7b3b6eda-1207-45d4-9ef0-83ebe3802680/\", \"task_id\": \"59852119-fb0c-11e1-aa7e-5254004526ad\", \"tags\": [\"pulp:repository:integration_test_id\", \"pulp:action:sync\"], \"reasons\": [], \"start_time\": null, \"traceback\": null, \"schedule_id\": null, \"finish_time\": null, \"state\": \"waiting\", \"result\": null, \"progress\": {}, \"response\": \"accepted\"}]"
|
214
|
-
http_version:
|
215
|
-
recorded_at: Mon, 10 Sep 2012 05:57:05 GMT
|
@@ -1,193 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://admin:admin@localhost/pulp/api/v2/roles/super-users/users
|
6
|
-
body:
|
7
|
-
string: "{\"login\":\"integration_test_user\"}"
|
8
|
-
headers:
|
9
|
-
Content-Type:
|
10
|
-
- application/json
|
11
|
-
Accept-Encoding:
|
12
|
-
- gzip, deflate
|
13
|
-
Accept:
|
14
|
-
- application/json
|
15
|
-
Content-Length:
|
16
|
-
- "33"
|
17
|
-
response:
|
18
|
-
status:
|
19
|
-
code: 404
|
20
|
-
message: Not Found
|
21
|
-
headers:
|
22
|
-
Content-Type:
|
23
|
-
- text/html; charset=UTF-8
|
24
|
-
Connection:
|
25
|
-
- close
|
26
|
-
Date:
|
27
|
-
- Sun, 09 Sep 2012 04:24:17 GMT
|
28
|
-
Content-Length:
|
29
|
-
- "9"
|
30
|
-
Server:
|
31
|
-
- Apache/2.2.22 (Fedora)
|
32
|
-
body:
|
33
|
-
string: not found
|
34
|
-
http_version:
|
35
|
-
recorded_at: Sun, 09 Sep 2012 04:24:17 GMT
|
36
|
-
- request:
|
37
|
-
method: post
|
38
|
-
uri: https://admin:admin@localhost/pulp/api/v2roles/super-users/users
|
39
|
-
body:
|
40
|
-
string: "{\"login\":\"integration_test_user\"}"
|
41
|
-
headers:
|
42
|
-
Content-Type:
|
43
|
-
- application/json
|
44
|
-
Accept-Encoding:
|
45
|
-
- gzip, deflate
|
46
|
-
Accept:
|
47
|
-
- application/json
|
48
|
-
Content-Length:
|
49
|
-
- "33"
|
50
|
-
response:
|
51
|
-
status:
|
52
|
-
code: 404
|
53
|
-
message: Not Found
|
54
|
-
headers:
|
55
|
-
Content-Type:
|
56
|
-
- text/html; charset=UTF-8
|
57
|
-
Connection:
|
58
|
-
- close
|
59
|
-
Date:
|
60
|
-
- Sun, 09 Sep 2012 04:24:52 GMT
|
61
|
-
Content-Length:
|
62
|
-
- "9"
|
63
|
-
Server:
|
64
|
-
- Apache/2.2.22 (Fedora)
|
65
|
-
body:
|
66
|
-
string: not found
|
67
|
-
http_version:
|
68
|
-
recorded_at: Sun, 09 Sep 2012 04:24:52 GMT
|
69
|
-
- request:
|
70
|
-
method: post
|
71
|
-
uri: https://admin:admin@localhost/pulp/api/v2/roles/super-users//users/
|
72
|
-
body:
|
73
|
-
string: "{\"login\":\"integration_test_user\"}"
|
74
|
-
headers:
|
75
|
-
Content-Type:
|
76
|
-
- application/json
|
77
|
-
Accept-Encoding:
|
78
|
-
- gzip, deflate
|
79
|
-
Accept:
|
80
|
-
- application/json
|
81
|
-
Content-Length:
|
82
|
-
- "33"
|
83
|
-
response:
|
84
|
-
status:
|
85
|
-
code: 200
|
86
|
-
message: OK
|
87
|
-
headers:
|
88
|
-
Content-Type:
|
89
|
-
- application/json
|
90
|
-
Connection:
|
91
|
-
- close
|
92
|
-
Date:
|
93
|
-
- Mon, 10 Sep 2012 01:18:30 GMT
|
94
|
-
Content-Length:
|
95
|
-
- "4"
|
96
|
-
Server:
|
97
|
-
- Apache/2.2.22 (Fedora)
|
98
|
-
body:
|
99
|
-
string: "null"
|
100
|
-
http_version:
|
101
|
-
recorded_at: Mon, 10 Sep 2012 01:18:30 GMT
|
102
|
-
- request:
|
103
|
-
method: delete
|
104
|
-
uri: https://admin:admin@localhost/pulp/api/v2/roles/super-users//users/integration_test_user/
|
105
|
-
body:
|
106
|
-
string: ""
|
107
|
-
headers:
|
108
|
-
Content-Type:
|
109
|
-
- application/json
|
110
|
-
Accept-Encoding:
|
111
|
-
- gzip, deflate
|
112
|
-
Accept:
|
113
|
-
- application/json
|
114
|
-
response:
|
115
|
-
status:
|
116
|
-
code: 200
|
117
|
-
message: OK
|
118
|
-
headers:
|
119
|
-
Content-Type:
|
120
|
-
- application/json
|
121
|
-
Connection:
|
122
|
-
- close
|
123
|
-
Date:
|
124
|
-
- Mon, 10 Sep 2012 01:18:30 GMT
|
125
|
-
Content-Length:
|
126
|
-
- "4"
|
127
|
-
Server:
|
128
|
-
- Apache/2.2.22 (Fedora)
|
129
|
-
body:
|
130
|
-
string: "null"
|
131
|
-
http_version:
|
132
|
-
recorded_at: Mon, 10 Sep 2012 01:18:30 GMT
|
133
|
-
- request:
|
134
|
-
method: post
|
135
|
-
uri: https://admin:admin@knifeparty.localdomain/pulp/api/v2/roles/super-users//users/
|
136
|
-
body:
|
137
|
-
string: "{\"login\":\"integration_test_user\"}"
|
138
|
-
headers:
|
139
|
-
Content-Type:
|
140
|
-
- application/json
|
141
|
-
Accept-Encoding:
|
142
|
-
- gzip, deflate
|
143
|
-
Accept:
|
144
|
-
- application/json
|
145
|
-
Content-Length:
|
146
|
-
- "33"
|
147
|
-
response:
|
148
|
-
status:
|
149
|
-
code: 200
|
150
|
-
message: OK
|
151
|
-
headers:
|
152
|
-
Date:
|
153
|
-
- Fri, 14 Sep 2012 12:36:06 GMT
|
154
|
-
Content-Type:
|
155
|
-
- application/json
|
156
|
-
Content-Length:
|
157
|
-
- "4"
|
158
|
-
Server:
|
159
|
-
- Apache/2.2.22 (Fedora)
|
160
|
-
body:
|
161
|
-
string: "null"
|
162
|
-
http_version:
|
163
|
-
recorded_at: Fri, 14 Sep 2012 12:36:06 GMT
|
164
|
-
- request:
|
165
|
-
method: delete
|
166
|
-
uri: https://admin:admin@knifeparty.localdomain/pulp/api/v2/roles/super-users//users/integration_test_user/
|
167
|
-
body:
|
168
|
-
string: ""
|
169
|
-
headers:
|
170
|
-
Content-Type:
|
171
|
-
- application/json
|
172
|
-
Accept-Encoding:
|
173
|
-
- gzip, deflate
|
174
|
-
Accept:
|
175
|
-
- application/json
|
176
|
-
response:
|
177
|
-
status:
|
178
|
-
code: 200
|
179
|
-
message: OK
|
180
|
-
headers:
|
181
|
-
Date:
|
182
|
-
- Fri, 14 Sep 2012 12:36:06 GMT
|
183
|
-
Content-Type:
|
184
|
-
- application/json
|
185
|
-
Content-Length:
|
186
|
-
- "4"
|
187
|
-
Server:
|
188
|
-
- Apache/2.2.22 (Fedora)
|
189
|
-
body:
|
190
|
-
string: "null"
|
191
|
-
http_version:
|
192
|
-
recorded_at: Fri, 14 Sep 2012 12:36:07 GMT
|
193
|
-
recorded_with: VCR 2.2.5
|
@@ -1,120 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://localhost/pulp/api/roles/super-users//add/
|
6
|
-
body:
|
7
|
-
string: "{\"username\":\"integration_test_user\"}"
|
8
|
-
headers:
|
9
|
-
Authorization:
|
10
|
-
- OAuth oauth_body_hash="2jmj7l5rSw0yVb%2FvlWAYkK%2FYBwk%3D", oauth_consumer_key="katello", oauth_nonce="KzEQH8n4h3eLYabk61UmEibiv3rPD2iB1F7gViA", oauth_signature="s7EAE1R%2Fo1ImCkf4FrkkUst0kwo%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1346291179", oauth_version="1.0"
|
11
|
-
Accept-Encoding:
|
12
|
-
- gzip, deflate
|
13
|
-
Pulp-User:
|
14
|
-
- admin
|
15
|
-
Content-Length:
|
16
|
-
- "36"
|
17
|
-
Accept-Language:
|
18
|
-
- en
|
19
|
-
Accept:
|
20
|
-
- "*/*; q=0.5, application/xml"
|
21
|
-
Content-Type:
|
22
|
-
- application/json
|
23
|
-
response:
|
24
|
-
status:
|
25
|
-
code: 200
|
26
|
-
message: OK
|
27
|
-
headers:
|
28
|
-
Server:
|
29
|
-
- Apache/2.2.22 (Fedora)
|
30
|
-
Connection:
|
31
|
-
- close
|
32
|
-
Content-Length:
|
33
|
-
- "4"
|
34
|
-
Content-Type:
|
35
|
-
- application/json
|
36
|
-
Date:
|
37
|
-
- Thu, 30 Aug 2012 01:46:19 GMT
|
38
|
-
body:
|
39
|
-
string: "true"
|
40
|
-
http_version:
|
41
|
-
recorded_at: Thu, 30 Aug 2012 01:46:19 GMT
|
42
|
-
- request:
|
43
|
-
method: post
|
44
|
-
uri: https://localhost/pulp/api/roles/super-users//remove/
|
45
|
-
body:
|
46
|
-
string: "{\"username\":\"integration_test_user\"}"
|
47
|
-
headers:
|
48
|
-
Authorization:
|
49
|
-
- OAuth oauth_body_hash="2jmj7l5rSw0yVb%2FvlWAYkK%2FYBwk%3D", oauth_consumer_key="katello", oauth_nonce="G4C8yJDGSXosThUu9FCgm35pqjIwWa9uoqdWcu8SsBA", oauth_signature="7YV4pb7LKncgJU4mss1DX1pBSXg%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1346291179", oauth_version="1.0"
|
50
|
-
Accept-Encoding:
|
51
|
-
- gzip, deflate
|
52
|
-
Pulp-User:
|
53
|
-
- admin
|
54
|
-
Content-Length:
|
55
|
-
- "36"
|
56
|
-
Accept-Language:
|
57
|
-
- en
|
58
|
-
Accept:
|
59
|
-
- "*/*; q=0.5, application/xml"
|
60
|
-
Content-Type:
|
61
|
-
- application/json
|
62
|
-
response:
|
63
|
-
status:
|
64
|
-
code: 200
|
65
|
-
message: OK
|
66
|
-
headers:
|
67
|
-
Server:
|
68
|
-
- Apache/2.2.22 (Fedora)
|
69
|
-
Connection:
|
70
|
-
- close
|
71
|
-
Content-Length:
|
72
|
-
- "4"
|
73
|
-
Content-Type:
|
74
|
-
- application/json
|
75
|
-
Date:
|
76
|
-
- Thu, 30 Aug 2012 01:46:19 GMT
|
77
|
-
body:
|
78
|
-
string: "true"
|
79
|
-
http_version:
|
80
|
-
recorded_at: Thu, 30 Aug 2012 01:46:19 GMT
|
81
|
-
- request:
|
82
|
-
method: post
|
83
|
-
uri: https://localhost/pulp/api/roles/super-users//remove/
|
84
|
-
body:
|
85
|
-
string: "{\"username\":\"integration_test_user\"}"
|
86
|
-
headers:
|
87
|
-
Authorization:
|
88
|
-
- OAuth oauth_body_hash="2jmj7l5rSw0yVb%2FvlWAYkK%2FYBwk%3D", oauth_consumer_key="katello", oauth_nonce="wlXvYf7gfzAnF8QweD5IMfMXbq9vCEOivyibgmfl1g", oauth_signature="BfFKztTi%2FecFCartIaoaKLoaeEg%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1346291179", oauth_version="1.0"
|
89
|
-
Accept-Encoding:
|
90
|
-
- gzip, deflate
|
91
|
-
Pulp-User:
|
92
|
-
- admin
|
93
|
-
Content-Length:
|
94
|
-
- "36"
|
95
|
-
Accept-Language:
|
96
|
-
- en
|
97
|
-
Accept:
|
98
|
-
- "*/*; q=0.5, application/xml"
|
99
|
-
Content-Type:
|
100
|
-
- application/json
|
101
|
-
response:
|
102
|
-
status:
|
103
|
-
code: 200
|
104
|
-
message: OK
|
105
|
-
headers:
|
106
|
-
Server:
|
107
|
-
- Apache/2.2.22 (Fedora)
|
108
|
-
Connection:
|
109
|
-
- close
|
110
|
-
Content-Length:
|
111
|
-
- "5"
|
112
|
-
Content-Type:
|
113
|
-
- application/json
|
114
|
-
Date:
|
115
|
-
- Thu, 30 Aug 2012 01:46:19 GMT
|
116
|
-
body:
|
117
|
-
string: "false"
|
118
|
-
http_version:
|
119
|
-
recorded_at: Thu, 30 Aug 2012 01:46:19 GMT
|
120
|
-
recorded_with: VCR 2.2.4
|