pulp_deb_client 2.3.0b1 → 2.4.0b1
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 +21 -8
- data/docs/ContentGenericContentsApi.md +5 -5
- data/docs/ContentInstallerFileIndicesApi.md +5 -5
- data/docs/ContentInstallerPackagesApi.md +5 -5
- data/docs/ContentPackageIndicesApi.md +5 -5
- data/docs/ContentPackageReleaseComponentsApi.md +5 -5
- data/docs/ContentPackagesApi.md +5 -5
- data/docs/ContentReleaseArchitecturesApi.md +5 -5
- data/docs/ContentReleaseComponentsApi.md +5 -5
- data/docs/ContentReleaseFilesApi.md +5 -5
- data/docs/ContentReleasesApi.md +5 -5
- data/docs/{DebBasePackage.md → DebBasePackageRead.md} +2 -2
- data/docs/DebDebDistributionRead.md +29 -0
- data/docs/DebDebPublicationRead.md +29 -0
- data/docs/DebDebRemote.md +7 -3
- data/docs/DebDebRemoteRead.md +57 -0
- data/docs/DebDebRepositoryRead.md +27 -0
- data/docs/{DebGenericContent.md → DebGenericContentRead.md} +2 -2
- data/docs/DebInstallerFileIndexRead.md +29 -0
- data/docs/DebPackageIndexRead.md +29 -0
- data/docs/DebPackageReleaseComponentRead.md +23 -0
- data/docs/DebReleaseArchitectureRead.md +23 -0
- data/docs/DebReleaseComponentRead.md +23 -0
- data/docs/DebReleaseFileRead.md +29 -0
- data/docs/DebReleaseRead.md +25 -0
- data/docs/DebVerbatimPublicationRead.md +23 -0
- data/docs/DistributionsAptApi.md +3 -3
- data/docs/InlineResponse200.md +1 -1
- data/docs/InlineResponse2001.md +1 -1
- data/docs/InlineResponse20010.md +1 -1
- data/docs/InlineResponse20011.md +1 -1
- data/docs/InlineResponse20012.md +1 -1
- data/docs/InlineResponse20013.md +1 -1
- data/docs/InlineResponse20014.md +1 -1
- 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 +3 -3
- data/docs/PublicationsVerbatimApi.md +3 -3
- data/docs/RemotesAptApi.md +5 -5
- data/docs/RepositoriesAptApi.md +10 -10
- data/docs/RepositoriesDebVersionsApi.md +3 -3
- data/docs/RepositoryVersionRead.md +25 -0
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +5 -5
- data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +6 -6
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +5 -5
- data/lib/pulp_deb_client/api/content_package_indices_api.rb +6 -6
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +6 -6
- data/lib/pulp_deb_client/api/content_packages_api.rb +5 -5
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +6 -6
- data/lib/pulp_deb_client/api/content_release_components_api.rb +6 -6
- data/lib/pulp_deb_client/api/content_release_files_api.rb +6 -6
- data/lib/pulp_deb_client/api/content_releases_api.rb +6 -6
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +3 -3
- data/lib/pulp_deb_client/api/publications_apt_api.rb +3 -3
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +3 -3
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +6 -6
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +15 -15
- data/lib/pulp_deb_client/api/repositories_deb_versions_api.rb +3 -3
- data/lib/pulp_deb_client/configuration.rb +2 -2
- data/lib/pulp_deb_client/models/{deb_base_package.rb → deb_base_package_read.rb} +3 -3
- data/lib/pulp_deb_client/models/deb_deb_distribution_read.rb +331 -0
- data/lib/pulp_deb_client/models/deb_deb_publication_read.rb +269 -0
- data/lib/pulp_deb_client/models/deb_deb_remote.rb +56 -4
- data/lib/pulp_deb_client/models/deb_deb_remote_read.rb +670 -0
- data/lib/pulp_deb_client/models/deb_deb_repository_read.rb +294 -0
- data/lib/pulp_deb_client/models/{deb_generic_content.rb → deb_generic_content_read.rb} +3 -3
- data/lib/pulp_deb_client/models/deb_installer_file_index_read.rb +341 -0
- data/lib/pulp_deb_client/models/deb_package_index_read.rb +341 -0
- data/lib/pulp_deb_client/models/deb_package_release_component_read.rb +246 -0
- data/lib/pulp_deb_client/models/deb_release_architecture_read.rb +265 -0
- data/lib/pulp_deb_client/models/deb_release_component_read.rb +265 -0
- data/lib/pulp_deb_client/models/deb_release_file_read.rb +342 -0
- data/lib/pulp_deb_client/models/deb_release_read.rb +315 -0
- data/lib/pulp_deb_client/models/deb_verbatim_publication_read.rb +235 -0
- 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 +1 -1
- data/lib/pulp_deb_client/models/inline_response20011.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response20012.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response20013.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response20014.rb +1 -1
- 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 +1 -1
- data/lib/pulp_deb_client/models/inline_response2005.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response2006.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response2007.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response2008.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response2009.rb +1 -1
- data/lib/pulp_deb_client/models/repository_version_read.rb +244 -0
- data/lib/pulp_deb_client/version.rb +1 -1
- data/lib/pulp_deb_client.rb +15 -2
- data/spec/api/content_generic_contents_api_spec.rb +2 -2
- data/spec/api/content_installer_file_indices_api_spec.rb +2 -2
- data/spec/api/content_installer_packages_api_spec.rb +2 -2
- data/spec/api/content_package_indices_api_spec.rb +2 -2
- data/spec/api/content_package_release_components_api_spec.rb +2 -2
- data/spec/api/content_packages_api_spec.rb +2 -2
- data/spec/api/content_release_architectures_api_spec.rb +2 -2
- data/spec/api/content_release_components_api_spec.rb +2 -2
- data/spec/api/content_release_files_api_spec.rb +2 -2
- data/spec/api/content_releases_api_spec.rb +2 -2
- data/spec/api/distributions_apt_api_spec.rb +1 -1
- data/spec/api/publications_apt_api_spec.rb +1 -1
- data/spec/api/publications_verbatim_api_spec.rb +1 -1
- data/spec/api/remotes_apt_api_spec.rb +2 -2
- data/spec/api/repositories_apt_api_spec.rb +6 -6
- data/spec/api/repositories_deb_versions_api_spec.rb +1 -1
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/{deb_base_package_spec.rb → deb_base_package_read_spec.rb} +6 -6
- data/spec/models/deb_deb_distribution_read_spec.rb +77 -0
- data/spec/models/deb_deb_publication_read_spec.rb +77 -0
- data/spec/models/deb_deb_remote_read_spec.rb +165 -0
- data/spec/models/deb_deb_remote_spec.rb +12 -0
- data/spec/models/deb_deb_repository_read_spec.rb +71 -0
- data/spec/models/{deb_generic_content_spec.rb → deb_generic_content_read_spec.rb} +6 -6
- data/spec/models/deb_installer_file_index_read_spec.rb +77 -0
- data/spec/models/deb_package_index_read_spec.rb +77 -0
- data/spec/models/deb_package_release_component_read_spec.rb +59 -0
- data/spec/models/deb_release_architecture_read_spec.rb +59 -0
- data/spec/models/deb_release_component_read_spec.rb +59 -0
- data/spec/models/deb_release_file_read_spec.rb +77 -0
- data/spec/models/deb_release_read_spec.rb +65 -0
- data/spec/models/deb_verbatim_publication_read_spec.rb +59 -0
- data/spec/models/repository_version_read_spec.rb +65 -0
- metadata +62 -10
|
@@ -38,7 +38,7 @@ describe 'ContentGenericContentsApi' do
|
|
|
38
38
|
# @param relative_path Path where the artifact is located relative to distributions base_path
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
40
|
# @option opts [String] :artifact Artifact file representing the physical content
|
|
41
|
-
# @option opts [File] :file An uploaded file that
|
|
41
|
+
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
|
42
42
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
43
43
|
# @return [AsyncOperationResponse]
|
|
44
44
|
describe 'create test' do
|
|
@@ -75,7 +75,7 @@ describe 'ContentGenericContentsApi' do
|
|
|
75
75
|
# @param [Hash] opts the optional parameters
|
|
76
76
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
77
77
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
78
|
-
# @return [
|
|
78
|
+
# @return [DebGenericContentRead]
|
|
79
79
|
describe 'read test' do
|
|
80
80
|
it 'should work' do
|
|
81
81
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -37,7 +37,7 @@ describe 'ContentInstallerFileIndicesApi' do
|
|
|
37
37
|
# A ViewSet for InstallerFileIndex.
|
|
38
38
|
# @param data
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
|
-
# @return [
|
|
40
|
+
# @return [DebInstallerFileIndexRead]
|
|
41
41
|
describe 'create test' do
|
|
42
42
|
it 'should work' do
|
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -74,7 +74,7 @@ describe 'ContentInstallerFileIndicesApi' do
|
|
|
74
74
|
# @param [Hash] opts the optional parameters
|
|
75
75
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
76
76
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
77
|
-
# @return [
|
|
77
|
+
# @return [DebInstallerFileIndexRead]
|
|
78
78
|
describe 'read test' do
|
|
79
79
|
it 'should work' do
|
|
80
80
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -38,7 +38,7 @@ describe 'ContentInstallerPackagesApi' do
|
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
|
39
39
|
# @option opts [String] :artifact Artifact file representing the physical content
|
|
40
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
|
|
41
|
+
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
|
42
42
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
43
43
|
# @return [AsyncOperationResponse]
|
|
44
44
|
describe 'create test' do
|
|
@@ -90,7 +90,7 @@ describe 'ContentInstallerPackagesApi' do
|
|
|
90
90
|
# @param [Hash] opts the optional parameters
|
|
91
91
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
92
92
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
93
|
-
# @return [
|
|
93
|
+
# @return [DebBasePackageRead]
|
|
94
94
|
describe 'read test' do
|
|
95
95
|
it 'should work' do
|
|
96
96
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -37,7 +37,7 @@ describe 'ContentPackageIndicesApi' do
|
|
|
37
37
|
# A ViewSet for PackageIndex.
|
|
38
38
|
# @param data
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
|
-
# @return [
|
|
40
|
+
# @return [DebPackageIndexRead]
|
|
41
41
|
describe 'create test' do
|
|
42
42
|
it 'should work' do
|
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -74,7 +74,7 @@ describe 'ContentPackageIndicesApi' do
|
|
|
74
74
|
# @param [Hash] opts the optional parameters
|
|
75
75
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
76
76
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
77
|
-
# @return [
|
|
77
|
+
# @return [DebPackageIndexRead]
|
|
78
78
|
describe 'read test' do
|
|
79
79
|
it 'should work' do
|
|
80
80
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -37,7 +37,7 @@ describe 'ContentPackageReleaseComponentsApi' do
|
|
|
37
37
|
# A ViewSet for PackageReleaseComponent.
|
|
38
38
|
# @param data
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
|
-
# @return [
|
|
40
|
+
# @return [DebPackageReleaseComponentRead]
|
|
41
41
|
describe 'create test' do
|
|
42
42
|
it 'should work' do
|
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -72,7 +72,7 @@ describe 'ContentPackageReleaseComponentsApi' do
|
|
|
72
72
|
# @param [Hash] opts the optional parameters
|
|
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 [DebPackageReleaseComponentRead]
|
|
76
76
|
describe 'read test' do
|
|
77
77
|
it 'should work' do
|
|
78
78
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -38,7 +38,7 @@ describe 'ContentPackagesApi' do
|
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
|
39
39
|
# @option opts [String] :artifact Artifact file representing the physical content
|
|
40
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
|
|
41
|
+
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
|
42
42
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
43
43
|
# @return [AsyncOperationResponse]
|
|
44
44
|
describe 'create test' do
|
|
@@ -91,7 +91,7 @@ describe 'ContentPackagesApi' do
|
|
|
91
91
|
# @param [Hash] opts the optional parameters
|
|
92
92
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
93
93
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
94
|
-
# @return [
|
|
94
|
+
# @return [DebBasePackageRead]
|
|
95
95
|
describe 'read test' do
|
|
96
96
|
it 'should work' do
|
|
97
97
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -37,7 +37,7 @@ describe 'ContentReleaseArchitecturesApi' do
|
|
|
37
37
|
# A ViewSet for ReleaseArchitecture.
|
|
38
38
|
# @param data
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
|
-
# @return [
|
|
40
|
+
# @return [DebReleaseArchitectureRead]
|
|
41
41
|
describe 'create test' do
|
|
42
42
|
it 'should work' do
|
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -72,7 +72,7 @@ describe 'ContentReleaseArchitecturesApi' do
|
|
|
72
72
|
# @param [Hash] opts the optional parameters
|
|
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 [DebReleaseArchitectureRead]
|
|
76
76
|
describe 'read test' do
|
|
77
77
|
it 'should work' do
|
|
78
78
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -37,7 +37,7 @@ describe 'ContentReleaseComponentsApi' do
|
|
|
37
37
|
# A ViewSet for ReleaseComponent.
|
|
38
38
|
# @param data
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
|
-
# @return [
|
|
40
|
+
# @return [DebReleaseComponentRead]
|
|
41
41
|
describe 'create test' do
|
|
42
42
|
it 'should work' do
|
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -72,7 +72,7 @@ describe 'ContentReleaseComponentsApi' do
|
|
|
72
72
|
# @param [Hash] opts the optional parameters
|
|
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 [DebReleaseComponentRead]
|
|
76
76
|
describe 'read test' do
|
|
77
77
|
it 'should work' do
|
|
78
78
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -37,7 +37,7 @@ describe 'ContentReleaseFilesApi' do
|
|
|
37
37
|
# A ViewSet for ReleaseFile.
|
|
38
38
|
# @param data
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
|
-
# @return [
|
|
40
|
+
# @return [DebReleaseFileRead]
|
|
41
41
|
describe 'create test' do
|
|
42
42
|
it 'should work' do
|
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -74,7 +74,7 @@ describe 'ContentReleaseFilesApi' do
|
|
|
74
74
|
# @param [Hash] opts the optional parameters
|
|
75
75
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
76
76
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
77
|
-
# @return [
|
|
77
|
+
# @return [DebReleaseFileRead]
|
|
78
78
|
describe 'read test' do
|
|
79
79
|
it 'should work' do
|
|
80
80
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -37,7 +37,7 @@ describe 'ContentReleasesApi' do
|
|
|
37
37
|
# A ViewSet for Release.
|
|
38
38
|
# @param data
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
|
-
# @return [
|
|
40
|
+
# @return [DebReleaseRead]
|
|
41
41
|
describe 'create test' do
|
|
42
42
|
it 'should work' do
|
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -73,7 +73,7 @@ describe 'ContentReleasesApi' do
|
|
|
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.
|
|
76
|
-
# @return [
|
|
76
|
+
# @return [DebReleaseRead]
|
|
77
77
|
describe 'read test' do
|
|
78
78
|
it 'should work' do
|
|
79
79
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -98,7 +98,7 @@ describe 'DistributionsAptApi' do
|
|
|
98
98
|
# @param [Hash] opts the optional parameters
|
|
99
99
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
100
100
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
101
|
-
# @return [
|
|
101
|
+
# @return [DebDebDistributionRead]
|
|
102
102
|
describe 'read test' do
|
|
103
103
|
it 'should work' do
|
|
104
104
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -86,7 +86,7 @@ describe 'PublicationsAptApi' do
|
|
|
86
86
|
# @param [Hash] opts the optional parameters
|
|
87
87
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
88
88
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
89
|
-
# @return [
|
|
89
|
+
# @return [DebDebPublicationRead]
|
|
90
90
|
describe 'read test' do
|
|
91
91
|
it 'should work' do
|
|
92
92
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -86,7 +86,7 @@ describe 'PublicationsVerbatimApi' do
|
|
|
86
86
|
# @param [Hash] opts the optional parameters
|
|
87
87
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
88
88
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
89
|
-
# @return [
|
|
89
|
+
# @return [DebVerbatimPublicationRead]
|
|
90
90
|
describe 'read test' do
|
|
91
91
|
it 'should work' do
|
|
92
92
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -37,7 +37,7 @@ describe 'RemotesAptApi' do
|
|
|
37
37
|
# A ViewSet for DebRemote.
|
|
38
38
|
# @param data
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
|
-
# @return [
|
|
40
|
+
# @return [DebDebRemoteRead]
|
|
41
41
|
describe 'create test' do
|
|
42
42
|
it 'should work' do
|
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -100,7 +100,7 @@ describe 'RemotesAptApi' do
|
|
|
100
100
|
# @param [Hash] opts the optional parameters
|
|
101
101
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
102
102
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
103
|
-
# @return [
|
|
103
|
+
# @return [DebDebRemoteRead]
|
|
104
104
|
describe 'read test' do
|
|
105
105
|
it 'should work' do
|
|
106
106
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -37,7 +37,7 @@ describe 'RepositoriesAptApi' do
|
|
|
37
37
|
# A ViewSet for DebRepository.
|
|
38
38
|
# @param data
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
|
-
# @return [
|
|
40
|
+
# @return [DebDebRepositoryRead]
|
|
41
41
|
describe 'create test' do
|
|
42
42
|
it 'should work' do
|
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -46,7 +46,7 @@ describe 'RepositoriesAptApi' do
|
|
|
46
46
|
|
|
47
47
|
# unit tests for delete
|
|
48
48
|
# Delete a deb repository
|
|
49
|
-
# Trigger an asynchronous
|
|
49
|
+
# Trigger an asynchronous delete task
|
|
50
50
|
# @param deb_repository_href URI of Deb Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
|
|
51
51
|
# @param [Hash] opts the optional parameters
|
|
52
52
|
# @return [AsyncOperationResponse]
|
|
@@ -89,11 +89,11 @@ describe 'RepositoriesAptApi' do
|
|
|
89
89
|
|
|
90
90
|
# unit tests for partial_update
|
|
91
91
|
# Partially update a deb repository
|
|
92
|
-
#
|
|
92
|
+
# Trigger an asynchronous partial update task
|
|
93
93
|
# @param deb_repository_href URI of Deb Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
|
|
94
94
|
# @param data
|
|
95
95
|
# @param [Hash] opts the optional parameters
|
|
96
|
-
# @return [
|
|
96
|
+
# @return [AsyncOperationResponse]
|
|
97
97
|
describe 'partial_update test' do
|
|
98
98
|
it 'should work' do
|
|
99
99
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -107,7 +107,7 @@ describe 'RepositoriesAptApi' do
|
|
|
107
107
|
# @param [Hash] opts the optional parameters
|
|
108
108
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
109
109
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
110
|
-
# @return [
|
|
110
|
+
# @return [DebDebRepositoryRead]
|
|
111
111
|
describe 'read test' do
|
|
112
112
|
it 'should work' do
|
|
113
113
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -129,7 +129,7 @@ describe 'RepositoriesAptApi' do
|
|
|
129
129
|
|
|
130
130
|
# unit tests for update
|
|
131
131
|
# Update a deb repository
|
|
132
|
-
# Trigger an asynchronous
|
|
132
|
+
# Trigger an asynchronous update task
|
|
133
133
|
# @param deb_repository_href URI of Deb Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
|
|
134
134
|
# @param data
|
|
135
135
|
# @param [Hash] opts the optional parameters
|
|
@@ -81,7 +81,7 @@ describe 'RepositoriesDebVersionsApi' do
|
|
|
81
81
|
# @param [Hash] opts the optional parameters
|
|
82
82
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
83
83
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
84
|
-
# @return [
|
|
84
|
+
# @return [RepositoryVersionRead]
|
|
85
85
|
describe 'read test' do
|
|
86
86
|
it 'should work' do
|
|
87
87
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
data/spec/configuration_spec.rb
CHANGED
|
@@ -18,7 +18,7 @@ describe PulpDebClient::Configuration do
|
|
|
18
18
|
before(:each) do
|
|
19
19
|
# uncomment below to setup host and base_path
|
|
20
20
|
# require 'URI'
|
|
21
|
-
# uri = URI.parse("http://
|
|
21
|
+
# uri = URI.parse("http://pulp")
|
|
22
22
|
# PulpDebClient.configure do |c|
|
|
23
23
|
# c.host = uri.host
|
|
24
24
|
# c.base_path = uri.path
|
|
@@ -28,14 +28,14 @@ describe PulpDebClient::Configuration do
|
|
|
28
28
|
describe '#base_url' do
|
|
29
29
|
it 'should have the default value' do
|
|
30
30
|
# uncomment below to test default value of the base path
|
|
31
|
-
# expect(config.base_url).to eq("http://
|
|
31
|
+
# expect(config.base_url).to eq("http://pulp")
|
|
32
32
|
end
|
|
33
33
|
|
|
34
34
|
it 'should remove trailing slashes' do
|
|
35
35
|
[nil, '', '/', '//'].each do |base_path|
|
|
36
36
|
config.base_path = base_path
|
|
37
37
|
# uncomment below to test trailing slashes
|
|
38
|
-
# expect(config.base_url).to eq("http://
|
|
38
|
+
# expect(config.base_url).to eq("http://pulp")
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
41
|
end
|
|
@@ -14,22 +14,22 @@ require 'spec_helper'
|
|
|
14
14
|
require 'json'
|
|
15
15
|
require 'date'
|
|
16
16
|
|
|
17
|
-
# Unit tests for PulpDebClient::
|
|
17
|
+
# Unit tests for PulpDebClient::DebBasePackageRead
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe '
|
|
20
|
+
describe 'DebBasePackageRead' do
|
|
21
21
|
before do
|
|
22
22
|
# run before each test
|
|
23
|
-
@instance = PulpDebClient::
|
|
23
|
+
@instance = PulpDebClient::DebBasePackageRead.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 DebBasePackageRead' do
|
|
31
|
+
it 'should create an instance of DebBasePackageRead' do
|
|
32
|
+
expect(@instance).to be_instance_of(PulpDebClient::DebBasePackageRead)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
describe 'test attribute "pulp_href"' do
|
|
@@ -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.2.3
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for PulpDebClient::DebDebDistributionRead
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'DebDebDistributionRead' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = PulpDebClient::DebDebDistributionRead.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of DebDebDistributionRead' do
|
|
31
|
+
it 'should create an instance of DebDebDistributionRead' do
|
|
32
|
+
expect(@instance).to be_instance_of(PulpDebClient::DebDebDistributionRead)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "pulp_href"' do
|
|
36
|
+
it 'should work' do
|
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
describe 'test attribute "pulp_created"' do
|
|
42
|
+
it 'should work' do
|
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
describe 'test attribute "base_path"' do
|
|
48
|
+
it 'should work' do
|
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
describe 'test attribute "base_url"' do
|
|
54
|
+
it 'should work' do
|
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
describe 'test attribute "content_guard"' do
|
|
60
|
+
it 'should work' do
|
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
describe 'test attribute "name"' 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 "publication"' 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,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.2.3
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for PulpDebClient::DebDebPublicationRead
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'DebDebPublicationRead' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = PulpDebClient::DebDebPublicationRead.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of DebDebPublicationRead' do
|
|
31
|
+
it 'should create an instance of DebDebPublicationRead' do
|
|
32
|
+
expect(@instance).to be_instance_of(PulpDebClient::DebDebPublicationRead)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "pulp_href"' do
|
|
36
|
+
it 'should work' do
|
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
describe 'test attribute "pulp_created"' do
|
|
42
|
+
it 'should work' do
|
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
describe 'test attribute "repository_version"' do
|
|
48
|
+
it 'should work' do
|
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
describe 'test attribute "repository"' do
|
|
54
|
+
it 'should work' do
|
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
describe 'test attribute "simple"' do
|
|
60
|
+
it 'should work' do
|
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
describe 'test attribute "structured"' do
|
|
66
|
+
it 'should work' do
|
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
68
|
+
end
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
describe 'test attribute "signing_service"' do
|
|
72
|
+
it 'should work' do
|
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
end
|