pulp_rpm_client 3.28.0 → 3.29.0
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 +27 -4
- data/docs/ContentAdvisoriesApi.md +152 -2
- data/docs/ContentDistributionTreesApi.md +148 -0
- data/docs/ContentModulemdDefaultsApi.md +150 -2
- data/docs/ContentModulemdObsoletesApi.md +148 -0
- data/docs/ContentModulemdsApi.md +150 -2
- data/docs/ContentPackagecategoriesApi.md +148 -0
- data/docs/ContentPackageenvironmentsApi.md +148 -0
- data/docs/ContentPackagegroupsApi.md +148 -0
- data/docs/ContentPackagelangpacksApi.md +148 -0
- data/docs/ContentPackagesApi.md +152 -2
- data/docs/ContentRepoMetadataFilesApi.md +148 -0
- data/docs/LayoutEnum.md +15 -0
- data/docs/PatchedrpmRpmRepository.md +3 -1
- data/docs/RpmModulemd.md +2 -0
- data/docs/RpmModulemdDefaults.md +2 -0
- data/docs/RpmModulemdDefaultsResponse.md +2 -0
- data/docs/RpmModulemdObsolete.md +2 -0
- data/docs/RpmModulemdObsoleteResponse.md +2 -0
- data/docs/RpmModulemdResponse.md +2 -0
- data/docs/RpmPackageCategoryResponse.md +2 -0
- data/docs/RpmPackageEnvironmentResponse.md +2 -0
- data/docs/RpmPackageGroupResponse.md +2 -0
- data/docs/RpmPackageLangpacksResponse.md +2 -0
- data/docs/RpmPackageResponse.md +2 -0
- data/docs/RpmRepoMetadataFileResponse.md +2 -0
- data/docs/RpmRpmPublication.md +3 -1
- data/docs/RpmRpmPublicationResponse.md +3 -1
- data/docs/RpmRpmRepository.md +3 -1
- data/docs/RpmRpmRepositoryResponse.md +3 -1
- data/docs/RpmUpdateRecordResponse.md +2 -0
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +157 -3
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +151 -0
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +154 -3
- data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +151 -0
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +154 -3
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +151 -0
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +151 -0
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +151 -0
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +151 -0
- data/lib/pulp_rpm_client/api/content_packages_api.rb +157 -3
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +151 -0
- data/lib/pulp_rpm_client/models/layout_enum.rb +40 -0
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +16 -5
- data/lib/pulp_rpm_client/models/rpm_modulemd.rb +13 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults.rb +13 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults_response.rb +13 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete.rb +13 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete_response.rb +13 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd_response.rb +13 -1
- data/lib/pulp_rpm_client/models/rpm_package_category_response.rb +13 -1
- data/lib/pulp_rpm_client/models/rpm_package_environment_response.rb +13 -1
- data/lib/pulp_rpm_client/models/rpm_package_group_response.rb +13 -1
- data/lib/pulp_rpm_client/models/rpm_package_langpacks_response.rb +13 -1
- data/lib/pulp_rpm_client/models/rpm_package_response.rb +13 -1
- data/lib/pulp_rpm_client/models/rpm_repo_metadata_file_response.rb +13 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +15 -4
- data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +15 -4
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +16 -5
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +16 -5
- data/lib/pulp_rpm_client/models/rpm_update_record_response.rb +13 -1
- data/lib/pulp_rpm_client/models/unset_label.rb +1 -1
- data/lib/pulp_rpm_client/models/unset_label_response.rb +1 -1
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/lib/pulp_rpm_client.rb +1 -0
- data/spec/api/content_advisories_api_spec.rb +29 -1
- data/spec/api/content_distribution_trees_api_spec.rb +27 -0
- data/spec/api/content_modulemd_defaults_api_spec.rb +28 -1
- data/spec/api/content_modulemd_obsoletes_api_spec.rb +27 -0
- data/spec/api/content_modulemds_api_spec.rb +28 -1
- data/spec/api/content_packagecategories_api_spec.rb +27 -0
- data/spec/api/content_packageenvironments_api_spec.rb +27 -0
- data/spec/api/content_packagegroups_api_spec.rb +27 -0
- data/spec/api/content_packagelangpacks_api_spec.rb +27 -0
- data/spec/api/content_packages_api_spec.rb +29 -1
- data/spec/api/content_repo_metadata_files_api_spec.rb +27 -0
- data/spec/models/layout_enum_spec.rb +30 -0
- data/spec/models/patchedrpm_rpm_repository_spec.rb +6 -0
- data/spec/models/rpm_modulemd_defaults_response_spec.rb +6 -0
- data/spec/models/rpm_modulemd_defaults_spec.rb +6 -0
- data/spec/models/rpm_modulemd_obsolete_response_spec.rb +6 -0
- data/spec/models/rpm_modulemd_obsolete_spec.rb +6 -0
- data/spec/models/rpm_modulemd_response_spec.rb +6 -0
- data/spec/models/rpm_modulemd_spec.rb +6 -0
- data/spec/models/rpm_package_category_response_spec.rb +6 -0
- data/spec/models/rpm_package_environment_response_spec.rb +6 -0
- data/spec/models/rpm_package_group_response_spec.rb +6 -0
- data/spec/models/rpm_package_langpacks_response_spec.rb +6 -0
- data/spec/models/rpm_package_response_spec.rb +6 -0
- data/spec/models/rpm_repo_metadata_file_response_spec.rb +6 -0
- data/spec/models/rpm_rpm_publication_response_spec.rb +6 -0
- data/spec/models/rpm_rpm_publication_spec.rb +6 -0
- data/spec/models/rpm_rpm_repository_response_spec.rb +6 -0
- data/spec/models/rpm_rpm_repository_spec.rb +6 -0
- data/spec/models/rpm_update_record_response_spec.rb +6 -0
- metadata +83 -79
@@ -56,11 +56,12 @@ describe 'ContentModulemdsApi' do
|
|
56
56
|
# @option opts [String] :name Filter results where name matches value
|
57
57
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
58
58
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
59
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `stream` - Stream * `-stream` - Stream (descending) * `version` - Version * `-version` - Version (descending) * `context` - Context * `-context` - Context (descending) * `arch` - Arch * `-arch` - Arch (descending) * `static_context` - Static context * `-static_context` - Static context (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `artifacts` - Artifacts * `-artifacts` - Artifacts (descending) * `profiles` - Profiles * `-profiles` - Profiles (descending) * `description` - Description * `-description` - Description (descending) * `digest` - Digest * `-digest` - Digest (descending) * `snippet` - Snippet * `-snippet` - Snippet (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
59
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `stream` - Stream * `-stream` - Stream (descending) * `version` - Version * `-version` - Version (descending) * `context` - Context * `-context` - Context (descending) * `arch` - Arch * `-arch` - Arch (descending) * `static_context` - Static context * `-static_context` - Static context (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `artifacts` - Artifacts * `-artifacts` - Artifacts (descending) * `profiles` - Profiles * `-profiles` - Profiles (descending) * `description` - Description * `-description` - Description (descending) * `digest` - Digest * `-digest` - Digest (descending) * `snippet` - Snippet * `-snippet` - Snippet (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
60
60
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
61
61
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
62
62
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
63
63
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
64
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
64
65
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
65
66
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
66
67
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
@@ -93,4 +94,30 @@ describe 'ContentModulemdsApi' do
|
|
93
94
|
end
|
94
95
|
end
|
95
96
|
|
97
|
+
# unit tests for set_label
|
98
|
+
# Set a label
|
99
|
+
# Set a single pulp_label on the object to a specific value or null.
|
100
|
+
# @param rpm_modulemd_href
|
101
|
+
# @param set_label
|
102
|
+
# @param [Hash] opts the optional parameters
|
103
|
+
# @return [SetLabelResponse]
|
104
|
+
describe 'set_label test' do
|
105
|
+
it 'should work' do
|
106
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
107
|
+
end
|
108
|
+
end
|
109
|
+
|
110
|
+
# unit tests for unset_label
|
111
|
+
# Unset a label
|
112
|
+
# Unset a single pulp_label on the object.
|
113
|
+
# @param rpm_modulemd_href
|
114
|
+
# @param unset_label
|
115
|
+
# @param [Hash] opts the optional parameters
|
116
|
+
# @return [UnsetLabelResponse]
|
117
|
+
describe 'unset_label test' do
|
118
|
+
it 'should work' do
|
119
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
120
|
+
end
|
121
|
+
end
|
122
|
+
|
96
123
|
end
|
@@ -43,6 +43,7 @@ describe 'ContentPackagecategoriesApi' do
|
|
43
43
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
44
44
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
45
45
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
46
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
46
47
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
47
48
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
48
49
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
@@ -70,4 +71,30 @@ describe 'ContentPackagecategoriesApi' do
|
|
70
71
|
end
|
71
72
|
end
|
72
73
|
|
74
|
+
# unit tests for set_label
|
75
|
+
# Set a label
|
76
|
+
# Set a single pulp_label on the object to a specific value or null.
|
77
|
+
# @param rpm_package_category_href
|
78
|
+
# @param set_label
|
79
|
+
# @param [Hash] opts the optional parameters
|
80
|
+
# @return [SetLabelResponse]
|
81
|
+
describe 'set_label test' do
|
82
|
+
it 'should work' do
|
83
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
87
|
+
# unit tests for unset_label
|
88
|
+
# Unset a label
|
89
|
+
# Unset a single pulp_label on the object.
|
90
|
+
# @param rpm_package_category_href
|
91
|
+
# @param unset_label
|
92
|
+
# @param [Hash] opts the optional parameters
|
93
|
+
# @return [UnsetLabelResponse]
|
94
|
+
describe 'unset_label test' do
|
95
|
+
it 'should work' do
|
96
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
73
100
|
end
|
@@ -43,6 +43,7 @@ describe 'ContentPackageenvironmentsApi' do
|
|
43
43
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
44
44
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
45
45
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
46
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
46
47
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
47
48
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
48
49
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
@@ -70,4 +71,30 @@ describe 'ContentPackageenvironmentsApi' do
|
|
70
71
|
end
|
71
72
|
end
|
72
73
|
|
74
|
+
# unit tests for set_label
|
75
|
+
# Set a label
|
76
|
+
# Set a single pulp_label on the object to a specific value or null.
|
77
|
+
# @param rpm_package_environment_href
|
78
|
+
# @param set_label
|
79
|
+
# @param [Hash] opts the optional parameters
|
80
|
+
# @return [SetLabelResponse]
|
81
|
+
describe 'set_label test' do
|
82
|
+
it 'should work' do
|
83
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
87
|
+
# unit tests for unset_label
|
88
|
+
# Unset a label
|
89
|
+
# Unset a single pulp_label on the object.
|
90
|
+
# @param rpm_package_environment_href
|
91
|
+
# @param unset_label
|
92
|
+
# @param [Hash] opts the optional parameters
|
93
|
+
# @return [UnsetLabelResponse]
|
94
|
+
describe 'unset_label test' do
|
95
|
+
it 'should work' do
|
96
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
73
100
|
end
|
@@ -43,6 +43,7 @@ describe 'ContentPackagegroupsApi' do
|
|
43
43
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
44
44
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
45
45
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
46
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
46
47
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
47
48
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
48
49
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
@@ -70,4 +71,30 @@ describe 'ContentPackagegroupsApi' do
|
|
70
71
|
end
|
71
72
|
end
|
72
73
|
|
74
|
+
# unit tests for set_label
|
75
|
+
# Set a label
|
76
|
+
# Set a single pulp_label on the object to a specific value or null.
|
77
|
+
# @param rpm_package_group_href
|
78
|
+
# @param set_label
|
79
|
+
# @param [Hash] opts the optional parameters
|
80
|
+
# @return [SetLabelResponse]
|
81
|
+
describe 'set_label test' do
|
82
|
+
it 'should work' do
|
83
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
87
|
+
# unit tests for unset_label
|
88
|
+
# Unset a label
|
89
|
+
# Unset a single pulp_label on the object.
|
90
|
+
# @param rpm_package_group_href
|
91
|
+
# @param unset_label
|
92
|
+
# @param [Hash] opts the optional parameters
|
93
|
+
# @return [UnsetLabelResponse]
|
94
|
+
describe 'unset_label test' do
|
95
|
+
it 'should work' do
|
96
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
73
100
|
end
|
@@ -43,6 +43,7 @@ describe 'ContentPackagelangpacksApi' do
|
|
43
43
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
44
44
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
45
45
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
46
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
46
47
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
47
48
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
48
49
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
@@ -70,4 +71,30 @@ describe 'ContentPackagelangpacksApi' do
|
|
70
71
|
end
|
71
72
|
end
|
72
73
|
|
74
|
+
# unit tests for set_label
|
75
|
+
# Set a label
|
76
|
+
# Set a single pulp_label on the object to a specific value or null.
|
77
|
+
# @param rpm_package_langpacks_href
|
78
|
+
# @param set_label
|
79
|
+
# @param [Hash] opts the optional parameters
|
80
|
+
# @return [SetLabelResponse]
|
81
|
+
describe 'set_label test' do
|
82
|
+
it 'should work' do
|
83
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
87
|
+
# unit tests for unset_label
|
88
|
+
# Unset a label
|
89
|
+
# Unset a single pulp_label on the object.
|
90
|
+
# @param rpm_package_langpacks_href
|
91
|
+
# @param unset_label
|
92
|
+
# @param [Hash] opts the optional parameters
|
93
|
+
# @return [UnsetLabelResponse]
|
94
|
+
describe 'unset_label test' do
|
95
|
+
it 'should work' do
|
96
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
73
100
|
end
|
@@ -37,6 +37,7 @@ describe 'ContentPackagesApi' do
|
|
37
37
|
# Trigger an asynchronous task to create an RPM package,optionally create new repository version.
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
40
|
+
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
40
41
|
# @option opts [String] :artifact Artifact file representing the physical content
|
41
42
|
# @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path
|
42
43
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
@@ -72,13 +73,14 @@ describe 'ContentPackagesApi' do
|
|
72
73
|
# @option opts [String] :name__ne Filter results where name not equal to value
|
73
74
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
74
75
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
75
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `epoch` - Epoch * `-epoch` - Epoch (descending) * `version` - Version * `-version` - Version (descending) * `release` - Release * `-release` - Release (descending) * `arch` - Arch * `-arch` - Arch (descending) * `evr` - Evr * `-evr` - Evr (descending) * `pkgId` - Pkgid * `-pkgId` - Pkgid (descending) * `checksum_type` - Checksum type * `-checksum_type` - Checksum type (descending) * `summary` - Summary * `-summary` - Summary (descending) * `description` - Description * `-description` - Description (descending) * `url` - Url * `-url` - Url (descending) * `changelogs` - Changelogs * `-changelogs` - Changelogs (descending) * `files` - Files * `-files` - Files (descending) * `requires` - Requires * `-requires` - Requires (descending) * `provides` - Provides * `-provides` - Provides (descending) * `conflicts` - Conflicts * `-conflicts` - Conflicts (descending) * `obsoletes` - Obsoletes * `-obsoletes` - Obsoletes (descending) * `suggests` - Suggests * `-suggests` - Suggests (descending) * `enhances` - Enhances * `-enhances` - Enhances (descending) * `recommends` - Recommends * `-recommends` - Recommends (descending) * `supplements` - Supplements * `-supplements` - Supplements (descending) * `location_base` - Location base * `-location_base` - Location base (descending) * `location_href` - Location href * `-location_href` - Location href (descending) * `rpm_buildhost` - Rpm buildhost * `-rpm_buildhost` - Rpm buildhost (descending) * `rpm_group` - Rpm group * `-rpm_group` - Rpm group (descending) * `rpm_license` - Rpm license * `-rpm_license` - Rpm license (descending) * `rpm_packager` - Rpm packager * `-rpm_packager` - Rpm packager (descending) * `rpm_sourcerpm` - Rpm sourcerpm * `-rpm_sourcerpm` - Rpm sourcerpm (descending) * `rpm_vendor` - Rpm vendor * `-rpm_vendor` - Rpm vendor (descending) * `rpm_header_start` - Rpm header start * `-rpm_header_start` - Rpm header start (descending) * `rpm_header_end` - Rpm header end * `-rpm_header_end` - Rpm header end (descending) * `size_archive` - Size archive * `-size_archive` - Size archive (descending) * `size_installed` - Size installed * `-size_installed` - Size installed (descending) * `size_package` - Size package * `-size_package` - Size package (descending) * `time_build` - Time build * `-time_build` - Time build (descending) * `time_file` - Time file * `-time_file` - Time file (descending) * `is_modular` - Is modular * `-is_modular` - Is modular (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
76
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `epoch` - Epoch * `-epoch` - Epoch (descending) * `version` - Version * `-version` - Version (descending) * `release` - Release * `-release` - Release (descending) * `arch` - Arch * `-arch` - Arch (descending) * `evr` - Evr * `-evr` - Evr (descending) * `pkgId` - Pkgid * `-pkgId` - Pkgid (descending) * `checksum_type` - Checksum type * `-checksum_type` - Checksum type (descending) * `summary` - Summary * `-summary` - Summary (descending) * `description` - Description * `-description` - Description (descending) * `url` - Url * `-url` - Url (descending) * `changelogs` - Changelogs * `-changelogs` - Changelogs (descending) * `files` - Files * `-files` - Files (descending) * `requires` - Requires * `-requires` - Requires (descending) * `provides` - Provides * `-provides` - Provides (descending) * `conflicts` - Conflicts * `-conflicts` - Conflicts (descending) * `obsoletes` - Obsoletes * `-obsoletes` - Obsoletes (descending) * `suggests` - Suggests * `-suggests` - Suggests (descending) * `enhances` - Enhances * `-enhances` - Enhances (descending) * `recommends` - Recommends * `-recommends` - Recommends (descending) * `supplements` - Supplements * `-supplements` - Supplements (descending) * `location_base` - Location base * `-location_base` - Location base (descending) * `location_href` - Location href * `-location_href` - Location href (descending) * `rpm_buildhost` - Rpm buildhost * `-rpm_buildhost` - Rpm buildhost (descending) * `rpm_group` - Rpm group * `-rpm_group` - Rpm group (descending) * `rpm_license` - Rpm license * `-rpm_license` - Rpm license (descending) * `rpm_packager` - Rpm packager * `-rpm_packager` - Rpm packager (descending) * `rpm_sourcerpm` - Rpm sourcerpm * `-rpm_sourcerpm` - Rpm sourcerpm (descending) * `rpm_vendor` - Rpm vendor * `-rpm_vendor` - Rpm vendor (descending) * `rpm_header_start` - Rpm header start * `-rpm_header_start` - Rpm header start (descending) * `rpm_header_end` - Rpm header end * `-rpm_header_end` - Rpm header end (descending) * `size_archive` - Size archive * `-size_archive` - Size archive (descending) * `size_installed` - Size installed * `-size_installed` - Size installed (descending) * `size_package` - Size package * `-size_package` - Size package (descending) * `time_build` - Time build * `-time_build` - Time build (descending) * `time_file` - Time file * `-time_file` - Time file (descending) * `is_modular` - Is modular * `-is_modular` - Is modular (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
76
77
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
77
78
|
# @option opts [String] :pkg_id Filter results where pkgId matches value
|
78
79
|
# @option opts [Array<String>] :pkg_id__in Filter results where pkgId is in a comma-separated list of values
|
79
80
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
80
81
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
81
82
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
83
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
82
84
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
83
85
|
# @option opts [String] :release Filter results where release matches value
|
84
86
|
# @option opts [String] :release__contains Filter results where release contains value
|
@@ -115,4 +117,30 @@ describe 'ContentPackagesApi' do
|
|
115
117
|
end
|
116
118
|
end
|
117
119
|
|
120
|
+
# unit tests for set_label
|
121
|
+
# Set a label
|
122
|
+
# Set a single pulp_label on the object to a specific value or null.
|
123
|
+
# @param rpm_package_href
|
124
|
+
# @param set_label
|
125
|
+
# @param [Hash] opts the optional parameters
|
126
|
+
# @return [SetLabelResponse]
|
127
|
+
describe 'set_label test' do
|
128
|
+
it 'should work' do
|
129
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
130
|
+
end
|
131
|
+
end
|
132
|
+
|
133
|
+
# unit tests for unset_label
|
134
|
+
# Unset a label
|
135
|
+
# Unset a single pulp_label on the object.
|
136
|
+
# @param rpm_package_href
|
137
|
+
# @param unset_label
|
138
|
+
# @param [Hash] opts the optional parameters
|
139
|
+
# @return [UnsetLabelResponse]
|
140
|
+
describe 'unset_label test' do
|
141
|
+
it 'should work' do
|
142
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
143
|
+
end
|
144
|
+
end
|
145
|
+
|
118
146
|
end
|
@@ -43,6 +43,7 @@ describe 'ContentRepoMetadataFilesApi' do
|
|
43
43
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
44
44
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
45
45
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
46
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
46
47
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
47
48
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
48
49
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
@@ -70,4 +71,30 @@ describe 'ContentRepoMetadataFilesApi' do
|
|
70
71
|
end
|
71
72
|
end
|
72
73
|
|
74
|
+
# unit tests for set_label
|
75
|
+
# Set a label
|
76
|
+
# Set a single pulp_label on the object to a specific value or null.
|
77
|
+
# @param rpm_repo_metadata_file_href
|
78
|
+
# @param set_label
|
79
|
+
# @param [Hash] opts the optional parameters
|
80
|
+
# @return [SetLabelResponse]
|
81
|
+
describe 'set_label test' do
|
82
|
+
it 'should work' do
|
83
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
87
|
+
# unit tests for unset_label
|
88
|
+
# Unset a label
|
89
|
+
# Unset a single pulp_label on the object.
|
90
|
+
# @param rpm_repo_metadata_file_href
|
91
|
+
# @param unset_label
|
92
|
+
# @param [Hash] opts the optional parameters
|
93
|
+
# @return [UnsetLabelResponse]
|
94
|
+
describe 'unset_label test' do
|
95
|
+
it 'should work' do
|
96
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
73
100
|
end
|
@@ -0,0 +1,30 @@
|
|
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
|
+
Generator version: 7.10.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PulpRpmClient::LayoutEnum
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe PulpRpmClient::LayoutEnum do
|
21
|
+
let(:instance) { PulpRpmClient::LayoutEnum.new }
|
22
|
+
|
23
|
+
describe 'test an instance of LayoutEnum' do
|
24
|
+
it 'should create an instance of LayoutEnum' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(PulpRpmClient::LayoutEnum)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
end
|
@@ -129,4 +129,10 @@ describe PulpRpmClient::PatchedrpmRpmRepository do
|
|
129
129
|
end
|
130
130
|
end
|
131
131
|
|
132
|
+
describe 'test attribute "layout"' do
|
133
|
+
it 'should work' do
|
134
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
135
|
+
end
|
136
|
+
end
|
137
|
+
|
132
138
|
end
|
@@ -51,6 +51,12 @@ describe PulpRpmClient::RpmModulemdDefaultsResponse do
|
|
51
51
|
end
|
52
52
|
end
|
53
53
|
|
54
|
+
describe 'test attribute "pulp_labels"' do
|
55
|
+
it 'should work' do
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
54
60
|
describe 'test attribute "_module"' do
|
55
61
|
it 'should work' do
|
56
62
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
@@ -33,6 +33,12 @@ describe PulpRpmClient::RpmModulemdDefaults do
|
|
33
33
|
end
|
34
34
|
end
|
35
35
|
|
36
|
+
describe 'test attribute "pulp_labels"' do
|
37
|
+
it 'should work' do
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
36
42
|
describe 'test attribute "_module"' do
|
37
43
|
it 'should work' do
|
38
44
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
@@ -51,6 +51,12 @@ describe PulpRpmClient::RpmModulemdObsoleteResponse do
|
|
51
51
|
end
|
52
52
|
end
|
53
53
|
|
54
|
+
describe 'test attribute "pulp_labels"' do
|
55
|
+
it 'should work' do
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
54
60
|
describe 'test attribute "modified"' do
|
55
61
|
it 'should work' do
|
56
62
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
@@ -33,6 +33,12 @@ describe PulpRpmClient::RpmModulemdObsolete do
|
|
33
33
|
end
|
34
34
|
end
|
35
35
|
|
36
|
+
describe 'test attribute "pulp_labels"' do
|
37
|
+
it 'should work' do
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
36
42
|
describe 'test attribute "modified"' do
|
37
43
|
it 'should work' do
|
38
44
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
@@ -51,6 +51,12 @@ describe PulpRpmClient::RpmModulemdResponse do
|
|
51
51
|
end
|
52
52
|
end
|
53
53
|
|
54
|
+
describe 'test attribute "pulp_labels"' do
|
55
|
+
it 'should work' do
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
54
60
|
describe 'test attribute "name"' do
|
55
61
|
it 'should work' do
|
56
62
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
@@ -33,6 +33,12 @@ describe PulpRpmClient::RpmModulemd do
|
|
33
33
|
end
|
34
34
|
end
|
35
35
|
|
36
|
+
describe 'test attribute "pulp_labels"' do
|
37
|
+
it 'should work' do
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
36
42
|
describe 'test attribute "name"' do
|
37
43
|
it 'should work' do
|
38
44
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
@@ -51,6 +51,12 @@ describe PulpRpmClient::RpmPackageCategoryResponse do
|
|
51
51
|
end
|
52
52
|
end
|
53
53
|
|
54
|
+
describe 'test attribute "pulp_labels"' do
|
55
|
+
it 'should work' do
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
54
60
|
describe 'test attribute "id"' do
|
55
61
|
it 'should work' do
|
56
62
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
@@ -51,6 +51,12 @@ describe PulpRpmClient::RpmPackageEnvironmentResponse do
|
|
51
51
|
end
|
52
52
|
end
|
53
53
|
|
54
|
+
describe 'test attribute "pulp_labels"' do
|
55
|
+
it 'should work' do
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
54
60
|
describe 'test attribute "id"' do
|
55
61
|
it 'should work' do
|
56
62
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
@@ -51,6 +51,12 @@ describe PulpRpmClient::RpmPackageGroupResponse do
|
|
51
51
|
end
|
52
52
|
end
|
53
53
|
|
54
|
+
describe 'test attribute "pulp_labels"' do
|
55
|
+
it 'should work' do
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
54
60
|
describe 'test attribute "id"' do
|
55
61
|
it 'should work' do
|
56
62
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
@@ -51,6 +51,12 @@ describe PulpRpmClient::RpmPackageLangpacksResponse do
|
|
51
51
|
end
|
52
52
|
end
|
53
53
|
|
54
|
+
describe 'test attribute "pulp_labels"' do
|
55
|
+
it 'should work' do
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
54
60
|
describe 'test attribute "matches"' do
|
55
61
|
it 'should work' do
|
56
62
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
@@ -87,6 +87,12 @@ describe PulpRpmClient::RpmPackageResponse do
|
|
87
87
|
end
|
88
88
|
end
|
89
89
|
|
90
|
+
describe 'test attribute "pulp_labels"' do
|
91
|
+
it 'should work' do
|
92
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
90
96
|
describe 'test attribute "artifact"' do
|
91
97
|
it 'should work' do
|
92
98
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
@@ -87,6 +87,12 @@ describe PulpRpmClient::RpmRepoMetadataFileResponse do
|
|
87
87
|
end
|
88
88
|
end
|
89
89
|
|
90
|
+
describe 'test attribute "pulp_labels"' do
|
91
|
+
it 'should work' do
|
92
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
90
96
|
describe 'test attribute "artifact"' do
|
91
97
|
it 'should work' do
|
92
98
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
@@ -111,4 +111,10 @@ describe PulpRpmClient::RpmRpmPublicationResponse do
|
|
111
111
|
end
|
112
112
|
end
|
113
113
|
|
114
|
+
describe 'test attribute "layout"' do
|
115
|
+
it 'should work' do
|
116
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
117
|
+
end
|
118
|
+
end
|
119
|
+
|
114
120
|
end
|
@@ -171,4 +171,10 @@ describe PulpRpmClient::RpmRpmRepositoryResponse do
|
|
171
171
|
end
|
172
172
|
end
|
173
173
|
|
174
|
+
describe 'test attribute "layout"' do
|
175
|
+
it 'should work' do
|
176
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
177
|
+
end
|
178
|
+
end
|
179
|
+
|
174
180
|
end
|
@@ -129,4 +129,10 @@ describe PulpRpmClient::RpmRpmRepository do
|
|
129
129
|
end
|
130
130
|
end
|
131
131
|
|
132
|
+
describe 'test attribute "layout"' do
|
133
|
+
it 'should work' do
|
134
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
135
|
+
end
|
136
|
+
end
|
137
|
+
|
132
138
|
end
|
@@ -51,6 +51,12 @@ describe PulpRpmClient::RpmUpdateRecordResponse do
|
|
51
51
|
end
|
52
52
|
end
|
53
53
|
|
54
|
+
describe 'test attribute "pulp_labels"' do
|
55
|
+
it 'should work' do
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
54
60
|
describe 'test attribute "id"' do
|
55
61
|
it 'should work' do
|
56
62
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|