Revision db77e602
Added by Partha Aji over 8 years ago
README.md | ||
---|---|---|
4 | 4 |
|
5 | 5 |
Exposing Pulp's juiciest parts. http://www.pulpproject.org/ |
6 | 6 |
|
7 |
Latest Live Tested Version: **pulp-server-2.4.0-0.14.beta.el6.noarch**
|
|
7 |
Latest Live Tested Version: **pulp-server-2.5.0-0.1.alpha.el6.noarch**
|
|
8 | 8 |
|
9 | 9 |
Current stable Runcible: https://github.com/Katello/runcible/tree/0.3 |
10 | 10 |
|
lib/runcible/extensions/docker_image.rb | ||
---|---|---|
1 |
# Copyright (c) 2014 Red Hat |
|
2 |
# |
|
3 |
# MIT License |
|
4 |
# |
|
5 |
# Permission is hereby granted, free of charge, to any person obtaining |
|
6 |
# a copy of this software and associated documentation files (the |
|
7 |
# "Software"), to deal in the Software without restriction, including |
|
8 |
# without limitation the rights to use, copy, modify, merge, publish, |
|
9 |
# distribute, sublicense, and/or sell copies of the Software, and to |
|
10 |
# permit persons to whom the Software is furnished to do so, subject to |
|
11 |
# the following conditions: |
|
12 |
# |
|
13 |
# The above copyright notice and this permission notice shall be |
|
14 |
# included in all copies or substantial portions of the Software. |
|
15 |
# |
|
16 |
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
|
17 |
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
|
18 |
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
|
19 |
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE |
|
20 |
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION |
|
21 |
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION |
|
22 |
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
|
23 |
|
|
24 |
|
|
25 |
module Runcible |
|
26 |
module Extensions |
|
27 |
class DockerImage < Runcible::Extensions::Unit |
|
28 |
def self.content_type |
|
29 |
'docker_image' |
|
30 |
end |
|
31 |
end |
|
32 |
end |
|
33 |
end |
lib/runcible/models/docker_distributor.rb | ||
---|---|---|
1 |
# Copyright (c) 2014 Red Hat Inc. |
|
2 |
# |
|
3 |
# MIT License |
|
4 |
# |
|
5 |
# Permission is hereby granted, free of charge, to any person obtaining |
|
6 |
# a copy of this software and associated documentation files (the |
|
7 |
# "Software"), to deal in the Software without restriction, including |
|
8 |
# without limitation the rights to use, copy, modify, merge, publish, |
|
9 |
# distribute, sublicense, and/or sell copies of the Software, and to |
|
10 |
# permit persons to whom the Software is furnished to do so, subject to |
|
11 |
# the following conditions: |
|
12 |
# |
|
13 |
# The above copyright notice and this permission notice shall be |
|
14 |
# included in all copies or substantial portions of the Software. |
|
15 |
# |
|
16 |
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
|
17 |
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
|
18 |
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
|
19 |
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE |
|
20 |
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION |
|
21 |
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION |
|
22 |
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
|
23 |
|
|
24 |
require 'active_support/json' |
|
25 |
require 'securerandom' |
|
26 |
|
|
27 |
module Runcible |
|
28 |
module Models |
|
29 |
class DockerDistributor < Distributor |
|
30 |
#optional |
|
31 |
attr_accessor "docker_publish_directory", "protected", |
|
32 |
"redirect_url", "repo_registry_id" |
|
33 |
|
|
34 |
def initialize(params={}) |
|
35 |
super(params) |
|
36 |
end |
|
37 |
|
|
38 |
def self.type_id |
|
39 |
'docker_distributor_web' |
|
40 |
end |
|
41 |
|
|
42 |
def config |
|
43 |
to_ret = as_json |
|
44 |
to_ret.delete('auto_publish') |
|
45 |
to_ret.delete('id') |
|
46 |
to_ret |
|
47 |
end |
|
48 |
end |
|
49 |
end |
|
50 |
end |
lib/runcible/models/docker_importer.rb | ||
---|---|---|
1 |
# Copyright (c) 2014 Red Hat Inc. |
|
2 |
# |
|
3 |
# MIT License |
|
4 |
# |
|
5 |
# Permission is hereby granted, free of charge, to any person obtaining |
|
6 |
# a copy of this software and associated documentation files (the |
|
7 |
# "Software"), to deal in the Software without restriction, including |
|
8 |
# without limitation the rights to use, copy, modify, merge, publish, |
|
9 |
# distribute, sublicense, and/or sell copies of the Software, and to |
|
10 |
# permit persons to whom the Software is furnished to do so, subject to |
|
11 |
# the following conditions: |
|
12 |
# |
|
13 |
# The above copyright notice and this permission notice shall be |
|
14 |
# included in all copies or substantial portions of the Software. |
|
15 |
# |
|
16 |
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
|
17 |
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
|
18 |
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
|
19 |
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE |
|
20 |
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION |
|
21 |
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION |
|
22 |
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
|
23 |
|
|
24 |
module Runcible |
|
25 |
module Models |
|
26 |
class DockerImporter < Importer |
|
27 |
ID = 'docker_importer' |
|
28 |
REPO_TYPE = 'docker-repo' |
|
29 |
|
|
30 |
attr_accessor 'feed', 'max_speed','max_downloads', 'upstream_name', |
|
31 |
'proxy_port', 'proxy_password', 'proxy_username', "mask_id" |
|
32 |
|
|
33 |
def id |
|
34 |
DockerImporter::ID |
|
35 |
end |
|
36 |
|
|
37 |
def repo_type |
|
38 |
DockerImporter::REPO_TYPE |
|
39 |
end |
|
40 |
|
|
41 |
def config |
|
42 |
as_json |
|
43 |
end |
|
44 |
end |
|
45 |
end |
|
46 |
end |
test/extensions/docker_repository_test.rb | ||
---|---|---|
1 |
# Copyright 2014 Red Hat, Inc. |
|
2 |
# |
|
3 |
# MIT License |
|
4 |
# |
|
5 |
# Permission is hereby granted, free of charge, to any person obtaining |
|
6 |
# a copy of this software and associated documentation files (the |
|
7 |
# "Software"), to deal in the Software without restriction, including |
|
8 |
# without limitation the rights to use, copy, modify, merge, publish, |
|
9 |
# distribute, sublicense, and/or sell copies of the Software, and to |
|
10 |
# permit persons to whom the Software is furnished to do so, subject to |
|
11 |
# the following conditions: |
|
12 |
# |
|
13 |
# The above copyright notice and this permission notice shall be |
|
14 |
# included in all copies or substantial portions of the Software. |
|
15 |
# |
|
16 |
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
|
17 |
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
|
18 |
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
|
19 |
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE |
|
20 |
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION |
|
21 |
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION |
|
22 |
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
|
23 |
|
|
24 |
require 'rubygems' |
|
25 |
require 'minitest/autorun' |
|
26 |
|
|
27 |
require './test/support/repository_support' |
|
28 |
require './lib/runcible' |
|
29 |
|
|
30 |
module Extensions |
|
31 |
module TestDockerRepositoryBase |
|
32 |
def setup |
|
33 |
@support = RepositorySupport.new("docker") |
|
34 |
@extension = TestRuncible.server.extensions.repository |
|
35 |
end |
|
36 |
end |
|
37 |
|
|
38 |
class TestDockerRepositoryCreate < MiniTest::Unit::TestCase |
|
39 |
include TestDockerRepositoryBase |
|
40 |
|
|
41 |
def teardown |
|
42 |
@support.destroy_repo |
|
43 |
super |
|
44 |
end |
|
45 |
|
|
46 |
def test_create_with_importer |
|
47 |
response = @extension.create_with_importer(RepositorySupport.repo_id, {:id=>"docker_importer"}) |
|
48 |
assert_equal 201, response.code |
|
49 |
response = @extension.retrieve(RepositorySupport.repo_id, {:details => true}) |
|
50 |
assert_equal RepositorySupport.repo_id, response['id'] |
|
51 |
assert_equal "docker_importer", response['importers'].first['importer_type_id'] |
|
52 |
end |
|
53 |
|
|
54 |
def test_create_with_importer_object |
|
55 |
response = @extension.create_with_importer(RepositorySupport.repo_id, |
|
56 |
Runcible::Models::DockerImporter.new(:feed => "https://index.docker.io", |
|
57 |
:upstream_name => "busybox")) |
|
58 |
assert_equal 201, response.code |
|
59 |
response = @extension.retrieve(RepositorySupport.repo_id, {:details => true}) |
|
60 |
assert_equal RepositorySupport.repo_id, response['id'] |
|
61 |
assert_equal "docker_importer", response['importers'].first['importer_type_id'] |
|
62 |
|
|
63 |
@extension.expects(:create).with(RepositorySupport.repo_id, has_entry(:notes, anything)).returns(true) |
|
64 |
@extension.create_with_importer(RepositorySupport.repo_id, Runcible::Models::DockerImporter.new) |
|
65 |
end |
|
66 |
|
|
67 |
def test_create_with_distributors |
|
68 |
distributors = [{'type_id' => 'docker_distributor_web', 'id'=>'123', 'auto_publish'=>true, |
|
69 |
'config'=>{'docker_publish_directory' => '/path'}}] |
|
70 |
response = @extension.create_with_distributors(RepositorySupport.repo_id, distributors) |
|
71 |
|
|
72 |
assert_equal 201, response.code |
|
73 |
assert_equal RepositorySupport.repo_id, response['id'] |
|
74 |
end |
|
75 |
|
|
76 |
def test_create_with_distributor_object |
|
77 |
repo_id = RepositorySupport.repo_id + "_distro" |
|
78 |
response = @extension.create_with_distributors(repo_id, [Runcible::Models::DockerDistributor.new(:docker_publish_directory => "/path", |
|
79 |
:id => '123')]) |
|
80 |
assert_equal 201, response.code |
|
81 |
response = @extension.retrieve(repo_id, {:details => true}) |
|
82 |
assert_equal repo_id, response['id'] |
|
83 |
assert_equal 'docker_distributor_web', response['distributors'].first['distributor_type_id'] |
|
84 |
ensure |
|
85 |
@support.destroy_repo(repo_id) |
|
86 |
end |
|
87 |
|
|
88 |
def test_create_with_importer_and_distributors |
|
89 |
distributors = [{'type_id' => 'docker_distributor_web', 'id'=>'123', 'auto_publish'=>true, |
|
90 |
'config'=>{}}] |
|
91 |
response = @extension.create_with_importer_and_distributors(RepositorySupport.repo_id, {:id=>'docker_importer'}, distributors) |
|
92 |
assert_equal 201, response.code |
|
93 |
|
|
94 |
response = @extension.retrieve(RepositorySupport.repo_id, {:details => true}) |
|
95 |
assert_equal RepositorySupport.repo_id, response['id'] |
|
96 |
assert_equal 'docker_distributor_web', response['distributors'].first['distributor_type_id'] |
|
97 |
end |
|
98 |
|
|
99 |
def test_create_with_importer_and_distributors_objects |
|
100 |
distributors = [Runcible::Models::DockerDistributor.new(:id => '123')] |
|
101 |
importer = Runcible::Models::DockerImporter.new() |
|
102 |
response = @extension.create_with_importer_and_distributors(RepositorySupport.repo_id, importer, distributors) |
|
103 |
assert_equal 201, response.code |
|
104 |
|
|
105 |
response = @extension.retrieve(RepositorySupport.repo_id, {:details => true}) |
|
106 |
assert_equal RepositorySupport.repo_id, response['id'] |
|
107 |
assert_equal "docker_importer", response['importers'].first['importer_type_id'] |
|
108 |
end |
|
109 |
end |
|
110 |
end |
test/fixtures/vcr_cassettes/extensions/docker_repository_create/create_with_distributor_object.yml | ||
---|---|---|
1 |
--- |
|
2 |
http_interactions: |
|
3 |
- request: |
|
4 |
method: get |
|
5 |
uri: https://admin:admin@centos.dev/pulp/api/v2/tasks/5f3b8a72-f4e5-4ace-9a81-d7003ddaad9f/ |
|
6 |
body: |
|
7 |
encoding: US-ASCII |
|
8 |
string: '' |
|
9 |
headers: |
|
10 |
Accept: |
|
11 |
- application/json |
|
12 |
Accept-Encoding: |
|
13 |
- gzip, deflate |
|
14 |
Content-Type: |
|
15 |
- application/json |
|
16 |
User-Agent: |
|
17 |
- Ruby |
|
18 |
response: |
|
19 |
status: |
|
20 |
code: 200 |
|
21 |
message: OK |
|
22 |
headers: |
|
23 |
Date: |
|
24 |
- Tue, 23 Sep 2014 20:00:34 GMT |
|
25 |
Server: |
|
26 |
- Apache/2.2.15 (CentOS) |
|
27 |
Vary: |
|
28 |
- Accept-Encoding |
|
29 |
Content-Encoding: |
|
30 |
- gzip |
|
31 |
Content-Length: |
|
32 |
- '358' |
|
33 |
Connection: |
|
34 |
- close |
|
35 |
Content-Type: |
|
36 |
- application/json |
|
37 |
body: |
|
38 |
encoding: ASCII-8BIT |
|
39 |
string: !binary |- |
|
40 |
H4sIAAAAAAAAA41Ry27CMBD8FWT12Dwch5Dk1I/oqVUVmXgDFmls1hsoQvx7 |
|
41 |
bYcK9dTe7Jmd3ZndK4OvHixpM7F2Nc3j+LxiJN2ho4sFDzE7jzZ1gCfANBAu |
|
42 |
RbDGaTJ4SRWMQMC8ptsjDKE+C4JMWp2diiwKsvUgtrXcFMlQwjopZQ9JI2ue |
|
43 |
qE2eC6WkVM2QsZ/BWoU2/9Eskp3z9e/RZ/uw1uqJYIcyJOsIHPm+ndKO0ARZ |
|
44 |
rJZ9YNt7iA8PD3rSbt+R/ozZi5yXSd4khXgt8jbPWyHeYtgpzFzsOpI0u4D6 |
|
45 |
F9KfWkKfZSv7w2PfzsrzBKqL2wphghWLZofgXBcyIXn4evPwcYY59vdcOIry |
|
46 |
vDMz9tCdDR4AE/4iR7uX/janVB3vxihqlnigAuhl80gPE4Bo8PFdznBlT+Z+ |
|
47 |
j7Lgile8qNZF34CoNpwrMXAWTP0uGTxZCVFXuax7Dj27fQOMHKrDZgIAAA== |
|
48 |
http_version: |
|
49 |
recorded_at: Tue, 23 Sep 2014 20:00:34 GMT |
|
50 |
- request: |
|
51 |
method: get |
|
52 |
uri: https://admin:admin@centos.dev/pulp/api/v2/tasks/510c31c4-fc45-4ebf-bbc6-1fc13a19a9ba/ |
|
53 |
body: |
|
54 |
encoding: US-ASCII |
|
55 |
string: '' |
|
56 |
headers: |
|
57 |
Accept: |
|
58 |
- application/json |
|
59 |
Accept-Encoding: |
|
60 |
- gzip, deflate |
|
61 |
Content-Type: |
|
62 |
- application/json |
|
63 |
User-Agent: |
|
64 |
- Ruby |
|
65 |
response: |
|
66 |
status: |
|
67 |
code: 200 |
|
68 |
message: OK |
|
69 |
headers: |
|
70 |
Date: |
|
71 |
- Tue, 23 Sep 2014 20:46:41 GMT |
|
72 |
Server: |
|
73 |
- Apache/2.2.15 (CentOS) |
|
74 |
Vary: |
|
75 |
- Accept-Encoding |
|
76 |
Content-Encoding: |
|
77 |
- gzip |
|
78 |
Content-Length: |
|
79 |
- '358' |
|
80 |
Connection: |
|
81 |
- close |
|
82 |
Content-Type: |
|
83 |
- application/json |
|
84 |
body: |
|
85 |
encoding: ASCII-8BIT |
|
86 |
string: !binary |- |
|
87 |
H4sIAAAAAAAAA41Ry07DMBD8FWRxJA87D5qc+AhOIBQ59qa1GmJ3vWmpqv47 |
|
88 |
dlJUcYKbPbOzO7N7YfClwJGxE2sfpnkcnx4YSb/v6OwgQMzNo0s94BEwjYRP |
|
89 |
EZz1hiyeUw0jELCg6XYIQ6zPoiCTzmRHkS2CrOK5Krgqk0GVVVJCPyR9r+qE |
|
90 |
D4oXkjey6WXGfgYbHdv8R7NKtj7Uvy8+27u11kwEW5QxWUfgKfTttPGENsqW |
|
91 |
aqki295CfAR4MJPxu47M55Jd5LxM8iYRxavI27Juy/xtCTvFmatdT5JmH9Hw |
|
92 |
QvpTSygV9FLt7/v2Tp4m0N2yrRgmWnFotwjedzETUoAv1wAfZpiX/oGLR9GB |
|
93 |
93ZGBd3J4h4w4S9ydDsZbnNM9eFmjBbNGg90BINsHuluAhAt3r/rGS7s0d7u |
|
94 |
UQquVZGLuhKqgaJ+5lwXg2TR1O+SIZB1UWzqXG6UEBW7fgNaF9/gZgIAAA== |
|
95 |
http_version: |
|
96 |
recorded_at: Tue, 23 Sep 2014 20:46:41 GMT |
|
97 |
- request: |
|
98 |
method: get |
|
99 |
uri: https://admin:admin@centos.dev/pulp/api/v2/tasks/6ca3bd21-4832-4ea1-844c-b0e8804966c6/ |
|
100 |
body: |
|
101 |
encoding: US-ASCII |
|
102 |
string: '' |
|
103 |
headers: |
|
104 |
Accept: |
|
105 |
- application/json |
|
106 |
Accept-Encoding: |
|
107 |
- gzip, deflate |
|
108 |
Content-Type: |
|
109 |
- application/json |
|
110 |
User-Agent: |
|
111 |
- Ruby |
|
112 |
response: |
|
113 |
status: |
|
114 |
code: 200 |
|
115 |
message: OK |
|
116 |
headers: |
|
117 |
Date: |
|
118 |
- Tue, 23 Sep 2014 20:55:20 GMT |
|
119 |
Server: |
|
120 |
- Apache/2.2.15 (CentOS) |
|
121 |
Vary: |
|
122 |
- Accept-Encoding |
|
123 |
Content-Encoding: |
|
124 |
- gzip |
|
125 |
Content-Length: |
|
126 |
- '358' |
|
127 |
Connection: |
|
128 |
- close |
|
129 |
Content-Type: |
|
130 |
- application/json |
|
131 |
body: |
|
132 |
encoding: ASCII-8BIT |
|
133 |
string: !binary |- |
|
134 |
H4sIAAAAAAAAA41Ry07DMBD8FWRxJC/HCWlOfAQnEIpce9NaDbG73rRUVf8d |
|
135 |
OymKOMHNntnZndm9MvhS4MjYkbUP4zQMTw+MpD90dHEQIOamwaUe8ASYRsKn |
|
136 |
CM56QxYvqYYBCFjQdHuEPtZnUZBJZ7ITz2ZBVitZbjUvEtGUPBEgi6QRQiXb |
|
137 |
HJomF5u6VnXGfgYbHdv8R7NIdj7Uv88+29Vaa0aCHcqYrCPwFPp22nhCG2Vz |
|
138 |
tVSRbe8hPgLcm9H4fUfmc87O80Ik+Sbh5SvP26pqef42hx3jzMWuJ0mTj2h4 |
|
139 |
If2pJZQKtlId1n17J88j6G7eVgwTrTi0OwTvu5gJKcDXW4CPE0xz/8DFo+jA |
|
140 |
ezuhgu5s8QCYFC9ycHsZbnNK9fFujGbNEg90BINsGmg1AYgW1+9yhit7tMs9 |
|
141 |
KsELDWXD64qrDZT1c1Hosu9ZNPW7pA9kXZZNnctGcSHY7RtuBeYEZgIAAA== |
|
142 |
http_version: |
|
143 |
recorded_at: Tue, 23 Sep 2014 20:55:20 GMT |
|
144 |
- request: |
|
145 |
method: get |
|
146 |
uri: https://admin:admin@centos.dev/pulp/api/v2/tasks/4c957fa2-3a2d-4de0-87ba-d667ce2128e8/ |
|
147 |
body: |
|
148 |
encoding: US-ASCII |
|
149 |
string: '' |
|
150 |
headers: |
|
151 |
Accept: |
|
152 |
- application/json |
|
153 |
Accept-Encoding: |
|
154 |
- gzip, deflate |
|
155 |
Content-Type: |
|
156 |
- application/json |
|
157 |
User-Agent: |
|
158 |
- Ruby |
|
159 |
response: |
|
160 |
status: |
|
161 |
code: 200 |
|
162 |
message: OK |
|
163 |
headers: |
|
164 |
Date: |
|
165 |
- Tue, 23 Sep 2014 21:15:32 GMT |
|
166 |
Server: |
|
167 |
- Apache/2.2.15 (CentOS) |
|
168 |
Vary: |
|
169 |
- Accept-Encoding |
|
170 |
Content-Encoding: |
|
171 |
- gzip |
|
172 |
Content-Length: |
|
173 |
- '358' |
|
174 |
Connection: |
|
175 |
- close |
|
176 |
Content-Type: |
|
177 |
- application/json |
|
178 |
body: |
|
179 |
encoding: ASCII-8BIT |
|
180 |
string: !binary |- |
|
181 |
H4sIAAAAAAAAA41Ry27CMBD8FWT12DzsPAg59SN6alVFxt6ARRqb9QaKEP9e |
|
182 |
O6FCPbU3e2Znd2b3yuBLgSNjR9auxmkYnleMpD90dHEQIOamwaUe8ASYRsKn |
|
183 |
CM56QxYvqYYBCFjQdHuEPtZnUZBJZ7KTyGZBVqpNte6lSAopdFJqyJNmvZWJ |
|
184 |
ruu1AsFFA03GfgYbHdv8R7NIdj7Uv88+24e11owEO5QxWUfgKfTttPGENsrm |
|
185 |
aqki295DfAS4N6Px+47M55xd5LxM8k0iilfBW161BX+bw45x5mLXk6TJRzS8 |
|
186 |
kP7UEkoFW6kOj317J88j6G7eVgwTrTi0OwTvu5gJKcDXW4CPE0xz/8DFo+jA |
|
187 |
ezuhgu5s8QCY8Bc5uL0Mtzml+ng3RrNmiQc6gkE2DfQwAYgWH9/lDFf2ZJd7 |
|
188 |
VKXgIPpC1JVQGyjqNee6zDmLpn6X9IGsi6Kpc9koUeXs9g1WVsaEZgIAAA== |
|
189 |
http_version: |
|
190 |
recorded_at: Tue, 23 Sep 2014 21:15:32 GMT |
|
191 |
- request: |
|
192 |
method: post |
|
193 |
uri: https://admin:admin@centos.dev/pulp/api/v2/repositories/ |
|
194 |
body: |
|
195 |
encoding: UTF-8 |
|
196 |
string: '{"id":"integration_test_id_distro","distributors":[{"distributor_type_id":"docker_distributor_web","distributor_config":{"docker_publish_directory":"/path"},"auto_publish":false,"distributor_id":"123"}]}' |
|
197 |
headers: |
|
198 |
Accept: |
|
199 |
- application/json |
|
200 |
Accept-Encoding: |
|
201 |
- gzip, deflate |
|
202 |
Content-Type: |
|
203 |
- application/json |
|
204 |
Content-Length: |
|
205 |
- '203' |
|
206 |
User-Agent: |
|
207 |
- Ruby |
|
208 |
response: |
|
209 |
status: |
|
210 |
code: 201 |
|
211 |
message: Created |
|
212 |
headers: |
|
213 |
Date: |
|
214 |
- Wed, 24 Sep 2014 18:08:47 GMT |
|
215 |
Server: |
|
216 |
- Apache/2.2.15 (CentOS) |
|
217 |
Location: |
|
218 |
- integration_test_id_distro |
|
219 |
Vary: |
|
220 |
- Accept-Encoding |
|
221 |
Content-Encoding: |
|
222 |
- gzip |
|
223 |
Content-Length: |
|
224 |
- '201' |
|
225 |
Connection: |
|
226 |
- close |
|
227 |
Content-Type: |
|
228 |
- application/json |
|
229 |
body: |
|
230 |
encoding: ASCII-8BIT |
|
231 |
string: !binary |- |
|
232 |
H4sIAAAAAAAAA32P2woCMQxEf0WCj0LFdb39TCnbVAM1KW1XEPHfTb2/6FvI |
|
233 |
nMxMLlCG7OpwSM7DbnK5zibgqaTozpbdEXUHxBX3CpGwrViqJW+VqVmg0agO |
|
234 |
lJqqMI8x6jI6xUamap336D8Cizq8gj5UxqOcvrlBNJSf6iAj1/eV5TZCxiSl |
|
235 |
FdA6TYKp3Afol4tuvnEhdKv1qpv367D0m20foB0/kP8f2UPG0DCTxpiMS2RO |
|
236 |
C3PPoyqZsJjfBgauN1BOrc5UAQAA |
|
237 |
http_version: |
|
238 |
recorded_at: Wed, 24 Sep 2014 18:08:47 GMT |
|
239 |
- request: |
|
240 |
method: get |
|
241 |
uri: https://admin:admin@centos.dev/pulp/api/v2/repositories/integration_test_id_distro/?details=true |
|
242 |
body: |
|
243 |
encoding: US-ASCII |
|
244 |
string: '' |
|
245 |
headers: |
|
246 |
Accept: |
|
247 |
- application/json |
|
248 |
Accept-Encoding: |
|
249 |
- gzip, deflate |
|
250 |
Content-Type: |
|
251 |
- application/json |
|
252 |
User-Agent: |
|
253 |
- Ruby |
|
254 |
response: |
|
255 |
status: |
|
256 |
code: 200 |
|
257 |
message: OK |
|
258 |
headers: |
|
259 |
Date: |
|
260 |
- Wed, 24 Sep 2014 18:08:47 GMT |
|
261 |
Server: |
|
262 |
- Apache/2.2.15 (CentOS) |
|
263 |
Vary: |
|
264 |
- Accept-Encoding |
|
265 |
Content-Encoding: |
|
266 |
- gzip |
|
267 |
Content-Length: |
|
268 |
- '314' |
|
269 |
Connection: |
|
270 |
- close |
|
271 |
Content-Type: |
|
272 |
- application/json |
|
273 |
body: |
|
274 |
encoding: ASCII-8BIT |
|
275 |
string: !binary |- |
|
276 |
H4sIAAAAAAAAA42RzW7DIBCEXyVCPVZyGueveZUqQgSWGJUAgiWVZfndu8ZO |
|
277 |
4hyq9Lrz7TA7dCzJKFA2QSh2WHT9+4Ipk4IVLXfiAjRjxiGcCTLecYSE3ChO |
|
278 |
DEbPBhrIwYRBJdhla0cLjOaU0cdE06+ORQieFl/7cTdsjPyTDWlWEB3yyZrU |
|
279 |
PB4TpM+mWtgENE6yAZUtqJsGJcrxOR7HNsAUTHn5DXH+Kv+BUwlVgI69+ZHc |
|
280 |
rFf1ci+0rre7bb3c7PRa7T+3Szb0J73T5lz4yXEKQM4RJNm2g0cVBDZlYfT8 |
|
281 |
WNWsP96uzM4gF0qBehzqPJYbyi89qAgXf51zFADBTar02eF9a9ZuadRcgo8I |
|
282 |
8V7N/y7d6FnwF//ZRNDjvdmGSgRTXVdVCWCoCgOp+tugYv0vP0Xw3KICAAA= |
|
283 |
http_version: |
|
284 |
recorded_at: Wed, 24 Sep 2014 18:08:47 GMT |
|
285 |
- request: |
|
286 |
method: delete |
|
287 |
uri: https://admin:admin@centos.dev/pulp/api/v2/repositories/integration_test_id_distro/ |
|
288 |
body: |
|
289 |
encoding: US-ASCII |
|
290 |
string: '' |
|
291 |
headers: |
|
292 |
Accept: |
|
293 |
- application/json |
|
294 |
Accept-Encoding: |
|
295 |
- gzip, deflate |
|
296 |
Content-Type: |
|
297 |
- application/json |
|
298 |
User-Agent: |
|
299 |
- Ruby |
|
300 |
response: |
|
301 |
status: |
|
302 |
code: 202 |
|
303 |
message: Accepted |
|
304 |
headers: |
|
305 |
Date: |
|
306 |
- Wed, 24 Sep 2014 18:08:47 GMT |
|
307 |
Server: |
|
308 |
- Apache/2.2.15 (CentOS) |
|
309 |
Content-Encoding: |
|
310 |
- utf-8 |
|
311 |
Content-Length: |
|
312 |
- '172' |
|
313 |
Connection: |
|
314 |
- close |
|
315 |
Content-Type: |
|
316 |
- application/json |
|
317 |
body: |
|
318 |
encoding: UTF-8 |
|
319 |
string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/e4cf388f-f6a6-494b-82a5-31c896249f21/", |
|
320 |
"task_id": "e4cf388f-f6a6-494b-82a5-31c896249f21"}], "result": null, "error": |
|
321 |
null}' |
|
322 |
http_version: |
|
323 |
recorded_at: Wed, 24 Sep 2014 18:08:48 GMT |
|
324 |
- request: |
|
325 |
method: get |
|
326 |
uri: https://admin:admin@centos.dev/pulp/api/v2/tasks/e4cf388f-f6a6-494b-82a5-31c896249f21/ |
|
327 |
body: |
|
328 |
encoding: US-ASCII |
|
329 |
string: '' |
|
330 |
headers: |
|
331 |
Accept: |
|
332 |
- application/json |
|
333 |
Accept-Encoding: |
|
334 |
- gzip, deflate |
|
335 |
Content-Type: |
|
336 |
- application/json |
|
337 |
User-Agent: |
|
338 |
- Ruby |
|
339 |
response: |
|
340 |
status: |
|
341 |
code: 200 |
|
342 |
message: OK |
|
343 |
headers: |
|
344 |
Date: |
|
345 |
- Wed, 24 Sep 2014 18:08:48 GMT |
|
346 |
Server: |
|
347 |
- Apache/2.2.15 (CentOS) |
|
348 |
Vary: |
|
349 |
- Accept-Encoding |
|
350 |
Content-Encoding: |
|
351 |
- gzip |
|
352 |
Content-Length: |
|
353 |
- '359' |
|
354 |
Connection: |
|
355 |
- close |
|
356 |
Content-Type: |
|
357 |
- application/json |
|
358 |
body: |
|
359 |
encoding: ASCII-8BIT |
|
360 |
string: !binary |- |
|
361 |
H4sIAAAAAAAAA41Ry27CMBD8FWT12LxNcHLqR/TUqopMvAaLNDbrDRQh/r12 |
|
362 |
QoV6am/27M7uzM6VwVcPjowdWbsap2F4XjGS/tDRxUGAmJsGl3rAE2AaCz5F |
|
363 |
cNYbsnhJFQxAwAKn2yPo2J9FQiadyU5lNhMy4L2uhNCJrmWd8IZvE1HKdVIV |
|
364 |
vWjqkje6LDL2s9ioOOY/nIWy86H/fdbZPqS1ZiTYoYzOOgJPYW6njCe0kTZ3 |
|
365 |
yz5W27uJjwBrMxq/78h8zt7LvOBJ3iQlfy1Em4uWi7fZ7Bh3LnI9SZp8RMML |
|
366 |
6U8uoexhK/vD497eyfMIqpuvFc1EKQ7tDsH7LnpCCvD1FuDjBNM8P9RiKCrU |
|
367 |
vZ2wh+5s8QCY5C9ycHsZsjml6ngXRjNnsQcqgoE2DfQQAYgWH98lhit7skse |
|
368 |
a15WudjmUIm8UHojdS8AipJFUb9bdFVv6ipfbzRXIauK3b4BJYyp02YCAAA= |
|
369 |
http_version: |
|
370 |
recorded_at: Wed, 24 Sep 2014 18:08:48 GMT |
|
371 |
- request: |
|
372 |
method: delete |
|
373 |
uri: https://admin:admin@centos.dev/pulp/api/v2/repositories/integration_test_id/ |
|
374 |
body: |
|
375 |
encoding: US-ASCII |
|
376 |
string: '' |
|
377 |
headers: |
|
378 |
Accept: |
|
379 |
- application/json |
|
380 |
Accept-Encoding: |
|
381 |
- gzip, deflate |
|
382 |
Content-Type: |
|
383 |
- application/json |
|
384 |
User-Agent: |
|
385 |
- Ruby |
|
386 |
response: |
|
387 |
status: |
|
388 |
code: 404 |
|
389 |
message: Not Found |
|
390 |
headers: |
|
391 |
Date: |
|
392 |
- Wed, 24 Sep 2014 18:08:48 GMT |
|
393 |
Server: |
|
394 |
- Apache/2.2.15 (CentOS) |
|
395 |
Content-Encoding: |
|
396 |
- utf-8 |
|
397 |
Content-Length: |
|
398 |
- '442' |
|
399 |
Connection: |
|
400 |
- close |
|
401 |
Content-Type: |
|
402 |
- application/json |
|
403 |
body: |
|
404 |
encoding: UTF-8 |
|
405 |
string: '{"http_request_method": "DELETE", "exception": null, "error_message": |
|
406 |
"Missing resource(s): repo_id=integration_test_id", "_href": "/pulp/api/v2/repositories/integration_test_id/", |
|
407 |
"http_status": 404, "error": {"code": "PLP0009", "data": {"resources": {"repo_id": |
|
408 |
"integration_test_id"}}, "description": "Missing resource(s): repo_id=integration_test_id", |
|
409 |
"sub_errors": []}, "traceback": null, "resources": {"repo_id": "integration_test_id"}}' |
|
410 |
http_version: |
|
411 |
recorded_at: Wed, 24 Sep 2014 18:08:48 GMT |
|
412 |
recorded_with: VCR 2.9.3 |
test/fixtures/vcr_cassettes/extensions/docker_repository_create/create_with_distributors.yml | ||
---|---|---|
1 |
--- |
|
2 |
http_interactions: |
|
3 |
- request: |
|
4 |
method: get |
|
5 |
uri: https://admin:admin@centos.dev/pulp/api/v2/tasks/39efd5a4-5fab-45d1-a0a7-057bf007d012/ |
|
6 |
body: |
|
7 |
encoding: US-ASCII |
|
8 |
string: '' |
|
9 |
headers: |
|
10 |
Accept: |
|
11 |
- application/json |
|
12 |
Accept-Encoding: |
|
13 |
- gzip, deflate |
|
14 |
Content-Type: |
|
15 |
- application/json |
|
16 |
User-Agent: |
|
17 |
- Ruby |
|
18 |
response: |
|
19 |
status: |
|
20 |
code: 200 |
|
21 |
message: OK |
|
22 |
headers: |
|
23 |
Date: |
|
24 |
- Tue, 23 Sep 2014 20:46:38 GMT |
|
25 |
Server: |
|
26 |
- Apache/2.2.15 (CentOS) |
|
27 |
Vary: |
|
28 |
- Accept-Encoding |
|
29 |
Content-Encoding: |
|
30 |
- gzip |
|
31 |
Content-Length: |
|
32 |
- '354' |
|
33 |
Connection: |
|
34 |
- close |
|
35 |
Content-Type: |
|
36 |
- application/json |
|
37 |
body: |
|
38 |
encoding: ASCII-8BIT |
|
39 |
string: !binary |- |
|
40 |
H4sIAAAAAAAAA41Ry27DIBD8lQj1GNsYP+NTP6KnVpVFYJ2guIYsOGkU9d8L |
|
41 |
OJXVU3uDmZ3dmd07gU8Bxik9kW4zzeO43RDH7al3NwMeImYeTWoBL4BpIGyK |
|
42 |
YLRVTuMtlTCCA+I1/RFhCPVZEGTcqOzCsijIih0MsuJlUg18n5SVzBNOeZPQ |
|
43 |
qtkPlDaS5iwjP4OVDG3+o1kkB+vr36LPbrXWqcnBAXlI1juwLvTdLnE6LgLc |
|
44 |
Pdy/e3hQk7LH3qmPGJrRvEzoLmHFC6NdWXdF+xpTTmHY4tM67mYbUP9C96fW |
|
45 |
IRew5+K0Ltoafp1A9nFNIUWwYlAfEKztQxh0Hr5/efg8wxz7ey5cQ3re6hkF |
|
46 |
9FeNJ8CEPvPRHLk/yiWV54cxFzVLPIgb8LJ5dKsJQNS4fpf938mTXg5RlSyX |
|
47 |
ggGrKyZ2UNRNnstiaEkw9btk8GRdFG1NeStY7ku+AVesiONfAgAA |
|
48 |
http_version: |
|
49 |
recorded_at: Tue, 23 Sep 2014 20:46:38 GMT |
|
50 |
- request: |
|
51 |
method: get |
|
52 |
uri: https://admin:admin@centos.dev/pulp/api/v2/tasks/bc5f0bc5-4aea-49d4-aaa4-9cc117633df6/ |
|
53 |
body: |
|
54 |
encoding: US-ASCII |
|
55 |
string: '' |
|
56 |
headers: |
|
57 |
Accept: |
|
58 |
- application/json |
|
59 |
Accept-Encoding: |
|
60 |
- gzip, deflate |
|
61 |
Content-Type: |
|
62 |
- application/json |
|
63 |
User-Agent: |
|
64 |
- Ruby |
|
65 |
response: |
|
66 |
status: |
|
67 |
code: 200 |
|
68 |
message: OK |
|
69 |
headers: |
|
70 |
Date: |
|
71 |
- Tue, 23 Sep 2014 20:55:15 GMT |
|
72 |
Server: |
|
73 |
- Apache/2.2.15 (CentOS) |
|
74 |
Vary: |
|
75 |
- Accept-Encoding |
|
76 |
Content-Encoding: |
|
77 |
- gzip |
|
78 |
Content-Length: |
|
79 |
- '354' |
|
80 |
Connection: |
|
81 |
- close |
|
82 |
Content-Type: |
|
83 |
- application/json |
|
84 |
body: |
|
85 |
encoding: ASCII-8BIT |
|
86 |
string: !binary |- |
|
87 |
H4sIAAAAAAAAA41Ry27DIBD8lQr1GL/wI7FP/YieWlXWBtYJimvIgpNGUf69 |
|
88 |
gFNFPbUXBLM7y8zsleGXQOOUnlj3NM3juHpiDuyhdxeDHmJmHk1qkU5IaSjY |
|
89 |
lNBoq5ymSypxRIfMc/o94RD6s0DIwKjsxLNIyLaiHnJ/JBUgJFUrqwQAqqQV |
|
90 |
oijWTVnKocnYz8dKhjH/4SyUnfX971Fn95DWqcnhjiA46x1aF+auFjsdiAB3 |
|
91 |
d/UfHh7UpOy+d+ozmuZ5USV5m/DyleddXXdF/RZdTuGzRad14GYbUH8j9yfX |
|
92 |
EQjcgjg8grYGzhPKPsYUXAQphvSO0No+mCHn4evNw8cZ5zjf18I2pK9bPZPA |
|
93 |
/qzpgJTkLzCaPfilnFJ5vAtzkbPYw5iAp82je4hAIk2P55L/lT3rZRF1xQuJ |
|
94 |
ZcmbmosWy2ZdFLIctiyI+t0y+KLfzKbJYSM4B3b7BibBsytfAgAA |
|
95 |
http_version: |
|
96 |
recorded_at: Tue, 23 Sep 2014 20:55:15 GMT |
|
97 |
- request: |
|
98 |
method: get |
|
99 |
uri: https://admin:admin@centos.dev/pulp/api/v2/tasks/75514f0b-bead-46ba-8cdb-ac865a3b0ac3/ |
|
100 |
body: |
|
101 |
encoding: US-ASCII |
|
102 |
string: '' |
|
103 |
headers: |
|
104 |
Accept: |
|
105 |
- application/json |
|
106 |
Accept-Encoding: |
|
107 |
- gzip, deflate |
|
108 |
Content-Type: |
|
109 |
- application/json |
|
110 |
User-Agent: |
|
111 |
- Ruby |
|
112 |
response: |
|
113 |
status: |
|
114 |
code: 200 |
|
115 |
message: OK |
|
116 |
headers: |
|
117 |
Date: |
|
118 |
- Tue, 23 Sep 2014 21:15:37 GMT |
|
119 |
Server: |
|
120 |
- Apache/2.2.15 (CentOS) |
|
121 |
Vary: |
|
122 |
- Accept-Encoding |
|
123 |
Content-Encoding: |
|
124 |
- gzip |
|
125 |
Content-Length: |
|
126 |
- '355' |
|
127 |
Connection: |
|
128 |
- close |
|
129 |
Content-Type: |
|
130 |
- application/json |
|
131 |
body: |
|
132 |
encoding: ASCII-8BIT |
|
133 |
string: !binary |- |
|
134 |
H4sIAAAAAAAAA41Ry27DIBD8lQr1GL+wTRyf+hE9taosDOsExTVkwUmjKP9e |
|
135 |
wKmsntobzOzszuzeCHwJME7pibRP0zyOmyfiuD127mrAQ8TMo0kt4BkwDYRN |
|
136 |
EYy2ymm8phJGcEC8pjsgDKE+C4KMG5WdaRYF2baui2rI+6QHLpOK9TxphOwT |
|
137 |
LhpW87LPuSgz8jNYydDmP5pFsre+/j36bFdrrZoc7JGHZJ0D60LfzRKn5SLA |
|
138 |
7cP9h4cHNSl76Jz6jKFpXlRJvkto+UqLtqjbkr3FlFMYtvi0jrvZBtS/0P2p |
|
139 |
dcgF9Fwc10Vbwy8TyC6uKaQIVgzqPYK1XQiDzsO3u4dPM8yxv+fCNaTnrZ5R |
|
140 |
QHfReARM8hc+mgP3Rzmn8vQw5qJmiQdxA142j241AYga1++y/xt51ssh6ooW |
|
141 |
QIeGspqKHZRsWxSyymsSTP0uGTzJyrJhOW8EZTty/wbLRuamXwIAAA== |
|
142 |
http_version: |
|
143 |
recorded_at: Tue, 23 Sep 2014 21:15:37 GMT |
|
144 |
- request: |
|
145 |
method: post |
|
146 |
uri: https://admin:admin@centos.dev/pulp/api/v2/repositories/ |
|
147 |
body: |
|
148 |
encoding: UTF-8 |
|
149 |
string: '{"id":"integration_test_id","distributors":[{"distributor_type_id":"docker_distributor_web","distributor_config":{"docker_publish_directory":"/path"},"auto_publish":true,"distributor_id":"123"}]}' |
|
150 |
headers: |
|
151 |
Accept: |
|
152 |
- application/json |
|
153 |
Accept-Encoding: |
|
154 |
- gzip, deflate |
|
155 |
Content-Type: |
|
156 |
- application/json |
|
157 |
Content-Length: |
|
158 |
- '195' |
|
159 |
User-Agent: |
|
160 |
- Ruby |
|
161 |
response: |
|
162 |
status: |
|
163 |
code: 201 |
|
164 |
message: Created |
|
165 |
headers: |
|
166 |
Date: |
|
167 |
- Wed, 24 Sep 2014 18:08:49 GMT |
|
168 |
Server: |
|
169 |
- Apache/2.2.15 (CentOS) |
|
170 |
Location: |
|
171 |
- integration_test_id |
|
172 |
Vary: |
|
173 |
- Accept-Encoding |
|
174 |
Content-Encoding: |
|
175 |
- gzip |
|
176 |
Content-Length: |
|
177 |
- '198' |
|
178 |
Connection: |
|
179 |
- close |
|
180 |
Content-Type: |
|
181 |
- application/json |
|
182 |
body: |
|
183 |
encoding: ASCII-8BIT |
|
184 |
string: !binary |- |
|
185 |
H4sIAAAAAAAAA3WP2woCMQxEf0WCj0J1b15+ptRtVgM1LW1XENl/N/X+oG/D |
|
186 |
zBkmuULqo8n9MRgLu9l1WszAUgrOXDSbE4oHxBkPApFnnTFlTRYKhlKlUGyh |
|
187 |
eHROTGckH5myNtai/QTspfpa+FART/78zfVe1viZ9n7k/G5pLhIiBp/KAeUO |
|
188 |
iWDu7wLapqqXm/1qqLt1Vy/b9dDYzbZroZQfyJ9X9DHiUHIVRheUCaTOlboP |
|
189 |
UfaRMKkfTQXTDVL2R8c/AQAA |
|
190 |
http_version: |
|
191 |
recorded_at: Wed, 24 Sep 2014 18:08:49 GMT |
|
192 |
- request: |
|
193 |
method: delete |
|
194 |
uri: https://admin:admin@centos.dev/pulp/api/v2/repositories/integration_test_id/ |
|
195 |
body: |
|
196 |
encoding: US-ASCII |
|
197 |
string: '' |
|
198 |
headers: |
|
199 |
Accept: |
|
200 |
- application/json |
|
201 |
Accept-Encoding: |
|
202 |
- gzip, deflate |
|
203 |
Content-Type: |
|
204 |
- application/json |
|
205 |
User-Agent: |
|
206 |
- Ruby |
|
207 |
response: |
|
208 |
status: |
|
209 |
code: 202 |
|
210 |
message: Accepted |
|
211 |
headers: |
|
212 |
Date: |
|
213 |
- Wed, 24 Sep 2014 18:08:49 GMT |
|
214 |
Server: |
|
215 |
- Apache/2.2.15 (CentOS) |
|
216 |
Content-Encoding: |
|
217 |
- utf-8 |
|
218 |
Content-Length: |
|
219 |
- '172' |
|
220 |
Connection: |
|
221 |
- close |
|
222 |
Content-Type: |
|
223 |
- application/json |
|
224 |
body: |
|
225 |
encoding: UTF-8 |
|
226 |
string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/3557f6b2-80c8-4414-9aca-79e53c7aa543/", |
|
227 |
"task_id": "3557f6b2-80c8-4414-9aca-79e53c7aa543"}], "result": null, "error": |
|
228 |
null}' |
|
229 |
http_version: |
|
230 |
recorded_at: Wed, 24 Sep 2014 18:08:49 GMT |
|
231 |
- request: |
|
232 |
method: get |
|
233 |
uri: https://admin:admin@centos.dev/pulp/api/v2/tasks/3557f6b2-80c8-4414-9aca-79e53c7aa543/ |
|
234 |
body: |
|
235 |
encoding: US-ASCII |
|
236 |
string: '' |
|
237 |
headers: |
|
238 |
Accept: |
|
239 |
- application/json |
|
240 |
Accept-Encoding: |
|
241 |
- gzip, deflate |
|
242 |
Content-Type: |
|
243 |
- application/json |
|
244 |
User-Agent: |
|
245 |
- Ruby |
|
246 |
response: |
|
247 |
status: |
|
248 |
code: 200 |
|
249 |
message: OK |
|
250 |
headers: |
|
251 |
Date: |
|
252 |
- Wed, 24 Sep 2014 18:08:50 GMT |
|
253 |
Server: |
|
254 |
- Apache/2.2.15 (CentOS) |
|
255 |
Vary: |
|
256 |
- Accept-Encoding |
|
257 |
Content-Encoding: |
|
258 |
- gzip |
|
259 |
Content-Length: |
|
260 |
- '355' |
|
261 |
Connection: |
|
262 |
- close |
|
263 |
Content-Type: |
|
264 |
- application/json |
|
265 |
body: |
|
266 |
encoding: ASCII-8BIT |
|
267 |
string: !binary |- |
|
268 |
H4sIAAAAAAAAA41Ry27DIBD8lQr1GD/BMfapH9FTq8oieJ2guIYsOGkU5d8L |
|
269 |
OJXVU3uD2Z3dmdkbgS8Jxik9kfZpmsdx80ScsMfOXQ14iJh5NKkFPAOmoWBT |
|
270 |
BKOtchqvaQ8jOCCe0x0QhtCfBUImjMrOZRYJGa2qetjuyoTnkieMFSxphBRJ |
|
271 |
3UBFZS1ExWhGfharPoz5D2eh7K3vf48621VaqyYHexTBWefAujB3s9hphQxw |
|
272 |
+1D/4eFBTcoeOqc+o+ky9/vyJinZa8HbnLeseYsup7Bs0WmdcLMNqH+h+5Pr |
|
273 |
UEjYCXlcg7ZGXCbouxhTcBGkGNR7BGu7YAadh293D59mmON8XwvX6H3d6hkl |
|
274 |
dBeNR8CkeBGjOQh/lHPanx7CXOQs9iAm4Gnz6FYRgKhx/S7538izXg5RsZLm |
|
275 |
fFcA5XnRD7UYJAcoKAmifrcMdFtvae4Px3rebDm5fwP0Ly63XwIAAA== |
|
276 |
http_version: |
|
277 |
recorded_at: Wed, 24 Sep 2014 18:08:50 GMT |
|
278 |
recorded_with: VCR 2.9.3 |
test/fixtures/vcr_cassettes/extensions/docker_repository_create/create_with_importer.yml | ||
---|---|---|
1 |
--- |
|
2 |
http_interactions: |
|
3 |
- request: |
|
4 |
method: get |
|
5 |
uri: https://admin:admin@centos.dev/pulp/api/v2/tasks/75b6eab9-c068-48e9-9eed-b804a62911db/ |
|
6 |
body: |
|
7 |
encoding: US-ASCII |
|
8 |
string: '' |
|
9 |
headers: |
|
10 |
Accept: |
|
11 |
- application/json |
|
12 |
Accept-Encoding: |
|
13 |
- gzip, deflate |
|
14 |
Content-Type: |
|
15 |
- application/json |
|
16 |
User-Agent: |
|
17 |
- Ruby |
|
18 |
response: |
|
19 |
status: |
|
20 |
code: 200 |
|
21 |
message: OK |
|
22 |
headers: |
|
23 |
Date: |
|
24 |
- Tue, 23 Sep 2014 19:58:03 GMT |
|
25 |
Server: |
|
26 |
- Apache/2.2.15 (CentOS) |
|
27 |
Vary: |
|
28 |
- Accept-Encoding |
|
29 |
Content-Encoding: |
|
30 |
- gzip |
|
31 |
Content-Length: |
|
32 |
- '353' |
|
33 |
Connection: |
|
34 |
- close |
|
35 |
Content-Type: |
|
36 |
- application/json |
|
37 |
body: |
|
38 |
encoding: ASCII-8BIT |
|
39 |
string: !binary |- |
|
40 |
H4sIAAAAAAAAA41Ry26DMBD8lQj1GMA8A5z6ET21qpCxN4kVip31kjSK+u+1 |
|
41 |
TSrUU3uzZ3d2Z2bvEXwKMKT0FHWbaR7H7SYibk893Qw4KDLzaBILeAFMfMEm |
|
42 |
CEZbRRpviYQRCCLH6Y8Ie9+fekLKjUoveRoI6a4aauBDGwtWN3HZQBu3ADIe |
|
43 |
GlbyOm+zTA5p9LNYST/mP5yFcrCu/y3o7FZpnZoIDsi9s57Akp+7Xex0XHi4 |
|
44 |
e6h/d/BeTcoee1IfwXTOsjJmbZwXL1nbVU3HitfgcvLLFp2WOM3Wo+6F9CeX |
|
45 |
kAsYuDitQVvDrxPIPsTkXXgpBvUBwdrem0Fy8P3LwecZ5jDf1fw1pKtbPaOA |
|
46 |
/qrxBBizZz6aI3dHuSTy/BBGgbPYg5CAo80jrSIAUeP6XfK/R096OURV5plk |
|
47 |
YsjrKhctFPXORV+4W3tRv1v2rlgXRVMz3ohMupZvZJtrMV8CAAA= |
|
48 |
http_version: |
|
49 |
recorded_at: Tue, 23 Sep 2014 19:58:03 GMT |
|
50 |
- request: |
|
51 |
method: get |
|
52 |
uri: https://admin:admin@centos.dev/pulp/api/v2/tasks/31eeea7d-482b-4aef-81e0-d4e0750b08f4/ |
|
53 |
body: |
|
54 |
encoding: US-ASCII |
|
55 |
string: '' |
|
56 |
headers: |
|
57 |
Accept: |
|
58 |
- application/json |
|
59 |
Accept-Encoding: |
|
60 |
- gzip, deflate |
|
61 |
Content-Type: |
|
62 |
- application/json |
|
63 |
User-Agent: |
|
64 |
- Ruby |
|
65 |
response: |
|
66 |
status: |
|
67 |
code: 200 |
|
68 |
message: OK |
|
69 |
headers: |
|
70 |
Date: |
|
71 |
- Tue, 23 Sep 2014 20:00:32 GMT |
|
72 |
Server: |
|
73 |
- Apache/2.2.15 (CentOS) |
|
74 |
Vary: |
|
75 |
- Accept-Encoding |
|
76 |
Content-Encoding: |
|
77 |
- gzip |
|
78 |
Content-Length: |
|
79 |
- '354' |
|
80 |
Connection: |
|
81 |
- close |
|
82 |
Content-Type: |
|
83 |
- application/json |
|
84 |
body: |
|
85 |
encoding: ASCII-8BIT |
|
86 |
string: !binary |- |
|
87 |
H4sIAAAAAAAAA41Ry27CMBD8lcrqkSS28yDk1I/oqVUVmXgDFmli1hsoQvx7 |
|
88 |
bYcK9dTe7Jmd3ZndK4OvDiyZaWTN0zgPw+qJkXKHli4WPMTsPNjUAZ4A00C4 |
|
89 |
FMFOztCEl1TDAATMa9o9Qh/qsyDIlDXZSWZRkOUCANRaJ0Utt0mhoE9qATzR |
|
90 |
BfB1ybe87ouM/Qw2OrT5j2aR7Jyvf48+m4e1xowEO1QhWUvgKPRdLXEa1QW4 |
|
91 |
ubv/8HBvRuP2LZnPGFpyUSR8k8j8VfKG8yaXbzHlGIYtPh0pml1A/QvpTy2h |
|
92 |
6mCrusNj0c6q8wi6jWsKKYIVi9MOwbk2hEHy8PXm4eMMc+zvuXAN7Xk3zdhB |
|
93 |
e57wAJjwFzXYvfJHOaX6eDdGUbPEg7gBL5sHepgAxAkf32X/V/Y8LYcoCym0 |
|
94 |
qLisStltIK/WQui85yyY+l3Se7LK87riqu4ElOz2DWBptktfAgAA |
|
95 |
http_version: |
|
96 |
recorded_at: Tue, 23 Sep 2014 20:00:32 GMT |
|
97 |
- request: |
|
98 |
method: get |
|
99 |
uri: https://admin:admin@centos.dev/pulp/api/v2/tasks/defb21fd-6995-4966-be17-06a7251d0222/ |
|
100 |
body: |
|
101 |
encoding: US-ASCII |
|
102 |
string: '' |
|
103 |
headers: |
|
104 |
Accept: |
|
105 |
- application/json |
|
106 |
Accept-Encoding: |
|
107 |
- gzip, deflate |
|
108 |
Content-Type: |
|
109 |
- application/json |
|
110 |
User-Agent: |
|
111 |
- Ruby |
|
112 |
response: |
|
113 |
status: |
|
114 |
code: 200 |
|
115 |
message: OK |
|
116 |
headers: |
|
117 |
Date: |
|
118 |
- Tue, 23 Sep 2014 20:46:36 GMT |
|
119 |
Server: |
|
120 |
- Apache/2.2.15 (CentOS) |
|
121 |
Vary: |
|
122 |
- Accept-Encoding |
|
123 |
Content-Encoding: |
|
124 |
- gzip |
|
125 |
Content-Length: |
|
126 |
- '354' |
|
127 |
Connection: |
|
128 |
- close |
|
129 |
Content-Type: |
|
130 |
- application/json |
|
131 |
body: |
|
132 |
encoding: ASCII-8BIT |
|
133 |
string: !binary |- |
|
134 |
H4sIAAAAAAAAA41RQW6DMBD8SmX1GMAYcAKnPqKnVhUyeEmsUOysTdIoyt9r |
|
135 |
m1Sop/Zmz+zszuzeCHz1YJzSE2mepnkcN0/ECXts3dWAh4iZR5NawDNgGgib |
|
136 |
IhhtldN4TSWM4IB4TXtAGEJ9FgSZMCo7sywKMglDx/JBJryuq6SsOU86yLcJ |
|
137 |
5WLLqlxSxlhGfgYrGdr8R7NI9tbXv0efzWqtUZODPYqQrHVgXei7WeI0og9w |
|
138 |
83D/4eFBTcoeWqc+Y2hG8zKhdcKKV0abkjdF9RZTTmHY4tM64WYbUP9C96fW |
|
139 |
oeihE/1xXbQ14jKBbOOaQopgxaDeI1jbhjDoPHy7e/g0wxz7ey5cQ3re6hl7 |
|
140 |
aC8aj4AJfRGjOQh/lHMqTw9jLmqWeBA34GXz6FYTgKhx/S77v5FnvRyiKlku |
|
141 |
e9YxXrG+hoJv81wWAyfB1O+SwZO8KHacil3PqCT3b0qxAxpfAgAA |
|
142 |
http_version: |
|
143 |
recorded_at: Tue, 23 Sep 2014 20:46:36 GMT |
|
144 |
- request: |
|
145 |
method: get |
|
146 |
uri: https://admin:admin@centos.dev/pulp/api/v2/tasks/e3883f75-615b-4ddd-b52e-24fc2aa1f15d/ |
|
147 |
body: |
|
148 |
encoding: US-ASCII |
|
149 |
string: '' |
|
150 |
headers: |
|
151 |
Accept: |
|
152 |
- application/json |
|
153 |
Accept-Encoding: |
|
154 |
- gzip, deflate |
|
155 |
Content-Type: |
|
156 |
- application/json |
|
157 |
User-Agent: |
|
158 |
- Ruby |
|
159 |
response: |
|
160 |
status: |
|
161 |
code: 200 |
|
162 |
message: OK |
|
163 |
headers: |
|
164 |
Date: |
|
165 |
- Tue, 23 Sep 2014 20:55:18 GMT |
|
166 |
Server: |
|
167 |
- Apache/2.2.15 (CentOS) |
|
168 |
Vary: |
|
169 |
- Accept-Encoding |
|
170 |
Content-Encoding: |
|
171 |
- gzip |
|
172 |
Content-Length: |
|
173 |
- '354' |
|
174 |
Connection: |
|
175 |
- close |
|
176 |
Content-Type: |
|
177 |
- application/json |
|
178 |
body: |
|
179 |
encoding: ASCII-8BIT |
|
180 |
string: !binary |- |
|
181 |
H4sIAAAAAAAAA41Ry27DIBD8lQr1GL/A2I5P/YieWlUWgXVixTVkwUmjKP9e |
|
182 |
wKmsntobzOzszuzeCHxJMG7QE2mfpnkcN0/ECXvs3NWAh4iZR5NawDNgGgib |
|
183 |
IhhtB6fxmioYwQHxmu6A0If6LAgyYYbsTLMoyIA1DetrnlQF3yWlUirZcQoJ |
|
184 |
LXtJhSj6gquM/AweVGjzH80i2Vtf/x59tqu1dpgc7FGEZJ0D60LfzRKnFTLA |
|
185 |
7cP9h4f7YRrsoXPDZwxN86JM8m1C2SvNW87bon6LKacwbPFpnXCzDah/oftT |
|
186 |
61BI2Al5XBdtjbhMoLq4ppAiWDGo9wjWdiEMOg/f7h4+zTDH/p4L11Cet3pG |
|
187 |
Cd1F4xEwyV/EaA7CH+WcqtPDmIuaJR7EDXjZPLrVBCBqXL/L/m/kWS+H4CUt |
|
188 |
FDBOK07lFlhVF4VivSLB1O+S3pMVY02Vi0ZSVpP7N8GjYlVfAgAA |
|
189 |
http_version: |
|
190 |
recorded_at: Tue, 23 Sep 2014 20:55:18 GMT |
|
191 |
- request: |
|
192 |
method: get |
|
193 |
uri: https://admin:admin@centos.dev/pulp/api/v2/tasks/46a23768-0f61-4023-8e2a-b1d2da63778f/ |
|
194 |
body: |
|
195 |
encoding: US-ASCII |
|
196 |
string: '' |
|
197 |
headers: |
|
198 |
Accept: |
|
199 |
- application/json |
|
200 |
Accept-Encoding: |
|
201 |
- gzip, deflate |
|
202 |
Content-Type: |
|
203 |
- application/json |
|
204 |
User-Agent: |
|
205 |
- Ruby |
|
206 |
response: |
|
207 |
status: |
|
208 |
code: 200 |
|
209 |
message: OK |
|
210 |
headers: |
|
211 |
Date: |
|
212 |
- Tue, 23 Sep 2014 21:15:38 GMT |
|
213 |
Server: |
|
214 |
- Apache/2.2.15 (CentOS) |
|
215 |
Vary: |
|
216 |
- Accept-Encoding |
|
217 |
Content-Encoding: |
|
218 |
- gzip |
|
219 |
Content-Length: |
|
220 |
- '355' |
|
221 |
Connection: |
|
222 |
- close |
|
223 |
Content-Type: |
|
224 |
- application/json |
|
225 |
body: |
|
226 |
encoding: ASCII-8BIT |
|
227 |
string: !binary |- |
|
228 |
H4sIAAAAAAAAA41Ry27DIBD8lQr1GD8ABzs+9SN6alVZxKwTFNeQBSeNovx7 |
|
229 |
AaeKempvMLOzO7N7JfDVg/XaTKR9muZxXD0RL92h8xcLASJ2Hm3uAE+AeSRc |
|
230 |
jmCN097gJVcwggcSNN0eYYj1RRQU0urixIokKCohGa9Fk5WDoFlVMp41wGS2 |
|
231 |
pYopKXhdN0NBfgZrFdv8R7NIdi7Uvyef7cNaqycPO5QxWefB+dh3tcRpZR/h |
|
232 |
9u7+I8CDnrTbd15/ptCspFVWbjLGXxlt6brl9VtKOcVhi0/npZ9dRMML/Z9a |
|
233 |
j7KHrewPj0U7K88TqC6tKaaIViyaHYJzXQyDPsDXW4CPM8ypf+DiNVTgnZmx |
|
234 |
h+5s8ACYlS9ytHsZjnLK1fFuzCfNEg/SBoJsHv3DBCAafHyX/V/Js1kOsa4Y |
|
235 |
BTZsmFizfgNc1JSqqhQkmvpdMgRScN6IUjY9EwO5fQP98bDXXwIAAA== |
|
236 |
http_version: |
|
237 |
recorded_at: Tue, 23 Sep 2014 21:15:38 GMT |
|
238 |
- request: |
|
239 |
method: post |
|
240 |
uri: https://admin:admin@centos.dev/pulp/api/v2/repositories/ |
|
241 |
body: |
|
242 |
encoding: UTF-8 |
|
243 |
string: '{"id":"integration_test_id","importer_type_id":"docker_importer","importer_config":{}}' |
|
244 |
headers: |
|
245 |
Accept: |
|
246 |
- application/json |
|
247 |
Accept-Encoding: |
|
248 |
- gzip, deflate |
|
249 |
Content-Type: |
|
250 |
- application/json |
|
251 |
Content-Length: |
|
252 |
- '86' |
|
253 |
User-Agent: |
|
254 |
- Ruby |
|
255 |
response: |
|
256 |
status: |
|
257 |
code: 201 |
|
258 |
message: Created |
|
259 |
headers: |
|
260 |
Date: |
|
261 |
- Wed, 24 Sep 2014 18:08:52 GMT |
|
262 |
Server: |
|
263 |
- Apache/2.2.15 (CentOS) |
|
264 |
Location: |
|
265 |
- integration_test_id |
|
266 |
Vary: |
|
267 |
- Accept-Encoding |
|
268 |
Content-Encoding: |
|
269 |
- gzip |
|
270 |
Content-Length: |
|
271 |
- '199' |
|
272 |
Connection: |
|
273 |
- close |
|
274 |
Content-Type: |
|
275 |
- application/json |
|
276 |
body: |
|
277 |
encoding: ASCII-8BIT |
|
278 |
string: !binary |- |
|
279 |
H4sIAAAAAAAAA3WPzQrCMBCEX0UWj0LEtrb6MiE2W12Im5CkBRHf3U39Peht |
|
280 |
mPmG2b1C6qPJ/SkYC/vF9bZagKUUnLloNmcUD4gzHgUizzpjyposFAylSqHY |
|
281 |
QvHonJjOSD4yZW2sRfsJ2Ev1tfChIp799M31Xtb4mfZ+5PxuaS4SIgafygHl |
|
282 |
Dolg6WcBTb2p1t2hHqptu63WTTvUttu1HZTyA/nzij5FHEquwuiCMoHUtFHz |
|
283 |
EGUfCZP60VRwuwPslKkvPwEAAA== |
|
284 |
http_version: |
|
285 |
recorded_at: Wed, 24 Sep 2014 18:08:52 GMT |
|
286 |
- request: |
|
287 |
method: get |
|
288 |
uri: https://admin:admin@centos.dev/pulp/api/v2/repositories/integration_test_id/?details=true |
|
289 |
body: |
|
290 |
encoding: US-ASCII |
|
291 |
string: '' |
|
292 |
headers: |
|
293 |
Accept: |
|
294 |
- application/json |
|
295 |
Accept-Encoding: |
|
296 |
- gzip, deflate |
|
297 |
Content-Type: |
|
298 |
- application/json |
|
299 |
User-Agent: |
|
300 |
- Ruby |
|
301 |
response: |
|
302 |
status: |
|
303 |
code: 200 |
|
304 |
message: OK |
|
305 |
headers: |
|
306 |
Date: |
|
307 |
- Wed, 24 Sep 2014 18:08:53 GMT |
|
308 |
Server: |
|
309 |
- Apache/2.2.15 (CentOS) |
|
310 |
Vary: |
|
311 |
- Accept-Encoding |
|
312 |
Content-Encoding: |
|
313 |
- gzip |
|
314 |
Content-Length: |
|
315 |
- '275' |
|
316 |
Connection: |
|
317 |
- close |
|
318 |
Content-Type: |
|
319 |
- application/json |
|
320 |
body: |
|
321 |
encoding: ASCII-8BIT |
|
322 |
string: !binary |- |
|
323 |
H4sIAAAAAAAAA5VRXYvDIBD8K0Xu8cDSpE16f+U4xOqmWWpU/CiEkP9+mjRN |
|
324 |
HtqHvsnszOzMOhAvHA+itVySn90wfu+IRG8V75nmHSSMoA5wTSQ0mgXwgaEk |
|
325 |
mQZJijbDiaWjUrM2OLzEYJxP6O9fwhRPmqgxMC4lyJWsTbJbtq4sB525b3nC |
|
326 |
pAT6MRUm6vBUMZ2fxIE1PofCzhoXYF4+THiO+77FxoCt4o0TC72Fh4c04paQ |
|
327 |
ZUSW2L7XYo3rRQsyKpAT/jzD7DGQLzObHctDsa8vZVOcqlOxP1ZNKetzdSbj |
|
328 |
XLnB69Ly9fbxA9earD7vLtE6aPKc2qgs5Rbp/UCny2L6TgRPXygpGf8Bgnpx |
|
329 |
bUQCAAA= |
|
330 |
http_version: |
|
331 |
recorded_at: Wed, 24 Sep 2014 18:08:53 GMT |
|
332 |
- request: |
|
333 |
method: delete |
|
334 |
uri: https://admin:admin@centos.dev/pulp/api/v2/repositories/integration_test_id/ |
|
335 |
body: |
|
336 |
encoding: US-ASCII |
|
337 |
string: '' |
|
338 |
headers: |
|
339 |
Accept: |
|
340 |
- application/json |
|
341 |
Accept-Encoding: |
|
342 |
- gzip, deflate |
|
343 |
Content-Type: |
|
344 |
- application/json |
|
345 |
User-Agent: |
|
346 |
- Ruby |
|
347 |
response: |
|
348 |
status: |
|
349 |
code: 202 |
|
350 |
message: Accepted |
|
351 |
headers: |
|
352 |
Date: |
|
353 |
- Wed, 24 Sep 2014 18:08:53 GMT |
|
354 |
Server: |
|
355 |
- Apache/2.2.15 (CentOS) |
|
356 |
Content-Encoding: |
|
357 |
- utf-8 |
|
358 |
Content-Length: |
|
359 |
- '172' |
|
360 |
Connection: |
|
361 |
- close |
|
362 |
Content-Type: |
|
363 |
- application/json |
|
364 |
body: |
|
365 |
encoding: UTF-8 |
|
366 |
string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/6111127c-1ab3-4514-9761-ab36ee99c7de/", |
|
367 |
"task_id": "6111127c-1ab3-4514-9761-ab36ee99c7de"}], "result": null, "error": |
|
368 |
null}' |
|
369 |
http_version: |
|
370 |
recorded_at: Wed, 24 Sep 2014 18:08:53 GMT |
|
371 |
- request: |
|
372 |
method: get |
|
373 |
uri: https://admin:admin@centos.dev/pulp/api/v2/tasks/6111127c-1ab3-4514-9761-ab36ee99c7de/ |
|
374 |
body: |
|
375 |
encoding: US-ASCII |
|
376 |
string: '' |
|
377 |
headers: |
|
378 |
Accept: |
|
379 |
- application/json |
|
380 |
Accept-Encoding: |
|
381 |
- gzip, deflate |
|
382 |
Content-Type: |
|
383 |
- application/json |
|
384 |
User-Agent: |
|
385 |
- Ruby |
|
386 |
response: |
|
387 |
status: |
|
388 |
code: 200 |
|
389 |
message: OK |
|
390 |
headers: |
|
391 |
Date: |
|
392 |
- Wed, 24 Sep 2014 18:08:54 GMT |
|
393 |
Server: |
|
394 |
- Apache/2.2.15 (CentOS) |
|
395 |
Vary: |
|
396 |
- Accept-Encoding |
|
397 |
Content-Encoding: |
|
398 |
- gzip |
|
399 |
Content-Length: |
|
400 |
- '354' |
|
401 |
Connection: |
|
402 |
- close |
|
403 |
Content-Type: |
|
404 |
- application/json |
|
405 |
body: |
|
406 |
encoding: ASCII-8BIT |
|
407 |
string: !binary |- |
|
408 |
H4sIAAAAAAAAA41RSW7DMAz8SiH0GC/ybp/6iJ5aFIYi0YkQ11YoOmkQ5O+V |
|
409 |
5BRBT61O4pBDzpBXBl8SDOl5Yt3TtIzj5omRsIeeLgYcxMwymtgCngBjn7Ax |
|
410 |
gpmtphkvsYIRCJjj9HuEwdcnnpAIo5NTlgRCUnH3slpGXGzzqCh5EbV1xSMX |
|
411 |
VQBtK2sFCfsZrJVv8x/OStlZV/8edHYPaZ2eCHYovLOewJLvu1ntdEJ6uLur |
|
412 |
/3DwoCdt9z3pz2A6S928tI2y4pU3Xdp0Zf4WXE5+2KrTkqDFetT9kP7kEgoJ |
|
413 |
WyEPj0VbI84TqD6sybvwUgzOOwRre28GycHXm4OPCyyhv8v5ayiXt/OCEvrz |
|
414 |
jAfAiL+I0eyFO8opVse7MAqc1R6EDTjaMtJDBCDO+AjX/V/Z87weoiyyPG22 |
|
415 |
JeRNytVQi0E2ALxiXtTvkiGv6ipPy3ooVNPWkt2+AU1THxhfAgAA |
|
416 |
http_version: |
|
417 |
recorded_at: Wed, 24 Sep 2014 18:08:54 GMT |
|
418 |
recorded_with: VCR 2.9.3 |
test/fixtures/vcr_cassettes/extensions/docker_repository_create/create_with_importer_and_distributors.yml | ||
---|---|---|
1 |
--- |
|
2 |
http_interactions: |
|
3 |
- request: |
|
4 |
method: get |
|
5 |
uri: https://admin:admin@centos.dev/pulp/api/v2/tasks/792a362d-ac67-4c8e-8ac0-dc4943a869cc/ |
|
6 |
body: |
|
7 |
encoding: US-ASCII |
|
8 |
string: '' |
|
9 |
headers: |
|
10 |
Accept: |
|
11 |
- application/json |
|
12 |
Accept-Encoding: |
|
13 |
- gzip, deflate |
|
14 |
Content-Type: |
|
15 |
- application/json |
|
16 |
User-Agent: |
|
17 |
- Ruby |
|
18 |
response: |
|
19 |
status: |
|
20 |
code: 200 |
|
21 |
message: OK |
|
22 |
headers: |
|
23 |
Date: |
|
24 |
- Tue, 23 Sep 2014 20:46:35 GMT |
|
25 |
Server: |
|
26 |
- Apache/2.2.15 (CentOS) |
|
27 |
Vary: |
|
28 |
- Accept-Encoding |
|
29 |
Content-Encoding: |
|
30 |
- gzip |
|
31 |
Content-Length: |
|
32 |
- '354' |
|
33 |
Connection: |
|
34 |
- close |
|
35 |
Content-Type: |
|
36 |
- application/json |
|
37 |
body: |
|
38 |
encoding: ASCII-8BIT |
|
39 |
string: !binary |- |
|
40 |
H4sIAAAAAAAAA41Ry27DIBD8lQj1GL/AwY9TP6KnVpVFYZ2guIYsOGkU5d8L |
|
41 |
diqrp/YGMzu7M7s3Al8SrNdmJO1mnIZhuyFeuGPnrxYCROw02NQBngHTSLgU |
|
42 |
wRqnvcFrqmAADyRougNCH+uzKMiE1dmZZrMgqxoqGKcqEZJXSSlrSGoh80TJ |
|
43 |
simZqHkjZUZ+BmsV2/xHs0j2LtS/zT7b1VqrRw97FDFZ58H52He7xGmFjHD7 |
|
44 |
cP8e4F6P2h06rz/n0DQvyiRvEspeaN6WvGXl65xyjMMWn84LP7mIhhf6P7Ue |
|
45 |
hYQPIY/rop0VlxFUN68ppohWLJo9gnNdDIM+wLd7gE8TTHP/wMVrqMA7M6GE |
|
46 |
7mLwCJjkz2KwBxGOck7V6WHMz5olHswbCLJp8KsJQDS4fpf938iTWQ6xK2mh |
|
47 |
JBWU76hsgPGqKBTrdySa+l3SB5IzVvNc1JLmFbl/A7ivpMNfAgAA |
|
48 |
http_version: |
|
49 |
recorded_at: Tue, 23 Sep 2014 20:46:35 GMT |
|
50 |
- request: |
|
51 |
method: get |
|
52 |
uri: https://admin:admin@centos.dev/pulp/api/v2/tasks/62ebe116-c43a-459f-98f0-c927254ecd0f/ |
|
53 |
body: |
|
54 |
encoding: US-ASCII |
|
55 |
string: '' |
|
56 |
headers: |
|
57 |
Accept: |
|
58 |
- application/json |
|
59 |
Accept-Encoding: |
|
60 |
- gzip, deflate |
|
61 |
Content-Type: |
|
62 |
- application/json |
|
63 |
User-Agent: |
|
64 |
- Ruby |
|
65 |
response: |
|
66 |
status: |
|
67 |
code: 200 |
|
68 |
message: OK |
|
69 |
headers: |
|
70 |
Date: |
|
71 |
- Tue, 23 Sep 2014 20:55:17 GMT |
|
72 |
Server: |
|
73 |
- Apache/2.2.15 (CentOS) |
|
74 |
Vary: |
|
75 |
- Accept-Encoding |
|
76 |
Content-Encoding: |
|
77 |
- gzip |
|
78 |
Content-Length: |
|
79 |
- '354' |
|
80 |
Connection: |
|
81 |
- close |
|
82 |
Content-Type: |
Also available in: Unified diff
Fixes #7617 - CRUD docker repo bindings
Added docker repo bindings to runcible
Includes CRUD for docker repo related operations along the same lines of puppet
and yum repo types.