pdc 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.editorconfig +27 -0
- data/.gitignore +10 -0
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/.travis.yml +21 -0
- data/CODE_OF_CONDUCT.md +49 -0
- data/Gemfile +32 -0
- data/Guardfile +36 -0
- data/LICENSE +21 -0
- data/LICENSE.txt +21 -0
- data/README.md +41 -0
- data/Rakefile +11 -0
- data/bin/console +11 -0
- data/bin/setup +11 -0
- data/docs/.gitignore +3 -0
- data/docs/LICENSE_sphinx_deployment +27 -0
- data/docs/Makefile +179 -0
- data/docs/source/conf.py +257 -0
- data/docs/source/example.rst +10 -0
- data/docs/source/index.rst +23 -0
- data/docs/sphinx_deployment.mk +117 -0
- data/examples/active_attr.rb +33 -0
- data/examples/http_failures.rb +18 -0
- data/examples/local_pdc_dev.rb +15 -0
- data/examples/logger.rb +50 -0
- data/examples/pdc_curb_access_token.rb +36 -0
- data/examples/pdc_resource_tests.rb +173 -0
- data/examples/pdc_test_cache.rb +48 -0
- data/examples/prod_failures.rb +26 -0
- data/examples/prod_pdc.rb +14 -0
- data/lib/pdc/base.rb +14 -0
- data/lib/pdc/config.rb +157 -0
- data/lib/pdc/errors.rb +8 -0
- data/lib/pdc/http/errors.rb +43 -0
- data/lib/pdc/http/request/append_slash.rb +19 -0
- data/lib/pdc/http/request.rb +12 -0
- data/lib/pdc/http/response/pagination.rb +43 -0
- data/lib/pdc/http/response/parser.rb +62 -0
- data/lib/pdc/http/response/raise_error.rb +13 -0
- data/lib/pdc/http/response.rb +3 -0
- data/lib/pdc/http/result.rb +28 -0
- data/lib/pdc/http.rb +12 -0
- data/lib/pdc/logger.rb +19 -0
- data/lib/pdc/resource/attribute_modifier.rb +43 -0
- data/lib/pdc/resource/attribute_store.rb +22 -0
- data/lib/pdc/resource/attributes.rb +144 -0
- data/lib/pdc/resource/errors.rb +3 -0
- data/lib/pdc/resource/identity.rb +75 -0
- data/lib/pdc/resource/path.rb +63 -0
- data/lib/pdc/resource/per_thread_registry.rb +54 -0
- data/lib/pdc/resource/relation/finder.rb +24 -0
- data/lib/pdc/resource/relation/pagination.rb +33 -0
- data/lib/pdc/resource/relation/query.rb +14 -0
- data/lib/pdc/resource/relation.rb +81 -0
- data/lib/pdc/resource/rest_api.rb +34 -0
- data/lib/pdc/resource/scope_registry.rb +19 -0
- data/lib/pdc/resource/scopes.rb +29 -0
- data/lib/pdc/resource/value_parser.rb +31 -0
- data/lib/pdc/resource/wip.rb +0 -0
- data/lib/pdc/resource.rb +12 -0
- data/lib/pdc/v1/arch.rb +6 -0
- data/lib/pdc/v1/product.rb +5 -0
- data/lib/pdc/v1/release.rb +18 -0
- data/lib/pdc/v1/release_variant.rb +17 -0
- data/lib/pdc/v1.rb +8 -0
- data/lib/pdc/version.rb +3 -0
- data/lib/pdc.rb +25 -0
- data/pdc.gemspec +38 -0
- data/spec/fixtures/vcr/_page_count_returns_total_count.yml +141 -0
- data/spec/fixtures/vcr/brew_can_be_nil.yml +61 -0
- data/spec/fixtures/vcr/brew_may_be_present.yml +50 -0
- data/spec/fixtures/vcr/caches_multiple_response.yml +173 -0
- data/spec/fixtures/vcr/caches_response_with_a_query.yml +64 -0
- data/spec/fixtures/vcr/caches_response_with_multiple_query.yml +64 -0
- data/spec/fixtures/vcr/caches_response_without_query.yml +61 -0
- data/spec/fixtures/vcr/can_iterate_using_each.yml +187 -0
- data/spec/fixtures/vcr/fetches_variants_of_a_release.yml +663 -0
- data/spec/fixtures/vcr/must_return_number_of_resources.yml +61 -0
- data/spec/fixtures/vcr/preserves_the_filters.yml +49 -0
- data/spec/fixtures/vcr/returns_resources_on_that_page.yml +49 -0
- data/spec/fixtures/vcr/returns_the_total_count_and_not_items_in_page.yml +135 -0
- data/spec/fixtures/vcr/should_not_be_in_the_list_of_attributes.yml +95 -0
- data/spec/fixtures/vcr/works_with_where.yml +49 -0
- data/spec/pdc/config_spec.rb +115 -0
- data/spec/pdc/http/errors_spec.rb +58 -0
- data/spec/pdc/resource/attributes_spec.rb +231 -0
- data/spec/pdc/resource/cache_spec.rb +88 -0
- data/spec/pdc/resource/count_spec.rb +45 -0
- data/spec/pdc/resource/identity_spec.rb +96 -0
- data/spec/pdc/resource/pagination_spec.rb +51 -0
- data/spec/pdc/resource/path_spec.rb +30 -0
- data/spec/pdc/resource/relation_spec.rb +94 -0
- data/spec/pdc/resource/rest_api_spec.rb +23 -0
- data/spec/pdc/resource/value_parser_spec.rb +15 -0
- data/spec/pdc/resource/wip_spec.rb +0 -0
- data/spec/pdc/v1/arch_spec.rb +34 -0
- data/spec/pdc/v1/release_spec.rb +54 -0
- data/spec/pdc/version_spec.rb +5 -0
- data/spec/spec_helper.rb +39 -0
- data/spec/support/fixtures.rb +116 -0
- data/spec/support/vcr.rb +10 -0
- data/spec/support/webmock.rb +34 -0
- metadata +295 -0
data/lib/pdc/resource.rb
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
require 'pdc/resource/errors'
|
2
|
+
require 'pdc/resource/path'
|
3
|
+
require 'pdc/resource/identity'
|
4
|
+
require 'pdc/resource/value_parser'
|
5
|
+
require 'pdc/resource/attributes'
|
6
|
+
require 'pdc/resource/attribute_store'
|
7
|
+
require 'pdc/resource/per_thread_registry'
|
8
|
+
require 'pdc/resource/scopes'
|
9
|
+
require 'pdc/resource/scope_registry'
|
10
|
+
require 'pdc/resource/relation'
|
11
|
+
require 'pdc/resource/rest_api'
|
12
|
+
require 'pdc/resource/wip'
|
data/lib/pdc/v1/arch.rb
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
module PDC
|
2
|
+
module V1
|
3
|
+
class Release < PDC::Base
|
4
|
+
attributes :short, :version, :name, :base_product,
|
5
|
+
:active, :product_version, :release_type,
|
6
|
+
:compose_set, :integrated_with, :bugzilla,
|
7
|
+
:dist_git, :brew, :product_pages, :errata
|
8
|
+
|
9
|
+
def variants
|
10
|
+
@variants ||= ReleaseVariant.where(release: id)
|
11
|
+
end
|
12
|
+
|
13
|
+
# TODO: implement using has_many association
|
14
|
+
# has_many :variants, class_name: 'PDC::V1::ReleaseVariant',
|
15
|
+
# uri: "#{api_path}/release-variants/?release=:release_id"
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
module PDC::V1
|
2
|
+
class ReleaseVariant < PDC::Base
|
3
|
+
self.primary_key = :id
|
4
|
+
|
5
|
+
attributes :release, :uid, :name, :type, :arches
|
6
|
+
|
7
|
+
def release
|
8
|
+
Release.find(attributes[:release])
|
9
|
+
end
|
10
|
+
|
11
|
+
# attribute_rename :release, :release_id
|
12
|
+
|
13
|
+
# belongs_to :release, class_name: 'PDC::V1::Release',
|
14
|
+
# uri: "#{api_path}/releases/:release_id"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
data/lib/pdc/v1.rb
ADDED
data/lib/pdc/version.rb
ADDED
data/lib/pdc.rb
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
$LOAD_PATH << File.expand_path(File.dirname(__FILE__))
|
2
|
+
|
3
|
+
module PDC
|
4
|
+
require 'pdc/version'
|
5
|
+
require 'active_support'
|
6
|
+
require 'active_model'
|
7
|
+
require 'active_support/core_ext' # delegate
|
8
|
+
|
9
|
+
require 'faraday'
|
10
|
+
require 'faraday_middleware'
|
11
|
+
|
12
|
+
require 'pdc/errors'
|
13
|
+
require 'pdc/logger'
|
14
|
+
require 'pdc/http'
|
15
|
+
require 'pdc/resource'
|
16
|
+
|
17
|
+
require 'pdc/config'
|
18
|
+
require 'pdc/base'
|
19
|
+
require 'pdc/v1'
|
20
|
+
|
21
|
+
# TODO: delete debug gems
|
22
|
+
require 'ap'
|
23
|
+
require 'pry'
|
24
|
+
|
25
|
+
end
|
data/pdc.gemspec
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'pdc/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = 'pdc'
|
8
|
+
s.version = PDC::VERSION
|
9
|
+
s.authors = ['Sunil Thaha']
|
10
|
+
s.email = ['sthaha@redhat.com']
|
11
|
+
|
12
|
+
s.summary = 'Ruby gem for use with Product-Definition-Center'
|
13
|
+
s.description = 'API for PDC'
|
14
|
+
s.homepage = 'https://github.com/product-definition-center/pdc-ruby-gem'
|
15
|
+
s.license = 'MIT'
|
16
|
+
|
17
|
+
# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
|
18
|
+
# delete this section to allow pushing this gem to any host.
|
19
|
+
if s.respond_to?(:metadata)
|
20
|
+
s.metadata['allowed_push_host'] = 'https://rubygems.org'
|
21
|
+
else
|
22
|
+
raise 'RubyGems 2.0 or newer is required to protect against public gem pushes.'
|
23
|
+
end
|
24
|
+
|
25
|
+
s.files = `git ls-files`.split("\n")
|
26
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
27
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
|
28
|
+
s.require_paths = ['lib']
|
29
|
+
|
30
|
+
s.add_dependency 'activesupport', '~> 3.2.22.2'
|
31
|
+
s.add_dependency 'activemodel', '~> 3.2.22.2'
|
32
|
+
s.add_dependency 'uri_template', '~> 0.7.0'
|
33
|
+
s.add_dependency 'multi_json', '~> 1.12.1'
|
34
|
+
s.add_dependency 'faraday', '~> 0.9.2'
|
35
|
+
s.add_dependency 'faraday_middleware', '~> 0.10.0'
|
36
|
+
s.add_dependency 'faraday-http-cache', '~> 1.3.0'
|
37
|
+
s.add_dependency 'curb', '~> 0.9.3'
|
38
|
+
end
|
@@ -0,0 +1,141 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://pdc.host.dev.eng.pek2.redhat.com/rest_api/v1/arches/?page=2
|
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, 27 Jul 2016 06:01:29 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, 27 Jul 2016 06:01:59 GMT
|
28
|
+
vary:
|
29
|
+
- Accept,Cookie
|
30
|
+
last-modified:
|
31
|
+
- Thu, 30 Jun 2016 10:00:15 GMT
|
32
|
+
allow:
|
33
|
+
- GET, POST, HEAD, OPTIONS
|
34
|
+
cache-control:
|
35
|
+
- max-age=30
|
36
|
+
x-frame-options:
|
37
|
+
- SAMEORIGIN
|
38
|
+
connection:
|
39
|
+
- close
|
40
|
+
transfer-encoding:
|
41
|
+
- chunked
|
42
|
+
content-type:
|
43
|
+
- application/json
|
44
|
+
body:
|
45
|
+
encoding: UTF-8
|
46
|
+
string: '{"count":50,"next":"https://pdc.host.dev.eng.pek2.redhat.com/rest_api/v1/arches/?page=3","previous":"https://pdc.host.dev.eng.pek2.redhat.com/rest_api/v1/arches/","results":[{"name":"i386"},{"name":"i486"},{"name":"i586"},{"name":"i686"},{"name":"ia32e"},{"name":"ia64"},{"name":"noarch"},{"name":"nosrc"},{"name":"ppc"},{"name":"ppc64"},{"name":"ppc64iseries"},{"name":"ppc64le"},{"name":"ppc64p7"},{"name":"ppc64pseries"},{"name":"s390"},{"name":"s390x"},{"name":"sh3"},{"name":"sh4"},{"name":"sh4a"},{"name":"sparc"}]}'
|
47
|
+
http_version:
|
48
|
+
recorded_at: Thu, 31 Dec 2015 14:00:00 GMT
|
49
|
+
- request:
|
50
|
+
method: get
|
51
|
+
uri: https://pdc.host.dev.eng.pek2.redhat.com/rest_api/v1/arches/?page=3
|
52
|
+
body:
|
53
|
+
encoding: US-ASCII
|
54
|
+
string: ''
|
55
|
+
headers:
|
56
|
+
Accept:
|
57
|
+
- application/json
|
58
|
+
Content-Type:
|
59
|
+
- application/json
|
60
|
+
User-Agent:
|
61
|
+
- Faraday v0.9.2
|
62
|
+
response:
|
63
|
+
status:
|
64
|
+
code: 200
|
65
|
+
message:
|
66
|
+
headers:
|
67
|
+
date:
|
68
|
+
- Wed, 27 Jul 2016 06:01:31 GMT
|
69
|
+
server:
|
70
|
+
- Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.1e-fips mod_auth_kerb/5.4
|
71
|
+
mod_wsgi/3.4 Python/2.7.5
|
72
|
+
expires:
|
73
|
+
- Wed, 27 Jul 2016 06:02:01 GMT
|
74
|
+
vary:
|
75
|
+
- Accept,Cookie
|
76
|
+
last-modified:
|
77
|
+
- Thu, 30 Jun 2016 10:00:15 GMT
|
78
|
+
allow:
|
79
|
+
- GET, POST, HEAD, OPTIONS
|
80
|
+
cache-control:
|
81
|
+
- max-age=30
|
82
|
+
x-frame-options:
|
83
|
+
- SAMEORIGIN
|
84
|
+
connection:
|
85
|
+
- close
|
86
|
+
transfer-encoding:
|
87
|
+
- chunked
|
88
|
+
content-type:
|
89
|
+
- application/json
|
90
|
+
body:
|
91
|
+
encoding: UTF-8
|
92
|
+
string: '{"count":50,"next":null,"previous":"https://pdc.host.dev.eng.pek2.redhat.com/rest_api/v1/arches/?page=2","results":[{"name":"sparc64"},{"name":"sparc64v"},{"name":"sparcv8"},{"name":"sparcv9"},{"name":"sparcv9v"},{"name":"src"},{"name":"x86_64"},{"name":"aarch64"},{"name":"asdfwfsf"},{"name":"asdfdswe"}]}'
|
93
|
+
http_version:
|
94
|
+
recorded_at: Thu, 31 Dec 2015 14:00:00 GMT
|
95
|
+
- request:
|
96
|
+
method: get
|
97
|
+
uri: https://pdc.host.dev.eng.pek2.redhat.com/rest_api/v1/arches/?page=2
|
98
|
+
body:
|
99
|
+
encoding: US-ASCII
|
100
|
+
string: ''
|
101
|
+
headers:
|
102
|
+
Accept:
|
103
|
+
- application/json
|
104
|
+
Content-Type:
|
105
|
+
- application/json
|
106
|
+
User-Agent:
|
107
|
+
- Faraday v0.9.2
|
108
|
+
response:
|
109
|
+
status:
|
110
|
+
code: 200
|
111
|
+
message:
|
112
|
+
headers:
|
113
|
+
date:
|
114
|
+
- Wed, 27 Jul 2016 06:01:33 GMT
|
115
|
+
server:
|
116
|
+
- Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.1e-fips mod_auth_kerb/5.4
|
117
|
+
mod_wsgi/3.4 Python/2.7.5
|
118
|
+
expires:
|
119
|
+
- Wed, 27 Jul 2016 06:02:03 GMT
|
120
|
+
vary:
|
121
|
+
- Accept,Cookie
|
122
|
+
last-modified:
|
123
|
+
- Thu, 30 Jun 2016 10:00:15 GMT
|
124
|
+
allow:
|
125
|
+
- GET, POST, HEAD, OPTIONS
|
126
|
+
cache-control:
|
127
|
+
- max-age=30
|
128
|
+
x-frame-options:
|
129
|
+
- SAMEORIGIN
|
130
|
+
connection:
|
131
|
+
- close
|
132
|
+
transfer-encoding:
|
133
|
+
- chunked
|
134
|
+
content-type:
|
135
|
+
- application/json
|
136
|
+
body:
|
137
|
+
encoding: UTF-8
|
138
|
+
string: '{"count":50,"next":"https://pdc.host.dev.eng.pek2.redhat.com/rest_api/v1/arches/?page=3","previous":"https://pdc.host.dev.eng.pek2.redhat.com/rest_api/v1/arches/","results":[{"name":"i386"},{"name":"i486"},{"name":"i586"},{"name":"i686"},{"name":"ia32e"},{"name":"ia64"},{"name":"noarch"},{"name":"nosrc"},{"name":"ppc"},{"name":"ppc64"},{"name":"ppc64iseries"},{"name":"ppc64le"},{"name":"ppc64p7"},{"name":"ppc64pseries"},{"name":"s390"},{"name":"s390x"},{"name":"sh3"},{"name":"sh4"},{"name":"sh4a"},{"name":"sparc"}]}'
|
139
|
+
http_version:
|
140
|
+
recorded_at: Thu, 31 Dec 2015 14:00:00 GMT
|
141
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,61 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://pdc.host.dev.eng.pek2.redhat.com/rest_api/v1/releases/
|
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, 03 Aug 2016 15:34:54 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 Aug 2016 15:35:24 GMT
|
28
|
+
vary:
|
29
|
+
- Accept,Cookie
|
30
|
+
last-modified:
|
31
|
+
- Thu, 21 Jul 2016 12:24:12 GMT
|
32
|
+
allow:
|
33
|
+
- GET, POST, PUT, PATCH, HEAD, OPTIONS
|
34
|
+
cache-control:
|
35
|
+
- max-age=30
|
36
|
+
x-frame-options:
|
37
|
+
- SAMEORIGIN
|
38
|
+
connection:
|
39
|
+
- close
|
40
|
+
transfer-encoding:
|
41
|
+
- chunked
|
42
|
+
content-type:
|
43
|
+
- application/json
|
44
|
+
body:
|
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}]}'
|
59
|
+
http_version:
|
60
|
+
recorded_at: Wed, 03 Aug 2016 15:34:55 GMT
|
61
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,50 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://pdc.host.dev.eng.pek2.redhat.com/rest_api/v1/releases/satellite-6.2-updates%40rhel-6/
|
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, 03 Aug 2016 15:34:56 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 Aug 2016 15:35:26 GMT
|
28
|
+
vary:
|
29
|
+
- Accept,Cookie
|
30
|
+
last-modified:
|
31
|
+
- Thu, 21 Jul 2016 12:24:12 GMT
|
32
|
+
allow:
|
33
|
+
- GET, PUT, PATCH, HEAD, OPTIONS
|
34
|
+
cache-control:
|
35
|
+
- max-age=30
|
36
|
+
x-frame-options:
|
37
|
+
- SAMEORIGIN
|
38
|
+
connection:
|
39
|
+
- close
|
40
|
+
transfer-encoding:
|
41
|
+
- chunked
|
42
|
+
content-type:
|
43
|
+
- application/json
|
44
|
+
body:
|
45
|
+
encoding: UTF-8
|
46
|
+
string: '{"release_id":"satellite-6.2-updates@rhel-6","short":"satellite","version":"6.2","name":"Red
|
47
|
+
Hat Satellite","base_product":"rhel-6","active":true,"product_version":"satellite-6","release_type":"updates","compose_set":[],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":{"default_target":null,"allowed_tags":["satellite-6.2.0-rhel-6"]},"product_pages":null,"errata":null}'
|
48
|
+
http_version:
|
49
|
+
recorded_at: Wed, 03 Aug 2016 15:34:56 GMT
|
50
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,173 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://pdc.host.dev.eng.pek2.redhat.com/rest_api/v1/releases/?active=true
|
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, 27 Jul 2016 04:55:19 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, 27 Jul 2016 04:55:50 GMT
|
28
|
+
vary:
|
29
|
+
- Accept,Cookie
|
30
|
+
last-modified:
|
31
|
+
- Thu, 21 Jul 2016 12:24:12 GMT
|
32
|
+
allow:
|
33
|
+
- GET, POST, PUT, PATCH, HEAD, OPTIONS
|
34
|
+
cache-control:
|
35
|
+
- max-age=30
|
36
|
+
x-frame-options:
|
37
|
+
- SAMEORIGIN
|
38
|
+
connection:
|
39
|
+
- close
|
40
|
+
transfer-encoding:
|
41
|
+
- chunked
|
42
|
+
content-type:
|
43
|
+
- application/json
|
44
|
+
body:
|
45
|
+
encoding: UTF-8
|
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},{"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}]}'
|
59
|
+
http_version:
|
60
|
+
recorded_at: Thu, 31 Dec 2015 14:00:02 GMT
|
61
|
+
- request:
|
62
|
+
method: get
|
63
|
+
uri: https://pdc.host.dev.eng.pek2.redhat.com/rest_api/v1/releases/?active=true&page=2
|
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
|
+
- Wed, 27 Jul 2016 04:55:21 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
|
+
- Wed, 27 Jul 2016 04:55:52 GMT
|
86
|
+
vary:
|
87
|
+
- Accept,Cookie
|
88
|
+
last-modified:
|
89
|
+
- Thu, 21 Jul 2016 12:24:12 GMT
|
90
|
+
allow:
|
91
|
+
- GET, POST, PUT, PATCH, HEAD, OPTIONS
|
92
|
+
cache-control:
|
93
|
+
- max-age=30
|
94
|
+
x-frame-options:
|
95
|
+
- SAMEORIGIN
|
96
|
+
connection:
|
97
|
+
- close
|
98
|
+
transfer-encoding:
|
99
|
+
- chunked
|
100
|
+
content-type:
|
101
|
+
- application/json
|
102
|
+
body:
|
103
|
+
encoding: UTF-8
|
104
|
+
string: '{"count":54,"next":"https://pdc.host.dev.eng.pek2.redhat.com/rest_api/v1/releases/?active=true&page=3","previous":"https://pdc.host.dev.eng.pek2.redhat.com/rest_api/v1/releases/?active=true","results":[{"release_id":"rhscl-2.3@rhel-6","short":"rhscl","version":"2.3","name":"Red
|
105
|
+
Hat Software Collections","base_product":"rhel-6","active":true,"product_version":"rhscl-1","release_type":"ga","compose_set":[],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null},{"release_id":"rt-7.1@rhel-7","short":"rt","version":"7.1","name":"RT","base_product":"rhel-7","active":true,"product_version":"rt-7","release_type":"ga","compose_set":["RHEL-7.1-20150219.1"],"integrated_with":"rhel-7.1","bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null},{"release_id":"sap-2.3@dp-1","short":"sap","version":"2.3","name":"SAP","base_product":"dp-1","active":true,"product_version":"sap-2","release_type":"ga","compose_set":[],"integrated_with":"dp-1.0","bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null},{"release_id":"sap-7.0@rhel-7","short":"sap","version":"7.0","name":"SAP","base_product":"rhel-7","active":true,"product_version":"sap-7","release_type":"ga","compose_set":["RHEL-7.0-20140507.0"],"integrated_with":"rhel-7.0","bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null},{"release_id":"sap-7.0@f-20","short":"sap","version":"7.0","name":"SAP","base_product":"f-20","active":true,"product_version":"sap-7","release_type":"ga","compose_set":["RHEL-7.0-20140507.1"],"integrated_with":"f-20","bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null},{"release_id":"sap-7.1@rhel-7","short":"sap","version":"7.1","name":"SAP","base_product":"rhel-7","active":true,"product_version":"sap-7","release_type":"ga","compose_set":["RHEL-7.1-20140507.2","RHEL-7.1-20140708.n.0","RHEL-7.1-20150219.1"],"integrated_with":"rhel-7.1","bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null},{"release_id":"satellite-6.0.4@rhel-5","short":"satellite","version":"6.0.4","name":"Red
|
106
|
+
Hat Satellite","base_product":"rhel-5","active":true,"product_version":"satellite-6.0","release_type":"ga","compose_set":["Satellite-6.0.4-RHEL-5-20140909.0"],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null},{"release_id":"satellite-6.0.4@rhel-6","short":"satellite","version":"6.0.4","name":"Red
|
107
|
+
Hat Satellite","base_product":"rhel-6","active":true,"product_version":"satellite-6.0","release_type":"ga","compose_set":["Satellite-6.0.4-RHEL-6-20140908.0"],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null},{"release_id":"satellite-6.0.4@rhel-7","short":"satellite","version":"6.0.4","name":"Red
|
108
|
+
Hat Satellite","base_product":"rhel-7","active":true,"product_version":"satellite-6.0","release_type":"ga","compose_set":["Satellite-6.0.4-RHEL-7-20140908.0"],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null},{"release_id":"satellite-6.2@rhel-6","short":"satellite","version":"6.2","name":"Red
|
109
|
+
Hat Satellite","base_product":"rhel-6","active":true,"product_version":"satellite-6","release_type":"ga","compose_set":[],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null},{"release_id":"satellite-6.2@rhel-7","short":"satellite","version":"6.2","name":"Red
|
110
|
+
Hat Satellite","base_product":"rhel-7","active":true,"product_version":"satellite-6","release_type":"ga","compose_set":[],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null},{"release_id":"satellite-6.2-updates@rhel-6","short":"satellite","version":"6.2","name":"Red
|
111
|
+
Hat Satellite","base_product":"rhel-6","active":true,"product_version":"satellite-6","release_type":"updates","compose_set":[],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":{"default_target":null,"allowed_tags":["satellite-6.2.0-rhel-6"]},"product_pages":null,"errata":null},{"release_id":"satellite-6.2-updates@rhel-7","short":"satellite","version":"6.2","name":"Red
|
112
|
+
Hat Satellite","base_product":"rhel-7","active":true,"product_version":"satellite-6","release_type":"updates","compose_set":[],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":{"default_target":null,"allowed_tags":["satellite-6.2.0-rhel-7"]},"product_pages":null,"errata":null},{"release_id":"sattools-6.2@rhel-6.2-aus","short":"sattools","version":"6.2","name":"Red
|
113
|
+
Hat Satellite Tools","base_product":"rhel-6.2-aus","active":true,"product_version":"sattools-6","release_type":"ga","compose_set":[],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null},{"release_id":"sattools-6.2@rhel-5","short":"sattools","version":"6.2","name":"Red
|
114
|
+
Hat Satellite Tools","base_product":"rhel-5","active":true,"product_version":"sattools-6","release_type":"ga","compose_set":[],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null},{"release_id":"sattools-6.2@rhel-5.6-aus","short":"sattools","version":"6.2","name":"Red
|
115
|
+
Hat Satellite Tools","base_product":"rhel-5.6-aus","active":true,"product_version":"sattools-6","release_type":"ga","compose_set":[],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null},{"release_id":"sattools-6.2@rhel-5.9-aus","short":"sattools","version":"6.2","name":"Red
|
116
|
+
Hat Satellite Tools","base_product":"rhel-5.9-aus","active":true,"product_version":"sattools-6","release_type":"ga","compose_set":[],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null},{"release_id":"sattools-6.2@rhel-6","short":"sattools","version":"6.2","name":"Red
|
117
|
+
Hat Satellite Tools","base_product":"rhel-6","active":true,"product_version":"sattools-6","release_type":"ga","compose_set":[],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null},{"release_id":"sattools-6.2@rhel-6.4-aus","short":"sattools","version":"6.2","name":"Red
|
118
|
+
Hat Satellite Tools","base_product":"rhel-6.4-aus","active":true,"product_version":"sattools-6","release_type":"ga","compose_set":[],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null},{"release_id":"sattools-6.2@rhel-6.5-aus","short":"sattools","version":"6.2","name":"Red
|
119
|
+
Hat Satellite Tools","base_product":"rhel-6.5-aus","active":true,"product_version":"sattools-6","release_type":"ga","compose_set":[],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null}]}'
|
120
|
+
http_version:
|
121
|
+
recorded_at: Thu, 31 Dec 2015 14:00:04 GMT
|
122
|
+
- request:
|
123
|
+
method: get
|
124
|
+
uri: https://pdc.host.dev.eng.pek2.redhat.com/rest_api/v1/releases/?active=true&page=3
|
125
|
+
body:
|
126
|
+
encoding: US-ASCII
|
127
|
+
string: ''
|
128
|
+
headers:
|
129
|
+
Accept:
|
130
|
+
- application/json
|
131
|
+
Content-Type:
|
132
|
+
- application/json
|
133
|
+
User-Agent:
|
134
|
+
- Faraday v0.9.2
|
135
|
+
response:
|
136
|
+
status:
|
137
|
+
code: 200
|
138
|
+
message:
|
139
|
+
headers:
|
140
|
+
date:
|
141
|
+
- Wed, 27 Jul 2016 04:55:23 GMT
|
142
|
+
server:
|
143
|
+
- Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.1e-fips mod_auth_kerb/5.4
|
144
|
+
mod_wsgi/3.4 Python/2.7.5
|
145
|
+
expires:
|
146
|
+
- Wed, 27 Jul 2016 04:55:54 GMT
|
147
|
+
vary:
|
148
|
+
- Accept,Cookie
|
149
|
+
last-modified:
|
150
|
+
- Thu, 21 Jul 2016 12:24:12 GMT
|
151
|
+
allow:
|
152
|
+
- GET, POST, PUT, PATCH, HEAD, OPTIONS
|
153
|
+
cache-control:
|
154
|
+
- max-age=30
|
155
|
+
x-frame-options:
|
156
|
+
- SAMEORIGIN
|
157
|
+
connection:
|
158
|
+
- close
|
159
|
+
transfer-encoding:
|
160
|
+
- chunked
|
161
|
+
content-type:
|
162
|
+
- application/json
|
163
|
+
body:
|
164
|
+
encoding: UTF-8
|
165
|
+
string: '{"count":54,"next":null,"previous":"https://pdc.host.dev.eng.pek2.redhat.com/rest_api/v1/releases/?active=true&page=2","results":[{"release_id":"sattools-6.2@rhel-6.6-eus","short":"sattools","version":"6.2","name":"Red
|
166
|
+
Hat Satellite Tools","base_product":"rhel-6.6-eus","active":true,"product_version":"sattools-6","release_type":"ga","compose_set":[],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null},{"release_id":"sattools-6.2@rhel-6.7-eus","short":"sattools","version":"6.2","name":"Red
|
167
|
+
Hat Satellite Tools","base_product":"rhel-6.7-eus","active":true,"product_version":"sattools-6","release_type":"ga","compose_set":[],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null},{"release_id":"sattools-6.2@rhel-7","short":"sattools","version":"6.2","name":"Red
|
168
|
+
Hat Satellite Tools","base_product":"rhel-7","active":true,"product_version":"sattools-6","release_type":"ga","compose_set":[],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null},{"release_id":"sattools-6.2@rhel-7.1-eus","short":"sattools","version":"6.2","name":"Red
|
169
|
+
Hat Satellite Tools","base_product":"rhel-7.1-eus","active":true,"product_version":"sattools-6","release_type":"ga","compose_set":[],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null},{"release_id":"sattools-6.2@rhel-7.2-eus","short":"sattools","version":"6.2","name":"Red
|
170
|
+
Hat Satellite Tools","base_product":"rhel-7.2-eus","active":true,"product_version":"sattools-6","release_type":"ga","compose_set":[],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null},{"release_id":"supp-7.0@rhel-7","short":"supp","version":"7.0","name":"Supplementary","base_product":"rhel-7","active":true,"product_version":"supp-7","release_type":"ga","compose_set":[],"integrated_with":null,"bugzilla":null,"dist_git":null,"brew":null,"product_pages":null,"errata":null},{"release_id":"test-1.0","short":"test","version":"1.0","name":"test","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":"test1-1.0","short":"test1","version":"1.0","name":"test1","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":"test2-1.0","short":"test2","version":"1.0","name":"test2","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":"test3-1.0","short":"test3","version":"1.0","name":"test3","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":"test4-1.0","short":"test4","version":"1.0","name":"test4","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":"test5-1.0","short":"test5","version":"1.0","name":"test5","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":"test6-1.0","short":"test6","version":"1.0","name":"test6","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":"test7-1.0","short":"test7","version":"1.0","name":"test7","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}]}'
|
171
|
+
http_version:
|
172
|
+
recorded_at: Thu, 31 Dec 2015 14:00:06 GMT
|
173
|
+
recorded_with: VCR 3.0.3
|