pulp_deb_client 2.0.0b4 → 2.2.0b1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +31 -11
- data/docs/{ContentInstallerFileIndexApi.md → ContentInstallerFileIndicesApi.md} +12 -12
- data/docs/{ContentPackageIndexApi.md → ContentPackageIndicesApi.md} +12 -12
- data/docs/ContentPackageReleaseComponentsApi.md +194 -0
- data/docs/ContentReleaseArchitecturesApi.md +194 -0
- data/docs/ContentReleaseComponentsApi.md +194 -0
- data/docs/ContentReleaseFilesApi.md +2 -2
- data/docs/ContentReleasesApi.md +196 -0
- data/docs/DebDebRemote.md +6 -4
- data/docs/DebPackageReleaseComponent.md +23 -0
- data/docs/DebRelease.md +25 -0
- data/docs/DebReleaseArchitecture.md +23 -0
- data/docs/DebReleaseComponent.md +23 -0
- data/docs/DistributionsAptApi.md +2 -2
- data/docs/InlineResponse20010.md +1 -1
- data/docs/InlineResponse20011.md +23 -0
- data/docs/InlineResponse20012.md +23 -0
- data/docs/InlineResponse20013.md +23 -0
- data/docs/InlineResponse20014.md +23 -0
- data/docs/InlineResponse2004.md +1 -1
- data/docs/InlineResponse2005.md +1 -1
- data/docs/InlineResponse2006.md +1 -1
- data/docs/InlineResponse2007.md +1 -1
- data/docs/InlineResponse2008.md +1 -1
- data/docs/InlineResponse2009.md +1 -1
- data/docs/PublicationsAptApi.md +16 -2
- data/docs/PublicationsVerbatimApi.md +16 -2
- data/docs/RemotesAptApi.md +2 -2
- data/docs/RepositoriesAptApi.md +5 -4
- data/docs/RepositoriesDebVersionsApi.md +2 -2
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +1 -1
- data/lib/pulp_deb_client/api/{content_installer_file_index_api.rb → content_installer_file_indices_api.rb} +14 -14
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +1 -1
- data/lib/pulp_deb_client/api/{content_package_index_api.rb → content_package_indices_api.rb} +14 -14
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +237 -0
- data/lib/pulp_deb_client/api/content_packages_api.rb +1 -1
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +237 -0
- data/lib/pulp_deb_client/api/content_release_components_api.rb +237 -0
- data/lib/pulp_deb_client/api/content_release_files_api.rb +4 -4
- data/lib/pulp_deb_client/api/content_releases_api.rb +240 -0
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +4 -4
- data/lib/pulp_deb_client/api/publications_apt_api.rb +25 -4
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +25 -4
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +4 -4
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +6 -4
- data/lib/pulp_deb_client/api/repositories_deb_versions_api.rb +4 -4
- data/lib/pulp_deb_client/api_client.rb +1 -1
- data/lib/pulp_deb_client/api_error.rb +1 -1
- data/lib/pulp_deb_client/configuration.rb +1 -1
- data/lib/pulp_deb_client/models/async_operation_response.rb +1 -1
- data/lib/pulp_deb_client/models/content_summary.rb +1 -1
- data/lib/pulp_deb_client/models/deb_base_package.rb +1 -1
- data/lib/pulp_deb_client/models/deb_deb_distribution.rb +1 -1
- data/lib/pulp_deb_client/models/deb_deb_publication.rb +1 -1
- data/lib/pulp_deb_client/models/deb_deb_remote.rb +33 -8
- data/lib/pulp_deb_client/models/deb_deb_repository.rb +1 -1
- data/lib/pulp_deb_client/models/deb_generic_content.rb +1 -1
- data/lib/pulp_deb_client/models/deb_installer_file_index.rb +1 -1
- data/lib/pulp_deb_client/models/deb_package_index.rb +1 -1
- data/lib/pulp_deb_client/models/deb_package_release_component.rb +246 -0
- data/lib/pulp_deb_client/models/deb_release.rb +315 -0
- data/lib/pulp_deb_client/models/deb_release_architecture.rb +265 -0
- data/lib/pulp_deb_client/models/deb_release_component.rb +265 -0
- data/lib/pulp_deb_client/models/deb_release_file.rb +1 -1
- data/lib/pulp_deb_client/models/deb_verbatim_publication.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response200.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response2001.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response20010.rb +2 -2
- data/lib/pulp_deb_client/models/inline_response20011.rb +247 -0
- data/lib/pulp_deb_client/models/inline_response20012.rb +247 -0
- data/lib/pulp_deb_client/models/inline_response20013.rb +247 -0
- data/lib/pulp_deb_client/models/inline_response20014.rb +247 -0
- data/lib/pulp_deb_client/models/inline_response2002.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response2003.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response2004.rb +2 -2
- data/lib/pulp_deb_client/models/inline_response2005.rb +2 -2
- data/lib/pulp_deb_client/models/inline_response2006.rb +2 -2
- data/lib/pulp_deb_client/models/inline_response2007.rb +2 -2
- data/lib/pulp_deb_client/models/inline_response2008.rb +2 -2
- data/lib/pulp_deb_client/models/inline_response2009.rb +2 -2
- data/lib/pulp_deb_client/models/repository_add_remove_content.rb +1 -1
- data/lib/pulp_deb_client/models/repository_sync_url.rb +1 -1
- data/lib/pulp_deb_client/models/repository_version.rb +1 -1
- data/lib/pulp_deb_client/version.rb +2 -2
- data/lib/pulp_deb_client.rb +15 -3
- data/pulp_deb_client.gemspec +1 -1
- data/spec/api/content_generic_contents_api_spec.rb +1 -1
- data/spec/api/{content_installer_file_index_api_spec.rb → content_installer_file_indices_api_spec.rb} +8 -8
- data/spec/api/content_installer_packages_api_spec.rb +1 -1
- data/spec/api/{content_package_index_api_spec.rb → content_package_indices_api_spec.rb} +8 -8
- data/spec/api/content_package_release_components_api_spec.rb +81 -0
- data/spec/api/content_packages_api_spec.rb +1 -1
- data/spec/api/content_release_architectures_api_spec.rb +81 -0
- data/spec/api/content_release_components_api_spec.rb +81 -0
- data/spec/api/content_release_files_api_spec.rb +2 -2
- data/spec/api/content_releases_api_spec.rb +82 -0
- data/spec/api/distributions_apt_api_spec.rb +2 -2
- data/spec/api/publications_apt_api_spec.rb +9 -2
- data/spec/api/publications_verbatim_api_spec.rb +9 -2
- data/spec/api/remotes_apt_api_spec.rb +2 -2
- data/spec/api/repositories_apt_api_spec.rb +3 -2
- data/spec/api/repositories_deb_versions_api_spec.rb +2 -2
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/content_summary_spec.rb +1 -1
- data/spec/models/deb_base_package_spec.rb +1 -1
- data/spec/models/deb_deb_distribution_spec.rb +1 -1
- data/spec/models/deb_deb_publication_spec.rb +1 -1
- data/spec/models/deb_deb_remote_spec.rb +7 -1
- data/spec/models/deb_deb_repository_spec.rb +1 -1
- data/spec/models/deb_generic_content_spec.rb +1 -1
- data/spec/models/deb_installer_file_index_spec.rb +1 -1
- data/spec/models/deb_package_index_spec.rb +1 -1
- data/spec/models/deb_package_release_component_spec.rb +59 -0
- data/spec/models/deb_release_architecture_spec.rb +59 -0
- data/spec/models/deb_release_component_spec.rb +59 -0
- data/spec/models/deb_release_file_spec.rb +1 -1
- data/spec/models/deb_release_spec.rb +65 -0
- data/spec/models/deb_verbatim_publication_spec.rb +1 -1
- data/spec/models/inline_response20010_spec.rb +1 -1
- data/spec/models/inline_response20011_spec.rb +59 -0
- data/spec/models/inline_response20012_spec.rb +59 -0
- data/spec/models/inline_response20013_spec.rb +59 -0
- data/spec/models/inline_response20014_spec.rb +59 -0
- data/spec/models/inline_response2001_spec.rb +1 -1
- data/spec/models/inline_response2002_spec.rb +1 -1
- data/spec/models/inline_response2003_spec.rb +1 -1
- data/spec/models/inline_response2004_spec.rb +1 -1
- data/spec/models/inline_response2005_spec.rb +1 -1
- data/spec/models/inline_response2006_spec.rb +1 -1
- data/spec/models/inline_response2007_spec.rb +1 -1
- data/spec/models/inline_response2008_spec.rb +1 -1
- data/spec/models/inline_response2009_spec.rb +1 -1
- data/spec/models/inline_response200_spec.rb +1 -1
- data/spec/models/repository_add_remove_content_spec.rb +1 -1
- data/spec/models/repository_sync_url_spec.rb +1 -1
- data/spec/models/repository_version_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +79 -31
data/lib/pulp_deb_client.rb
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.2.
|
9
|
+
OpenAPI Generator version: 4.2.2
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -27,11 +27,19 @@ require 'pulp_deb_client/models/deb_deb_repository'
|
|
27
27
|
require 'pulp_deb_client/models/deb_generic_content'
|
28
28
|
require 'pulp_deb_client/models/deb_installer_file_index'
|
29
29
|
require 'pulp_deb_client/models/deb_package_index'
|
30
|
+
require 'pulp_deb_client/models/deb_package_release_component'
|
31
|
+
require 'pulp_deb_client/models/deb_release'
|
32
|
+
require 'pulp_deb_client/models/deb_release_architecture'
|
33
|
+
require 'pulp_deb_client/models/deb_release_component'
|
30
34
|
require 'pulp_deb_client/models/deb_release_file'
|
31
35
|
require 'pulp_deb_client/models/deb_verbatim_publication'
|
32
36
|
require 'pulp_deb_client/models/inline_response200'
|
33
37
|
require 'pulp_deb_client/models/inline_response2001'
|
34
38
|
require 'pulp_deb_client/models/inline_response20010'
|
39
|
+
require 'pulp_deb_client/models/inline_response20011'
|
40
|
+
require 'pulp_deb_client/models/inline_response20012'
|
41
|
+
require 'pulp_deb_client/models/inline_response20013'
|
42
|
+
require 'pulp_deb_client/models/inline_response20014'
|
35
43
|
require 'pulp_deb_client/models/inline_response2002'
|
36
44
|
require 'pulp_deb_client/models/inline_response2003'
|
37
45
|
require 'pulp_deb_client/models/inline_response2004'
|
@@ -46,11 +54,15 @@ require 'pulp_deb_client/models/repository_version'
|
|
46
54
|
|
47
55
|
# APIs
|
48
56
|
require 'pulp_deb_client/api/content_generic_contents_api'
|
49
|
-
require 'pulp_deb_client/api/
|
57
|
+
require 'pulp_deb_client/api/content_installer_file_indices_api'
|
50
58
|
require 'pulp_deb_client/api/content_installer_packages_api'
|
51
|
-
require 'pulp_deb_client/api/
|
59
|
+
require 'pulp_deb_client/api/content_package_indices_api'
|
60
|
+
require 'pulp_deb_client/api/content_package_release_components_api'
|
52
61
|
require 'pulp_deb_client/api/content_packages_api'
|
62
|
+
require 'pulp_deb_client/api/content_release_architectures_api'
|
63
|
+
require 'pulp_deb_client/api/content_release_components_api'
|
53
64
|
require 'pulp_deb_client/api/content_release_files_api'
|
65
|
+
require 'pulp_deb_client/api/content_releases_api'
|
54
66
|
require 'pulp_deb_client/api/distributions_apt_api'
|
55
67
|
require 'pulp_deb_client/api/publications_apt_api'
|
56
68
|
require 'pulp_deb_client/api/publications_verbatim_api'
|
data/pulp_deb_client.gemspec
CHANGED
@@ -6,29 +6,29 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.2.
|
9
|
+
OpenAPI Generator version: 4.2.2
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'spec_helper'
|
14
14
|
require 'json'
|
15
15
|
|
16
|
-
# Unit tests for PulpDebClient::
|
16
|
+
# Unit tests for PulpDebClient::ContentInstallerFileIndicesApi
|
17
17
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
18
|
# Please update as you see appropriate
|
19
|
-
describe '
|
19
|
+
describe 'ContentInstallerFileIndicesApi' do
|
20
20
|
before do
|
21
21
|
# run before each test
|
22
|
-
@api_instance = PulpDebClient::
|
22
|
+
@api_instance = PulpDebClient::ContentInstallerFileIndicesApi.new
|
23
23
|
end
|
24
24
|
|
25
25
|
after do
|
26
26
|
# run after each test
|
27
27
|
end
|
28
28
|
|
29
|
-
describe 'test an instance of
|
30
|
-
it 'should create an instance of
|
31
|
-
expect(@api_instance).to be_instance_of(PulpDebClient::
|
29
|
+
describe 'test an instance of ContentInstallerFileIndicesApi' do
|
30
|
+
it 'should create an instance of ContentInstallerFileIndicesApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(PulpDebClient::ContentInstallerFileIndicesApi)
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
@@ -69,7 +69,7 @@ describe 'ContentInstallerFileIndexApi' do
|
|
69
69
|
# unit tests for read
|
70
70
|
# Inspect an installer file index
|
71
71
|
# A ViewSet for InstallerFileIndex.
|
72
|
-
# @param installer_file_index_href URI of Installer File Index. e.g.: /pulp/api/v3/content/deb/
|
72
|
+
# @param installer_file_index_href URI of Installer File Index. e.g.: /pulp/api/v3/content/deb/installer_file_indices/1/
|
73
73
|
# @param [Hash] opts the optional parameters
|
74
74
|
# @option opts [String] :fields A list of fields to include in the response.
|
75
75
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
@@ -6,29 +6,29 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.2.
|
9
|
+
OpenAPI Generator version: 4.2.2
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'spec_helper'
|
14
14
|
require 'json'
|
15
15
|
|
16
|
-
# Unit tests for PulpDebClient::
|
16
|
+
# Unit tests for PulpDebClient::ContentPackageIndicesApi
|
17
17
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
18
|
# Please update as you see appropriate
|
19
|
-
describe '
|
19
|
+
describe 'ContentPackageIndicesApi' do
|
20
20
|
before do
|
21
21
|
# run before each test
|
22
|
-
@api_instance = PulpDebClient::
|
22
|
+
@api_instance = PulpDebClient::ContentPackageIndicesApi.new
|
23
23
|
end
|
24
24
|
|
25
25
|
after do
|
26
26
|
# run after each test
|
27
27
|
end
|
28
28
|
|
29
|
-
describe 'test an instance of
|
30
|
-
it 'should create an instance of
|
31
|
-
expect(@api_instance).to be_instance_of(PulpDebClient::
|
29
|
+
describe 'test an instance of ContentPackageIndicesApi' do
|
30
|
+
it 'should create an instance of ContentPackageIndicesApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(PulpDebClient::ContentPackageIndicesApi)
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
@@ -69,7 +69,7 @@ describe 'ContentPackageIndexApi' do
|
|
69
69
|
# unit tests for read
|
70
70
|
# Inspect a package index
|
71
71
|
# A ViewSet for PackageIndex.
|
72
|
-
# @param package_index_href URI of Package Index. e.g.: /pulp/api/v3/content/deb/
|
72
|
+
# @param package_index_href URI of Package Index. e.g.: /pulp/api/v3/content/deb/package_indices/1/
|
73
73
|
# @param [Hash] opts the optional parameters
|
74
74
|
# @option opts [String] :fields A list of fields to include in the response.
|
75
75
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
@@ -0,0 +1,81 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.2.2
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for PulpDebClient::ContentPackageReleaseComponentsApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'ContentPackageReleaseComponentsApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = PulpDebClient::ContentPackageReleaseComponentsApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of ContentPackageReleaseComponentsApi' do
|
30
|
+
it 'should create an instance of ContentPackageReleaseComponentsApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(PulpDebClient::ContentPackageReleaseComponentsApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for create
|
36
|
+
# Create a package release component
|
37
|
+
# A ViewSet for PackageReleaseComponent.
|
38
|
+
# @param data
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [DebPackageReleaseComponent]
|
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 package release components
|
49
|
+
# A ViewSet for PackageReleaseComponent.
|
50
|
+
# @param [Hash] opts the optional parameters
|
51
|
+
# @option opts [String] :package Filter results where package matches value
|
52
|
+
# @option opts [String] :release_component Filter results where release_component matches value
|
53
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
54
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
55
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
56
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
57
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
58
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
59
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
60
|
+
# @return [InlineResponse2004]
|
61
|
+
describe 'list test' do
|
62
|
+
it 'should work' do
|
63
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
# unit tests for read
|
68
|
+
# Inspect a package release component
|
69
|
+
# A ViewSet for PackageReleaseComponent.
|
70
|
+
# @param package_release_component_href URI of Package Release Component. e.g.: /pulp/api/v3/content/deb/package_release_components/1/
|
71
|
+
# @param [Hash] opts the optional parameters
|
72
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
73
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
74
|
+
# @return [DebPackageReleaseComponent]
|
75
|
+
describe 'read test' do
|
76
|
+
it 'should work' do
|
77
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
end
|
@@ -0,0 +1,81 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.2.2
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for PulpDebClient::ContentReleaseArchitecturesApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'ContentReleaseArchitecturesApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = PulpDebClient::ContentReleaseArchitecturesApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of ContentReleaseArchitecturesApi' do
|
30
|
+
it 'should create an instance of ContentReleaseArchitecturesApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(PulpDebClient::ContentReleaseArchitecturesApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for create
|
36
|
+
# Create a release architecture
|
37
|
+
# A ViewSet for ReleaseArchitecture.
|
38
|
+
# @param data
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [DebReleaseArchitecture]
|
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 release architectures
|
49
|
+
# A ViewSet for ReleaseArchitecture.
|
50
|
+
# @param [Hash] opts the optional parameters
|
51
|
+
# @option opts [String] :architecture Filter results where architecture matches value
|
52
|
+
# @option opts [String] :release Filter results where release matches value
|
53
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
54
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
55
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
56
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
57
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
58
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
59
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
60
|
+
# @return [InlineResponse2005]
|
61
|
+
describe 'list test' do
|
62
|
+
it 'should work' do
|
63
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
# unit tests for read
|
68
|
+
# Inspect a release architecture
|
69
|
+
# A ViewSet for ReleaseArchitecture.
|
70
|
+
# @param release_architecture_href URI of Release Architecture. e.g.: /pulp/api/v3/content/deb/release_architectures/1/
|
71
|
+
# @param [Hash] opts the optional parameters
|
72
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
73
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
74
|
+
# @return [DebReleaseArchitecture]
|
75
|
+
describe 'read test' do
|
76
|
+
it 'should work' do
|
77
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
end
|
@@ -0,0 +1,81 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.2.2
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for PulpDebClient::ContentReleaseComponentsApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'ContentReleaseComponentsApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = PulpDebClient::ContentReleaseComponentsApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of ContentReleaseComponentsApi' do
|
30
|
+
it 'should create an instance of ContentReleaseComponentsApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(PulpDebClient::ContentReleaseComponentsApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for create
|
36
|
+
# Create a release component
|
37
|
+
# A ViewSet for ReleaseComponent.
|
38
|
+
# @param data
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [DebReleaseComponent]
|
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 release components
|
49
|
+
# A ViewSet for ReleaseComponent.
|
50
|
+
# @param [Hash] opts the optional parameters
|
51
|
+
# @option opts [String] :component Filter results where component matches value
|
52
|
+
# @option opts [String] :release Filter results where release matches value
|
53
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
54
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
55
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
56
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
57
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
58
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
59
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
60
|
+
# @return [InlineResponse2006]
|
61
|
+
describe 'list test' do
|
62
|
+
it 'should work' do
|
63
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
# unit tests for read
|
68
|
+
# Inspect a release component
|
69
|
+
# A ViewSet for ReleaseComponent.
|
70
|
+
# @param release_component_href URI of Release Component. e.g.: /pulp/api/v3/content/deb/release_components/1/
|
71
|
+
# @param [Hash] opts the optional parameters
|
72
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
73
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
74
|
+
# @return [DebReleaseComponent]
|
75
|
+
describe 'read test' do
|
76
|
+
it 'should work' do
|
77
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.2.
|
9
|
+
OpenAPI Generator version: 4.2.2
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -59,7 +59,7 @@ describe 'ContentReleaseFilesApi' do
|
|
59
59
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
60
60
|
# @option opts [String] :fields A list of fields to include in the response.
|
61
61
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
62
|
-
# @return [
|
62
|
+
# @return [InlineResponse2007]
|
63
63
|
describe 'list test' do
|
64
64
|
it 'should work' do
|
65
65
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -0,0 +1,82 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.2.2
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for PulpDebClient::ContentReleasesApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'ContentReleasesApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = PulpDebClient::ContentReleasesApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of ContentReleasesApi' do
|
30
|
+
it 'should create an instance of ContentReleasesApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(PulpDebClient::ContentReleasesApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for create
|
36
|
+
# Create a release
|
37
|
+
# A ViewSet for Release.
|
38
|
+
# @param data
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [DebRelease]
|
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 releases
|
49
|
+
# A ViewSet for Release.
|
50
|
+
# @param [Hash] opts the optional parameters
|
51
|
+
# @option opts [String] :codename Filter results where codename matches value
|
52
|
+
# @option opts [String] :suite Filter results where suite matches value
|
53
|
+
# @option opts [String] :distribution Filter results where distribution matches value
|
54
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
55
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
56
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
57
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
58
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
59
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
60
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
61
|
+
# @return [InlineResponse2008]
|
62
|
+
describe 'list test' do
|
63
|
+
it 'should work' do
|
64
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
# unit tests for read
|
69
|
+
# Inspect a release
|
70
|
+
# A ViewSet for Release.
|
71
|
+
# @param release_href URI of Release. e.g.: /pulp/api/v3/content/deb/releases/1/
|
72
|
+
# @param [Hash] opts the optional parameters
|
73
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
74
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
75
|
+
# @return [DebRelease]
|
76
|
+
describe 'read test' do
|
77
|
+
it 'should work' do
|
78
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.2.
|
9
|
+
OpenAPI Generator version: 4.2.2
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -70,7 +70,7 @@ describe 'DistributionsAptApi' do
|
|
70
70
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
71
71
|
# @option opts [String] :fields A list of fields to include in the response.
|
72
72
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
73
|
-
# @return [
|
73
|
+
# @return [InlineResponse2009]
|
74
74
|
describe 'list test' do
|
75
75
|
it 'should work' do
|
76
76
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.2.
|
9
|
+
OpenAPI Generator version: 4.2.2
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -61,11 +61,18 @@ describe 'PublicationsAptApi' do
|
|
61
61
|
# A ViewSet for DebPublication.
|
62
62
|
# @param [Hash] opts the optional parameters
|
63
63
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
64
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
65
|
+
# @option opts [String] :pulp_created__lt Filter results where pulp_created is less than value
|
66
|
+
# @option opts [String] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
67
|
+
# @option opts [String] :pulp_created__gt Filter results where pulp_created is greater than value
|
68
|
+
# @option opts [String] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
69
|
+
# @option opts [String] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
70
|
+
# @option opts [String] :pulp_created ISO 8601 formatted dates are supported
|
64
71
|
# @option opts [Integer] :limit Number of results to return per page.
|
65
72
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
66
73
|
# @option opts [String] :fields A list of fields to include in the response.
|
67
74
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
68
|
-
# @return [
|
75
|
+
# @return [InlineResponse20010]
|
69
76
|
describe 'list test' do
|
70
77
|
it 'should work' do
|
71
78
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.2.
|
9
|
+
OpenAPI Generator version: 4.2.2
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -61,11 +61,18 @@ describe 'PublicationsVerbatimApi' do
|
|
61
61
|
# A ViewSet for VerbatimPublication.
|
62
62
|
# @param [Hash] opts the optional parameters
|
63
63
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
64
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
65
|
+
# @option opts [String] :pulp_created__lt Filter results where pulp_created is less than value
|
66
|
+
# @option opts [String] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
67
|
+
# @option opts [String] :pulp_created__gt Filter results where pulp_created is greater than value
|
68
|
+
# @option opts [String] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
69
|
+
# @option opts [String] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
70
|
+
# @option opts [String] :pulp_created ISO 8601 formatted dates are supported
|
64
71
|
# @option opts [Integer] :limit Number of results to return per page.
|
65
72
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
66
73
|
# @option opts [String] :fields A list of fields to include in the response.
|
67
74
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
68
|
-
# @return [
|
75
|
+
# @return [InlineResponse20011]
|
69
76
|
describe 'list test' do
|
70
77
|
it 'should work' do
|
71
78
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.2.
|
9
|
+
OpenAPI Generator version: 4.2.2
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -72,7 +72,7 @@ describe 'RemotesAptApi' do
|
|
72
72
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
73
73
|
# @option opts [String] :fields A list of fields to include in the response.
|
74
74
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
75
|
-
# @return [
|
75
|
+
# @return [InlineResponse20012]
|
76
76
|
describe 'list test' do
|
77
77
|
it 'should work' do
|
78
78
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.2.
|
9
|
+
OpenAPI Generator version: 4.2.2
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -66,7 +66,7 @@ describe 'RepositoriesAptApi' do
|
|
66
66
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
67
67
|
# @option opts [String] :fields A list of fields to include in the response.
|
68
68
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
69
|
-
# @return [
|
69
|
+
# @return [InlineResponse20013]
|
70
70
|
describe 'list test' do
|
71
71
|
it 'should work' do
|
72
72
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -74,6 +74,7 @@ describe 'RepositoriesAptApi' do
|
|
74
74
|
end
|
75
75
|
|
76
76
|
# unit tests for modify
|
77
|
+
# Modify Repository Content
|
77
78
|
# Trigger an asynchronous task to create a new repository version.
|
78
79
|
# @param deb_repository_href URI of Deb Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
|
79
80
|
# @param data
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.2.
|
9
|
+
OpenAPI Generator version: 4.2.2
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -67,7 +67,7 @@ describe 'RepositoriesDebVersionsApi' do
|
|
67
67
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
68
68
|
# @option opts [String] :fields A list of fields to include in the response.
|
69
69
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
70
|
-
# @return [
|
70
|
+
# @return [InlineResponse20014]
|
71
71
|
describe 'list test' do
|
72
72
|
it 'should work' do
|
73
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|