pulp_rpm_client 3.26.5 → 3.27.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 +7 -5
- data/docs/AcsRpmApi.md +3 -5
- data/docs/ArtifactResponse.md +0 -2
- data/docs/ContentAdvisoriesApi.md +10 -14
- data/docs/ContentDistributionTreesApi.md +9 -11
- data/docs/ContentModulemdDefaultsApi.md +9 -11
- data/docs/ContentModulemdObsoletesApi.md +9 -11
- data/docs/ContentModulemdsApi.md +9 -11
- data/docs/ContentPackagecategoriesApi.md +9 -11
- data/docs/ContentPackageenvironmentsApi.md +9 -11
- data/docs/ContentPackagegroupsApi.md +9 -11
- data/docs/ContentPackagelangpacksApi.md +9 -11
- data/docs/ContentPackagesApi.md +11 -15
- data/docs/ContentRepoMetadataFilesApi.md +9 -11
- data/docs/DistributionsRpmApi.md +3 -5
- data/docs/PatchedrpmRpmRepository.md +4 -0
- data/docs/PrunePackages.md +21 -0
- data/docs/PublicationsRpmApi.md +11 -13
- data/docs/RemotesRpmApi.md +3 -5
- data/docs/RemotesUlnApi.md +3 -5
- data/docs/RepositoriesRpmApi.md +7 -9
- data/docs/RepositoriesRpmVersionsApi.md +7 -9
- data/docs/RepositoryVersionResponse.md +0 -2
- data/docs/RpmCompsApi.md +1 -1
- data/docs/RpmCopyApi.md +1 -1
- data/docs/RpmModulemdDefaultsResponse.md +0 -2
- data/docs/RpmModulemdObsoleteResponse.md +0 -2
- data/docs/RpmModulemdResponse.md +0 -2
- data/docs/RpmPackage.md +1 -3
- data/docs/RpmPackageCategoryResponse.md +0 -2
- data/docs/RpmPackageEnvironmentResponse.md +0 -2
- data/docs/RpmPackageGroupResponse.md +0 -2
- data/docs/RpmPackageLangpacksResponse.md +0 -2
- data/docs/RpmPackageResponse.md +0 -2
- data/docs/RpmPruneApi.md +61 -0
- data/docs/RpmRepoMetadataFileResponse.md +0 -2
- data/docs/RpmRpmAlternateContentSourceResponse.md +0 -2
- data/docs/RpmRpmDistributionResponse.md +0 -4
- data/docs/RpmRpmPublicationResponse.md +0 -2
- data/docs/RpmRpmRemoteResponse.md +0 -2
- data/docs/RpmRpmRepository.md +4 -0
- data/docs/RpmRpmRepositoryResponse.md +4 -2
- data/docs/RpmUlnRemoteResponse.md +0 -2
- data/docs/RpmUpdateRecord.md +1 -3
- data/docs/RpmUpdateRecordResponse.md +0 -2
- data/lib/pulp_rpm_client/api/acs_rpm_api.rb +2 -5
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +8 -18
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +8 -11
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +8 -11
- data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +8 -11
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +8 -11
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +8 -11
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +8 -11
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +8 -11
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +8 -11
- data/lib/pulp_rpm_client/api/content_packages_api.rb +10 -20
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +8 -11
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +2 -5
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +11 -14
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +2 -5
- data/lib/pulp_rpm_client/api/remotes_uln_api.rb +2 -5
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +6 -9
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +7 -10
- data/lib/pulp_rpm_client/api/rpm_prune_api.rb +84 -0
- data/lib/pulp_rpm_client/configuration.rb +2 -2
- data/lib/pulp_rpm_client/models/artifact_response.rb +2 -12
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +39 -1
- data/lib/pulp_rpm_client/models/prune_packages.rb +254 -0
- data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +1 -1
- data/lib/pulp_rpm_client/models/repository_version_response.rb +2 -12
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_modulemd_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_package.rb +4 -29
- data/lib/pulp_rpm_client/models/rpm_package_category_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_package_environment_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_package_group_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_package_langpacks_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_package_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_repo_metadata_file_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_rpm_alternate_content_source_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution_response.rb +1 -21
- data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +39 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +39 -11
- data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_update_record.rb +4 -29
- data/lib/pulp_rpm_client/models/rpm_update_record_response.rb +1 -11
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/lib/pulp_rpm_client.rb +2 -0
- data/spec/api/acs_rpm_api_spec.rb +1 -2
- data/spec/api/content_advisories_api_spec.rb +4 -6
- data/spec/api/content_distribution_trees_api_spec.rb +4 -5
- data/spec/api/content_modulemd_defaults_api_spec.rb +4 -5
- data/spec/api/content_modulemd_obsoletes_api_spec.rb +4 -5
- data/spec/api/content_modulemds_api_spec.rb +4 -5
- data/spec/api/content_packagecategories_api_spec.rb +4 -5
- data/spec/api/content_packageenvironments_api_spec.rb +4 -5
- data/spec/api/content_packagegroups_api_spec.rb +4 -5
- data/spec/api/content_packagelangpacks_api_spec.rb +4 -5
- data/spec/api/content_packages_api_spec.rb +5 -7
- data/spec/api/content_repo_metadata_files_api_spec.rb +4 -5
- data/spec/api/distributions_rpm_api_spec.rb +1 -2
- data/spec/api/publications_rpm_api_spec.rb +5 -6
- data/spec/api/remotes_rpm_api_spec.rb +1 -2
- data/spec/api/remotes_uln_api_spec.rb +1 -2
- data/spec/api/repositories_rpm_api_spec.rb +3 -4
- data/spec/api/repositories_rpm_versions_api_spec.rb +3 -4
- data/spec/api/rpm_prune_api_spec.rb +46 -0
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/artifact_response_spec.rb +0 -6
- data/spec/models/patchedrpm_rpm_repository_spec.rb +12 -0
- data/spec/models/prune_packages_spec.rb +53 -0
- data/spec/models/repository_version_response_spec.rb +0 -6
- data/spec/models/rpm_modulemd_defaults_response_spec.rb +0 -6
- data/spec/models/rpm_modulemd_obsolete_response_spec.rb +0 -6
- data/spec/models/rpm_modulemd_response_spec.rb +0 -6
- data/spec/models/rpm_package_category_response_spec.rb +0 -6
- data/spec/models/rpm_package_environment_response_spec.rb +0 -6
- data/spec/models/rpm_package_group_response_spec.rb +0 -6
- data/spec/models/rpm_package_langpacks_response_spec.rb +0 -6
- data/spec/models/rpm_package_response_spec.rb +0 -6
- data/spec/models/rpm_package_spec.rb +0 -6
- data/spec/models/rpm_repo_metadata_file_response_spec.rb +0 -6
- data/spec/models/rpm_rpm_alternate_content_source_response_spec.rb +0 -6
- data/spec/models/rpm_rpm_distribution_response_spec.rb +0 -12
- data/spec/models/rpm_rpm_publication_response_spec.rb +0 -6
- data/spec/models/rpm_rpm_remote_response_spec.rb +0 -6
- data/spec/models/rpm_rpm_repository_response_spec.rb +12 -6
- data/spec/models/rpm_rpm_repository_spec.rb +12 -0
- data/spec/models/rpm_uln_remote_response_spec.rb +0 -6
- data/spec/models/rpm_update_record_response_spec.rb +0 -6
- data/spec/models/rpm_update_record_spec.rb +0 -6
- metadata +105 -97
@@ -89,11 +89,10 @@ describe 'DistributionsRpmApi' do
|
|
89
89
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
90
90
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
91
91
|
# @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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
92
|
-
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
93
92
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
94
93
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
95
94
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
96
|
-
# @option opts [String] :q
|
95
|
+
# @option opts [String] :q
|
97
96
|
# @option opts [String] :repository Filter results where repository matches value
|
98
97
|
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
99
98
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
@@ -73,12 +73,11 @@ describe 'PublicationsRpmApi' do
|
|
73
73
|
# List rpm publications
|
74
74
|
# ViewSet for Rpm Publications.
|
75
75
|
# @param [Hash] opts the optional parameters
|
76
|
-
# @option opts [String] :content Content Unit referenced by HREF
|
77
|
-
# @option opts [
|
76
|
+
# @option opts [String] :content Content Unit referenced by HREF
|
77
|
+
# @option opts [String] :content__in Content Unit referenced by HREF
|
78
78
|
# @option opts [Integer] :limit Number of results to return per page.
|
79
79
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
80
80
|
# @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) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
81
|
-
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
82
81
|
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
83
82
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
84
83
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
@@ -87,9 +86,9 @@ describe 'PublicationsRpmApi' do
|
|
87
86
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
88
87
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
89
88
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
90
|
-
# @option opts [String] :q
|
91
|
-
# @option opts [String] :repository Repository referenced by HREF
|
92
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
89
|
+
# @option opts [String] :q
|
90
|
+
# @option opts [String] :repository Repository referenced by HREF
|
91
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
93
92
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
94
93
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
95
94
|
# @return [PaginatedrpmRpmPublicationResponseList]
|
@@ -85,7 +85,6 @@ describe 'RemotesRpmApi' do
|
|
85
85
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
86
86
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
87
87
|
# @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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
88
|
-
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
89
88
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
90
89
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
91
90
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
@@ -95,7 +94,7 @@ describe 'RemotesRpmApi' do
|
|
95
94
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
96
95
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
97
96
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
98
|
-
# @option opts [String] :q
|
97
|
+
# @option opts [String] :q
|
99
98
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
100
99
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
101
100
|
# @return [PaginatedrpmRpmRemoteResponseList]
|
@@ -85,7 +85,6 @@ describe 'RemotesUlnApi' do
|
|
85
85
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
86
86
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
87
87
|
# @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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
88
|
-
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
89
88
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
90
89
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
91
90
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
@@ -95,7 +94,7 @@ describe 'RemotesUlnApi' do
|
|
95
94
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
96
95
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
97
96
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
98
|
-
# @option opts [String] :q
|
97
|
+
# @option opts [String] :q
|
99
98
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
100
99
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
101
100
|
# @return [PaginatedrpmUlnRemoteResponseList]
|
@@ -73,7 +73,7 @@ describe 'RepositoriesRpmApi' do
|
|
73
73
|
# List rpm repositorys
|
74
74
|
# A ViewSet for RpmRepository.
|
75
75
|
# @param [Hash] opts the optional parameters
|
76
|
-
# @option opts [String] :latest_with_content Content Unit referenced by HREF
|
76
|
+
# @option opts [String] :latest_with_content Content Unit referenced by HREF
|
77
77
|
# @option opts [Integer] :limit Number of results to return per page.
|
78
78
|
# @option opts [String] :name Filter results where name matches value
|
79
79
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -86,11 +86,10 @@ describe 'RepositoriesRpmApi' do
|
|
86
86
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
87
87
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
88
88
|
# @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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
89
|
-
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
90
89
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
91
90
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
92
91
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
93
|
-
# @option opts [String] :q
|
92
|
+
# @option opts [String] :q
|
94
93
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
95
94
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
96
95
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
@@ -100,7 +99,7 @@ describe 'RepositoriesRpmApi' do
|
|
100
99
|
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
101
100
|
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
102
101
|
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
103
|
-
# @option opts [String] :with_content Content Unit referenced by HREF
|
102
|
+
# @option opts [String] :with_content Content Unit referenced by HREF
|
104
103
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
105
104
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
106
105
|
# @return [PaginatedrpmRpmRepositoryResponseList]
|
@@ -49,8 +49,8 @@ describe 'RepositoriesRpmVersionsApi' do
|
|
49
49
|
# RpmRepositoryVersion represents a single rpm repository version.
|
50
50
|
# @param rpm_rpm_repository_href
|
51
51
|
# @param [Hash] opts the optional parameters
|
52
|
-
# @option opts [String] :content Content Unit referenced by HREF
|
53
|
-
# @option opts [
|
52
|
+
# @option opts [String] :content Content Unit referenced by HREF
|
53
|
+
# @option opts [String] :content__in Content Unit referenced by HREF
|
54
54
|
# @option opts [Integer] :limit Number of results to return per page.
|
55
55
|
# @option opts [Integer] :number Filter results where number matches value
|
56
56
|
# @option opts [Integer] :number__gt Filter results where number is greater than value
|
@@ -60,7 +60,6 @@ describe 'RepositoriesRpmVersionsApi' do
|
|
60
60
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
61
61
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
62
62
|
# @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) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
63
|
-
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
64
63
|
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
65
64
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
66
65
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
@@ -68,7 +67,7 @@ describe 'RepositoriesRpmVersionsApi' do
|
|
68
67
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
69
68
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
70
69
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
71
|
-
# @option opts [String] :q
|
70
|
+
# @option opts [String] :q
|
72
71
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
73
72
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
74
73
|
# @return [PaginatedRepositoryVersionResponseList]
|
@@ -0,0 +1,46 @@
|
|
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::RpmPruneApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'RpmPruneApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = PulpRpmClient::RpmPruneApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of RpmPruneApi' do
|
30
|
+
it 'should create an instance of RpmPruneApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(PulpRpmClient::RpmPruneApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for prune_packages
|
36
|
+
# Trigger an asynchronous old-Package-prune operation.
|
37
|
+
# @param prune_packages
|
38
|
+
# @param [Hash] opts the optional parameters
|
39
|
+
# @return [TaskGroupOperationResponse]
|
40
|
+
describe 'prune_packages test' do
|
41
|
+
it 'should work' do
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
end
|
data/spec/configuration_spec.rb
CHANGED
@@ -18,7 +18,7 @@ describe PulpRpmClient::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
|
# PulpRpmClient.configure do |c|
|
23
23
|
# c.host = uri.host
|
24
24
|
# c.base_path = uri.path
|
@@ -28,14 +28,14 @@ describe PulpRpmClient::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
|
@@ -38,12 +38,6 @@ describe 'ArtifactResponse' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "prn"' 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
41
|
describe 'test attribute "pulp_created"' do
|
48
42
|
it 'should work' do
|
49
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -74,6 +74,18 @@ describe 'PatchedrpmRpmRepository' do
|
|
74
74
|
end
|
75
75
|
end
|
76
76
|
|
77
|
+
describe 'test attribute "package_signing_service"' 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 "package_signing_fingerprint"' 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
|
+
|
77
89
|
describe 'test attribute "retain_package_versions"' do
|
78
90
|
it 'should work' do
|
79
91
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -0,0 +1,53 @@
|
|
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::PrunePackages
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'PrunePackages' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpRpmClient::PrunePackages.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of PrunePackages' do
|
31
|
+
it 'should create an instance of PrunePackages' do
|
32
|
+
expect(@instance).to be_instance_of(PulpRpmClient::PrunePackages)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "repo_hrefs"' 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 "keep_days"' 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 "dry_run"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
end
|
@@ -38,12 +38,6 @@ describe 'RepositoryVersionResponse' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "prn"' 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
41
|
describe 'test attribute "pulp_created"' do
|
48
42
|
it 'should work' do
|
49
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -38,12 +38,6 @@ describe 'RpmModulemdDefaultsResponse' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "prn"' 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
41
|
describe 'test attribute "pulp_created"' do
|
48
42
|
it 'should work' do
|
49
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -38,12 +38,6 @@ describe 'RpmModulemdObsoleteResponse' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "prn"' 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
41
|
describe 'test attribute "pulp_created"' do
|
48
42
|
it 'should work' do
|
49
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -38,12 +38,6 @@ describe 'RpmModulemdResponse' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "prn"' 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
41
|
describe 'test attribute "pulp_created"' do
|
48
42
|
it 'should work' do
|
49
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -38,12 +38,6 @@ describe 'RpmPackageCategoryResponse' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "prn"' 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
41
|
describe 'test attribute "pulp_created"' do
|
48
42
|
it 'should work' do
|
49
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -38,12 +38,6 @@ describe 'RpmPackageEnvironmentResponse' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "prn"' 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
41
|
describe 'test attribute "pulp_created"' do
|
48
42
|
it 'should work' do
|
49
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -38,12 +38,6 @@ describe 'RpmPackageGroupResponse' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "prn"' 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
41
|
describe 'test attribute "pulp_created"' do
|
48
42
|
it 'should work' do
|
49
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -38,12 +38,6 @@ describe 'RpmPackageLangpacksResponse' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "prn"' 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
41
|
describe 'test attribute "pulp_created"' do
|
48
42
|
it 'should work' do
|
49
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -38,12 +38,6 @@ describe 'RpmPackageResponse' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "prn"' 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
41
|
describe 'test attribute "pulp_created"' do
|
48
42
|
it 'should work' do
|
49
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -38,12 +38,6 @@ describe 'RpmRepoMetadataFileResponse' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "prn"' 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
41
|
describe 'test attribute "pulp_created"' do
|
48
42
|
it 'should work' do
|
49
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -38,12 +38,6 @@ describe 'RpmRpmAlternateContentSourceResponse' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "prn"' 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
41
|
describe 'test attribute "pulp_created"' do
|
48
42
|
it 'should work' do
|
49
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -38,12 +38,6 @@ describe 'RpmRpmDistributionResponse' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "prn"' 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
41
|
describe 'test attribute "pulp_created"' do
|
48
42
|
it 'should work' do
|
49
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -74,12 +68,6 @@ describe 'RpmRpmDistributionResponse' do
|
|
74
68
|
end
|
75
69
|
end
|
76
70
|
|
77
|
-
describe 'test attribute "no_content_change_since"' 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
71
|
describe 'test attribute "hidden"' do
|
84
72
|
it 'should work' do
|
85
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -38,12 +38,6 @@ describe 'RpmRpmPublicationResponse' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "prn"' 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
41
|
describe 'test attribute "pulp_created"' do
|
48
42
|
it 'should work' do
|
49
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -38,12 +38,6 @@ describe 'RpmRpmRemoteResponse' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "prn"' 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
41
|
describe 'test attribute "pulp_created"' do
|
48
42
|
it 'should work' do
|
49
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -38,12 +38,6 @@ describe 'RpmRpmRepositoryResponse' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "prn"' 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
41
|
describe 'test attribute "pulp_created"' do
|
48
42
|
it 'should work' do
|
49
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -110,6 +104,18 @@ describe 'RpmRpmRepositoryResponse' do
|
|
110
104
|
end
|
111
105
|
end
|
112
106
|
|
107
|
+
describe 'test attribute "package_signing_service"' do
|
108
|
+
it 'should work' do
|
109
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
113
|
+
describe 'test attribute "package_signing_fingerprint"' do
|
114
|
+
it 'should work' do
|
115
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
113
119
|
describe 'test attribute "retain_package_versions"' do
|
114
120
|
it 'should work' do
|
115
121
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -74,6 +74,18 @@ describe 'RpmRpmRepository' do
|
|
74
74
|
end
|
75
75
|
end
|
76
76
|
|
77
|
+
describe 'test attribute "package_signing_service"' 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 "package_signing_fingerprint"' 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
|
+
|
77
89
|
describe 'test attribute "retain_package_versions"' do
|
78
90
|
it 'should work' do
|
79
91
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -38,12 +38,6 @@ describe 'RpmUlnRemoteResponse' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "prn"' 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
41
|
describe 'test attribute "pulp_created"' do
|
48
42
|
it 'should work' do
|
49
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -38,12 +38,6 @@ describe 'RpmUpdateRecordResponse' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "prn"' 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
41
|
describe 'test attribute "pulp_created"' do
|
48
42
|
it 'should work' do
|
49
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|