pulp_deb_client 2.21.2 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ContentPackagesApi.md +4 -0
- data/docs/ContentReleaseArchitecturesApi.md +2 -6
- data/docs/ContentReleaseComponentsApi.md +4 -6
- data/docs/ContentReleasesApi.md +10 -2
- data/docs/DebAptPublication.md +4 -2
- data/docs/DebAptPublicationResponse.md +4 -2
- data/docs/DebAptRepository.md +7 -1
- data/docs/DebAptRepositoryResponse.md +7 -1
- data/docs/DebRelease.md +9 -1
- data/docs/DebReleaseArchitecture.md +1 -5
- data/docs/DebReleaseArchitectureResponse.md +1 -5
- data/docs/DebReleaseComponent.md +1 -5
- data/docs/DebReleaseComponentResponse.md +1 -5
- data/docs/DebReleaseFile.md +3 -3
- data/docs/DebReleaseFileResponse.md +3 -3
- data/docs/DebReleaseResponse.md +9 -1
- data/docs/PatcheddebAptRepository.md +7 -1
- data/lib/pulp_deb_client/api/content_packages_api.rb +6 -0
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +3 -9
- data/lib/pulp_deb_client/api/content_release_components_api.rb +6 -9
- data/lib/pulp_deb_client/api/content_releases_api.rb +15 -3
- data/lib/pulp_deb_client/models/deb_apt_publication.rb +14 -5
- data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +14 -5
- data/lib/pulp_deb_client/models/deb_apt_repository.rb +38 -5
- data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +38 -5
- data/lib/pulp_deb_client/models/deb_release.rb +104 -4
- data/lib/pulp_deb_client/models/deb_release_architecture.rb +4 -70
- data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +4 -32
- data/lib/pulp_deb_client/models/deb_release_component.rb +4 -70
- data/lib/pulp_deb_client/models/deb_release_component_response.rb +4 -32
- data/lib/pulp_deb_client/models/deb_release_file.rb +3 -3
- data/lib/pulp_deb_client/models/deb_release_file_response.rb +3 -3
- data/lib/pulp_deb_client/models/deb_release_response.rb +44 -4
- data/lib/pulp_deb_client/models/patcheddeb_apt_repository.rb +38 -5
- data/lib/pulp_deb_client/version.rb +1 -1
- data/spec/api/content_packages_api_spec.rb +2 -0
- data/spec/api/content_release_architectures_api_spec.rb +1 -3
- data/spec/api/content_release_components_api_spec.rb +2 -3
- data/spec/api/content_releases_api_spec.rb +5 -1
- data/spec/models/deb_apt_publication_response_spec.rb +6 -0
- data/spec/models/deb_apt_publication_spec.rb +6 -0
- data/spec/models/deb_apt_repository_response_spec.rb +18 -0
- data/spec/models/deb_apt_repository_spec.rb +18 -0
- data/spec/models/deb_release_architecture_response_spec.rb +0 -12
- data/spec/models/deb_release_architecture_spec.rb +0 -12
- data/spec/models/deb_release_component_response_spec.rb +0 -12
- data/spec/models/deb_release_component_spec.rb +0 -12
- data/spec/models/deb_release_response_spec.rb +24 -0
- data/spec/models/deb_release_spec.rb +24 -0
- data/spec/models/patcheddeb_apt_repository_spec.rb +18 -0
- metadata +1 -1
@@ -49,17 +49,15 @@ describe 'ContentReleaseArchitecturesApi' do
|
|
49
49
|
# A ReleaseArchitecture represents a single dpkg architecture string. Associated artifacts: None; contains only metadata. Every ReleaseArchitecture is always associated with exactly one Release. This indicates that the release/distribution in question supports this architecture.
|
50
50
|
# @param [Hash] opts the optional parameters
|
51
51
|
# @option opts [String] :architecture Filter results where architecture matches value
|
52
|
-
# @option opts [String] :codename Filter results where codename matches value
|
53
52
|
# @option opts [String] :distribution Filter results where distribution matches value
|
54
53
|
# @option opts [Integer] :limit Number of results to return per page.
|
55
54
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
56
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `
|
55
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
57
56
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
58
57
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
59
58
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
60
59
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
61
60
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
62
|
-
# @option opts [String] :suite Filter results where suite matches value
|
63
61
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
64
62
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
65
63
|
# @return [PaginateddebReleaseArchitectureResponseList]
|
@@ -48,18 +48,17 @@ describe 'ContentReleaseComponentsApi' do
|
|
48
48
|
# List release components
|
49
49
|
# A ReleaseComponent represents a single APT repository component. Associated artifacts: None; contains only metadata.
|
50
50
|
# @param [Hash] opts the optional parameters
|
51
|
-
# @option opts [String] :codename Filter results where codename matches value
|
52
51
|
# @option opts [String] :component Filter results where component matches value
|
53
52
|
# @option opts [String] :distribution Filter results where distribution matches value
|
54
53
|
# @option opts [Integer] :limit Number of results to return per page.
|
55
54
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
56
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `component` - Component * `-component` - Component (descending) * `
|
55
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `component` - Component * `-component` - Component (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
56
|
+
# @option opts [String] :package Must be a comma-separated string: \"package_href,repository_or_repository_version_href\" package_href: Filter results where ReleaseComponent contains Package repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version)
|
57
57
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
58
58
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
59
59
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
60
60
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
61
61
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
62
|
-
# @option opts [String] :suite Filter results where suite matches value
|
63
62
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
64
63
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
65
64
|
# @return [PaginateddebReleaseComponentResponseList]
|
@@ -50,15 +50,19 @@ describe 'ContentReleasesApi' do
|
|
50
50
|
# @param [Hash] opts the optional parameters
|
51
51
|
# @option opts [String] :codename Filter results where codename matches value
|
52
52
|
# @option opts [String] :distribution Filter results where distribution matches value
|
53
|
+
# @option opts [String] :label Filter results where label matches value
|
53
54
|
# @option opts [Integer] :limit Number of results to return per page.
|
54
55
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
55
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `codename` - Codename * `-codename` - Codename (descending) * `suite` - Suite * `-suite` - Suite (descending) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
56
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `codename` - Codename * `-codename` - Codename (descending) * `suite` - Suite * `-suite` - Suite (descending) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `version` - Version * `-version` - Version (descending) * `origin` - Origin * `-origin` - Origin (descending) * `label` - Label * `-label` - Label (descending) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
57
|
+
# @option opts [String] :origin Filter results where origin matches value
|
58
|
+
# @option opts [String] :package Must be a comma-separated string: \"package_href,repository_or_repository_version_href\" package_href: Filter results where Release contains Package repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version)
|
56
59
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
57
60
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
58
61
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
59
62
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
60
63
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
61
64
|
# @option opts [String] :suite Filter results where suite matches value
|
65
|
+
# @option opts [String] :version Filter results where version matches value
|
62
66
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
63
67
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
64
68
|
# @return [PaginateddebReleaseResponseList]
|
@@ -74,4 +74,10 @@ describe 'DebAptPublicationResponse' do
|
|
74
74
|
end
|
75
75
|
end
|
76
76
|
|
77
|
+
describe 'test attribute "publish_upstream_release_fields"' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
77
83
|
end
|
@@ -62,4 +62,10 @@ describe 'DebAptPublication' do
|
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
+
describe 'test attribute "publish_upstream_release_fields"' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
65
71
|
end
|
@@ -86,4 +86,22 @@ describe 'DebAptRepositoryResponse' do
|
|
86
86
|
end
|
87
87
|
end
|
88
88
|
|
89
|
+
describe 'test attribute "publish_upstream_release_fields"' do
|
90
|
+
it 'should work' do
|
91
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
95
|
+
describe 'test attribute "signing_service"' do
|
96
|
+
it 'should work' do
|
97
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
101
|
+
describe 'test attribute "signing_service_release_overrides"' do
|
102
|
+
it 'should work' do
|
103
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
89
107
|
end
|
@@ -62,4 +62,22 @@ describe 'DebAptRepository' do
|
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
+
describe 'test attribute "publish_upstream_release_fields"' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
describe 'test attribute "signing_service"' do
|
72
|
+
it 'should work' do
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
describe 'test attribute "signing_service_release_overrides"' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
65
83
|
end
|
@@ -56,16 +56,4 @@ describe 'DebReleaseArchitectureResponse' do
|
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
-
describe 'test attribute "codename"' do
|
60
|
-
it 'should work' do
|
61
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
-
end
|
63
|
-
end
|
64
|
-
|
65
|
-
describe 'test attribute "suite"' do
|
66
|
-
it 'should work' do
|
67
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
-
end
|
69
|
-
end
|
70
|
-
|
71
59
|
end
|
@@ -50,16 +50,4 @@ describe 'DebReleaseArchitecture' do
|
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
-
describe 'test attribute "codename"' do
|
54
|
-
it 'should work' do
|
55
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
-
end
|
57
|
-
end
|
58
|
-
|
59
|
-
describe 'test attribute "suite"' do
|
60
|
-
it 'should work' do
|
61
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
-
end
|
63
|
-
end
|
64
|
-
|
65
53
|
end
|
@@ -56,16 +56,4 @@ describe 'DebReleaseComponentResponse' do
|
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
-
describe 'test attribute "codename"' do
|
60
|
-
it 'should work' do
|
61
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
-
end
|
63
|
-
end
|
64
|
-
|
65
|
-
describe 'test attribute "suite"' do
|
66
|
-
it 'should work' do
|
67
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
-
end
|
69
|
-
end
|
70
|
-
|
71
59
|
end
|
@@ -50,16 +50,4 @@ describe 'DebReleaseComponent' do
|
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
-
describe 'test attribute "codename"' do
|
54
|
-
it 'should work' do
|
55
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
-
end
|
57
|
-
end
|
58
|
-
|
59
|
-
describe 'test attribute "suite"' do
|
60
|
-
it 'should work' do
|
61
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
-
end
|
63
|
-
end
|
64
|
-
|
65
53
|
end
|
@@ -62,4 +62,28 @@ describe 'DebReleaseResponse' do
|
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
+
describe 'test attribute "version"' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
describe 'test attribute "origin"' do
|
72
|
+
it 'should work' do
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
describe 'test attribute "label"' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
describe 'test attribute "description"' do
|
84
|
+
it 'should work' do
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
65
89
|
end
|
@@ -56,4 +56,28 @@ describe 'DebRelease' do
|
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
+
describe 'test attribute "version"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
describe 'test attribute "origin"' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
describe 'test attribute "label"' do
|
72
|
+
it 'should work' do
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
describe 'test attribute "description"' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
59
83
|
end
|
@@ -62,4 +62,22 @@ describe 'PatcheddebAptRepository' do
|
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
+
describe 'test attribute "publish_upstream_release_fields"' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
describe 'test attribute "signing_service"' do
|
72
|
+
it 'should work' do
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
describe 'test attribute "signing_service_release_overrides"' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
65
83
|
end
|