pulp_rpm_client 3.17.22 → 3.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -4
- data/docs/AcsRpmApi.md +11 -13
- data/docs/ContentAdvisoriesApi.md +8 -8
- data/docs/ContentDistributionTreesApi.md +8 -8
- data/docs/ContentModulemdDefaultsApi.md +13 -29
- data/docs/ContentModulemdObsoletesApi.md +192 -0
- data/docs/ContentModulemdsApi.md +13 -41
- data/docs/ContentPackagecategoriesApi.md +8 -8
- data/docs/ContentPackageenvironmentsApi.md +8 -8
- data/docs/ContentPackagegroupsApi.md +8 -8
- data/docs/ContentPackagelangpacksApi.md +8 -8
- data/docs/ContentPackagesApi.md +12 -12
- data/docs/ContentRepoMetadataFilesApi.md +8 -8
- data/docs/DistributionsRpmApi.md +8 -8
- data/docs/PaginatedrpmModulemdObsoleteResponseList.md +23 -0
- data/docs/PatchedrpmRpmRepository.md +1 -1
- data/docs/PublicationsRpmApi.md +8 -8
- data/docs/RemotesRpmApi.md +8 -8
- data/docs/RemotesUlnApi.md +8 -8
- data/docs/RepositoriesRpmApi.md +8 -8
- data/docs/RepositoriesRpmVersionsApi.md +8 -8
- data/docs/RpmModulemd.md +8 -12
- data/docs/RpmModulemdDefaults.md +4 -12
- data/docs/RpmModulemdDefaultsResponse.md +0 -14
- data/docs/RpmModulemdObsolete.md +35 -0
- data/docs/RpmModulemdObsoleteResponse.md +37 -0
- data/docs/RpmModulemdResponse.md +5 -15
- data/docs/RpmPackage.md +1 -1
- data/docs/RpmRpmPublication.md +1 -1
- data/docs/RpmRpmPublicationResponse.md +1 -1
- data/docs/RpmRpmRepository.md +1 -1
- data/docs/RpmRpmRepositoryResponse.md +1 -1
- data/lib/pulp_rpm_client/api/acs_rpm_api.rb +16 -24
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +12 -12
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +12 -12
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +23 -69
- data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +238 -0
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +23 -107
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +12 -12
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +12 -12
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +12 -12
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +12 -12
- data/lib/pulp_rpm_client/api/content_packages_api.rb +20 -24
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +12 -12
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +12 -12
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +12 -12
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +12 -12
- data/lib/pulp_rpm_client/api/remotes_uln_api.rb +12 -12
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +12 -12
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +12 -12
- data/lib/pulp_rpm_client/models/paginatedrpm_modulemd_obsolete_response_list.rb +237 -0
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd.rb +83 -78
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults.rb +38 -78
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults_response.rb +1 -71
- data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete.rb +464 -0
- data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete_response.rb +332 -0
- data/lib/pulp_rpm_client/models/rpm_modulemd_response.rb +30 -74
- data/lib/pulp_rpm_client/models/rpm_package.rb +3 -12
- data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +1 -1
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/lib/pulp_rpm_client.rb +4 -0
- data/spec/api/acs_rpm_api_spec.rb +4 -5
- data/spec/api/content_advisories_api_spec.rb +4 -4
- data/spec/api/content_distribution_trees_api_spec.rb +4 -4
- data/spec/api/content_modulemd_defaults_api_spec.rb +5 -12
- data/spec/api/content_modulemd_obsoletes_api_spec.rb +80 -0
- data/spec/api/content_modulemds_api_spec.rb +5 -18
- data/spec/api/content_packagecategories_api_spec.rb +4 -4
- data/spec/api/content_packageenvironments_api_spec.rb +4 -4
- data/spec/api/content_packagegroups_api_spec.rb +4 -4
- data/spec/api/content_packagelangpacks_api_spec.rb +4 -4
- data/spec/api/content_packages_api_spec.rb +5 -5
- data/spec/api/content_repo_metadata_files_api_spec.rb +4 -4
- data/spec/api/distributions_rpm_api_spec.rb +4 -4
- data/spec/api/publications_rpm_api_spec.rb +4 -4
- data/spec/api/remotes_rpm_api_spec.rb +4 -4
- data/spec/api/remotes_uln_api_spec.rb +4 -4
- data/spec/api/repositories_rpm_api_spec.rb +4 -4
- data/spec/api/repositories_rpm_versions_api_spec.rb +4 -4
- data/spec/models/paginatedrpm_modulemd_obsolete_response_list_spec.rb +59 -0
- data/spec/models/rpm_modulemd_defaults_response_spec.rb +0 -42
- data/spec/models/rpm_modulemd_defaults_spec.rb +4 -28
- data/spec/models/rpm_modulemd_obsolete_response_spec.rb +101 -0
- data/spec/models/rpm_modulemd_obsolete_spec.rb +95 -0
- data/spec/models/rpm_modulemd_response_spec.rb +11 -41
- data/spec/models/rpm_modulemd_spec.rb +12 -24
- metadata +85 -69
@@ -42,8 +42,8 @@ describe 'ContentDistributionTreesApi' do
|
|
42
42
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
43
43
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
44
44
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
45
|
-
# @option opts [
|
46
|
-
# @option opts [
|
45
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
46
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
47
47
|
# @return [PaginatedrpmDistributionTreeResponseList]
|
48
48
|
describe 'list test' do
|
49
49
|
it 'should work' do
|
@@ -56,8 +56,8 @@ describe 'ContentDistributionTreesApi' do
|
|
56
56
|
# Distribution Tree Viewset.
|
57
57
|
# @param rpm_distribution_tree_href
|
58
58
|
# @param [Hash] opts the optional parameters
|
59
|
-
# @option opts [
|
60
|
-
# @option opts [
|
59
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
60
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
61
61
|
# @return [RpmDistributionTreeResponse]
|
62
62
|
describe 'read test' do
|
63
63
|
it 'should work' do
|
@@ -35,15 +35,8 @@ describe 'ContentModulemdDefaultsApi' do
|
|
35
35
|
# unit tests for create
|
36
36
|
# Create a modulemd defaults
|
37
37
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
38
|
-
# @param
|
39
|
-
# @param _module Modulemd name.
|
40
|
-
# @param stream Modulemd default stream.
|
41
|
-
# @param profiles Default profiles for modulemd streams.
|
38
|
+
# @param rpm_modulemd_defaults
|
42
39
|
# @param [Hash] opts the optional parameters
|
43
|
-
# @option opts [String] :artifact Artifact file representing the physical content
|
44
|
-
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
45
|
-
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
46
|
-
# @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
|
47
40
|
# @return [AsyncOperationResponse]
|
48
41
|
describe 'create test' do
|
49
42
|
it 'should work' do
|
@@ -66,8 +59,8 @@ describe 'ContentModulemdDefaultsApi' do
|
|
66
59
|
# @option opts [String] :sha256
|
67
60
|
# @option opts [String] :stream Filter results where stream matches value
|
68
61
|
# @option opts [Array<String>] :stream__in Filter results where stream is in a comma-separated list of values
|
69
|
-
# @option opts [
|
70
|
-
# @option opts [
|
62
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
63
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
71
64
|
# @return [PaginatedrpmModulemdDefaultsResponseList]
|
72
65
|
describe 'list test' do
|
73
66
|
it 'should work' do
|
@@ -80,8 +73,8 @@ describe 'ContentModulemdDefaultsApi' do
|
|
80
73
|
# ViewSet for Modulemd.
|
81
74
|
# @param rpm_modulemd_defaults_href
|
82
75
|
# @param [Hash] opts the optional parameters
|
83
|
-
# @option opts [
|
84
|
-
# @option opts [
|
76
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
77
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
85
78
|
# @return [RpmModulemdDefaultsResponse]
|
86
79
|
describe 'read test' do
|
87
80
|
it 'should work' do
|
@@ -0,0 +1,80 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for PulpRpmClient::ContentModulemdObsoletesApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'ContentModulemdObsoletesApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = PulpRpmClient::ContentModulemdObsoletesApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of ContentModulemdObsoletesApi' do
|
30
|
+
it 'should create an instance of ContentModulemdObsoletesApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(PulpRpmClient::ContentModulemdObsoletesApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for create
|
36
|
+
# Create a modulemd obsolete
|
37
|
+
# Trigger an asynchronous task to create content,optionally create new repository version.
|
38
|
+
# @param rpm_modulemd_obsolete
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [AsyncOperationResponse]
|
41
|
+
describe 'create test' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
# unit tests for list
|
48
|
+
# List modulemd obsoletes
|
49
|
+
# ViewSet for Modulemd.
|
50
|
+
# @param [Hash] opts the optional parameters
|
51
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
52
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
53
|
+
# @option opts [Array<String>] :ordering Ordering
|
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 [String] :fields A list of fields to include in the response.
|
58
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
59
|
+
# @return [PaginatedrpmModulemdObsoleteResponseList]
|
60
|
+
describe 'list test' do
|
61
|
+
it 'should work' do
|
62
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
# unit tests for read
|
67
|
+
# Inspect a modulemd obsolete
|
68
|
+
# ViewSet for Modulemd.
|
69
|
+
# @param rpm_modulemd_obsolete_href
|
70
|
+
# @param [Hash] opts the optional parameters
|
71
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
72
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
73
|
+
# @return [RpmModulemdObsoleteResponse]
|
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
|
@@ -35,21 +35,8 @@ describe 'ContentModulemdsApi' do
|
|
35
35
|
# unit tests for create
|
36
36
|
# Create a modulemd
|
37
37
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
38
|
-
# @param
|
39
|
-
# @param name Modulemd name.
|
40
|
-
# @param stream Stream name.
|
41
|
-
# @param version Modulemd version.
|
42
|
-
# @param context Modulemd context.
|
43
|
-
# @param arch Modulemd architecture.
|
44
|
-
# @param artifacts Modulemd artifacts.
|
45
|
-
# @param dependencies Modulemd dependencies.
|
38
|
+
# @param rpm_modulemd
|
46
39
|
# @param [Hash] opts the optional parameters
|
47
|
-
# @option opts [String] :artifact Artifact file representing the physical content
|
48
|
-
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
49
|
-
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
50
|
-
# @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
|
51
|
-
# @option opts [Boolean] :static_context Modulemd static-context flag.
|
52
|
-
# @option opts [Array<String>] :packages Modulemd artifacts' packages.
|
53
40
|
# @return [AsyncOperationResponse]
|
54
41
|
describe 'create test' do
|
55
42
|
it 'should work' do
|
@@ -72,8 +59,8 @@ describe 'ContentModulemdsApi' do
|
|
72
59
|
# @option opts [String] :sha256
|
73
60
|
# @option opts [String] :stream Filter results where stream matches value
|
74
61
|
# @option opts [Array<String>] :stream__in Filter results where stream is in a comma-separated list of values
|
75
|
-
# @option opts [
|
76
|
-
# @option opts [
|
62
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
63
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
77
64
|
# @return [PaginatedrpmModulemdResponseList]
|
78
65
|
describe 'list test' do
|
79
66
|
it 'should work' do
|
@@ -86,8 +73,8 @@ describe 'ContentModulemdsApi' do
|
|
86
73
|
# ViewSet for Modulemd.
|
87
74
|
# @param rpm_modulemd_href
|
88
75
|
# @param [Hash] opts the optional parameters
|
89
|
-
# @option opts [
|
90
|
-
# @option opts [
|
76
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
77
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
91
78
|
# @return [RpmModulemdResponse]
|
92
79
|
describe 'read test' do
|
93
80
|
it 'should work' do
|
@@ -42,8 +42,8 @@ describe 'ContentPackagecategoriesApi' do
|
|
42
42
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
43
43
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
44
44
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
45
|
-
# @option opts [
|
46
|
-
# @option opts [
|
45
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
46
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
47
47
|
# @return [PaginatedrpmPackageCategoryResponseList]
|
48
48
|
describe 'list test' do
|
49
49
|
it 'should work' do
|
@@ -56,8 +56,8 @@ describe 'ContentPackagecategoriesApi' do
|
|
56
56
|
# PackageCategory ViewSet.
|
57
57
|
# @param rpm_package_category_href
|
58
58
|
# @param [Hash] opts the optional parameters
|
59
|
-
# @option opts [
|
60
|
-
# @option opts [
|
59
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
60
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
61
61
|
# @return [RpmPackageCategoryResponse]
|
62
62
|
describe 'read test' do
|
63
63
|
it 'should work' do
|
@@ -42,8 +42,8 @@ describe 'ContentPackageenvironmentsApi' do
|
|
42
42
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
43
43
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
44
44
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
45
|
-
# @option opts [
|
46
|
-
# @option opts [
|
45
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
46
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
47
47
|
# @return [PaginatedrpmPackageEnvironmentResponseList]
|
48
48
|
describe 'list test' do
|
49
49
|
it 'should work' do
|
@@ -56,8 +56,8 @@ describe 'ContentPackageenvironmentsApi' do
|
|
56
56
|
# PackageEnvironment ViewSet.
|
57
57
|
# @param rpm_package_environment_href
|
58
58
|
# @param [Hash] opts the optional parameters
|
59
|
-
# @option opts [
|
60
|
-
# @option opts [
|
59
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
60
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
61
61
|
# @return [RpmPackageEnvironmentResponse]
|
62
62
|
describe 'read test' do
|
63
63
|
it 'should work' do
|
@@ -42,8 +42,8 @@ describe 'ContentPackagegroupsApi' do
|
|
42
42
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
43
43
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
44
44
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
45
|
-
# @option opts [
|
46
|
-
# @option opts [
|
45
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
46
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
47
47
|
# @return [PaginatedrpmPackageGroupResponseList]
|
48
48
|
describe 'list test' do
|
49
49
|
it 'should work' do
|
@@ -56,8 +56,8 @@ describe 'ContentPackagegroupsApi' do
|
|
56
56
|
# PackageGroup ViewSet.
|
57
57
|
# @param rpm_package_group_href
|
58
58
|
# @param [Hash] opts the optional parameters
|
59
|
-
# @option opts [
|
60
|
-
# @option opts [
|
59
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
60
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
61
61
|
# @return [RpmPackageGroupResponse]
|
62
62
|
describe 'read test' do
|
63
63
|
it 'should work' do
|
@@ -42,8 +42,8 @@ describe 'ContentPackagelangpacksApi' do
|
|
42
42
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
43
43
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
44
44
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
45
|
-
# @option opts [
|
46
|
-
# @option opts [
|
45
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
46
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
47
47
|
# @return [PaginatedrpmPackageLangpacksResponseList]
|
48
48
|
describe 'list test' do
|
49
49
|
it 'should work' do
|
@@ -56,8 +56,8 @@ describe 'ContentPackagelangpacksApi' do
|
|
56
56
|
# PackageLangpacks ViewSet.
|
57
57
|
# @param rpm_package_langpacks_href
|
58
58
|
# @param [Hash] opts the optional parameters
|
59
|
-
# @option opts [
|
60
|
-
# @option opts [
|
59
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
60
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
61
61
|
# @return [RpmPackageLangpacksResponse]
|
62
62
|
describe 'read test' do
|
63
63
|
it 'should work' do
|
@@ -35,9 +35,9 @@ describe 'ContentPackagesApi' do
|
|
35
35
|
# unit tests for create
|
36
36
|
# Create a package
|
37
37
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
38
|
-
# @param relative_path Path where the artifact is located relative to distributions base_path
|
39
38
|
# @param [Hash] opts the optional parameters
|
40
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
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
|
# @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
|
@@ -79,8 +79,8 @@ describe 'ContentPackagesApi' do
|
|
79
79
|
# @option opts [String] :version Filter results where version matches value
|
80
80
|
# @option opts [Array<String>] :version__in Filter results where version is in a comma-separated list of values
|
81
81
|
# @option opts [String] :version__ne Filter results where version not equal to value
|
82
|
-
# @option opts [
|
83
|
-
# @option opts [
|
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
84
|
# @return [PaginatedrpmPackageResponseList]
|
85
85
|
describe 'list test' do
|
86
86
|
it 'should work' do
|
@@ -93,8 +93,8 @@ describe 'ContentPackagesApi' do
|
|
93
93
|
# A ViewSet for Package. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/rpm/packages/ Also specify queryset and serializer for Package.
|
94
94
|
# @param rpm_package_href
|
95
95
|
# @param [Hash] opts the optional parameters
|
96
|
-
# @option opts [
|
97
|
-
# @option opts [
|
96
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
97
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
98
98
|
# @return [RpmPackageResponse]
|
99
99
|
describe 'read test' do
|
100
100
|
it 'should work' do
|
@@ -42,8 +42,8 @@ describe 'ContentRepoMetadataFilesApi' do
|
|
42
42
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
43
43
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
44
44
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
45
|
-
# @option opts [
|
46
|
-
# @option opts [
|
45
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
46
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
47
47
|
# @return [PaginatedrpmRepoMetadataFileResponseList]
|
48
48
|
describe 'list test' do
|
49
49
|
it 'should work' do
|
@@ -56,8 +56,8 @@ describe 'ContentRepoMetadataFilesApi' do
|
|
56
56
|
# RepoMetadataFile Viewset.
|
57
57
|
# @param rpm_repo_metadata_file_href
|
58
58
|
# @param [Hash] opts the optional parameters
|
59
|
-
# @option opts [
|
60
|
-
# @option opts [
|
59
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
60
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
61
61
|
# @return [RpmRepoMetadataFileResponse]
|
62
62
|
describe 'read test' do
|
63
63
|
it 'should work' do
|
@@ -74,8 +74,8 @@ describe 'DistributionsRpmApi' do
|
|
74
74
|
# @option opts [Array<String>] :ordering Ordering
|
75
75
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
76
76
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
77
|
-
# @option opts [
|
78
|
-
# @option opts [
|
77
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
78
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
79
79
|
# @return [PaginatedrpmRpmDistributionResponseList]
|
80
80
|
describe 'list test' do
|
81
81
|
it 'should work' do
|
@@ -101,8 +101,8 @@ describe 'DistributionsRpmApi' do
|
|
101
101
|
# ViewSet for RPM Distributions.
|
102
102
|
# @param rpm_rpm_distribution_href
|
103
103
|
# @param [Hash] opts the optional parameters
|
104
|
-
# @option opts [
|
105
|
-
# @option opts [
|
104
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
105
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
106
106
|
# @return [RpmRpmDistributionResponse]
|
107
107
|
describe 'read test' do
|
108
108
|
it 'should work' do
|
@@ -73,8 +73,8 @@ describe 'PublicationsRpmApi' do
|
|
73
73
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
74
74
|
# @option opts [String] :repository Repository referenced by HREF
|
75
75
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
76
|
-
# @option opts [
|
77
|
-
# @option opts [
|
76
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
77
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
78
78
|
# @return [PaginatedrpmRpmPublicationResponseList]
|
79
79
|
describe 'list test' do
|
80
80
|
it 'should work' do
|
@@ -87,8 +87,8 @@ describe 'PublicationsRpmApi' do
|
|
87
87
|
# ViewSet for Rpm Publications.
|
88
88
|
# @param rpm_rpm_publication_href
|
89
89
|
# @param [Hash] opts the optional parameters
|
90
|
-
# @option opts [
|
91
|
-
# @option opts [
|
90
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
91
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
92
92
|
# @return [RpmRpmPublicationResponse]
|
93
93
|
describe 'read test' do
|
94
94
|
it 'should work' do
|
@@ -75,8 +75,8 @@ describe 'RemotesRpmApi' do
|
|
75
75
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
76
76
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
77
77
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
78
|
-
# @option opts [
|
79
|
-
# @option opts [
|
78
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
79
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
80
80
|
# @return [PaginatedrpmRpmRemoteResponseList]
|
81
81
|
describe 'list test' do
|
82
82
|
it 'should work' do
|
@@ -102,8 +102,8 @@ describe 'RemotesRpmApi' do
|
|
102
102
|
# A ViewSet for RpmRemote.
|
103
103
|
# @param rpm_rpm_remote_href
|
104
104
|
# @param [Hash] opts the optional parameters
|
105
|
-
# @option opts [
|
106
|
-
# @option opts [
|
105
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
106
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
107
107
|
# @return [RpmRpmRemoteResponse]
|
108
108
|
describe 'read test' do
|
109
109
|
it 'should work' do
|
@@ -75,8 +75,8 @@ describe 'RemotesUlnApi' do
|
|
75
75
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
76
76
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
77
77
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
78
|
-
# @option opts [
|
79
|
-
# @option opts [
|
78
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
79
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
80
80
|
# @return [PaginatedrpmUlnRemoteResponseList]
|
81
81
|
describe 'list test' do
|
82
82
|
it 'should work' do
|
@@ -102,8 +102,8 @@ describe 'RemotesUlnApi' do
|
|
102
102
|
# A ViewSet for UlnRemote.
|
103
103
|
# @param rpm_uln_remote_href
|
104
104
|
# @param [Hash] opts the optional parameters
|
105
|
-
# @option opts [
|
106
|
-
# @option opts [
|
105
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
106
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
107
107
|
# @return [RpmUlnRemoteResponse]
|
108
108
|
describe 'read test' do
|
109
109
|
it 'should work' do
|
@@ -70,8 +70,8 @@ describe 'RepositoriesRpmApi' do
|
|
70
70
|
# @option opts [Array<String>] :ordering Ordering
|
71
71
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
72
72
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
73
|
-
# @option opts [
|
74
|
-
# @option opts [
|
73
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
74
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
75
75
|
# @return [PaginatedrpmRpmRepositoryResponseList]
|
76
76
|
describe 'list test' do
|
77
77
|
it 'should work' do
|
@@ -110,8 +110,8 @@ describe 'RepositoriesRpmApi' do
|
|
110
110
|
# A ViewSet for RpmRepository.
|
111
111
|
# @param rpm_rpm_repository_href
|
112
112
|
# @param [Hash] opts the optional parameters
|
113
|
-
# @option opts [
|
114
|
-
# @option opts [
|
113
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
114
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
115
115
|
# @return [RpmRpmRepositoryResponse]
|
116
116
|
describe 'read test' do
|
117
117
|
it 'should work' do
|
@@ -66,8 +66,8 @@ describe 'RepositoriesRpmVersionsApi' do
|
|
66
66
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
67
67
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
68
68
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
69
|
-
# @option opts [
|
70
|
-
# @option opts [
|
69
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
70
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
71
71
|
# @return [PaginatedRepositoryVersionResponseList]
|
72
72
|
describe 'list test' do
|
73
73
|
it 'should work' do
|
@@ -80,8 +80,8 @@ describe 'RepositoriesRpmVersionsApi' do
|
|
80
80
|
# RpmRepositoryVersion represents a single rpm repository version.
|
81
81
|
# @param rpm_rpm_repository_version_href
|
82
82
|
# @param [Hash] opts the optional parameters
|
83
|
-
# @option opts [
|
84
|
-
# @option opts [
|
83
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
84
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
85
85
|
# @return [RepositoryVersionResponse]
|
86
86
|
describe 'read test' do
|
87
87
|
it 'should work' do
|
@@ -0,0 +1,59 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PulpRpmClient::PaginatedrpmModulemdObsoleteResponseList
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'PaginatedrpmModulemdObsoleteResponseList' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpRpmClient::PaginatedrpmModulemdObsoleteResponseList.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of PaginatedrpmModulemdObsoleteResponseList' do
|
31
|
+
it 'should create an instance of PaginatedrpmModulemdObsoleteResponseList' do
|
32
|
+
expect(@instance).to be_instance_of(PulpRpmClient::PaginatedrpmModulemdObsoleteResponseList)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "count"' 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 "_next"' 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 "previous"' 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 "results"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
@@ -44,48 +44,6 @@ describe 'RpmModulemdDefaultsResponse' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
describe 'test attribute "md5"' 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 "sha1"' 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 "sha224"' 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 "sha256"' 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 "sha384"' 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
|
-
describe 'test attribute "sha512"' do
|
78
|
-
it 'should work' do
|
79
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
-
end
|
81
|
-
end
|
82
|
-
|
83
|
-
describe 'test attribute "artifact"' do
|
84
|
-
it 'should work' do
|
85
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
86
|
-
end
|
87
|
-
end
|
88
|
-
|
89
47
|
describe 'test attribute "_module"' do
|
90
48
|
it 'should work' do
|
91
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -32,49 +32,25 @@ describe 'RpmModulemdDefaults' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpRpmClient::RpmModulemdDefaults)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
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 "relative_path"' 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 "file"' 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 "upload"' do
|
35
|
+
describe 'test attribute "_module"' do
|
60
36
|
it 'should work' do
|
61
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
38
|
end
|
63
39
|
end
|
64
40
|
|
65
|
-
describe 'test attribute "
|
41
|
+
describe 'test attribute "stream"' do
|
66
42
|
it 'should work' do
|
67
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
44
|
end
|
69
45
|
end
|
70
46
|
|
71
|
-
describe 'test attribute "
|
47
|
+
describe 'test attribute "profiles"' do
|
72
48
|
it 'should work' do
|
73
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
50
|
end
|
75
51
|
end
|
76
52
|
|
77
|
-
describe 'test attribute "
|
53
|
+
describe 'test attribute "snippet"' do
|
78
54
|
it 'should work' do
|
79
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
56
|
end
|