pulp_deb_client 3.0.2 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +24 -6
- data/docs/ContentGenericContentsApi.md +4 -4
- data/docs/ContentInstallerPackagesApi.md +4 -4
- data/docs/ContentPackagesApi.md +20 -4
- data/docs/ContentSourceIndicesApi.md +204 -0
- data/docs/ContentSourcePackagesApi.md +258 -0
- data/docs/ContentSourceReleaseComponentsApi.md +202 -0
- data/docs/DebGenericContent.md +2 -2
- data/docs/DebInstallerPackage.md +2 -2
- data/docs/DebPackage.md +2 -2
- data/docs/DebSourceIndex.md +25 -0
- data/docs/DebSourceIndexResponse.md +27 -0
- data/docs/DebSourcePackage.md +21 -0
- data/docs/DebSourcePackageReleaseComponent.md +21 -0
- data/docs/DebSourcePackageReleaseComponentResponse.md +23 -0
- data/docs/DebSourcePackageResponse.md +77 -0
- data/docs/PaginateddebSourceIndexResponseList.md +23 -0
- data/docs/PaginateddebSourcePackageReleaseComponentResponseList.md +23 -0
- data/docs/PaginateddebSourcePackageResponseList.md +23 -0
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +4 -4
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +4 -4
- data/lib/pulp_deb_client/api/content_packages_api.rb +28 -4
- data/lib/pulp_deb_client/api/content_source_indices_api.rb +256 -0
- data/lib/pulp_deb_client/api/content_source_packages_api.rb +337 -0
- data/lib/pulp_deb_client/api/content_source_release_components_api.rb +253 -0
- data/lib/pulp_deb_client/models/deb_generic_content.rb +2 -2
- data/lib/pulp_deb_client/models/deb_installer_package.rb +2 -2
- data/lib/pulp_deb_client/models/deb_package.rb +2 -2
- data/lib/pulp_deb_client/models/deb_source_index.rb +297 -0
- data/lib/pulp_deb_client/models/deb_source_index_response.rb +272 -0
- data/lib/pulp_deb_client/models/deb_source_package.rb +248 -0
- data/lib/pulp_deb_client/models/deb_source_package_release_component.rb +238 -0
- data/lib/pulp_deb_client/models/deb_source_package_release_component_response.rb +247 -0
- data/lib/pulp_deb_client/models/deb_source_package_response.rb +485 -0
- data/lib/pulp_deb_client/models/paginateddeb_source_index_response_list.rb +237 -0
- data/lib/pulp_deb_client/models/paginateddeb_source_package_release_component_response_list.rb +237 -0
- data/lib/pulp_deb_client/models/paginateddeb_source_package_response_list.rb +237 -0
- data/lib/pulp_deb_client/version.rb +1 -1
- data/lib/pulp_deb_client.rb +12 -0
- data/spec/api/content_generic_contents_api_spec.rb +2 -2
- data/spec/api/content_installer_packages_api_spec.rb +2 -2
- data/spec/api/content_packages_api_spec.rb +10 -2
- data/spec/api/content_source_indices_api_spec.rb +86 -0
- data/spec/api/content_source_packages_api_spec.rb +113 -0
- data/spec/api/content_source_release_components_api_spec.rb +85 -0
- data/spec/models/deb_source_index_response_spec.rb +71 -0
- data/spec/models/deb_source_index_spec.rb +65 -0
- data/spec/models/deb_source_package_release_component_response_spec.rb +59 -0
- data/spec/models/deb_source_package_release_component_spec.rb +53 -0
- data/spec/models/deb_source_package_response_spec.rb +221 -0
- data/spec/models/deb_source_package_spec.rb +53 -0
- data/spec/models/paginateddeb_source_index_response_list_spec.rb +59 -0
- data/spec/models/paginateddeb_source_package_release_component_response_list_spec.rb +59 -0
- data/spec/models/paginateddeb_source_package_response_list_spec.rb +59 -0
- metadata +110 -62
data/lib/pulp_deb_client.rb
CHANGED
@@ -50,6 +50,12 @@ require 'pulp_deb_client/models/deb_release_component_response'
|
|
50
50
|
require 'pulp_deb_client/models/deb_release_file'
|
51
51
|
require 'pulp_deb_client/models/deb_release_file_response'
|
52
52
|
require 'pulp_deb_client/models/deb_release_response'
|
53
|
+
require 'pulp_deb_client/models/deb_source_index'
|
54
|
+
require 'pulp_deb_client/models/deb_source_index_response'
|
55
|
+
require 'pulp_deb_client/models/deb_source_package'
|
56
|
+
require 'pulp_deb_client/models/deb_source_package_release_component'
|
57
|
+
require 'pulp_deb_client/models/deb_source_package_release_component_response'
|
58
|
+
require 'pulp_deb_client/models/deb_source_package_response'
|
53
59
|
require 'pulp_deb_client/models/deb_verbatim_publication'
|
54
60
|
require 'pulp_deb_client/models/deb_verbatim_publication_response'
|
55
61
|
require 'pulp_deb_client/models/paginated_repository_version_response_list'
|
@@ -67,6 +73,9 @@ require 'pulp_deb_client/models/paginateddeb_release_architecture_response_list'
|
|
67
73
|
require 'pulp_deb_client/models/paginateddeb_release_component_response_list'
|
68
74
|
require 'pulp_deb_client/models/paginateddeb_release_file_response_list'
|
69
75
|
require 'pulp_deb_client/models/paginateddeb_release_response_list'
|
76
|
+
require 'pulp_deb_client/models/paginateddeb_source_index_response_list'
|
77
|
+
require 'pulp_deb_client/models/paginateddeb_source_package_release_component_response_list'
|
78
|
+
require 'pulp_deb_client/models/paginateddeb_source_package_response_list'
|
70
79
|
require 'pulp_deb_client/models/paginateddeb_verbatim_publication_response_list'
|
71
80
|
require 'pulp_deb_client/models/patcheddeb_apt_distribution'
|
72
81
|
require 'pulp_deb_client/models/patcheddeb_apt_remote'
|
@@ -91,6 +100,9 @@ require 'pulp_deb_client/api/content_release_architectures_api'
|
|
91
100
|
require 'pulp_deb_client/api/content_release_components_api'
|
92
101
|
require 'pulp_deb_client/api/content_release_files_api'
|
93
102
|
require 'pulp_deb_client/api/content_releases_api'
|
103
|
+
require 'pulp_deb_client/api/content_source_indices_api'
|
104
|
+
require 'pulp_deb_client/api/content_source_packages_api'
|
105
|
+
require 'pulp_deb_client/api/content_source_release_components_api'
|
94
106
|
require 'pulp_deb_client/api/deb_copy_api'
|
95
107
|
require 'pulp_deb_client/api/distributions_apt_api'
|
96
108
|
require 'pulp_deb_client/api/publications_apt_api'
|
@@ -39,8 +39,8 @@ describe 'ContentGenericContentsApi' do
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
40
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
41
41
|
# @option opts [String] :artifact Artifact file representing the physical content
|
42
|
-
# @option opts [File] :file An uploaded file that may be turned into the
|
43
|
-
# @option opts [String] :upload An uncommitted upload that may be turned into the
|
42
|
+
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
43
|
+
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
44
44
|
# @return [AsyncOperationResponse]
|
45
45
|
describe 'create test' do
|
46
46
|
it 'should work' do
|
@@ -39,8 +39,8 @@ describe 'ContentInstallerPackagesApi' do
|
|
39
39
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
40
40
|
# @option opts [String] :artifact Artifact file representing the physical content
|
41
41
|
# @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path
|
42
|
-
# @option opts [File] :file An uploaded file that may be turned into the
|
43
|
-
# @option opts [String] :upload An uncommitted upload that may be turned into the
|
42
|
+
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
43
|
+
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
44
44
|
# @return [AsyncOperationResponse]
|
45
45
|
describe 'create test' do
|
46
46
|
it 'should work' do
|
@@ -39,8 +39,8 @@ describe 'ContentPackagesApi' do
|
|
39
39
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
40
40
|
# @option opts [String] :artifact Artifact file representing the physical content
|
41
41
|
# @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path
|
42
|
-
# @option opts [File] :file An uploaded file that may be turned into the
|
43
|
-
# @option opts [String] :upload An uncommitted upload that may be turned into the
|
42
|
+
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
43
|
+
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
44
44
|
# @option opts [String] :distribution Name of the distribution.
|
45
45
|
# @option opts [String] :component Name of the component.
|
46
46
|
# @return [AsyncOperationResponse]
|
@@ -68,6 +68,14 @@ describe 'ContentPackagesApi' do
|
|
68
68
|
# @option opts [String] :origin Filter results where origin matches value
|
69
69
|
# @option opts [String] :original_maintainer Filter results where original_maintainer matches value
|
70
70
|
# @option opts [String] :package Filter results where package matches value
|
71
|
+
# @option opts [String] :package__contains Filter results where package contains value
|
72
|
+
# @option opts [String] :package__icontains Filter results where package contains value
|
73
|
+
# @option opts [String] :package__iexact Filter results where package matches value
|
74
|
+
# @option opts [Array<String>] :package__in Filter results where package is in a comma-separated list of values
|
75
|
+
# @option opts [String] :package__iregex Filter results where package matches regex value
|
76
|
+
# @option opts [String] :package__istartswith Filter results where package starts with value
|
77
|
+
# @option opts [String] :package__regex Filter results where package matches regex value
|
78
|
+
# @option opts [String] :package__startswith Filter results where package starts with value
|
71
79
|
# @option opts [String] :priority Filter results where priority matches value
|
72
80
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
73
81
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
@@ -0,0 +1,86 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for PulpDebClient::ContentSourceIndicesApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'ContentSourceIndicesApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = PulpDebClient::ContentSourceIndicesApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of ContentSourceIndicesApi' do
|
30
|
+
it 'should create an instance of ContentSourceIndicesApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(PulpDebClient::ContentSourceIndicesApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for create
|
36
|
+
# Create a source index
|
37
|
+
# A SourceIndex represents the source indices of a single component. Associated artifacts: Exactly one 'Sources' file. May optionally include one or more of 'Sources.gz', 'Sources.xz', 'Release'. If included, the 'Release' file is a legacy per-component-and-architecture Release file (with architecture always being 'source'). Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any 'Sources' files it needs when creating the publication. It does not make use of SourceIndex content.
|
38
|
+
# @param deb_source_index
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [DebSourceIndexResponse]
|
41
|
+
describe 'create test' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
# unit tests for list
|
48
|
+
# List SourceIndices
|
49
|
+
# A SourceIndex represents the source indices of a single component. Associated artifacts: Exactly one 'Sources' file. May optionally include one or more of 'Sources.gz', 'Sources.xz', 'Release'. If included, the 'Release' file is a legacy per-component-and-architecture Release file (with architecture always being 'source'). Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any 'Sources' files it needs when creating the publication. It does not make use of SourceIndex content.
|
50
|
+
# @param [Hash] opts the optional parameters
|
51
|
+
# @option opts [String] :component Filter results where component matches value
|
52
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
53
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
54
|
+
# @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) * `component` - Component * `-component` - Component (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
55
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
56
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
57
|
+
# @option opts [String] :q
|
58
|
+
# @option opts [String] :relative_path Filter results where relative_path matches value
|
59
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
60
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
61
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
62
|
+
# @option opts [String] :sha256 Filter results where sha256 matches value
|
63
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
64
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
65
|
+
# @return [PaginateddebSourceIndexResponseList]
|
66
|
+
describe 'list test' do
|
67
|
+
it 'should work' do
|
68
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
72
|
+
# unit tests for read
|
73
|
+
# Inspect a source index
|
74
|
+
# A SourceIndex represents the source indices of a single component. Associated artifacts: Exactly one 'Sources' file. May optionally include one or more of 'Sources.gz', 'Sources.xz', 'Release'. If included, the 'Release' file is a legacy per-component-and-architecture Release file (with architecture always being 'source'). Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any 'Sources' files it needs when creating the publication. It does not make use of SourceIndex content.
|
75
|
+
# @param deb_source_index_href
|
76
|
+
# @param [Hash] opts the optional parameters
|
77
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
78
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
79
|
+
# @return [DebSourceIndexResponse]
|
80
|
+
describe 'read test' do
|
81
|
+
it 'should work' do
|
82
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
83
|
+
end
|
84
|
+
end
|
85
|
+
|
86
|
+
end
|
@@ -0,0 +1,113 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for PulpDebClient::ContentSourcePackagesApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'ContentSourcePackagesApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = PulpDebClient::ContentSourcePackagesApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of ContentSourcePackagesApi' do
|
30
|
+
it 'should create an instance of ContentSourcePackagesApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(PulpDebClient::ContentSourcePackagesApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for create
|
36
|
+
# Create a source package
|
37
|
+
# Trigger an asynchronous task to create content,optionally create new repository version.
|
38
|
+
# @param deb_source_package
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [AsyncOperationResponse]
|
41
|
+
describe 'create test' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
# unit tests for list
|
48
|
+
# List source packages
|
49
|
+
# A Debian Source Package file represents a '.dsc' file along with its associated artifacts such as orig.tar.gz, debian.tar.gz... Associated artifacts: Exactly one '.dsc' file.
|
50
|
+
# @param [Hash] opts the optional parameters
|
51
|
+
# @option opts [String] :architecture Filter results where architecture matches value
|
52
|
+
# @option opts [String] :binary Filter results where binary matches value
|
53
|
+
# @option opts [String] :build_conflicts Filter results where build_conflicts matches value
|
54
|
+
# @option opts [String] :build_conflicts_arch Filter results where build_conflicts_arch matches value
|
55
|
+
# @option opts [String] :build_conflicts_indep Filter results where build_conflicts_indep matches value
|
56
|
+
# @option opts [String] :build_depends Filter results where build_depends matches value
|
57
|
+
# @option opts [String] :build_depends_arch Filter results where build_depends_arch matches value
|
58
|
+
# @option opts [String] :build_depends_indep Filter results where build_depends_indep matches value
|
59
|
+
# @option opts [String] :dgit Filter results where dgit matches value
|
60
|
+
# @option opts [String] :format Filter results where format matches value
|
61
|
+
# @option opts [String] :homepage Filter results where homepage matches value
|
62
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
63
|
+
# @option opts [String] :maintainer Filter results where maintainer matches value
|
64
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
65
|
+
# @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) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `format` - Format * `-format` - Format (descending) * `source` - Source * `-source` - Source (descending) * `binary` - Binary * `-binary` - Binary (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `version` - Version * `-version` - Version (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `uploaders` - Uploaders * `-uploaders` - Uploaders (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `vcs_browser` - Vcs browser * `-vcs_browser` - Vcs browser (descending) * `vcs_arch` - Vcs arch * `-vcs_arch` - Vcs arch (descending) * `vcs_bzr` - Vcs bzr * `-vcs_bzr` - Vcs bzr (descending) * `vcs_cvs` - Vcs cvs * `-vcs_cvs` - Vcs cvs (descending) * `vcs_darcs` - Vcs darcs * `-vcs_darcs` - Vcs darcs (descending) * `vcs_git` - Vcs git * `-vcs_git` - Vcs git (descending) * `vcs_hg` - Vcs hg * `-vcs_hg` - Vcs hg (descending) * `vcs_mtn` - Vcs mtn * `-vcs_mtn` - Vcs mtn (descending) * `vcs_snv` - Vcs snv * `-vcs_snv` - Vcs snv (descending) * `testsuite` - Testsuite * `-testsuite` - Testsuite (descending) * `dgit` - Dgit * `-dgit` - Dgit (descending) * `standards_version` - Standards version * `-standards_version` - Standards version (descending) * `build_depends` - Build depends * `-build_depends` - Build depends (descending) * `build_depends_indep` - Build depends indep * `-build_depends_indep` - Build depends indep (descending) * `build_depends_arch` - Build depends arch * `-build_depends_arch` - Build depends arch (descending) * `build_conflicts` - Build conflicts * `-build_conflicts` - Build conflicts (descending) * `build_conflicts_indep` - Build conflicts indep * `-build_conflicts_indep` - Build conflicts indep (descending) * `build_conflicts_arch` - Build conflicts arch * `-build_conflicts_arch` - Build conflicts arch (descending) * `package_list` - Package list * `-package_list` - Package list (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
66
|
+
# @option opts [String] :package_list Filter results where package_list matches value
|
67
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
68
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
69
|
+
# @option opts [String] :q
|
70
|
+
# @option opts [String] :relative_path Filter results where relative_path matches value
|
71
|
+
# @option opts [String] :release Must be a comma-separated string: \"release_href,repository_or_repository_version_href\" release_href: Filter results where SourcePackage in Release repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version)
|
72
|
+
# @option opts [String] :release_component Must be a comma-separated string: \"release_component_href,repository_or_repository_version_href\" release_component_href: Filter results where SourcePackage in ReleaseComponent repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version)
|
73
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
74
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
75
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
76
|
+
# @option opts [String] :source Filter results where source matches value
|
77
|
+
# @option opts [String] :standards_version Filter results where standards_version matches value
|
78
|
+
# @option opts [String] :testsuite Filter results where testsuite matches value
|
79
|
+
# @option opts [String] :uploaders Filter results where uploaders matches value
|
80
|
+
# @option opts [String] :vcs_arch Filter results where vcs_arch matches value
|
81
|
+
# @option opts [String] :vcs_browser Filter results where vcs_browser matches value
|
82
|
+
# @option opts [String] :vcs_bzr Filter results where vcs_bzr matches value
|
83
|
+
# @option opts [String] :vcs_cvs Filter results where vcs_cvs matches value
|
84
|
+
# @option opts [String] :vcs_darcs Filter results where vcs_darcs matches value
|
85
|
+
# @option opts [String] :vcs_git Filter results where vcs_git matches value
|
86
|
+
# @option opts [String] :vcs_hg Filter results where vcs_hg matches value
|
87
|
+
# @option opts [String] :vcs_mtn Filter results where vcs_mtn matches value
|
88
|
+
# @option opts [String] :vcs_snv Filter results where vcs_snv matches value
|
89
|
+
# @option opts [String] :version Filter results where version matches value
|
90
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
91
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
92
|
+
# @return [PaginateddebSourcePackageResponseList]
|
93
|
+
describe 'list test' do
|
94
|
+
it 'should work' do
|
95
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
99
|
+
# unit tests for read
|
100
|
+
# Inspect a source package
|
101
|
+
# A Debian Source Package file represents a '.dsc' file along with its associated artifacts such as orig.tar.gz, debian.tar.gz... Associated artifacts: Exactly one '.dsc' file.
|
102
|
+
# @param deb_source_package_href
|
103
|
+
# @param [Hash] opts the optional parameters
|
104
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
105
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
106
|
+
# @return [DebSourcePackageResponse]
|
107
|
+
describe 'read test' do
|
108
|
+
it 'should work' do
|
109
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
113
|
+
end
|
@@ -0,0 +1,85 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for PulpDebClient::ContentSourceReleaseComponentsApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'ContentSourceReleaseComponentsApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = PulpDebClient::ContentSourceReleaseComponentsApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of ContentSourceReleaseComponentsApi' do
|
30
|
+
it 'should create an instance of ContentSourceReleaseComponentsApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(PulpDebClient::ContentSourceReleaseComponentsApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for create
|
36
|
+
# Create a source package release component
|
37
|
+
# A SourcePackageReleaseComponent associates a SourcePackage with a ReleaseComponent. Associated artifacts: None; contains only metadata. This simply stores the information on which source packages are part of which components.
|
38
|
+
# @param deb_source_package_release_component
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [DebSourcePackageReleaseComponentResponse]
|
41
|
+
describe 'create test' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
# unit tests for list
|
48
|
+
# List source package release components
|
49
|
+
# A SourcePackageReleaseComponent associates a SourcePackage with a ReleaseComponent. Associated artifacts: None; contains only metadata. This simply stores the information on which source packages are part of which components.
|
50
|
+
# @param [Hash] opts the optional parameters
|
51
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
52
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
53
|
+
# @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) * `pk` - Pk * `-pk` - Pk (descending)
|
54
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
55
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
56
|
+
# @option opts [String] :q
|
57
|
+
# @option opts [String] :release_component Filter results where release_component matches value
|
58
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
59
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
60
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
61
|
+
# @option opts [String] :source_package Filter results where source_package matches value
|
62
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
63
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
64
|
+
# @return [PaginateddebSourcePackageReleaseComponentResponseList]
|
65
|
+
describe 'list test' 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
|
+
# unit tests for read
|
72
|
+
# Inspect a source package release component
|
73
|
+
# A SourcePackageReleaseComponent associates a SourcePackage with a ReleaseComponent. Associated artifacts: None; contains only metadata. This simply stores the information on which source packages are part of which components.
|
74
|
+
# @param deb_source_package_release_component_href
|
75
|
+
# @param [Hash] opts the optional parameters
|
76
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
77
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
78
|
+
# @return [DebSourcePackageReleaseComponentResponse]
|
79
|
+
describe 'read test' do
|
80
|
+
it 'should work' do
|
81
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
85
|
+
end
|
@@ -0,0 +1,71 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PulpDebClient::DebSourceIndexResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'DebSourceIndexResponse' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpDebClient::DebSourceIndexResponse.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of DebSourceIndexResponse' do
|
31
|
+
it 'should create an instance of DebSourceIndexResponse' do
|
32
|
+
expect(@instance).to be_instance_of(PulpDebClient::DebSourceIndexResponse)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "pulp_href"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "pulp_created"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "artifacts"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "release"' 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 "component"' 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 "relative_path"' 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
|
+
end
|
@@ -0,0 +1,65 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PulpDebClient::DebSourceIndex
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'DebSourceIndex' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpDebClient::DebSourceIndex.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of DebSourceIndex' do
|
31
|
+
it 'should create an instance of DebSourceIndex' do
|
32
|
+
expect(@instance).to be_instance_of(PulpDebClient::DebSourceIndex)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "repository"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "artifacts"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "release"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "component"' 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 "relative_path"' 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
|
+
end
|
@@ -0,0 +1,59 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PulpDebClient::DebSourcePackageReleaseComponentResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'DebSourcePackageReleaseComponentResponse' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpDebClient::DebSourcePackageReleaseComponentResponse.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of DebSourcePackageReleaseComponentResponse' do
|
31
|
+
it 'should create an instance of DebSourcePackageReleaseComponentResponse' do
|
32
|
+
expect(@instance).to be_instance_of(PulpDebClient::DebSourcePackageReleaseComponentResponse)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "pulp_href"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "pulp_created"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "source_package"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "release_component"' 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
|
+
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PulpDebClient::DebSourcePackageReleaseComponent
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'DebSourcePackageReleaseComponent' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpDebClient::DebSourcePackageReleaseComponent.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of DebSourcePackageReleaseComponent' do
|
31
|
+
it 'should create an instance of DebSourcePackageReleaseComponent' do
|
32
|
+
expect(@instance).to be_instance_of(PulpDebClient::DebSourcePackageReleaseComponent)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "repository"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "source_package"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "release_component"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
end
|