pulp_deb_client 2.0.0b2 → 2.0.0b3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +32 -18
- data/docs/ContentGenericContentsApi.md +12 -4
- data/docs/ContentInstallerFileIndexApi.md +20 -8
- data/docs/ContentInstallerPackagesApi.md +42 -4
- data/docs/ContentPackageIndexApi.md +20 -8
- data/docs/ContentPackagesApi.md +46 -6
- data/docs/{ContentReleasesApi.md → ContentReleaseFilesApi.md} +44 -32
- data/docs/ContentSummary.md +21 -0
- data/docs/{InstallerPackage.md → DebBasePackage.md} +40 -46
- data/docs/{DebDistribution.md → DebDebDistribution.md} +6 -6
- data/docs/{DebPublication.md → DebDebPublication.md} +5 -7
- data/docs/{DebRemote.md → DebDebRemote.md} +15 -21
- data/docs/DebDebRepository.md +27 -0
- data/docs/{GenericContent.md → DebGenericContent.md} +11 -17
- data/docs/{InstallerFileIndex.md → DebInstallerFileIndex.md} +5 -7
- data/docs/{PackageIndex.md → DebPackageIndex.md} +5 -7
- data/docs/{Release.md → DebReleaseFile.md} +5 -7
- data/docs/{VerbatimPublication.md → DebVerbatimPublication.md} +5 -7
- data/docs/DistributionsAptApi.md +16 -12
- data/docs/InlineResponse200.md +1 -1
- data/docs/InlineResponse2001.md +1 -1
- data/docs/InlineResponse20010.md +23 -0
- data/docs/InlineResponse2002.md +1 -1
- data/docs/InlineResponse2003.md +1 -1
- 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 +12 -8
- data/docs/PublicationsVerbatimApi.md +12 -8
- data/docs/RemotesAptApi.md +30 -81
- data/docs/RepositoriesAptApi.md +465 -0
- data/docs/RepositoriesDebVersionsApi.md +214 -0
- data/docs/RepositoryAddRemoveContent.md +21 -0
- data/docs/RepositorySyncURL.md +2 -2
- data/docs/RepositoryVersion.md +25 -0
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +16 -4
- data/lib/pulp_deb_client/api/content_installer_file_index_api.rb +27 -9
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +61 -4
- data/lib/pulp_deb_client/api/content_package_index_api.rb +27 -9
- data/lib/pulp_deb_client/api/content_packages_api.rb +67 -7
- data/lib/pulp_deb_client/api/{content_releases_api.rb → content_release_files_api.rb} +61 -43
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +19 -13
- data/lib/pulp_deb_client/api/publications_apt_api.rb +15 -9
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +15 -9
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +40 -102
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +568 -0
- data/lib/pulp_deb_client/api/repositories_deb_versions_api.rb +268 -0
- 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 +12 -2
- data/lib/pulp_deb_client/models/content_summary.rb +246 -0
- data/lib/pulp_deb_client/models/{package.rb → deb_base_package.rb} +28 -62
- data/lib/pulp_deb_client/models/{deb_distribution.rb → deb_deb_distribution.rb} +30 -36
- data/lib/pulp_deb_client/models/{deb_publication.rb → deb_deb_publication.rb} +29 -42
- data/lib/pulp_deb_client/models/{deb_remote.rb → deb_deb_remote.rb} +87 -147
- data/lib/pulp_deb_client/models/deb_deb_repository.rb +294 -0
- data/lib/pulp_deb_client/models/{generic_content.rb → deb_generic_content.rb} +28 -62
- data/lib/pulp_deb_client/models/{installer_file_index.rb → deb_installer_file_index.rb} +28 -42
- data/lib/pulp_deb_client/models/{package_index.rb → deb_package_index.rb} +28 -42
- data/lib/pulp_deb_client/models/{release.rb → deb_release_file.rb} +28 -42
- data/lib/pulp_deb_client/models/{verbatim_publication.rb → deb_verbatim_publication.rb} +29 -42
- data/lib/pulp_deb_client/models/inline_response200.rb +15 -3
- data/lib/pulp_deb_client/models/inline_response2001.rb +15 -3
- data/lib/pulp_deb_client/models/inline_response20010.rb +247 -0
- data/lib/pulp_deb_client/models/inline_response2002.rb +15 -3
- data/lib/pulp_deb_client/models/inline_response2003.rb +15 -3
- data/lib/pulp_deb_client/models/inline_response2004.rb +15 -3
- data/lib/pulp_deb_client/models/inline_response2005.rb +15 -3
- data/lib/pulp_deb_client/models/inline_response2006.rb +15 -3
- data/lib/pulp_deb_client/models/inline_response2007.rb +15 -3
- data/lib/pulp_deb_client/models/inline_response2008.rb +15 -3
- data/lib/pulp_deb_client/models/inline_response2009.rb +15 -3
- data/lib/pulp_deb_client/models/repository_add_remove_content.rb +231 -0
- data/lib/pulp_deb_client/models/repository_sync_url.rb +22 -12
- data/lib/pulp_deb_client/models/repository_version.rb +244 -0
- data/lib/pulp_deb_client/version.rb +2 -2
- data/lib/pulp_deb_client.rb +18 -12
- data/pulp_deb_client.gemspec +1 -1
- data/spec/api/content_generic_contents_api_spec.rb +6 -2
- data/spec/api/content_installer_file_index_api_spec.rb +9 -3
- data/spec/api/content_installer_packages_api_spec.rb +21 -2
- data/spec/api/content_package_index_api_spec.rb +9 -3
- data/spec/api/content_packages_api_spec.rb +23 -3
- data/spec/api/{content_releases_api_spec.rb → content_release_files_api_spec.rb} +23 -17
- data/spec/api/distributions_apt_api_spec.rb +5 -3
- data/spec/api/publications_apt_api_spec.rb +5 -3
- data/spec/api/publications_verbatim_api_spec.rb +5 -3
- data/spec/api/remotes_apt_api_spec.rb +12 -22
- data/spec/api/repositories_apt_api_spec.rb +141 -0
- data/spec/api/repositories_deb_versions_api_spec.rb +91 -0
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/content_summary_spec.rb +53 -0
- data/spec/models/{package_spec.rb → deb_base_package_spec.rb} +9 -27
- data/spec/models/{deb_distribution_spec.rb → deb_deb_distribution_spec.rb} +9 -9
- data/spec/models/{deb_publication_spec.rb → deb_deb_publication_spec.rb} +9 -15
- data/spec/models/{deb_remote_spec.rb → deb_deb_remote_spec.rb} +14 -32
- data/spec/models/{verbatim_publication_spec.rb → deb_deb_repository_spec.rb} +13 -13
- data/spec/models/{generic_content_spec.rb → deb_generic_content_spec.rb} +9 -27
- data/spec/models/{package_index_spec.rb → deb_installer_file_index_spec.rb} +9 -15
- data/spec/models/{installer_file_index_spec.rb → deb_package_index_spec.rb} +9 -15
- data/spec/models/{release_spec.rb → deb_release_file_spec.rb} +9 -15
- data/spec/models/deb_verbatim_publication_spec.rb +65 -0
- data/spec/models/inline_response20010_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 +53 -0
- data/spec/models/repository_sync_url_spec.rb +2 -2
- data/spec/models/repository_version_spec.rb +65 -0
- data/spec/spec_helper.rb +1 -1
- metadata +70 -46
- data/docs/Package.md +0 -99
- data/lib/pulp_deb_client/models/installer_package.rb +0 -1101
- data/spec/models/installer_package_spec.rb +0 -287
|
@@ -0,0 +1,91 @@
|
|
|
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.1-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
|
|
16
|
+
# Unit tests for PulpDebClient::RepositoriesDebVersionsApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'RepositoriesDebVersionsApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = PulpDebClient::RepositoriesDebVersionsApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of RepositoriesDebVersionsApi' do
|
|
30
|
+
it 'should create an instance of RepositoriesDebVersionsApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(PulpDebClient::RepositoriesDebVersionsApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for delete
|
|
36
|
+
# Delete a repository version
|
|
37
|
+
# Trigger an asynchronous task to delete a repositroy version.
|
|
38
|
+
# @param apt_repository_version_href URI of Repository Version. e.g.: /pulp/api/v3/repositories/deb/apt/1/versions/1/
|
|
39
|
+
# @param [Hash] opts the optional parameters
|
|
40
|
+
# @return [AsyncOperationResponse]
|
|
41
|
+
describe 'delete 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 repository versions
|
|
49
|
+
# DebRepositoryVersion represents a single deb repository version.
|
|
50
|
+
# @param apt_deb_repository_href URI of Deb Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
|
|
51
|
+
# @param [Hash] opts the optional parameters
|
|
52
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
53
|
+
# @option opts [Float] :number
|
|
54
|
+
# @option opts [Float] :number__lt Filter results where number is less than value
|
|
55
|
+
# @option opts [Float] :number__lte Filter results where number is less than or equal to value
|
|
56
|
+
# @option opts [Float] :number__gt Filter results where number is greater than value
|
|
57
|
+
# @option opts [Float] :number__gte Filter results where number is greater than or equal to value
|
|
58
|
+
# @option opts [Float] :number__range Filter results where number is between two comma separated values
|
|
59
|
+
# @option opts [String] :pulp_created__lt Filter results where pulp_created is less than value
|
|
60
|
+
# @option opts [String] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
|
61
|
+
# @option opts [String] :pulp_created__gt Filter results where pulp_created is greater than value
|
|
62
|
+
# @option opts [String] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
|
63
|
+
# @option opts [String] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
|
64
|
+
# @option opts [String] :content Content Unit referenced by HREF
|
|
65
|
+
# @option opts [String] :pulp_created ISO 8601 formatted dates are supported
|
|
66
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
67
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
68
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
69
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
70
|
+
# @return [InlineResponse20010]
|
|
71
|
+
describe 'list 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
|
+
# unit tests for read
|
|
78
|
+
# Inspect a repository version
|
|
79
|
+
# DebRepositoryVersion represents a single deb repository version.
|
|
80
|
+
# @param apt_repository_version_href URI of Repository Version. e.g.: /pulp/api/v3/repositories/deb/apt/1/versions/1/
|
|
81
|
+
# @param [Hash] opts the optional parameters
|
|
82
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
83
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
84
|
+
# @return [RepositoryVersion]
|
|
85
|
+
describe 'read test' do
|
|
86
|
+
it 'should work' do
|
|
87
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
88
|
+
end
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
end
|
data/spec/api_client_spec.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.1
|
|
9
|
+
OpenAPI Generator version: 4.2.1-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -118,7 +118,7 @@ describe PulpDebClient::ApiClient do
|
|
|
118
118
|
end
|
|
119
119
|
|
|
120
120
|
it 'fails for invalid collection format' do
|
|
121
|
-
expect
|
|
121
|
+
expect{api_client.build_collection_param(param, :INVALID)}.to raise_error(RuntimeError, 'unknown collection format: :INVALID')
|
|
122
122
|
end
|
|
123
123
|
end
|
|
124
124
|
|
data/spec/configuration_spec.rb
CHANGED
|
@@ -0,0 +1,53 @@
|
|
|
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.1-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for PulpDebClient::ContentSummary
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'ContentSummary' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = PulpDebClient::ContentSummary.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of ContentSummary' do
|
|
31
|
+
it 'should create an instance of ContentSummary' do
|
|
32
|
+
expect(@instance).to be_instance_of(PulpDebClient::ContentSummary)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "added"' 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 "removed"' 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 "present"' 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
|
|
@@ -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.1
|
|
9
|
+
OpenAPI Generator version: 4.2.1-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -14,37 +14,31 @@ require 'spec_helper'
|
|
|
14
14
|
require 'json'
|
|
15
15
|
require 'date'
|
|
16
16
|
|
|
17
|
-
# Unit tests for PulpDebClient::
|
|
17
|
+
# Unit tests for PulpDebClient::DebBasePackage
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe '
|
|
20
|
+
describe 'DebBasePackage' do
|
|
21
21
|
before do
|
|
22
22
|
# run before each test
|
|
23
|
-
@instance = PulpDebClient::
|
|
23
|
+
@instance = PulpDebClient::DebBasePackage.new
|
|
24
24
|
end
|
|
25
25
|
|
|
26
26
|
after do
|
|
27
27
|
# run after each test
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
-
describe 'test an instance of
|
|
31
|
-
it 'should create an instance of
|
|
32
|
-
expect(@instance).to be_instance_of(PulpDebClient::
|
|
30
|
+
describe 'test an instance of DebBasePackage' do
|
|
31
|
+
it 'should create an instance of DebBasePackage' do
|
|
32
|
+
expect(@instance).to be_instance_of(PulpDebClient::DebBasePackage)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
35
|
+
describe 'test attribute "pulp_href"' do
|
|
36
36
|
it 'should work' do
|
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
38
|
end
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
-
describe 'test attribute "
|
|
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 "_type"' do
|
|
41
|
+
describe 'test attribute "pulp_created"' do
|
|
48
42
|
it 'should work' do
|
|
49
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
44
|
end
|
|
@@ -62,18 +56,6 @@ describe 'Package' do
|
|
|
62
56
|
end
|
|
63
57
|
end
|
|
64
58
|
|
|
65
|
-
describe 'test attribute "file"' do
|
|
66
|
-
it 'should work' do
|
|
67
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
68
|
-
end
|
|
69
|
-
end
|
|
70
|
-
|
|
71
|
-
describe 'test attribute "repository"' 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
59
|
describe 'test attribute "md5"' do
|
|
78
60
|
it 'should work' do
|
|
79
61
|
# 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.1
|
|
9
|
+
OpenAPI Generator version: 4.2.1-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -14,31 +14,31 @@ require 'spec_helper'
|
|
|
14
14
|
require 'json'
|
|
15
15
|
require 'date'
|
|
16
16
|
|
|
17
|
-
# Unit tests for PulpDebClient::
|
|
17
|
+
# Unit tests for PulpDebClient::DebDebDistribution
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe '
|
|
20
|
+
describe 'DebDebDistribution' do
|
|
21
21
|
before do
|
|
22
22
|
# run before each test
|
|
23
|
-
@instance = PulpDebClient::
|
|
23
|
+
@instance = PulpDebClient::DebDebDistribution.new
|
|
24
24
|
end
|
|
25
25
|
|
|
26
26
|
after do
|
|
27
27
|
# run after each test
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
-
describe 'test an instance of
|
|
31
|
-
it 'should create an instance of
|
|
32
|
-
expect(@instance).to be_instance_of(PulpDebClient::
|
|
30
|
+
describe 'test an instance of DebDebDistribution' do
|
|
31
|
+
it 'should create an instance of DebDebDistribution' do
|
|
32
|
+
expect(@instance).to be_instance_of(PulpDebClient::DebDebDistribution)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
35
|
+
describe 'test attribute "pulp_href"' do
|
|
36
36
|
it 'should work' do
|
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
38
|
end
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
-
describe 'test attribute "
|
|
41
|
+
describe 'test attribute "pulp_created"' do
|
|
42
42
|
it 'should work' do
|
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
44
|
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.1
|
|
9
|
+
OpenAPI Generator version: 4.2.1-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -14,37 +14,31 @@ require 'spec_helper'
|
|
|
14
14
|
require 'json'
|
|
15
15
|
require 'date'
|
|
16
16
|
|
|
17
|
-
# Unit tests for PulpDebClient::
|
|
17
|
+
# Unit tests for PulpDebClient::DebDebPublication
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe '
|
|
20
|
+
describe 'DebDebPublication' do
|
|
21
21
|
before do
|
|
22
22
|
# run before each test
|
|
23
|
-
@instance = PulpDebClient::
|
|
23
|
+
@instance = PulpDebClient::DebDebPublication.new
|
|
24
24
|
end
|
|
25
25
|
|
|
26
26
|
after do
|
|
27
27
|
# run after each test
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
-
describe 'test an instance of
|
|
31
|
-
it 'should create an instance of
|
|
32
|
-
expect(@instance).to be_instance_of(PulpDebClient::
|
|
30
|
+
describe 'test an instance of DebDebPublication' do
|
|
31
|
+
it 'should create an instance of DebDebPublication' do
|
|
32
|
+
expect(@instance).to be_instance_of(PulpDebClient::DebDebPublication)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
35
|
+
describe 'test attribute "pulp_href"' do
|
|
36
36
|
it 'should work' do
|
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
38
|
end
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
-
describe 'test attribute "
|
|
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 "_type"' do
|
|
41
|
+
describe 'test attribute "pulp_created"' do
|
|
48
42
|
it 'should work' do
|
|
49
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
44
|
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.1
|
|
9
|
+
OpenAPI Generator version: 4.2.1-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -14,37 +14,31 @@ require 'spec_helper'
|
|
|
14
14
|
require 'json'
|
|
15
15
|
require 'date'
|
|
16
16
|
|
|
17
|
-
# Unit tests for PulpDebClient::
|
|
17
|
+
# Unit tests for PulpDebClient::DebDebRemote
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe '
|
|
20
|
+
describe 'DebDebRemote' do
|
|
21
21
|
before do
|
|
22
22
|
# run before each test
|
|
23
|
-
@instance = PulpDebClient::
|
|
23
|
+
@instance = PulpDebClient::DebDebRemote.new
|
|
24
24
|
end
|
|
25
25
|
|
|
26
26
|
after do
|
|
27
27
|
# run after each test
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
-
describe 'test an instance of
|
|
31
|
-
it 'should create an instance of
|
|
32
|
-
expect(@instance).to be_instance_of(PulpDebClient::
|
|
30
|
+
describe 'test an instance of DebDebRemote' do
|
|
31
|
+
it 'should create an instance of DebDebRemote' do
|
|
32
|
+
expect(@instance).to be_instance_of(PulpDebClient::DebDebRemote)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
35
|
+
describe 'test attribute "pulp_href"' do
|
|
36
36
|
it 'should work' do
|
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
38
|
end
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
-
describe 'test attribute "
|
|
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 "_type"' do
|
|
41
|
+
describe 'test attribute "pulp_created"' do
|
|
48
42
|
it 'should work' do
|
|
49
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
44
|
end
|
|
@@ -62,25 +56,25 @@ describe 'DebRemote' do
|
|
|
62
56
|
end
|
|
63
57
|
end
|
|
64
58
|
|
|
65
|
-
describe 'test attribute "
|
|
59
|
+
describe 'test attribute "ca_cert"' do
|
|
66
60
|
it 'should work' do
|
|
67
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
68
62
|
end
|
|
69
63
|
end
|
|
70
64
|
|
|
71
|
-
describe 'test attribute "
|
|
65
|
+
describe 'test attribute "client_cert"' do
|
|
72
66
|
it 'should work' do
|
|
73
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
74
68
|
end
|
|
75
69
|
end
|
|
76
70
|
|
|
77
|
-
describe 'test attribute "
|
|
71
|
+
describe 'test attribute "client_key"' do
|
|
78
72
|
it 'should work' do
|
|
79
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
80
74
|
end
|
|
81
75
|
end
|
|
82
76
|
|
|
83
|
-
describe 'test attribute "
|
|
77
|
+
describe 'test attribute "tls_validation"' do
|
|
84
78
|
it 'should work' do
|
|
85
79
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
86
80
|
end
|
|
@@ -92,19 +86,7 @@ describe 'DebRemote' do
|
|
|
92
86
|
end
|
|
93
87
|
end
|
|
94
88
|
|
|
95
|
-
describe 'test attribute "
|
|
96
|
-
it 'should work' do
|
|
97
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
98
|
-
end
|
|
99
|
-
end
|
|
100
|
-
|
|
101
|
-
describe 'test attribute "password"' do
|
|
102
|
-
it 'should work' do
|
|
103
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
104
|
-
end
|
|
105
|
-
end
|
|
106
|
-
|
|
107
|
-
describe 'test attribute "_last_updated"' do
|
|
89
|
+
describe 'test attribute "pulp_last_updated"' do
|
|
108
90
|
it 'should work' do
|
|
109
91
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
110
92
|
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.1
|
|
9
|
+
OpenAPI Generator version: 4.2.1-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -14,55 +14,55 @@ require 'spec_helper'
|
|
|
14
14
|
require 'json'
|
|
15
15
|
require 'date'
|
|
16
16
|
|
|
17
|
-
# Unit tests for PulpDebClient::
|
|
17
|
+
# Unit tests for PulpDebClient::DebDebRepository
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe '
|
|
20
|
+
describe 'DebDebRepository' do
|
|
21
21
|
before do
|
|
22
22
|
# run before each test
|
|
23
|
-
@instance = PulpDebClient::
|
|
23
|
+
@instance = PulpDebClient::DebDebRepository.new
|
|
24
24
|
end
|
|
25
25
|
|
|
26
26
|
after do
|
|
27
27
|
# run after each test
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
-
describe 'test an instance of
|
|
31
|
-
it 'should create an instance of
|
|
32
|
-
expect(@instance).to be_instance_of(PulpDebClient::
|
|
30
|
+
describe 'test an instance of DebDebRepository' do
|
|
31
|
+
it 'should create an instance of DebDebRepository' do
|
|
32
|
+
expect(@instance).to be_instance_of(PulpDebClient::DebDebRepository)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
35
|
+
describe 'test attribute "pulp_href"' do
|
|
36
36
|
it 'should work' do
|
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
38
|
end
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
-
describe 'test attribute "
|
|
41
|
+
describe 'test attribute "pulp_created"' do
|
|
42
42
|
it 'should work' do
|
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
44
|
end
|
|
45
45
|
end
|
|
46
46
|
|
|
47
|
-
describe 'test attribute "
|
|
47
|
+
describe 'test attribute "versions_href"' do
|
|
48
48
|
it 'should work' do
|
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
50
|
end
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
-
describe 'test attribute "
|
|
53
|
+
describe 'test attribute "latest_version_href"' do
|
|
54
54
|
it 'should work' do
|
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
56
|
end
|
|
57
57
|
end
|
|
58
58
|
|
|
59
|
-
describe 'test attribute "
|
|
59
|
+
describe 'test attribute "name"' do
|
|
60
60
|
it 'should work' do
|
|
61
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
62
62
|
end
|
|
63
63
|
end
|
|
64
64
|
|
|
65
|
-
describe 'test attribute "
|
|
65
|
+
describe 'test attribute "description"' do
|
|
66
66
|
it 'should work' do
|
|
67
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
68
68
|
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.1
|
|
9
|
+
OpenAPI Generator version: 4.2.1-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -14,37 +14,31 @@ require 'spec_helper'
|
|
|
14
14
|
require 'json'
|
|
15
15
|
require 'date'
|
|
16
16
|
|
|
17
|
-
# Unit tests for PulpDebClient::
|
|
17
|
+
# Unit tests for PulpDebClient::DebGenericContent
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe '
|
|
20
|
+
describe 'DebGenericContent' do
|
|
21
21
|
before do
|
|
22
22
|
# run before each test
|
|
23
|
-
@instance = PulpDebClient::
|
|
23
|
+
@instance = PulpDebClient::DebGenericContent.new
|
|
24
24
|
end
|
|
25
25
|
|
|
26
26
|
after do
|
|
27
27
|
# run after each test
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
-
describe 'test an instance of
|
|
31
|
-
it 'should create an instance of
|
|
32
|
-
expect(@instance).to be_instance_of(PulpDebClient::
|
|
30
|
+
describe 'test an instance of DebGenericContent' do
|
|
31
|
+
it 'should create an instance of DebGenericContent' do
|
|
32
|
+
expect(@instance).to be_instance_of(PulpDebClient::DebGenericContent)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
35
|
+
describe 'test attribute "pulp_href"' do
|
|
36
36
|
it 'should work' do
|
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
38
|
end
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
-
describe 'test attribute "
|
|
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 "_type"' do
|
|
41
|
+
describe 'test attribute "pulp_created"' do
|
|
48
42
|
it 'should work' do
|
|
49
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
44
|
end
|
|
@@ -62,18 +56,6 @@ describe 'GenericContent' do
|
|
|
62
56
|
end
|
|
63
57
|
end
|
|
64
58
|
|
|
65
|
-
describe 'test attribute "file"' do
|
|
66
|
-
it 'should work' do
|
|
67
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
68
|
-
end
|
|
69
|
-
end
|
|
70
|
-
|
|
71
|
-
describe 'test attribute "repository"' 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
59
|
describe 'test attribute "md5"' do
|
|
78
60
|
it 'should work' do
|
|
79
61
|
# 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.1
|
|
9
|
+
OpenAPI Generator version: 4.2.1-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -14,37 +14,31 @@ require 'spec_helper'
|
|
|
14
14
|
require 'json'
|
|
15
15
|
require 'date'
|
|
16
16
|
|
|
17
|
-
# Unit tests for PulpDebClient::
|
|
17
|
+
# Unit tests for PulpDebClient::DebInstallerFileIndex
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe '
|
|
20
|
+
describe 'DebInstallerFileIndex' do
|
|
21
21
|
before do
|
|
22
22
|
# run before each test
|
|
23
|
-
@instance = PulpDebClient::
|
|
23
|
+
@instance = PulpDebClient::DebInstallerFileIndex.new
|
|
24
24
|
end
|
|
25
25
|
|
|
26
26
|
after do
|
|
27
27
|
# run after each test
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
-
describe 'test an instance of
|
|
31
|
-
it 'should create an instance of
|
|
32
|
-
expect(@instance).to be_instance_of(PulpDebClient::
|
|
30
|
+
describe 'test an instance of DebInstallerFileIndex' do
|
|
31
|
+
it 'should create an instance of DebInstallerFileIndex' do
|
|
32
|
+
expect(@instance).to be_instance_of(PulpDebClient::DebInstallerFileIndex)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
35
|
+
describe 'test attribute "pulp_href"' do
|
|
36
36
|
it 'should work' do
|
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
38
|
end
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
-
describe 'test attribute "
|
|
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 "_type"' do
|
|
41
|
+
describe 'test attribute "pulp_created"' do
|
|
48
42
|
it 'should work' do
|
|
49
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
44
|
end
|