pdc 0.1.11 → 0.1.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +23 -0
- data/.travis.yml +3 -4
- data/Gemfile +0 -1
- data/docs/sphinx_deployment.mk +1 -1
- data/examples/local_pdc_dev.rb +10 -1
- data/examples/logger.rb +7 -14
- data/examples/pdc_global_component_contact.rb +18 -0
- data/examples/pdc_release_rpm_mapping.rb +2 -2
- data/examples/pdc_resource_tests.rb +3 -3
- data/examples/pdc_test_cache.rb +1 -1
- data/examples/prod_failures.rb +1 -1
- data/examples/prod_pdc.rb +10 -1
- data/examples/test_no_ssl_verification.rb +1 -1
- data/examples/url.rb +4 -4
- data/lib/pdc.rb +1 -1
- data/lib/pdc/base.rb +1 -0
- data/lib/pdc/config.rb +0 -7
- data/lib/pdc/http/request/token_fetcher.rb +1 -1
- data/lib/pdc/http/response/pagination.rb +0 -2
- data/lib/pdc/resource.rb +1 -0
- data/lib/pdc/resource/associations.rb +39 -0
- data/lib/pdc/resource/associations/association.rb +21 -0
- data/lib/pdc/resource/associations/builder.rb +46 -0
- data/lib/pdc/resource/associations/has_many.rb +26 -0
- data/lib/pdc/resource/attributes.rb +13 -4
- data/lib/pdc/resource/identity.rb +1 -1
- data/lib/pdc/resource/relation.rb +5 -0
- data/lib/pdc/resource/relation/pagination.rb +4 -4
- data/lib/pdc/resource/rest_api.rb +1 -1
- data/lib/pdc/resource/scopes.rb +1 -1
- data/lib/pdc/v1.rb +4 -0
- data/lib/pdc/v1/global_component_contact.rb +5 -0
- data/lib/pdc/v1/multi_destination.rb +8 -0
- data/lib/pdc/v1/release.rb +3 -1
- data/lib/pdc/v1/release_variant.rb +6 -1
- data/lib/pdc/v1/released_file.rb +10 -0
- data/lib/pdc/v1/variant_cpe.rb +7 -0
- data/lib/pdc/version.rb +1 -1
- data/pdc.gemspec +8 -10
- data/spec/fixtures/vcr/_page_count_returns_total_count.yml +6 -6
- data/spec/fixtures/vcr/behaves_like_an_array.yml +141 -0
- data/spec/fixtures/vcr/brew_can_be_nil.yml +23 -14
- data/spec/fixtures/vcr/brew_may_be_present.yml +4 -2
- data/spec/fixtures/vcr/caches_multiple_response.yml +42 -36
- data/spec/fixtures/vcr/caches_response_with_a_query.yml +16 -16
- data/spec/fixtures/vcr/caches_response_with_multiple_query.yml +16 -16
- data/spec/fixtures/vcr/caches_response_without_query.yml +14 -14
- data/spec/fixtures/vcr/can_find_global_contact_by_component_name.yml +47 -0
- data/spec/fixtures/vcr/can_get_release_by_multi_product_version.yml +9 -9
- data/spec/fixtures/vcr/can_iterate_using_each.yml +8 -8
- data/spec/fixtures/vcr/content_delivery_repos_must_return_a_record.yml +2 -2
- data/spec/fixtures/vcr/cpe_returns_number.yml +44 -0
- data/spec/fixtures/vcr/cpe_works_with_where.yml +85 -0
- data/spec/fixtures/vcr/destination_returns_count.yml +44 -0
- data/spec/fixtures/vcr/destination_works_with_where.yml +44 -0
- data/spec/fixtures/vcr/fetches_variants_of_a_release.yml +20 -20
- data/spec/fixtures/vcr/find_on_has_many_association.yml +48 -0
- data/spec/fixtures/vcr/get_released_files_by_file_primary_key.yml +44 -0
- data/spec/fixtures/vcr/get_released_files_by_release_id.yml +44 -0
- data/spec/fixtures/vcr/has_many_association.yml +48 -0
- data/spec/fixtures/vcr/has_serveral_cdn_content_delivery_repos.yml +1 -1
- data/spec/fixtures/vcr/must_has_compose.yml +45 -1
- data/spec/fixtures/vcr/must_has_version__attributes.yml +2 -2
- data/spec/fixtures/vcr/must_return_number_of_resources.yml +62 -14
- data/spec/fixtures/vcr/preserves_the_filters.yml +2 -2
- data/spec/fixtures/vcr/returns_a_contact_email.yml +47 -0
- data/spec/fixtures/vcr/returns_a_gloabl_contact_id.yml +47 -0
- data/spec/fixtures/vcr/returns_a_mail_name.yml +47 -0
- data/spec/fixtures/vcr/returns_contact_for_component.yml +47 -0
- data/spec/fixtures/vcr/returns_contact_role.yml +48 -0
- data/spec/fixtures/vcr/returns_cpe.yml +88 -0
- data/spec/fixtures/vcr/returns_number_of_released_files.yml +48 -0
- data/spec/fixtures/vcr/returns_release_file_by_retrieve.yml +44 -0
- data/spec/fixtures/vcr/returns_resources_on_that_page.yml +2 -2
- data/spec/fixtures/vcr/returns_the_total_count_and_not_items_in_page.yml +6 -6
- data/spec/fixtures/vcr/returns_url_of_a_release.yml +2 -2
- data/spec/fixtures/vcr/returns_url_of_a_release_variant.yml +7 -7
- data/spec/fixtures/vcr/scopes_on_associations.yml +48 -0
- data/spec/fixtures/vcr/should_not_be_in_the_list_of_attributes.yml +4 -4
- data/spec/fixtures/vcr/works_with_where.yml +45 -1
- data/spec/pdc/resource/associations_spec.rb +111 -0
- data/spec/pdc/resource/attributes_spec.rb +30 -20
- data/spec/pdc/resource/cache_spec.rb +1 -1
- data/spec/pdc/resource/identity_spec.rb +10 -10
- data/spec/pdc/resource/path_spec.rb +1 -1
- data/spec/pdc/resource/relation_spec.rb +1 -1
- data/spec/pdc/v1/content_delivery_repo_spec.rb +6 -6
- data/spec/pdc/v1/global_component_contact_spec.rb +64 -0
- data/spec/pdc/v1/multi_destination_sepc.rb +27 -0
- data/spec/pdc/v1/release_spec.rb +10 -10
- data/spec/pdc/v1/release_variant_spec.rb +8 -0
- data/spec/pdc/v1/released_file_spec.rb +37 -0
- data/spec/pdc/v1/variant_cpe_spec.rb +29 -0
- data/spec/spec_helper.rb +1 -4
- data/spec/support/fixtures.rb +29 -2
- metadata +77 -20
@@ -0,0 +1,44 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://example.com/rest_api/v1/released%2Dfiles/?release_id=rhel-6.8
|
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
|
+
- Wed, 13 Dec 2017 08:13:44 GMT
|
23
|
+
server:
|
24
|
+
- WSGIServer/0.1 Python/2.7.13
|
25
|
+
expires:
|
26
|
+
- Wed, 13 Dec 2017 08:14:14 GMT
|
27
|
+
vary:
|
28
|
+
- Accept, Cookie
|
29
|
+
last-modified:
|
30
|
+
- Wed, 13 Dec 2017 08:13:44 GMT
|
31
|
+
allow:
|
32
|
+
- GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
|
33
|
+
cache-control:
|
34
|
+
- max-age=30
|
35
|
+
x-frame-options:
|
36
|
+
- SAMEORIGIN
|
37
|
+
content-type:
|
38
|
+
- application/json
|
39
|
+
body:
|
40
|
+
encoding: UTF-8
|
41
|
+
string: '{"count":1,"next":null,"previous":null,"results":[{"id":39,"file_primary_key":5,"repo":{"id":18378,"release_id":"rhel-6.8","variant_uid":"Client","arch":"i386","service":"test","repo_family":"test","content_format":"rpm","content_category":"binary","name":"rhel-6-test__6Client__i386","shadow":false,"product_id":68},"released_date":null,"release_date":"2017-11-12","created_at":"2017-10-31T08:59:38.007696Z","updated_at":"2017-10-31T08:59:46.888620Z","zero_day_release":false,"obsolete":false,"build":"test-0.5.2-i686","package":"test","file":"test2-0.5.2-7.el7.i686.rpm"}]}'
|
42
|
+
http_version:
|
43
|
+
recorded_at: Wed, 13 Dec 2017 08:13:44 GMT
|
44
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,48 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://example.com/rest_api/v1/releases/?product_version=dp-1
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.9.2
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
|
+
Accept:
|
15
|
+
- "*/*"
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Date:
|
22
|
+
- Wed, 03 Jan 2018 08:14:47 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
|
+
- Wed, 03 Jan 2018 08:15:17 GMT
|
28
|
+
Vary:
|
29
|
+
- Accept,Cookie
|
30
|
+
Last-Modified:
|
31
|
+
- Tue, 26 Sep 2017 08:04:24 GMT
|
32
|
+
Allow:
|
33
|
+
- GET, POST, PUT, PATCH, 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":1,"next":null,"previous":null,"results":[{"release_id":"dp-1.0","short":"dp","version":"1.0","name":"Dummy
|
45
|
+
Product","base_product":null,"active":true,"product_version":"dp-1","release_type":"ga","compose_set":[],"integrated_with":null,"sigkey":null,"allow_buildroot_push":false,"allowed_debuginfo_services":[],"allowed_push_targets":[],"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null}]}'
|
46
|
+
http_version:
|
47
|
+
recorded_at: Wed, 03 Jan 2018 08:14:47 GMT
|
48
|
+
recorded_with: VCR 3.0.3
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://
|
5
|
+
uri: https://example.com/rest_api/v1/content%2Ddelivery%2Drepos/?release_id=ceph-2.1-updates%40rhel-7&service=pulp
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://
|
5
|
+
uri: https://example.com//rest_api/v1/releases/rhel-7.1/rpm%2Dmapping/tuned/
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -44,4 +44,48 @@ http_interactions:
|
|
44
44
|
string: '{"compose":"RHEL-7.1-20150219.1","mapping":{"Workstation":{"x86_64":{"tuned-utils":["noarch"],"tuned":["noarch","src"]}},"Workstation-optional":{"x86_64":{"tuned-gtk":["noarch"],"tuned-profiles-compat":["noarch"],"tuned-profiles-atomic":["noarch"],"tuned-utils-systemtap":["noarch"]}},"Server-SAP":{"x86_64":{"tuned-profiles-sap":["noarch"]}},"Server":{"x86_64":{"tuned-utils":["noarch"],"tuned":["noarch","src"]},"s390x":{"tuned-utils":["noarch"],"tuned":["noarch","src"]},"ppc64":{"tuned-utils":["noarch"],"tuned":["noarch","src"]}},"ComputeNode":{"x86_64":{"tuned-utils":["noarch"],"tuned":["noarch","src"]}},"Server-optional":{"x86_64":{"tuned-gtk":["noarch"],"tuned-profiles-compat":["noarch"],"tuned-profiles-atomic":["noarch"],"tuned-utils-systemtap":["noarch"]},"s390x":{"tuned-gtk":["noarch"],"tuned-profiles-compat":["noarch"],"tuned-profiles-atomic":["noarch"],"tuned-utils-systemtap":["noarch"]},"ppc64":{"tuned-gtk":["noarch"],"tuned-profiles-compat":["noarch"],"tuned-profiles-atomic":["noarch"],"tuned-utils-systemtap":["noarch"]}},"Client":{"x86_64":{"tuned-utils":["noarch"],"tuned":["noarch","src"]}},"ComputeNode-optional":{"x86_64":{"tuned-gtk":["noarch"],"tuned-profiles-compat":["noarch"],"tuned-profiles-atomic":["noarch"],"tuned-utils-systemtap":["noarch"]}},"Client-optional":{"x86_64":{"tuned-gtk":["noarch"],"tuned-profiles-compat":["noarch"],"tuned-profiles-atomic":["noarch"],"tuned-utils-systemtap":["noarch"]}}}}'
|
45
45
|
http_version:
|
46
46
|
recorded_at: Tue, 10 Jan 2017 06:35:44 GMT
|
47
|
+
- request:
|
48
|
+
method: get
|
49
|
+
uri: https://example.com/rest_api/v1/global%2Dcomponent%2Dcontacts/?component=vlgothic-fonts
|
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
|
+
- Fri, 24 Nov 2017 01:31:31 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
|
+
- Fri, 24 Nov 2017 01:31:31 GMT
|
72
|
+
vary:
|
73
|
+
- Accept,Cookie
|
74
|
+
last-modified:
|
75
|
+
- Fri, 24 Nov 2017 01:31:31 GMT
|
76
|
+
allow:
|
77
|
+
- GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
|
78
|
+
cache-control:
|
79
|
+
- max-age=0
|
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: '{"count":3,"next":null,"previous":null,"results":[{"id":1279,"component":"vlgothic-fonts","role":"QE_Group","contact":{"id":5,"mail_name":"I18N","email":"qe-i18n-bugs@redhat.com"}},{"id":1722,"component":"vlgothic-fonts","role":"QE_Leader","contact":{"id":6,"username":"mshao","email":"mshao@redhat.com"}},{"id":2165,"component":"vlgothic-fonts","role":"QE_ACK","contact":{"id":6,"username":"mshao","email":"mshao@redhat.com"}}]}'
|
89
|
+
http_version:
|
90
|
+
recorded_at: Fri, 24 Nov 2017 01:31:31 GMT
|
47
91
|
recorded_with: VCR 3.0.3
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://
|
5
|
+
uri: https://example.com/rest_api/v1/release%2Dvariants/
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -41,7 +41,7 @@ http_interactions:
|
|
41
41
|
- application/json
|
42
42
|
body:
|
43
43
|
encoding: UTF-8
|
44
|
-
string: '{"count":544,"next":"https://pdc.host.dev.eng.pek2.redhat.com/rest_api/v1/release-variants/?page=2","previous":null,"results":[{"release":"ceph-1.3@rhel-7","id":"Calamari","uid":"Calamari","name":"Calamari","type":"variant","arches":["x86_64"],"variant_version":null,"variant_release":null},{"release":"ceph-1.3-updates@rhel-7","id":"Calamari","uid":"Calamari","name":"Calamari","type":"variant","arches":["x86_64"],"variant_version":null,"variant_release":null},{"release":"satellite-6.3@rhel-7","id":"Capsule","uid":"Capsule","name":"Capsule","type":"variant","arches":["x86_64"],"variant_version":null,"variant_release":null},{"release":"satellite-6.3-updates@rhel-6","id":"Capsule","uid":"Capsule","name":"Capsule","type":"variant","arches":["x86_64"],"variant_version":null,"variant_release":null},{"release":"satellite-6.0.4@rhel-7","id":"Capsule","uid":"Capsule","name":"Capsule","type":"variant","arches":["x86_64"],"variant_version":null,"variant_release":null},{"release":"satellite-6.2-updates@rhel-6","id":"Capsule","uid":"Capsule","name":"Capsule","type":"variant","arches":["x86_64"],"variant_version":null,"variant_release":null},{"release":"satellite-6.2-updates@rhel-7","id":"Capsule","uid":"Capsule","name":"Capsule","type":"variant","arches":["x86_64"],"variant_version":null,"variant_release":null},{"release":"satellite-6.1.0@rhel-6","id":"Capsule","uid":"Capsule","name":"Capsule","type":"variant","arches":["x86_64"],"variant_version":null,"variant_release":null},{"release":"satellite-6.2@rhel-7","id":"Capsule","uid":"Capsule","name":"Capsule","type":"variant","arches":["x86_64"],"variant_version":null,"variant_release":null},{"release":"satellite-6.1.0@rhel-7","id":"Capsule","uid":"Capsule","name":"Capsule","type":"variant","arches":["x86_64"],"variant_version":null,"variant_release":null},{"release":"satellite-6.2@rhel-6","id":"Capsule","uid":"Capsule","name":"Capsule","type":"variant","arches":["x86_64"],"variant_version":null,"variant_release":null},{"release":"satellite-6.3@rhel-6","id":"Capsule","uid":"Capsule","name":"Capsule","type":"variant","arches":["x86_64"],"variant_version":null,"variant_release":null},{"release":"satellite-6.3-updates@rhel-7","id":"Capsule","uid":"Capsule","name":"Capsule","type":"variant","arches":["x86_64"],"variant_version":null,"variant_release":null},{"release":"satellite-6.0.4@rhel-6","id":"Capsule","uid":"Capsule","name":"Capsule","type":"variant","arches":["x86_64"],"variant_version":null,"variant_release":null},{"release":"rhel-7.3","id":"Client","uid":"Client","name":"Client","type":"variant","arches":["x86_64"],"variant_version":null,"variant_release":null},{"release":"rhel-7.1-eus","id":"Client","uid":"Client","name":"Client","type":"variant","arches":["x86_64"],"variant_version":null,"variant_release":null},{"release":"supp-6.8@rhel-6","id":"Client","uid":"Client","name":"Client","type":"variant","arches":["i386","x86_64"],"variant_version":null,"variant_release":null},{"release":"rhel-7.1","id":"Client","uid":"Client","name":"Client","type":"variant","arches":["x86_64"],"variant_version":null,"variant_release":null},{"release":"supp-6.7@rhel-6","id":"Client","uid":"Client","name":"Client","type":"variant","arches":["i386","x86_64"],"variant_version":null,"variant_release":null},{"release":"rcmtools-1.5@rhel-7","id":"Client","uid":"Client","name":"Client","type":"variant","arches":["x86_64"],"variant_version":null,"variant_release":null}]}'
|
44
|
+
string: '{"count":544,"next":"https://pdc.host.dev.eng.pek2.redhat.com/rest_api/v1/release-variants/?page=2","previous":null,"results":[{"release":"ceph-1.3@rhel-7","id":"Calamari","uid":"Calamari","name":"Calamari","type":"variant","arches":["x86_64"],"variant_version":null,"variant_release":null,"allowed_push_targets":[]},{"release":"ceph-1.3-updates@rhel-7","id":"Calamari","uid":"Calamari","name":"Calamari","type":"variant","arches":["x86_64"],"variant_version":null,"variant_release":null,"allowed_push_targets":[]},{"release":"satellite-6.3@rhel-7","id":"Capsule","uid":"Capsule","name":"Capsule","type":"variant","arches":["x86_64"],"variant_version":null,"variant_release":null,"allowed_push_targets":[]},{"release":"satellite-6.3-updates@rhel-6","id":"Capsule","uid":"Capsule","name":"Capsule","type":"variant","arches":["x86_64"],"variant_version":null,"variant_release":null,"allowed_push_targets":[]},{"release":"satellite-6.0.4@rhel-7","id":"Capsule","uid":"Capsule","name":"Capsule","type":"variant","arches":["x86_64"],"variant_version":null,"variant_release":null,"allowed_push_targets":[]},{"release":"satellite-6.2-updates@rhel-6","id":"Capsule","uid":"Capsule","name":"Capsule","type":"variant","arches":["x86_64"],"variant_version":null,"variant_release":null,"allowed_push_targets":[]},{"release":"satellite-6.2-updates@rhel-7","id":"Capsule","uid":"Capsule","name":"Capsule","type":"variant","arches":["x86_64"],"variant_version":null,"variant_release":null,"allowed_push_targets":[]},{"release":"satellite-6.1.0@rhel-6","id":"Capsule","uid":"Capsule","name":"Capsule","type":"variant","arches":["x86_64"],"variant_version":null,"variant_release":null,"allowed_push_targets":[],"allowed_push_targets":[],"allowed_push_targets":[]},{"release":"satellite-6.2@rhel-7","id":"Capsule","uid":"Capsule","name":"Capsule","type":"variant","arches":["x86_64"],"variant_version":null,"variant_release":null,"allowed_push_targets":[]},{"release":"satellite-6.1.0@rhel-7","id":"Capsule","uid":"Capsule","name":"Capsule","type":"variant","arches":["x86_64"],"variant_version":null,"variant_release":null,"allowed_push_targets":[]},{"release":"satellite-6.2@rhel-6","id":"Capsule","uid":"Capsule","name":"Capsule","type":"variant","arches":["x86_64"],"variant_version":null,"variant_release":null,"allowed_push_targets":[]},{"release":"satellite-6.3@rhel-6","id":"Capsule","uid":"Capsule","name":"Capsule","type":"variant","arches":["x86_64"],"variant_version":null,"variant_release":null,"allowed_push_targets":[]},{"release":"satellite-6.3-updates@rhel-7","id":"Capsule","uid":"Capsule","name":"Capsule","type":"variant","arches":["x86_64"],"variant_version":null,"variant_release":null,"allowed_push_targets":[]},{"release":"satellite-6.0.4@rhel-6","id":"Capsule","uid":"Capsule","name":"Capsule","type":"variant","arches":["x86_64"],"variant_version":null,"variant_release":null,"allowed_push_targets":[]},{"release":"rhel-7.3","id":"Client","uid":"Client","name":"Client","type":"variant","arches":["x86_64"],"variant_version":null,"variant_release":null,"allowed_push_targets":[]},{"release":"rhel-7.1-eus","id":"Client","uid":"Client","name":"Client","type":"variant","arches":["x86_64"],"variant_version":null,"variant_release":null,"allowed_push_targets":[]},{"release":"supp-6.8@rhel-6","id":"Client","uid":"Client","name":"Client","type":"variant","arches":["i386","x86_64"],"variant_version":null,"variant_release":null,"allowed_push_targets":[]},{"release":"rhel-7.1","id":"Client","uid":"Client","name":"Client","type":"variant","arches":["x86_64"],"variant_version":null,"variant_release":null,"allowed_push_targets":[]},{"release":"supp-6.7@rhel-6","id":"Client","uid":"Client","name":"Client","type":"variant","arches":["i386","x86_64"],"variant_version":null,"variant_release":null,"allowed_push_targets":[]},{"release":"rcmtools-1.5@rhel-7","id":"Client","uid":"Client","name":"Client","type":"variant","arches":["x86_64"],"variant_version":null,"variant_release":null,"allowed_push_targets":[]}]}'
|
45
45
|
http_version:
|
46
46
|
recorded_at: Fri, 01 Sep 2017 01:49:15 GMT
|
47
47
|
recorded_with: VCR 3.0.3
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://
|
5
|
+
uri: https://example.com/rest_api/v1/releases/
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -43,19 +43,67 @@ http_interactions:
|
|
43
43
|
- application/json
|
44
44
|
body:
|
45
45
|
encoding: UTF-8
|
46
|
-
string: '{"count":54,"next":"https://pdc.host.dev.eng.pek2.redhat.com/rest_api/v1/releases/?page=2","previous":null,"results":[{"release_id":"atomicopenshift-3.2","short":"atomicopenshift","version":"3.2","name":"AtomicOpenShift","base_product":null,"active":true,"product_version":"atomicopenshift-3","release_type":"ga","compose_set":["AtomicOpenShift-3.2-20160519.4","AtomicOpenShift-3.2-20160519.6","AtomicOpenShift-3.2-20160520.3","AtomicOpenShift-3.2-20160520.4","AtomicOpenShift-3.2-20160520.6","AtomicOpenShift-3.2-20160520.7","AtomicOpenShift-3.2-20160530.2"],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null},{"release_id":"cloudforms-4.1","short":"cloudforms","version":"4.1","name":"CloudForms","base_product":null,"active":true,"product_version":"cloudforms-4","release_type":"ga","compose_set":["CloudForms-4.1-20160520.8","CloudForms-4.1-20160520.9","CloudForms-4.1-20160530.1","CloudForms-4.1-20160530.2"],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null},{"release_id":"dotnet-1.0@rhel-7","short":"dotnet","version":"1.0","name":"dotNET
|
47
|
-
on RHEL","base_product":"rhel-7","active":true,"product_version":"dotnet-1","release_type":"ga","compose_set":["dotNET-1.0-RHEL-7-20160601.0"],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null},{"release_id":"dp-1.0","short":"dp","version":"1.0","name":"Dummy
|
48
|
-
Product","base_product":null,"active":true,"product_version":null,"release_type":"ga","compose_set":[],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null},{"release_id":"f-20","short":"f","version":"20","name":"Red
|
49
|
-
Hat Enterprise Linux","base_product":null,"active":true,"product_version":null,"release_type":"ga","compose_set":["RHEL-7.0-20140507.1"],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null},{"release_id":"f-25","short":"f","version":"25","name":"Fedora","base_product":null,"active":true,"product_version":null,"release_type":"ga","compose_set":[],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":{"product_version":"production_version_1"}},{"release_id":"f-26","short":"f","version":"26","name":"Fedora","base_product":null,"active":true,"product_version":null,"release_type":"ga","compose_set":[],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":{"product_version":"production_version_1"}},{"release_id":"f-27","short":"f","version":"27","name":"Fedora","base_product":null,"active":true,"product_version":null,"release_type":"ga","compose_set":[],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":{"product_version":"production_version_1"}},{"release_id":"myproduct-2.1","short":"myproduct","version":"2.1","name":"MyProduct","base_product":null,"active":true,"product_version":"myproduct-2","release_type":"ga","compose_set":["MyProduct-2.1-20160519.9","MyProduct-2.1-20160519.10"],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null},{"release_id":"openstack-9.0@rhel-7","short":"openstack","version":"9.0","name":"OpenStack","base_product":"rhel-7","active":true,"product_version":"openstack-9","release_type":"ga","compose_set":["OpenStack-9.0-RHEL-7-20160530.5"],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null},{"release_id":"rhel-7.0","short":"rhel","version":"7.0","name":"Red
|
50
|
-
Hat Enterprise Linux","base_product":null,"active":true,"product_version":"rhel-7","release_type":"ga","compose_set":["RHEL-7.0-20140507.0"],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null},{"release_id":"rhel-7.0-updates","short":"rhel","version":"7.0","name":"Red
|
51
|
-
Hat Enterprise Linux","base_product":null,"active":true,"product_version":"rhel-7","release_type":"updates","compose_set":["RHEL-7.0-20140507.0"],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null},{"release_id":"rhel-7.1","short":"rhel","version":"7.1","name":"Red
|
52
|
-
Hat Enterprise Linux","base_product":null,"active":true,"product_version":"rhel-7","release_type":"ga","compose_set":["RHEL-7.1-20140507.2","RHEL-7.1-20140708.n.0","RHEL-7.1-20150219.1"],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null},{"release_id":"rhel-7.1-updates","short":"rhel","version":"7.1","name":"Red
|
53
|
-
Hat Enterprise Linux","base_product":null,"active":true,"product_version":"rhel-7","release_type":"updates","compose_set":["RHEL-7.1-20150219.1"],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null},{"release_id":"rhel-7.1-eus","short":"rhel","version":"7.1","name":"Red
|
54
|
-
Hat Enterprise Linux","base_product":null,"active":true,"product_version":"rhel-7","release_type":"eus","compose_set":["RHEL-7.1-20150219.1"],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null},{"release_id":"rhel-7.2","short":"rhel","version":"7.2","name":"rhel7.2","base_product":null,"active":true,"product_version":null,"release_type":"ga","compose_set":[],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null},{"release_id":"rhel-le-7.1","short":"rhel-le","version":"7.1","name":"Red
|
55
|
-
Hat Enterprise Linux - LE","base_product":null,"active":true,"product_version":"rhel-le-7","release_type":"ga","compose_set":["RHEL-LE-7.1-20150219.1"],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null},{"release_id":"rhscl-1.2@rhel-6","short":"rhscl","version":"1.2","name":"Red
|
56
|
-
Hat Software Collections","base_product":"rhel-6","active":true,"product_version":"rhscl-1","release_type":"ga","compose_set":["RHSCL-1.2-RHEL-6-20140814.0"],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null},{"release_id":"rhscl-1.2@rhel-7","short":"rhscl","version":"1.2","name":"Red
|
57
|
-
Hat Software Collections","base_product":"rhel-7","active":true,"product_version":"rhscl-1","release_type":"ga","compose_set":["RHSCL-1.2-RHEL-7-20140814.0"],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null},{"release_id":"rhscl-2.2@rhel-6.6-eus","short":"rhscl","version":"2.2","name":"Red
|
58
|
-
Hat Software Collections","base_product":"rhel-6.6-eus","active":true,"product_version":"rhscl-2","release_type":"ga","compose_set":[],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null}]}'
|
46
|
+
string: '{"count":54,"next":"https://pdc.host.dev.eng.pek2.redhat.com/rest_api/v1/releases/?active=true&page=2","previous":null,"results":[{"release_id":"atomicopenshift-3.2","short":"atomicopenshift","version":"3.2","name":"AtomicOpenShift","base_product":null,"active":true,"product_version":"atomicopenshift-3","release_type":"ga","compose_set":["AtomicOpenShift-3.2-20160519.4","AtomicOpenShift-3.2-20160519.6","AtomicOpenShift-3.2-20160520.3","AtomicOpenShift-3.2-20160520.4","AtomicOpenShift-3.2-20160520.6","AtomicOpenShift-3.2-20160520.7","AtomicOpenShift-3.2-20160530.2"],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null,"sigkey":null,"allow_buildroot_push":true,"allowed_debuginfo_services":[],"allowed_push_targets":[]},{"release_id":"cloudforms-4.1","short":"cloudforms","version":"4.1","name":"CloudForms","base_product":null,"active":true,"product_version":"cloudforms-4","release_type":"ga","compose_set":["CloudForms-4.1-20160520.8","CloudForms-4.1-20160520.9","CloudForms-4.1-20160530.1","CloudForms-4.1-20160530.2"],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null,"sigkey":null,"allow_buildroot_push":true,"allowed_debuginfo_services":[],"allowed_push_targets":[]},{"release_id":"dotnet-1.0@rhel-7","short":"dotnet","version":"1.0","name":"dotNET
|
47
|
+
on RHEL","base_product":"rhel-7","active":true,"product_version":"dotnet-1","release_type":"ga","compose_set":["dotNET-1.0-RHEL-7-20160601.0"],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null,"sigkey":null,"allow_buildroot_push":true,"allowed_debuginfo_services":[],"allowed_push_targets":[]},{"release_id":"dp-1.0","short":"dp","version":"1.0","name":"Dummy
|
48
|
+
Product","base_product":null,"active":true,"product_version":null,"release_type":"ga","compose_set":[],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null,"sigkey":null,"allow_buildroot_push":true,"allowed_debuginfo_services":[],"allowed_push_targets":[]},{"release_id":"f-20","short":"f","version":"20","name":"Red
|
49
|
+
Hat Enterprise Linux","base_product":null,"active":true,"product_version":null,"release_type":"ga","compose_set":["RHEL-7.0-20140507.1"],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null,"sigkey":null,"allow_buildroot_push":true,"allowed_debuginfo_services":[],"allowed_push_targets":[]},{"release_id":"f-25","short":"f","version":"25","name":"Fedora","base_product":null,"active":true,"product_version":null,"release_type":"ga","compose_set":[],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":{"product_version":"production_version_1"},"sigkey":null,"allow_buildroot_push":true,"allowed_debuginfo_services":[],"allowed_push_targets":[]},{"release_id":"f-26","short":"f","version":"26","name":"Fedora","base_product":null,"active":true,"product_version":null,"release_type":"ga","compose_set":[],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":{"product_version":"production_version_1"},"sigkey":null,"allow_buildroot_push":true,"allowed_debuginfo_services":[],"allowed_push_targets":[]},{"release_id":"f-27","short":"f","version":"27","name":"Fedora","base_product":null,"active":true,"product_version":null,"release_type":"ga","compose_set":[],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":{"product_version":"production_version_1"},"sigkey":null,"allow_buildroot_push":true,"allowed_debuginfo_services":[],"allowed_push_targets":[]},{"release_id":"myproduct-2.1","short":"myproduct","version":"2.1","name":"MyProduct","base_product":null,"active":true,"product_version":"myproduct-2","release_type":"ga","compose_set":["MyProduct-2.1-20160519.9","MyProduct-2.1-20160519.10"],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null,"sigkey":null,"allow_buildroot_push":true,"allowed_debuginfo_services":[],"allowed_push_targets":[]},{"release_id":"openstack-9.0@rhel-7","short":"openstack","version":"9.0","name":"OpenStack","base_product":"rhel-7","active":true,"product_version":"openstack-9","release_type":"ga","compose_set":["OpenStack-9.0-RHEL-7-20160530.5"],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null,"sigkey":null,"allow_buildroot_push":true,"allowed_debuginfo_services":[],"allowed_push_targets":[]},{"release_id":"rhel-7.0","short":"rhel","version":"7.0","name":"Red
|
50
|
+
Hat Enterprise Linux","base_product":null,"active":true,"product_version":"rhel-7","release_type":"ga","compose_set":["RHEL-7.0-20140507.0"],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null,"sigkey":null,"allow_buildroot_push":true,"allowed_debuginfo_services":[],"allowed_push_targets":[]},{"release_id":"rhel-7.0-updates","short":"rhel","version":"7.0","name":"Red
|
51
|
+
Hat Enterprise Linux","base_product":null,"active":true,"product_version":"rhel-7","release_type":"updates","compose_set":["RHEL-7.0-20140507.0"],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null,"sigkey":null,"allow_buildroot_push":true,"allowed_debuginfo_services":[],"allowed_push_targets":[]},{"release_id":"rhel-7.1","short":"rhel","version":"7.1","name":"Red
|
52
|
+
Hat Enterprise Linux","base_product":null,"active":true,"product_version":"rhel-7","release_type":"ga","compose_set":["RHEL-7.1-20140507.2","RHEL-7.1-20140708.n.0","RHEL-7.1-20150219.1"],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null,"sigkey":null,"allow_buildroot_push":true,"allowed_debuginfo_services":[],"allowed_push_targets":[]},{"release_id":"rhel-7.1-updates","short":"rhel","version":"7.1","name":"Red
|
53
|
+
Hat Enterprise Linux","base_product":null,"active":true,"product_version":"rhel-7","release_type":"updates","compose_set":["RHEL-7.1-20150219.1"],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null,"sigkey":null,"allow_buildroot_push":true,"allowed_debuginfo_services":[],"allowed_push_targets":[]},{"release_id":"rhel-7.1-eus","short":"rhel","version":"7.1","name":"Red
|
54
|
+
Hat Enterprise Linux","base_product":null,"active":true,"product_version":"rhel-7","release_type":"eus","compose_set":["RHEL-7.1-20150219.1"],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null,"sigkey":null,"allow_buildroot_push":true,"allowed_debuginfo_services":[],"allowed_push_targets":[]},{"release_id":"rhel-7.2","short":"rhel","version":"7.2","name":"rhel7.2","base_product":null,"active":true,"product_version":null,"release_type":"ga","compose_set":[],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null,"sigkey":null,"allow_buildroot_push":true,"allowed_debuginfo_services":[],"allowed_push_targets":[]},{"release_id":"rhel-le-7.1","short":"rhel-le","version":"7.1","name":"Red
|
55
|
+
Hat Enterprise Linux - LE","base_product":null,"active":true,"product_version":"rhel-le-7","release_type":"ga","compose_set":["RHEL-LE-7.1-20150219.1"],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null,"sigkey":null,"allow_buildroot_push":true,"allowed_debuginfo_services":[],"allowed_push_targets":[]},{"release_id":"rhscl-1.2@rhel-6","short":"rhscl","version":"1.2","name":"Red
|
56
|
+
Hat Software Collections","base_product":"rhel-6","active":true,"product_version":"rhscl-1","release_type":"ga","compose_set":["RHSCL-1.2-RHEL-6-20140814.0"],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null,"sigkey":null,"allow_buildroot_push":true,"allowed_debuginfo_services":[],"allowed_push_targets":[]},{"release_id":"rhscl-1.2@rhel-7","short":"rhscl","version":"1.2","name":"Red
|
57
|
+
Hat Software Collections","base_product":"rhel-7","active":true,"product_version":"rhscl-1","release_type":"ga","compose_set":["RHSCL-1.2-RHEL-7-20140814.0"],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null,"sigkey":null,"allow_buildroot_push":true,"allowed_debuginfo_services":[],"allowed_push_targets":[]},{"release_id":"rhscl-2.2@rhel-6.6-eus","short":"rhscl","version":"2.2","name":"Red
|
58
|
+
Hat Software Collections","base_product":"rhel-6.6-eus","active":true,"product_version":"rhscl-2","release_type":"ga","compose_set":[],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null,"sigkey":null,"allow_buildroot_push":true,"allowed_debuginfo_services":[],"allowed_push_targets":[]}]}'
|
59
59
|
http_version:
|
60
60
|
recorded_at: Thu, 31 Dec 2015 14:00:00 GMT
|
61
|
+
- request:
|
62
|
+
method: get
|
63
|
+
uri: https://example.com/rest_api/v1/global%2Dcomponent%2Dcontacts/
|
64
|
+
body:
|
65
|
+
encoding: US-ASCII
|
66
|
+
string: ''
|
67
|
+
headers:
|
68
|
+
Accept:
|
69
|
+
- application/json
|
70
|
+
Content-Type:
|
71
|
+
- application/json
|
72
|
+
User-Agent:
|
73
|
+
- Faraday v0.9.2
|
74
|
+
response:
|
75
|
+
status:
|
76
|
+
code: 200
|
77
|
+
message:
|
78
|
+
headers:
|
79
|
+
date:
|
80
|
+
- Fri, 24 Nov 2017 00:41:54 GMT
|
81
|
+
server:
|
82
|
+
- Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.1e-fips mod_auth_kerb/5.4
|
83
|
+
mod_wsgi/3.4 Python/2.7.5
|
84
|
+
expires:
|
85
|
+
- Fri, 24 Nov 2017 00:41:57 GMT
|
86
|
+
vary:
|
87
|
+
- Accept,Cookie
|
88
|
+
last-modified:
|
89
|
+
- Fri, 24 Nov 2017 00:41:57 GMT
|
90
|
+
allow:
|
91
|
+
- GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
|
92
|
+
cache-control:
|
93
|
+
- max-age=0
|
94
|
+
x-frame-options:
|
95
|
+
- SAMEORIGIN
|
96
|
+
transfer-encoding:
|
97
|
+
- chunked
|
98
|
+
content-type:
|
99
|
+
- application/json
|
100
|
+
body:
|
101
|
+
encoding: UTF-8
|
102
|
+
string: '{"count":12546,"next":"https://example.com/rest_api/v1/global-component-contacts/?page=2","previous":null,"results":[{"id":1,"component":"389-ds-base","role":"QE_Group","contact":{"id":1,"mail_name":"IdM
|
103
|
+
- Red Hat Directory Server","email":"sramling@redhat.com"}},{"id":2,"component":"mozldap","role":"QE_Group","contact":{"id":1,"mail_name":"IdM
|
104
|
+
- Red Hat Directory Server","email":"sramling@redhat.com"}},{"id":3,"component":"perl-Mozilla-LDAP","role":"QE_Group","contact":{"id":1,"mail_name":"IdM
|
105
|
+
- Red Hat Directory Server","email":"sramling@redhat.com"}},{"id":4,"component":"svrcore","role":"QE_Group","contact":{"id":1,"mail_name":"IdM
|
106
|
+
- Red Hat Directory Server","email":"sramling@redhat.com"}},{"id":5,"component":"389-ds-base","role":"QE_Leader","contact":{"id":2,"username":"jgalipea","email":"jgalipea@redhat.com"}},{"id":6,"component":"antlr-maven-plugin","role":"QE_Leader","contact":{"id":2,"username":"jgalipea","email":"jgalipea@redhat.com"}},{"id":7,"component":"args4j","role":"QE_Leader","contact":{"id":2,"username":"jgalipea","email":"jgalipea@redhat.com"}},{"id":8,"component":"bind-dyndb-ldap","role":"QE_Leader","contact":{"id":2,"username":"jgalipea","email":"jgalipea@redhat.com"}},{"id":9,"component":"ccid","role":"QE_Leader","contact":{"id":2,"username":"jgalipea","email":"jgalipea@redhat.com"}},{"id":10,"component":"cdi-api","role":"QE_Leader","contact":{"id":2,"username":"jgalipea","email":"jgalipea@redhat.com"}},{"id":11,"component":"certmonger","role":"QE_Leader","contact":{"id":2,"username":"jgalipea","email":"jgalipea@redhat.com"}},{"id":12,"component":"classworlds","role":"QE_Leader","contact":{"id":2,"username":"jgalipea","email":"jgalipea@redhat.com"}},{"id":13,"component":"codemodel","role":"QE_Leader","contact":{"id":2,"username":"jgalipea","email":"jgalipea@redhat.com"}},{"id":14,"component":"coolkey","role":"QE_Leader","contact":{"id":2,"username":"jgalipea","email":"jgalipea@redhat.com"}},{"id":15,"component":"ding-libs","role":"QE_Leader","contact":{"id":2,"username":"jgalipea","email":"jgalipea@redhat.com"}},{"id":16,"component":"dnsjava","role":"QE_Leader","contact":{"id":2,"username":"jgalipea","email":"jgalipea@redhat.com"}},{"id":17,"component":"esc","role":"QE_Leader","contact":{"id":2,"username":"jgalipea","email":"jgalipea@redhat.com"}},{"id":18,"component":"ifd-egate","role":"QE_Leader","contact":{"id":2,"username":"jgalipea","email":"jgalipea@redhat.com"}},{"id":19,"component":"ipa","role":"QE_Leader","contact":{"id":2,"username":"jgalipea","email":"jgalipea@redhat.com"}},{"id":20,"component":"ipa-client","role":"QE_Leader","contact":{"id":2,"username":"jgalipea","email":"jgalipea@redhat.com"}}]}'
|
107
|
+
http_version:
|
108
|
+
recorded_at: Fri, 24 Nov 2017 00:41:57 GMT
|
61
109
|
recorded_with: VCR 3.0.3
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://
|
5
|
+
uri: https://example.com/rest_api/v1/release%2Dvariants/?name=rh-common&type=variant
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -43,7 +43,7 @@ http_interactions:
|
|
43
43
|
- application/json
|
44
44
|
body:
|
45
45
|
encoding: UTF-8
|
46
|
-
string: '{"count":3,"next":null,"previous":null,"results":[{"release":"satellite-6.0.4@rhel-5","id":"rhcommon","uid":"rhcommon","name":"rh-common","type":"variant","arches":["i386","ia64","ppc","s390x","x86_64"]},{"release":"satellite-6.0.4@rhel-6","id":"rhcommon","uid":"rhcommon","name":"rh-common","type":"variant","arches":["i386","ppc64","s390x","x86_64"]},{"release":"satellite-6.0.4@rhel-7","id":"rhcommon","uid":"rhcommon","name":"rh-common","type":"variant","arches":["ppc64","s390x","x86_64"]}]}'
|
46
|
+
string: '{"count":3,"next":null,"previous":null,"results":[{"release":"satellite-6.0.4@rhel-5","id":"rhcommon","uid":"rhcommon","name":"rh-common","type":"variant","arches":["i386","ia64","ppc","s390x","x86_64"],"allowed_push_targets":[]},{"release":"satellite-6.0.4@rhel-6","id":"rhcommon","uid":"rhcommon","name":"rh-common","type":"variant","arches":["i386","ppc64","s390x","x86_64"],"allowed_push_targets":[]},{"release":"satellite-6.0.4@rhel-7","id":"rhcommon","uid":"rhcommon","name":"rh-common","type":"variant","arches":["ppc64","s390x","x86_64"],"allowed_push_targets":[]}]}'
|
47
47
|
http_version:
|
48
48
|
recorded_at: Thu, 31 Dec 2015 14:00:00 GMT
|
49
49
|
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,47 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://example.com/rest_api/v1/global%2Dcomponent%2Dcontacts/?component=vlgothic-fonts
|
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
|
+
- Fri, 24 Nov 2017 01:05:05 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
|
+
- Fri, 24 Nov 2017 01:05:07 GMT
|
28
|
+
vary:
|
29
|
+
- Accept,Cookie
|
30
|
+
last-modified:
|
31
|
+
- Fri, 24 Nov 2017 01:05:07 GMT
|
32
|
+
allow:
|
33
|
+
- GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
|
34
|
+
cache-control:
|
35
|
+
- max-age=0
|
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":3,"next":null,"previous":null,"results":[{"id":1279,"component":"vlgothic-fonts","role":"QE_Group","contact":{"id":5,"mail_name":"I18N","email":"qe-i18n-bugs@redhat.com"}},{"id":1722,"component":"vlgothic-fonts","role":"QE_Leader","contact":{"id":6,"username":"mshao","email":"mshao@redhat.com"}},{"id":2165,"component":"vlgothic-fonts","role":"QE_ACK","contact":{"id":6,"username":"mshao","email":"mshao@redhat.com"}}]}'
|
45
|
+
http_version:
|
46
|
+
recorded_at: Fri, 24 Nov 2017 01:05:07 GMT
|
47
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,47 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://example.com/rest_api/v1/global%2Dcomponent%2Dcontacts/?component=vlgothic-fonts
|
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
|
+
- Fri, 24 Nov 2017 01:05:08 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
|
+
- Fri, 24 Nov 2017 01:05:11 GMT
|
28
|
+
vary:
|
29
|
+
- Accept,Cookie
|
30
|
+
last-modified:
|
31
|
+
- Fri, 24 Nov 2017 01:05:11 GMT
|
32
|
+
allow:
|
33
|
+
- GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
|
34
|
+
cache-control:
|
35
|
+
- max-age=0
|
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":3,"next":null,"previous":null,"results":[{"id":1279,"component":"vlgothic-fonts","role":"QE_Group","contact":{"id":5,"mail_name":"I18N","email":"qe-i18n-bugs@redhat.com"}},{"id":1722,"component":"vlgothic-fonts","role":"QE_Leader","contact":{"id":6,"username":"mshao","email":"mshao@redhat.com"}},{"id":2165,"component":"vlgothic-fonts","role":"QE_ACK","contact":{"id":6,"username":"mshao","email":"mshao@redhat.com"}}]}'
|
45
|
+
http_version:
|
46
|
+
recorded_at: Fri, 24 Nov 2017 01:05:11 GMT
|
47
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,47 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://example.com/rest_api/v1/global%2Dcomponent%2Dcontacts/?component=vlgothic-fonts
|
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
|
+
- Fri, 24 Nov 2017 01:05:12 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
|
+
- Fri, 24 Nov 2017 01:05:12 GMT
|
28
|
+
vary:
|
29
|
+
- Accept,Cookie
|
30
|
+
last-modified:
|
31
|
+
- Fri, 24 Nov 2017 01:05:12 GMT
|
32
|
+
allow:
|
33
|
+
- GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
|
34
|
+
cache-control:
|
35
|
+
- max-age=0
|
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":3,"next":null,"previous":null,"results":[{"id":1279,"component":"vlgothic-fonts","role":"QE_Group","contact":{"id":5,"mail_name":"I18N","email":"qe-i18n-bugs@redhat.com"}},{"id":1722,"component":"vlgothic-fonts","role":"QE_Leader","contact":{"id":6,"username":"mshao","email":"mshao@redhat.com"}},{"id":2165,"component":"vlgothic-fonts","role":"QE_ACK","contact":{"id":6,"username":"mshao","email":"mshao@redhat.com"}}]}'
|
45
|
+
http_version:
|
46
|
+
recorded_at: Fri, 24 Nov 2017 01:05:12 GMT
|
47
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,47 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://example.com/rest_api/v1/global%2Dcomponent%2Dcontacts/?component=vlgothic-fonts
|
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
|
+
- Fri, 24 Nov 2017 01:03: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
|
+
- Fri, 24 Nov 2017 01:03:53 GMT
|
28
|
+
vary:
|
29
|
+
- Accept,Cookie
|
30
|
+
last-modified:
|
31
|
+
- Fri, 24 Nov 2017 01:03:53 GMT
|
32
|
+
allow:
|
33
|
+
- GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
|
34
|
+
cache-control:
|
35
|
+
- max-age=0
|
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":3,"next":null,"previous":null,"results":[{"id":1279,"component":"vlgothic-fonts","role":"QE_Group","contact":{"id":5,"mail_name":"I18N","email":"qe-i18n-bugs@redhat.com"}},{"id":1722,"component":"vlgothic-fonts","role":"QE_Leader","contact":{"id":6,"username":"mshao","email":"mshao@redhat.com"}},{"id":2165,"component":"vlgothic-fonts","role":"QE_ACK","contact":{"id":6,"username":"mshao","email":"mshao@redhat.com"}}]}'
|
45
|
+
http_version:
|
46
|
+
recorded_at: Fri, 24 Nov 2017 01:03:53 GMT
|
47
|
+
recorded_with: VCR 3.0.3
|