pdc 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -1
- data/examples/pdc_resource_tests.rb +13 -0
- data/lib/pdc/v1.rb +1 -0
- data/lib/pdc/v1/content_delivery_repo.rb +9 -0
- data/lib/pdc/version.rb +1 -1
- data/spec/fixtures/vcr/content_delivery_repos_must_return_a_record.yml +91 -0
- data/spec/fixtures/vcr/has_serveral_cdn_content_delivery_repos.yml +47 -0
- data/spec/pdc/v1/content_delivery_repo_spec.rb +32 -0
- metadata +9 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 75e019815382bab54b7edb0e80cce96a3ff9bb37
|
4
|
+
data.tar.gz: 3364067b3a8d99d80db2af8631882739306720b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 181fd8ea8bace8838c4229f8078f37da2c2c12428a579b7e349f9116e7859dee30227d2b3da3ac07b73ad7b62494d6f6c7c3d47d47cac6815eef22f793c47c3e
|
7
|
+
data.tar.gz: 4499297353cc8632d8652c0e595feacd31584d6238f17e8aada3a42197cd310bc5aa71e5f408abf2c9afb881f3c019d87a2d1328e5f68da53936304a6c518cb0
|
data/.travis.yml
CHANGED
@@ -12,7 +12,7 @@ install:
|
|
12
12
|
- git config --global user.name "Travis CI"
|
13
13
|
- git config --global user.email "pdc@product-definition-center.com"
|
14
14
|
- export REPO_URL_GITHUB="https://$GH_TOKEN@github.com/$GH_REPO.git"
|
15
|
-
- export
|
15
|
+
- export PRONTO_GITHUB_ACCESS_TOKEN=$GH_TOKEN
|
16
16
|
script:
|
17
17
|
- bundle exec rake test
|
18
18
|
- >
|
@@ -172,6 +172,19 @@ describe PDC::V1::ReleaseVariant do
|
|
172
172
|
end
|
173
173
|
end
|
174
174
|
|
175
|
+
describe PDC::V1::ContentDeliveryRepo do
|
176
|
+
let(:repo_class) { PDC::V1::ContentDeliveryRepo }
|
177
|
+
let(:existing_repo) { repo_class.all!.first }
|
178
|
+
|
179
|
+
describe '#find' do
|
180
|
+
it 'must return a record' do
|
181
|
+
found = repo_class.find(existing_repo.id)
|
182
|
+
found.must_be_instance_of repo_class
|
183
|
+
found.name.must_equal existing_repo.name
|
184
|
+
end
|
185
|
+
end
|
186
|
+
end
|
187
|
+
|
175
188
|
# using prod server to test PDC::V1::ReleaseRpmMapping
|
176
189
|
pdc = server[:prod]
|
177
190
|
|
data/lib/pdc/v1.rb
CHANGED
data/lib/pdc/version.rb
CHANGED
@@ -0,0 +1,91 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://pdc.host.dev.eng.pek2.redhat.com/rest_api/v1/content%2Ddelivery%2Drepos/?release_id=ceph-2.1-updates%40rhel-7&service=pulp
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/json
|
12
|
+
Content-Type:
|
13
|
+
- application/json
|
14
|
+
User-Agent:
|
15
|
+
- Faraday v0.9.2
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message:
|
20
|
+
headers:
|
21
|
+
date:
|
22
|
+
- Thu, 16 Mar 2017 06:39:34 GMT
|
23
|
+
server:
|
24
|
+
- Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.1e-fips mod_auth_kerb/5.4
|
25
|
+
mod_wsgi/3.4 Python/2.7.5
|
26
|
+
expires:
|
27
|
+
- Thu, 16 Mar 2017 06:40:04 GMT
|
28
|
+
vary:
|
29
|
+
- Accept,Cookie
|
30
|
+
last-modified:
|
31
|
+
- Thu, 16 Mar 2017 06:39:34 GMT
|
32
|
+
allow:
|
33
|
+
- GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
|
34
|
+
cache-control:
|
35
|
+
- max-age=30
|
36
|
+
x-frame-options:
|
37
|
+
- SAMEORIGIN
|
38
|
+
transfer-encoding:
|
39
|
+
- chunked
|
40
|
+
content-type:
|
41
|
+
- application/json
|
42
|
+
body:
|
43
|
+
encoding: UTF-8
|
44
|
+
string: '{"count":18,"next":null,"previous":null,"results":[{"id":34667,"release_id":"ceph-2.1-updates@rhel-7","variant_uid":"Client-Tools","arch":"x86_64","service":"pulp","repo_family":"dist","content_format":"rpm","content_category":"debug","name":"rhel-7-desktop-rhceph-2-tools-debug-rpms__7Client__x86_64","shadow":false,"product_id":68},{"id":34668,"release_id":"ceph-2.1-updates@rhel-7","variant_uid":"Client-Tools","arch":"x86_64","service":"pulp","repo_family":"dist","content_format":"rpm","content_category":"binary","name":"rhel-7-desktop-rhceph-2-tools-rpms__7Client__x86_64","shadow":false,"product_id":68},{"id":34669,"release_id":"ceph-2.1-updates@rhel-7","variant_uid":"Client-Tools","arch":"x86_64","service":"pulp","repo_family":"dist","content_format":"rpm","content_category":"source","name":"rhel-7-desktop-rhceph-2-tools-source-rpms__7Client__x86_64","shadow":false,"product_id":68},{"id":34670,"release_id":"ceph-2.1-updates@rhel-7","variant_uid":"ComputeNode-Tools","arch":"x86_64","service":"pulp","repo_family":"dist","content_format":"rpm","content_category":"debug","name":"rhel-7-for-hpc-node-rhceph-2-tools-debug-rpms__7ComputeNode__x86_64","shadow":false,"product_id":76},{"id":34671,"release_id":"ceph-2.1-updates@rhel-7","variant_uid":"ComputeNode-Tools","arch":"x86_64","service":"pulp","repo_family":"dist","content_format":"rpm","content_category":"binary","name":"rhel-7-for-hpc-node-rhceph-2-tools-rpms__7ComputeNode__x86_64","shadow":false,"product_id":76},{"id":34672,"release_id":"ceph-2.1-updates@rhel-7","variant_uid":"ComputeNode-Tools","arch":"x86_64","service":"pulp","repo_family":"dist","content_format":"rpm","content_category":"source","name":"rhel-7-for-hpc-node-rhceph-2-tools-source-rpms__7ComputeNode__x86_64","shadow":false,"product_id":76},{"id":34673,"release_id":"ceph-2.1-updates@rhel-7","variant_uid":"MON","arch":"x86_64","service":"pulp","repo_family":"dist","content_format":"rpm","content_category":"debug","name":"rhel-7-server-rhceph-2-mon-debug-rpms__7Server__x86_64","shadow":false,"product_id":286},{"id":34674,"release_id":"ceph-2.1-updates@rhel-7","variant_uid":"MON","arch":"x86_64","service":"pulp","repo_family":"dist","content_format":"rpm","content_category":"binary","name":"rhel-7-server-rhceph-2-mon-rpms__7Server__x86_64","shadow":false,"product_id":286},{"id":34675,"release_id":"ceph-2.1-updates@rhel-7","variant_uid":"MON","arch":"x86_64","service":"pulp","repo_family":"dist","content_format":"rpm","content_category":"source","name":"rhel-7-server-rhceph-2-mon-source-rpms__7Server__x86_64","shadow":false,"product_id":286},{"id":34676,"release_id":"ceph-2.1-updates@rhel-7","variant_uid":"OSD","arch":"x86_64","service":"pulp","repo_family":"dist","content_format":"rpm","content_category":"debug","name":"rhel-7-server-rhceph-2-osd-debug-rpms__7Server__x86_64","shadow":false,"product_id":288},{"id":34677,"release_id":"ceph-2.1-updates@rhel-7","variant_uid":"OSD","arch":"x86_64","service":"pulp","repo_family":"dist","content_format":"rpm","content_category":"binary","name":"rhel-7-server-rhceph-2-osd-rpms__7Server__x86_64","shadow":false,"product_id":288},{"id":34678,"release_id":"ceph-2.1-updates@rhel-7","variant_uid":"OSD","arch":"x86_64","service":"pulp","repo_family":"dist","content_format":"rpm","content_category":"source","name":"rhel-7-server-rhceph-2-osd-source-rpms__7Server__x86_64","shadow":false,"product_id":288},{"id":34679,"release_id":"ceph-2.1-updates@rhel-7","variant_uid":"Server-Tools","arch":"x86_64","service":"pulp","repo_family":"dist","content_format":"rpm","content_category":"debug","name":"rhel-7-server-rhceph-2-tools-debug-rpms__7Server__x86_64","shadow":false,"product_id":69},{"id":34680,"release_id":"ceph-2.1-updates@rhel-7","variant_uid":"Server-Tools","arch":"x86_64","service":"pulp","repo_family":"dist","content_format":"rpm","content_category":"binary","name":"rhel-7-server-rhceph-2-tools-rpms__7Server__x86_64","shadow":false,"product_id":69},{"id":34681,"release_id":"ceph-2.1-updates@rhel-7","variant_uid":"Server-Tools","arch":"x86_64","service":"pulp","repo_family":"dist","content_format":"rpm","content_category":"source","name":"rhel-7-server-rhceph-2-tools-source-rpms__7Server__x86_64","shadow":false,"product_id":69},{"id":34682,"release_id":"ceph-2.1-updates@rhel-7","variant_uid":"Workstation-Tools","arch":"x86_64","service":"pulp","repo_family":"dist","content_format":"rpm","content_category":"debug","name":"rhel-7-workstation-rhceph-2-tools-debug-rpms__7Workstation__x86_64","shadow":false,"product_id":71},{"id":34683,"release_id":"ceph-2.1-updates@rhel-7","variant_uid":"Workstation-Tools","arch":"x86_64","service":"pulp","repo_family":"dist","content_format":"rpm","content_category":"binary","name":"rhel-7-workstation-rhceph-2-tools-rpms__7Workstation__x86_64","shadow":false,"product_id":71},{"id":34684,"release_id":"ceph-2.1-updates@rhel-7","variant_uid":"Workstation-Tools","arch":"x86_64","service":"pulp","repo_family":"dist","content_format":"rpm","content_category":"source","name":"rhel-7-workstation-rhceph-2-tools-source-rpms__7Workstation__x86_64","shadow":false,"product_id":71}]}'
|
45
|
+
http_version:
|
46
|
+
recorded_at: Thu, 16 Mar 2017 06:40:32 GMT
|
47
|
+
- request:
|
48
|
+
method: get
|
49
|
+
uri: https://pdc.host.dev.eng.pek2.redhat.com/rest_api/v1/content%2Ddelivery%2Drepos/34667/
|
50
|
+
body:
|
51
|
+
encoding: US-ASCII
|
52
|
+
string: ''
|
53
|
+
headers:
|
54
|
+
Accept:
|
55
|
+
- application/json
|
56
|
+
Content-Type:
|
57
|
+
- application/json
|
58
|
+
User-Agent:
|
59
|
+
- Faraday v0.9.2
|
60
|
+
response:
|
61
|
+
status:
|
62
|
+
code: 200
|
63
|
+
message:
|
64
|
+
headers:
|
65
|
+
date:
|
66
|
+
- Thu, 16 Mar 2017 06:39:34 GMT
|
67
|
+
server:
|
68
|
+
- Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.1e-fips mod_auth_kerb/5.4
|
69
|
+
mod_wsgi/3.4 Python/2.7.5
|
70
|
+
expires:
|
71
|
+
- Thu, 16 Mar 2017 06:40:04 GMT
|
72
|
+
vary:
|
73
|
+
- Accept,Cookie
|
74
|
+
last-modified:
|
75
|
+
- Thu, 16 Mar 2017 06:39:34 GMT
|
76
|
+
allow:
|
77
|
+
- GET, PUT, PATCH, DELETE, HEAD, OPTIONS
|
78
|
+
cache-control:
|
79
|
+
- max-age=30
|
80
|
+
x-frame-options:
|
81
|
+
- SAMEORIGIN
|
82
|
+
transfer-encoding:
|
83
|
+
- chunked
|
84
|
+
content-type:
|
85
|
+
- application/json
|
86
|
+
body:
|
87
|
+
encoding: UTF-8
|
88
|
+
string: '{"id":34667,"release_id":"ceph-2.1-updates@rhel-7","variant_uid":"Client-Tools","arch":"x86_64","service":"pulp","repo_family":"dist","content_format":"rpm","content_category":"debug","name":"rhel-7-desktop-rhceph-2-tools-debug-rpms__7Client__x86_64","shadow":false,"product_id":68}'
|
89
|
+
http_version:
|
90
|
+
recorded_at: Thu, 16 Mar 2017 06:40:32 GMT
|
91
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,47 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://pdc.host.dev.eng.pek2.redhat.com/rest_api/v1/content%2Ddelivery%2Drepos/?release_id=ceph-2.1-updates%40rhel-7&service=pulp
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/json
|
12
|
+
Content-Type:
|
13
|
+
- application/json
|
14
|
+
User-Agent:
|
15
|
+
- Faraday v0.9.2
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message:
|
20
|
+
headers:
|
21
|
+
date:
|
22
|
+
- Thu, 16 Mar 2017 05:53:51 GMT
|
23
|
+
server:
|
24
|
+
- Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.1e-fips mod_auth_kerb/5.4
|
25
|
+
mod_wsgi/3.4 Python/2.7.5
|
26
|
+
expires:
|
27
|
+
- Thu, 16 Mar 2017 05:54:21 GMT
|
28
|
+
vary:
|
29
|
+
- Accept,Cookie
|
30
|
+
last-modified:
|
31
|
+
- Thu, 16 Mar 2017 05:53:51 GMT
|
32
|
+
allow:
|
33
|
+
- GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
|
34
|
+
cache-control:
|
35
|
+
- max-age=30
|
36
|
+
x-frame-options:
|
37
|
+
- SAMEORIGIN
|
38
|
+
transfer-encoding:
|
39
|
+
- chunked
|
40
|
+
content-type:
|
41
|
+
- application/json
|
42
|
+
body:
|
43
|
+
encoding: UTF-8
|
44
|
+
string: '{"count":18,"next":null,"previous":null,"results":[{"id":34667,"release_id":"ceph-2.1-updates@rhel-7","variant_uid":"Client-Tools","arch":"x86_64","service":"pulp","repo_family":"dist","content_format":"rpm","content_category":"debug","name":"rhel-7-desktop-rhceph-2-tools-debug-rpms__7Client__x86_64","shadow":false,"product_id":68},{"id":34668,"release_id":"ceph-2.1-updates@rhel-7","variant_uid":"Client-Tools","arch":"x86_64","service":"pulp","repo_family":"dist","content_format":"rpm","content_category":"binary","name":"rhel-7-desktop-rhceph-2-tools-rpms__7Client__x86_64","shadow":false,"product_id":68},{"id":34669,"release_id":"ceph-2.1-updates@rhel-7","variant_uid":"Client-Tools","arch":"x86_64","service":"pulp","repo_family":"dist","content_format":"rpm","content_category":"source","name":"rhel-7-desktop-rhceph-2-tools-source-rpms__7Client__x86_64","shadow":false,"product_id":68},{"id":34670,"release_id":"ceph-2.1-updates@rhel-7","variant_uid":"ComputeNode-Tools","arch":"x86_64","service":"pulp","repo_family":"dist","content_format":"rpm","content_category":"debug","name":"rhel-7-for-hpc-node-rhceph-2-tools-debug-rpms__7ComputeNode__x86_64","shadow":false,"product_id":76},{"id":34671,"release_id":"ceph-2.1-updates@rhel-7","variant_uid":"ComputeNode-Tools","arch":"x86_64","service":"pulp","repo_family":"dist","content_format":"rpm","content_category":"binary","name":"rhel-7-for-hpc-node-rhceph-2-tools-rpms__7ComputeNode__x86_64","shadow":false,"product_id":76},{"id":34672,"release_id":"ceph-2.1-updates@rhel-7","variant_uid":"ComputeNode-Tools","arch":"x86_64","service":"pulp","repo_family":"dist","content_format":"rpm","content_category":"source","name":"rhel-7-for-hpc-node-rhceph-2-tools-source-rpms__7ComputeNode__x86_64","shadow":false,"product_id":76},{"id":34673,"release_id":"ceph-2.1-updates@rhel-7","variant_uid":"MON","arch":"x86_64","service":"pulp","repo_family":"dist","content_format":"rpm","content_category":"debug","name":"rhel-7-server-rhceph-2-mon-debug-rpms__7Server__x86_64","shadow":false,"product_id":286},{"id":34674,"release_id":"ceph-2.1-updates@rhel-7","variant_uid":"MON","arch":"x86_64","service":"pulp","repo_family":"dist","content_format":"rpm","content_category":"binary","name":"rhel-7-server-rhceph-2-mon-rpms__7Server__x86_64","shadow":false,"product_id":286},{"id":34675,"release_id":"ceph-2.1-updates@rhel-7","variant_uid":"MON","arch":"x86_64","service":"pulp","repo_family":"dist","content_format":"rpm","content_category":"source","name":"rhel-7-server-rhceph-2-mon-source-rpms__7Server__x86_64","shadow":false,"product_id":286},{"id":34676,"release_id":"ceph-2.1-updates@rhel-7","variant_uid":"OSD","arch":"x86_64","service":"pulp","repo_family":"dist","content_format":"rpm","content_category":"debug","name":"rhel-7-server-rhceph-2-osd-debug-rpms__7Server__x86_64","shadow":false,"product_id":288},{"id":34677,"release_id":"ceph-2.1-updates@rhel-7","variant_uid":"OSD","arch":"x86_64","service":"pulp","repo_family":"dist","content_format":"rpm","content_category":"binary","name":"rhel-7-server-rhceph-2-osd-rpms__7Server__x86_64","shadow":false,"product_id":288},{"id":34678,"release_id":"ceph-2.1-updates@rhel-7","variant_uid":"OSD","arch":"x86_64","service":"pulp","repo_family":"dist","content_format":"rpm","content_category":"source","name":"rhel-7-server-rhceph-2-osd-source-rpms__7Server__x86_64","shadow":false,"product_id":288},{"id":34679,"release_id":"ceph-2.1-updates@rhel-7","variant_uid":"Server-Tools","arch":"x86_64","service":"pulp","repo_family":"dist","content_format":"rpm","content_category":"debug","name":"rhel-7-server-rhceph-2-tools-debug-rpms__7Server__x86_64","shadow":false,"product_id":69},{"id":34680,"release_id":"ceph-2.1-updates@rhel-7","variant_uid":"Server-Tools","arch":"x86_64","service":"pulp","repo_family":"dist","content_format":"rpm","content_category":"binary","name":"rhel-7-server-rhceph-2-tools-rpms__7Server__x86_64","shadow":false,"product_id":69},{"id":34681,"release_id":"ceph-2.1-updates@rhel-7","variant_uid":"Server-Tools","arch":"x86_64","service":"pulp","repo_family":"dist","content_format":"rpm","content_category":"source","name":"rhel-7-server-rhceph-2-tools-source-rpms__7Server__x86_64","shadow":false,"product_id":69},{"id":34682,"release_id":"ceph-2.1-updates@rhel-7","variant_uid":"Workstation-Tools","arch":"x86_64","service":"pulp","repo_family":"dist","content_format":"rpm","content_category":"debug","name":"rhel-7-workstation-rhceph-2-tools-debug-rpms__7Workstation__x86_64","shadow":false,"product_id":71},{"id":34683,"release_id":"ceph-2.1-updates@rhel-7","variant_uid":"Workstation-Tools","arch":"x86_64","service":"pulp","repo_family":"dist","content_format":"rpm","content_category":"binary","name":"rhel-7-workstation-rhceph-2-tools-rpms__7Workstation__x86_64","shadow":false,"product_id":71},{"id":34684,"release_id":"ceph-2.1-updates@rhel-7","variant_uid":"Workstation-Tools","arch":"x86_64","service":"pulp","repo_family":"dist","content_format":"rpm","content_category":"source","name":"rhel-7-workstation-rhceph-2-tools-source-rpms__7Workstation__x86_64","shadow":false,"product_id":71}]}'
|
45
|
+
http_version:
|
46
|
+
recorded_at: Thu, 16 Mar 2017 05:54:49 GMT
|
47
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,32 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe PDC::V1::ContentDeliveryRepo do
|
4
|
+
before do
|
5
|
+
VCR.insert_cassette fixture_name
|
6
|
+
end
|
7
|
+
|
8
|
+
after do
|
9
|
+
VCR.eject_cassette
|
10
|
+
end
|
11
|
+
|
12
|
+
describe 'count' do
|
13
|
+
it 'has serveral cdn content delivery repos' do
|
14
|
+
content_delivery_repos = PDC::V1::ContentDeliveryRepo
|
15
|
+
.where(release_id: 'ceph-2.1-updates@rhel-7', service: 'pulp')
|
16
|
+
assert_equal 18, content_delivery_repos.count
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
describe 'find' do
|
21
|
+
it 'content delivery repos must return a record' do
|
22
|
+
repo_class = PDC::V1::ContentDeliveryRepo
|
23
|
+
existing_repo = PDC::V1::ContentDeliveryRepo
|
24
|
+
.where(release_id: 'ceph-2.1-updates@rhel-7', service: 'pulp')
|
25
|
+
.first
|
26
|
+
found = repo_class.find(existing_repo.id)
|
27
|
+
found.must_be_instance_of repo_class
|
28
|
+
found.name.must_equal existing_repo.name
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pdc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sunil Thaha
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-
|
12
|
+
date: 2017-03-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -204,6 +204,7 @@ files:
|
|
204
204
|
- lib/pdc/resource/wip.rb
|
205
205
|
- lib/pdc/v1.rb
|
206
206
|
- lib/pdc/v1/arch.rb
|
207
|
+
- lib/pdc/v1/content_delivery_repo.rb
|
207
208
|
- lib/pdc/v1/product.rb
|
208
209
|
- lib/pdc/v1/release.rb
|
209
210
|
- lib/pdc/v1/release_rpm_mapping.rb
|
@@ -218,7 +219,9 @@ files:
|
|
218
219
|
- spec/fixtures/vcr/caches_response_with_multiple_query.yml
|
219
220
|
- spec/fixtures/vcr/caches_response_without_query.yml
|
220
221
|
- spec/fixtures/vcr/can_iterate_using_each.yml
|
222
|
+
- spec/fixtures/vcr/content_delivery_repos_must_return_a_record.yml
|
221
223
|
- spec/fixtures/vcr/fetches_variants_of_a_release.yml
|
224
|
+
- spec/fixtures/vcr/has_serveral_cdn_content_delivery_repos.yml
|
222
225
|
- spec/fixtures/vcr/must_has_compose.yml
|
223
226
|
- spec/fixtures/vcr/must_return_number_of_resources.yml
|
224
227
|
- spec/fixtures/vcr/preserves_the_filters.yml
|
@@ -241,6 +244,7 @@ files:
|
|
241
244
|
- spec/pdc/resource/value_parser_spec.rb
|
242
245
|
- spec/pdc/resource/wip_spec.rb
|
243
246
|
- spec/pdc/v1/arch_spec.rb
|
247
|
+
- spec/pdc/v1/content_delivery_repo_spec.rb
|
244
248
|
- spec/pdc/v1/release_rpm_mapping_spec.rb
|
245
249
|
- spec/pdc/v1/release_spec.rb
|
246
250
|
- spec/pdc/version_spec.rb
|
@@ -282,7 +286,9 @@ test_files:
|
|
282
286
|
- spec/fixtures/vcr/caches_response_with_multiple_query.yml
|
283
287
|
- spec/fixtures/vcr/caches_response_without_query.yml
|
284
288
|
- spec/fixtures/vcr/can_iterate_using_each.yml
|
289
|
+
- spec/fixtures/vcr/content_delivery_repos_must_return_a_record.yml
|
285
290
|
- spec/fixtures/vcr/fetches_variants_of_a_release.yml
|
291
|
+
- spec/fixtures/vcr/has_serveral_cdn_content_delivery_repos.yml
|
286
292
|
- spec/fixtures/vcr/must_has_compose.yml
|
287
293
|
- spec/fixtures/vcr/must_return_number_of_resources.yml
|
288
294
|
- spec/fixtures/vcr/preserves_the_filters.yml
|
@@ -305,6 +311,7 @@ test_files:
|
|
305
311
|
- spec/pdc/resource/value_parser_spec.rb
|
306
312
|
- spec/pdc/resource/wip_spec.rb
|
307
313
|
- spec/pdc/v1/arch_spec.rb
|
314
|
+
- spec/pdc/v1/content_delivery_repo_spec.rb
|
308
315
|
- spec/pdc/v1/release_rpm_mapping_spec.rb
|
309
316
|
- spec/pdc/v1/release_spec.rb
|
310
317
|
- spec/pdc/version_spec.rb
|