pulp_deb_client 2.0.0b2
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 +7 -0
- data/Gemfile +9 -0
- data/README.md +163 -0
- data/Rakefile +10 -0
- data/docs/AsyncOperationResponse.md +17 -0
- data/docs/ContentGenericContentsApi.md +194 -0
- data/docs/ContentInstallerFileIndexApi.md +186 -0
- data/docs/ContentInstallerPackagesApi.md +194 -0
- data/docs/ContentPackageIndexApi.md +186 -0
- data/docs/ContentPackagesApi.md +194 -0
- data/docs/ContentReleasesApi.md +186 -0
- data/docs/DebDistribution.md +29 -0
- data/docs/DebPublication.md +31 -0
- data/docs/DebRemote.md +57 -0
- data/docs/DistributionsAptApi.md +358 -0
- data/docs/GenericContent.md +41 -0
- data/docs/InlineResponse200.md +23 -0
- data/docs/InlineResponse2001.md +23 -0
- data/docs/InlineResponse2002.md +23 -0
- data/docs/InlineResponse2003.md +23 -0
- data/docs/InlineResponse2004.md +23 -0
- data/docs/InlineResponse2005.md +23 -0
- data/docs/InlineResponse2006.md +23 -0
- data/docs/InlineResponse2007.md +23 -0
- data/docs/InlineResponse2008.md +23 -0
- data/docs/InlineResponse2009.md +23 -0
- data/docs/InstallerFileIndex.md +31 -0
- data/docs/InstallerPackage.md +99 -0
- data/docs/Package.md +99 -0
- data/docs/PackageIndex.md +31 -0
- data/docs/PublicationsAptApi.md +235 -0
- data/docs/PublicationsVerbatimApi.md +235 -0
- data/docs/Release.md +31 -0
- data/docs/RemotesAptApi.md +417 -0
- data/docs/RepositorySyncURL.md +19 -0
- data/docs/VerbatimPublication.md +27 -0
- data/git_push.sh +58 -0
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +239 -0
- data/lib/pulp_deb_client/api/content_installer_file_index_api.rb +225 -0
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +235 -0
- data/lib/pulp_deb_client/api/content_package_index_api.rb +225 -0
- data/lib/pulp_deb_client/api/content_packages_api.rb +235 -0
- data/lib/pulp_deb_client/api/content_releases_api.rb +225 -0
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +436 -0
- data/lib/pulp_deb_client/api/publications_apt_api.rb +279 -0
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +279 -0
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +510 -0
- data/lib/pulp_deb_client/api_client.rb +402 -0
- data/lib/pulp_deb_client/api_error.rb +57 -0
- data/lib/pulp_deb_client/configuration.rb +243 -0
- data/lib/pulp_deb_client/models/async_operation_response.rb +202 -0
- data/lib/pulp_deb_client/models/deb_distribution.rb +337 -0
- data/lib/pulp_deb_client/models/deb_publication.rb +282 -0
- data/lib/pulp_deb_client/models/deb_remote.rb +653 -0
- data/lib/pulp_deb_client/models/generic_content.rb +444 -0
- data/lib/pulp_deb_client/models/inline_response200.rb +235 -0
- data/lib/pulp_deb_client/models/inline_response2001.rb +235 -0
- data/lib/pulp_deb_client/models/inline_response2002.rb +235 -0
- data/lib/pulp_deb_client/models/inline_response2003.rb +235 -0
- data/lib/pulp_deb_client/models/inline_response2004.rb +235 -0
- data/lib/pulp_deb_client/models/inline_response2005.rb +235 -0
- data/lib/pulp_deb_client/models/inline_response2006.rb +235 -0
- data/lib/pulp_deb_client/models/inline_response2007.rb +235 -0
- data/lib/pulp_deb_client/models/inline_response2008.rb +235 -0
- data/lib/pulp_deb_client/models/inline_response2009.rb +235 -0
- data/lib/pulp_deb_client/models/installer_file_index.rb +355 -0
- data/lib/pulp_deb_client/models/installer_package.rb +1101 -0
- data/lib/pulp_deb_client/models/package.rb +1101 -0
- data/lib/pulp_deb_client/models/package_index.rb +355 -0
- data/lib/pulp_deb_client/models/release.rb +356 -0
- data/lib/pulp_deb_client/models/repository_sync_url.rb +214 -0
- data/lib/pulp_deb_client/models/verbatim_publication.rb +258 -0
- data/lib/pulp_deb_client/version.rb +15 -0
- data/lib/pulp_deb_client.rb +71 -0
- data/pulp_deb_client.gemspec +39 -0
- data/spec/api/content_generic_contents_api_spec.rb +80 -0
- data/spec/api/content_installer_file_index_api_spec.rb +77 -0
- data/spec/api/content_installer_packages_api_spec.rb +80 -0
- data/spec/api/content_package_index_api_spec.rb +77 -0
- data/spec/api/content_packages_api_spec.rb +80 -0
- data/spec/api/content_releases_api_spec.rb +77 -0
- data/spec/api/distributions_apt_api_spec.rb +118 -0
- data/spec/api/publications_apt_api_spec.rb +87 -0
- data/spec/api/publications_verbatim_api_spec.rb +87 -0
- data/spec/api/remotes_apt_api_spec.rb +132 -0
- data/spec/api_client_spec.rb +188 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/async_operation_response_spec.rb +41 -0
- data/spec/models/deb_distribution_spec.rb +77 -0
- data/spec/models/deb_publication_spec.rb +83 -0
- data/spec/models/deb_remote_spec.rb +165 -0
- data/spec/models/generic_content_spec.rb +113 -0
- data/spec/models/inline_response2001_spec.rb +59 -0
- data/spec/models/inline_response2002_spec.rb +59 -0
- data/spec/models/inline_response2003_spec.rb +59 -0
- data/spec/models/inline_response2004_spec.rb +59 -0
- data/spec/models/inline_response2005_spec.rb +59 -0
- data/spec/models/inline_response2006_spec.rb +59 -0
- data/spec/models/inline_response2007_spec.rb +59 -0
- data/spec/models/inline_response2008_spec.rb +59 -0
- data/spec/models/inline_response2009_spec.rb +59 -0
- data/spec/models/inline_response200_spec.rb +59 -0
- data/spec/models/installer_file_index_spec.rb +83 -0
- data/spec/models/installer_package_spec.rb +287 -0
- data/spec/models/package_index_spec.rb +83 -0
- data/spec/models/package_spec.rb +287 -0
- data/spec/models/release_spec.rb +83 -0
- data/spec/models/repository_sync_url_spec.rb +47 -0
- data/spec/models/verbatim_publication_spec.rb +71 -0
- data/spec/spec_helper.rb +111 -0
- metadata +242 -0
|
@@ -0,0 +1,77 @@
|
|
|
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.1.3-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
|
|
16
|
+
# Unit tests for PulpDebClient::ContentInstallerFileIndexApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'ContentInstallerFileIndexApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = PulpDebClient::ContentInstallerFileIndexApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of ContentInstallerFileIndexApi' do
|
|
30
|
+
it 'should create an instance of ContentInstallerFileIndexApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(PulpDebClient::ContentInstallerFileIndexApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for create
|
|
36
|
+
# Create an installer file index
|
|
37
|
+
# A ViewSet for InstallerFileIndex.
|
|
38
|
+
# @param data
|
|
39
|
+
# @param [Hash] opts the optional parameters
|
|
40
|
+
# @return [InstallerFileIndex]
|
|
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 InstallerFileIndices
|
|
49
|
+
# A ViewSet for InstallerFileIndex.
|
|
50
|
+
# @param [Hash] opts the optional parameters
|
|
51
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
52
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
53
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
|
54
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
55
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
56
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
57
|
+
# @return [InlineResponse2001]
|
|
58
|
+
describe 'list test' do
|
|
59
|
+
it 'should work' do
|
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
# unit tests for read
|
|
65
|
+
# Inspect an installer file index
|
|
66
|
+
# A ViewSet for InstallerFileIndex.
|
|
67
|
+
# @param installer_file_index_href URI of Installer File Index. e.g.: /pulp/api/v3/content/deb/installer_file_index/1/
|
|
68
|
+
# @param [Hash] opts the optional parameters
|
|
69
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
70
|
+
# @return [InstallerFileIndex]
|
|
71
|
+
describe 'read test' 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
|
+
end
|
|
@@ -0,0 +1,80 @@
|
|
|
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.1.3-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
|
|
16
|
+
# Unit tests for PulpDebClient::ContentInstallerPackagesApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'ContentInstallerPackagesApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = PulpDebClient::ContentInstallerPackagesApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of ContentInstallerPackagesApi' do
|
|
30
|
+
it 'should create an instance of ContentInstallerPackagesApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(PulpDebClient::ContentInstallerPackagesApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for create
|
|
36
|
+
# Create an installer package
|
|
37
|
+
# Trigger an asynchronous task to create content,optionally create new repository version.
|
|
38
|
+
# @param [Hash] opts the optional parameters
|
|
39
|
+
# @option opts [String] :artifact Artifact file representing the physical content
|
|
40
|
+
# @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path
|
|
41
|
+
# @option opts [File] :file An uploaded file that should be turned into the artifact of the content unit.
|
|
42
|
+
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
43
|
+
# @return [AsyncOperationResponse]
|
|
44
|
+
describe 'create test' do
|
|
45
|
+
it 'should work' do
|
|
46
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
# unit tests for list
|
|
51
|
+
# List installer packages
|
|
52
|
+
# A ViewSet for InstallerPackage.
|
|
53
|
+
# @param [Hash] opts the optional parameters
|
|
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
|
+
# @return [InlineResponse2002]
|
|
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 an installer package
|
|
69
|
+
# A ViewSet for InstallerPackage.
|
|
70
|
+
# @param installer_package_href URI of Installer Package. e.g.: /pulp/api/v3/content/deb/installer_packages/1/
|
|
71
|
+
# @param [Hash] opts the optional parameters
|
|
72
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
73
|
+
# @return [InstallerPackage]
|
|
74
|
+
describe 'read test' do
|
|
75
|
+
it 'should work' do
|
|
76
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
77
|
+
end
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
end
|
|
@@ -0,0 +1,77 @@
|
|
|
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.1.3-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
|
|
16
|
+
# Unit tests for PulpDebClient::ContentPackageIndexApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'ContentPackageIndexApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = PulpDebClient::ContentPackageIndexApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of ContentPackageIndexApi' do
|
|
30
|
+
it 'should create an instance of ContentPackageIndexApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(PulpDebClient::ContentPackageIndexApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for create
|
|
36
|
+
# Create a package index
|
|
37
|
+
# A ViewSet for PackageIndex.
|
|
38
|
+
# @param data
|
|
39
|
+
# @param [Hash] opts the optional parameters
|
|
40
|
+
# @return [PackageIndex]
|
|
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 PackageIndices
|
|
49
|
+
# A ViewSet for PackageIndex.
|
|
50
|
+
# @param [Hash] opts the optional parameters
|
|
51
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
52
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
53
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
|
54
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
55
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
56
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
57
|
+
# @return [InlineResponse2003]
|
|
58
|
+
describe 'list test' do
|
|
59
|
+
it 'should work' do
|
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
# unit tests for read
|
|
65
|
+
# Inspect a package index
|
|
66
|
+
# A ViewSet for PackageIndex.
|
|
67
|
+
# @param package_index_href URI of Package Index. e.g.: /pulp/api/v3/content/deb/package_index/1/
|
|
68
|
+
# @param [Hash] opts the optional parameters
|
|
69
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
70
|
+
# @return [PackageIndex]
|
|
71
|
+
describe 'read test' 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
|
+
end
|
|
@@ -0,0 +1,80 @@
|
|
|
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.1.3-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
|
|
16
|
+
# Unit tests for PulpDebClient::ContentPackagesApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'ContentPackagesApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = PulpDebClient::ContentPackagesApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of ContentPackagesApi' do
|
|
30
|
+
it 'should create an instance of ContentPackagesApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(PulpDebClient::ContentPackagesApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for create
|
|
36
|
+
# Create a package
|
|
37
|
+
# Trigger an asynchronous task to create content,optionally create new repository version.
|
|
38
|
+
# @param [Hash] opts the optional parameters
|
|
39
|
+
# @option opts [String] :artifact Artifact file representing the physical content
|
|
40
|
+
# @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path
|
|
41
|
+
# @option opts [File] :file An uploaded file that should be turned into the artifact of the content unit.
|
|
42
|
+
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
43
|
+
# @return [AsyncOperationResponse]
|
|
44
|
+
describe 'create test' do
|
|
45
|
+
it 'should work' do
|
|
46
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
# unit tests for list
|
|
51
|
+
# List packages
|
|
52
|
+
# A ViewSet for Package.
|
|
53
|
+
# @param [Hash] opts the optional parameters
|
|
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
|
+
# @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
|
|
69
|
+
# A ViewSet for Package.
|
|
70
|
+
# @param package_href URI of Package. e.g.: /pulp/api/v3/content/deb/packages/1/
|
|
71
|
+
# @param [Hash] opts the optional parameters
|
|
72
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
73
|
+
# @return [Package]
|
|
74
|
+
describe 'read test' do
|
|
75
|
+
it 'should work' do
|
|
76
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
77
|
+
end
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
end
|
|
@@ -0,0 +1,77 @@
|
|
|
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.1.3-SNAPSHOT
|
|
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 [Release]
|
|
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] :repository_version Repository Version referenced by HREF
|
|
52
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
53
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
|
54
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
55
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
56
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
57
|
+
# @return [InlineResponse2005]
|
|
58
|
+
describe 'list test' do
|
|
59
|
+
it 'should work' do
|
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
# unit tests for read
|
|
65
|
+
# Inspect a release
|
|
66
|
+
# A ViewSet for Release.
|
|
67
|
+
# @param release_href URI of Release. e.g.: /pulp/api/v3/content/deb/releases/1/
|
|
68
|
+
# @param [Hash] opts the optional parameters
|
|
69
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
70
|
+
# @return [Release]
|
|
71
|
+
describe 'read test' 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
|
+
end
|
|
@@ -0,0 +1,118 @@
|
|
|
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.1.3-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
|
|
16
|
+
# Unit tests for PulpDebClient::DistributionsAptApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'DistributionsAptApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = PulpDebClient::DistributionsAptApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of DistributionsAptApi' do
|
|
30
|
+
it 'should create an instance of DistributionsAptApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(PulpDebClient::DistributionsAptApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for create
|
|
36
|
+
# Create a deb distribution
|
|
37
|
+
# Trigger an asynchronous create task
|
|
38
|
+
# @param data
|
|
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 delete
|
|
48
|
+
# Delete a deb distribution
|
|
49
|
+
# Trigger an asynchronous delete task
|
|
50
|
+
# @param deb_distribution_href URI of Deb Distribution. e.g.: /pulp/api/v3/distributions/deb/apt/1/
|
|
51
|
+
# @param [Hash] opts the optional parameters
|
|
52
|
+
# @return [AsyncOperationResponse]
|
|
53
|
+
describe 'delete test' 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
|
+
# unit tests for list
|
|
60
|
+
# List deb distributions
|
|
61
|
+
# ViewSet for DebDistributions.
|
|
62
|
+
# @param [Hash] opts the optional parameters
|
|
63
|
+
# @option opts [String] :name
|
|
64
|
+
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
|
65
|
+
# @option opts [String] :base_path
|
|
66
|
+
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
|
67
|
+
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
|
68
|
+
# @option opts [String] :base_path__in Filter results where base_path is in a comma-separated list of values
|
|
69
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
70
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
71
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
72
|
+
# @return [InlineResponse2006]
|
|
73
|
+
describe 'list test' do
|
|
74
|
+
it 'should work' do
|
|
75
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
76
|
+
end
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
# unit tests for partial_update
|
|
80
|
+
# Partially update a deb distribution
|
|
81
|
+
# Trigger an asynchronous partial update task
|
|
82
|
+
# @param deb_distribution_href URI of Deb Distribution. e.g.: /pulp/api/v3/distributions/deb/apt/1/
|
|
83
|
+
# @param data
|
|
84
|
+
# @param [Hash] opts the optional parameters
|
|
85
|
+
# @return [AsyncOperationResponse]
|
|
86
|
+
describe 'partial_update test' do
|
|
87
|
+
it 'should work' do
|
|
88
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
89
|
+
end
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
# unit tests for read
|
|
93
|
+
# Inspect a deb distribution
|
|
94
|
+
# ViewSet for DebDistributions.
|
|
95
|
+
# @param deb_distribution_href URI of Deb Distribution. e.g.: /pulp/api/v3/distributions/deb/apt/1/
|
|
96
|
+
# @param [Hash] opts the optional parameters
|
|
97
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
98
|
+
# @return [DebDistribution]
|
|
99
|
+
describe 'read test' do
|
|
100
|
+
it 'should work' do
|
|
101
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
102
|
+
end
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
# unit tests for update
|
|
106
|
+
# Update a deb distribution
|
|
107
|
+
# Trigger an asynchronous update task
|
|
108
|
+
# @param deb_distribution_href URI of Deb Distribution. e.g.: /pulp/api/v3/distributions/deb/apt/1/
|
|
109
|
+
# @param data
|
|
110
|
+
# @param [Hash] opts the optional parameters
|
|
111
|
+
# @return [AsyncOperationResponse]
|
|
112
|
+
describe 'update test' do
|
|
113
|
+
it 'should work' do
|
|
114
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
115
|
+
end
|
|
116
|
+
end
|
|
117
|
+
|
|
118
|
+
end
|
|
@@ -0,0 +1,87 @@
|
|
|
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.1.3-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
|
|
16
|
+
# Unit tests for PulpDebClient::PublicationsAptApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'PublicationsAptApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = PulpDebClient::PublicationsAptApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of PublicationsAptApi' do
|
|
30
|
+
it 'should create an instance of PublicationsAptApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(PulpDebClient::PublicationsAptApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for create
|
|
36
|
+
# Create a deb publication
|
|
37
|
+
# Trigger an asynchronous task to publish content
|
|
38
|
+
# @param data
|
|
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 delete
|
|
48
|
+
# Delete a deb publication
|
|
49
|
+
# A ViewSet for DebPublication.
|
|
50
|
+
# @param deb_publication_href URI of Deb Publication. e.g.: /pulp/api/v3/publications/deb/apt/1/
|
|
51
|
+
# @param [Hash] opts the optional parameters
|
|
52
|
+
# @return [nil]
|
|
53
|
+
describe 'delete test' 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
|
+
# unit tests for list
|
|
60
|
+
# List deb publications
|
|
61
|
+
# A ViewSet for DebPublication.
|
|
62
|
+
# @param [Hash] opts the optional parameters
|
|
63
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
64
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
65
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
66
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
67
|
+
# @return [InlineResponse2007]
|
|
68
|
+
describe 'list test' do
|
|
69
|
+
it 'should work' do
|
|
70
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
71
|
+
end
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
# unit tests for read
|
|
75
|
+
# Inspect a deb publication
|
|
76
|
+
# A ViewSet for DebPublication.
|
|
77
|
+
# @param deb_publication_href URI of Deb Publication. e.g.: /pulp/api/v3/publications/deb/apt/1/
|
|
78
|
+
# @param [Hash] opts the optional parameters
|
|
79
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
80
|
+
# @return [DebPublication]
|
|
81
|
+
describe 'read test' do
|
|
82
|
+
it 'should work' do
|
|
83
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
84
|
+
end
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
end
|
|
@@ -0,0 +1,87 @@
|
|
|
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.1.3-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
|
|
16
|
+
# Unit tests for PulpDebClient::PublicationsVerbatimApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'PublicationsVerbatimApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = PulpDebClient::PublicationsVerbatimApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of PublicationsVerbatimApi' do
|
|
30
|
+
it 'should create an instance of PublicationsVerbatimApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(PulpDebClient::PublicationsVerbatimApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for create
|
|
36
|
+
# Create a verbatim publication
|
|
37
|
+
# Trigger an asynchronous task to publish content
|
|
38
|
+
# @param data
|
|
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 delete
|
|
48
|
+
# Delete a verbatim publication
|
|
49
|
+
# A ViewSet for VerbatimPublication.
|
|
50
|
+
# @param verbatim_publication_href URI of Verbatim Publication. e.g.: /pulp/api/v3/publications/deb/verbatim/1/
|
|
51
|
+
# @param [Hash] opts the optional parameters
|
|
52
|
+
# @return [nil]
|
|
53
|
+
describe 'delete test' 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
|
+
# unit tests for list
|
|
60
|
+
# List verbatim publications
|
|
61
|
+
# A ViewSet for VerbatimPublication.
|
|
62
|
+
# @param [Hash] opts the optional parameters
|
|
63
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
64
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
65
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
66
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
67
|
+
# @return [InlineResponse2008]
|
|
68
|
+
describe 'list test' do
|
|
69
|
+
it 'should work' do
|
|
70
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
71
|
+
end
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
# unit tests for read
|
|
75
|
+
# Inspect a verbatim publication
|
|
76
|
+
# A ViewSet for VerbatimPublication.
|
|
77
|
+
# @param verbatim_publication_href URI of Verbatim Publication. e.g.: /pulp/api/v3/publications/deb/verbatim/1/
|
|
78
|
+
# @param [Hash] opts the optional parameters
|
|
79
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
80
|
+
# @return [VerbatimPublication]
|
|
81
|
+
describe 'read test' do
|
|
82
|
+
it 'should work' do
|
|
83
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
84
|
+
end
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
end
|