pulp_rpm_client 3.19.12 → 3.19.13
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 +5 -5
- data/docs/AcsRpmApi.md +3 -7
- data/docs/ContentAdvisoriesApi.md +3 -7
- data/docs/ContentDistributionTreesApi.md +3 -7
- data/docs/ContentModulemdDefaultsApi.md +3 -7
- data/docs/ContentModulemdObsoletesApi.md +3 -7
- data/docs/ContentModulemdsApi.md +3 -7
- data/docs/ContentPackagecategoriesApi.md +3 -7
- data/docs/ContentPackageenvironmentsApi.md +3 -7
- data/docs/ContentPackagegroupsApi.md +3 -7
- data/docs/ContentPackagelangpacksApi.md +3 -7
- data/docs/ContentPackagesApi.md +5 -9
- data/docs/ContentRepoMetadataFilesApi.md +3 -7
- data/docs/DistributionsRpmApi.md +3 -11
- data/docs/PatchedrpmRpmRemote.md +1 -1
- data/docs/PatchedrpmRpmRepository.md +3 -3
- data/docs/PatchedrpmUlnRemote.md +1 -1
- data/docs/PublicationsRpmApi.md +3 -7
- data/docs/RemotesRpmApi.md +3 -7
- data/docs/RemotesUlnApi.md +3 -7
- data/docs/RepositoriesRpmApi.md +3 -23
- data/docs/RepositoriesRpmVersionsApi.md +3 -5
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/docs/RpmCompsApi.md +1 -1
- data/docs/RpmCopyApi.md +1 -1
- data/docs/RpmRepositorySyncURL.md +1 -1
- data/docs/RpmRpmPublication.md +2 -2
- data/docs/RpmRpmPublicationResponse.md +2 -2
- data/docs/RpmRpmRemote.md +1 -1
- data/docs/RpmRpmRemoteResponse.md +1 -1
- data/docs/RpmRpmRemoteResponseHiddenFields.md +2 -2
- data/docs/RpmRpmRepository.md +3 -3
- data/docs/RpmRpmRepositoryResponse.md +3 -3
- data/docs/RpmUlnRemote.md +1 -1
- data/docs/RpmUlnRemoteResponse.md +1 -1
- data/lib/pulp_rpm_client/api/acs_rpm_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_packages_api.rb +4 -10
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +2 -8
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +2 -14
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +2 -8
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +2 -8
- data/lib/pulp_rpm_client/api/remotes_uln_api.rb +2 -8
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +2 -32
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +2 -5
- data/lib/pulp_rpm_client/configuration.rb +3 -3
- data/lib/pulp_rpm_client/models/nested_role.rb +0 -19
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +1 -1
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +3 -3
- data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +1 -1
- data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +2 -2
- data/lib/pulp_rpm_client/models/rpm_repository_sync_url.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +2 -2
- data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +2 -2
- data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_remote_response_hidden_fields.rb +10 -0
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +3 -3
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +3 -3
- data/lib/pulp_rpm_client/models/rpm_uln_remote.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +1 -1
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/spec/api/acs_rpm_api_spec.rb +1 -3
- data/spec/api/content_advisories_api_spec.rb +1 -3
- data/spec/api/content_distribution_trees_api_spec.rb +1 -3
- data/spec/api/content_modulemd_defaults_api_spec.rb +1 -3
- data/spec/api/content_modulemd_obsoletes_api_spec.rb +1 -3
- data/spec/api/content_modulemds_api_spec.rb +1 -3
- data/spec/api/content_packagecategories_api_spec.rb +1 -3
- data/spec/api/content_packageenvironments_api_spec.rb +1 -3
- data/spec/api/content_packagegroups_api_spec.rb +1 -3
- data/spec/api/content_packagelangpacks_api_spec.rb +1 -3
- data/spec/api/content_packages_api_spec.rb +2 -4
- data/spec/api/content_repo_metadata_files_api_spec.rb +1 -3
- data/spec/api/distributions_rpm_api_spec.rb +1 -5
- data/spec/api/publications_rpm_api_spec.rb +1 -3
- data/spec/api/remotes_rpm_api_spec.rb +1 -3
- data/spec/api/remotes_uln_api_spec.rb +1 -3
- data/spec/api/repositories_rpm_api_spec.rb +1 -11
- data/spec/api/repositories_rpm_versions_api_spec.rb +1 -2
- data/spec/configuration_spec.rb +3 -3
- metadata +94 -94
@@ -23,7 +23,7 @@ module PulpRpmClient
|
|
23
23
|
# An optional description.
|
24
24
|
attr_accessor :description
|
25
25
|
|
26
|
-
# Retain X versions of the repository. Default is null which retains all versions.
|
26
|
+
# Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
|
27
27
|
attr_accessor :retain_repo_versions
|
28
28
|
|
29
29
|
# An optional remote to use by default when syncing.
|
@@ -38,10 +38,10 @@ module PulpRpmClient
|
|
38
38
|
# The number of versions of each package to keep in the repository; older versions will be purged. The default is '0', which will disable this feature and keep all versions of each package.
|
39
39
|
attr_accessor :retain_package_versions
|
40
40
|
|
41
|
-
# The checksum type for metadata.
|
41
|
+
# The checksum type for metadata.
|
42
42
|
attr_accessor :metadata_checksum_type
|
43
43
|
|
44
|
-
# The checksum type for packages.
|
44
|
+
# The checksum type for packages.
|
45
45
|
attr_accessor :package_checksum_type
|
46
46
|
|
47
47
|
# An option specifying whether a client should perform a GPG signature check on packages.
|
@@ -56,7 +56,7 @@ module PulpRpmClient
|
|
56
56
|
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
57
57
|
attr_accessor :max_retries
|
58
58
|
|
59
|
-
# The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
|
59
|
+
# The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
|
60
60
|
attr_accessor :policy
|
61
61
|
|
62
62
|
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
@@ -36,8 +36,8 @@ module PulpRpmClient
|
|
36
36
|
# Attribute type mapping.
|
37
37
|
def self.openapi_types
|
38
38
|
{
|
39
|
-
:'add_content_units' => :'Array<
|
40
|
-
:'remove_content_units' => :'Array<
|
39
|
+
:'add_content_units' => :'Array<AnyType>',
|
40
|
+
:'remove_content_units' => :'Array<AnyType>',
|
41
41
|
:'base_version' => :'String'
|
42
42
|
}
|
43
43
|
end
|
@@ -21,7 +21,7 @@ module PulpRpmClient
|
|
21
21
|
# DEPRECATED: If ``True``, ``sync_policy`` will default to 'mirror_complete' instead of 'additive'.
|
22
22
|
attr_accessor :mirror
|
23
23
|
|
24
|
-
# Options: 'additive', 'mirror_complete', 'mirror_content_only'. Default: 'additive'. Modifies how the sync is performed. 'mirror_complete' will clone the original metadata and create an automatic publication from it, but comes with some limitations and does not work for certain repositories. 'mirror_content_only' will change the repository contents to match the remote but the metadata will be regenerated and will not be bit-for-bit identical. 'additive' will retain the existing contents of the repository and add the contents of the repository being synced.
|
24
|
+
# Options: 'additive', 'mirror_complete', 'mirror_content_only'. Default: 'additive'. Modifies how the sync is performed. 'mirror_complete' will clone the original metadata and create an automatic publication from it, but comes with some limitations and does not work for certain repositories. 'mirror_content_only' will change the repository contents to match the remote but the metadata will be regenerated and will not be bit-for-bit identical. 'additive' will retain the existing contents of the repository and add the contents of the repository being synced.
|
25
25
|
attr_accessor :sync_policy
|
26
26
|
|
27
27
|
# List of content types to skip during sync.
|
@@ -20,10 +20,10 @@ module PulpRpmClient
|
|
20
20
|
# A URI of the repository to be published.
|
21
21
|
attr_accessor :repository
|
22
22
|
|
23
|
-
# The checksum type for metadata.
|
23
|
+
# The checksum type for metadata.
|
24
24
|
attr_accessor :metadata_checksum_type
|
25
25
|
|
26
|
-
# The checksum type for packages.
|
26
|
+
# The checksum type for packages.
|
27
27
|
attr_accessor :package_checksum_type
|
28
28
|
|
29
29
|
# An option specifying whether a client should perform a GPG signature check on packages.
|
@@ -25,10 +25,10 @@ module PulpRpmClient
|
|
25
25
|
# A URI of the repository to be published.
|
26
26
|
attr_accessor :repository
|
27
27
|
|
28
|
-
# The checksum type for metadata.
|
28
|
+
# The checksum type for metadata.
|
29
29
|
attr_accessor :metadata_checksum_type
|
30
30
|
|
31
|
-
# The checksum type for packages.
|
31
|
+
# The checksum type for packages.
|
32
32
|
attr_accessor :package_checksum_type
|
33
33
|
|
34
34
|
# An option specifying whether a client should perform a GPG signature check on packages.
|
@@ -56,7 +56,7 @@ module PulpRpmClient
|
|
56
56
|
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
57
57
|
attr_accessor :max_retries
|
58
58
|
|
59
|
-
# The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
|
59
|
+
# The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
|
60
60
|
attr_accessor :policy
|
61
61
|
|
62
62
|
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
@@ -49,7 +49,7 @@ module PulpRpmClient
|
|
49
49
|
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
50
50
|
attr_accessor :max_retries
|
51
51
|
|
52
|
-
# The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
|
52
|
+
# The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
|
53
53
|
attr_accessor :policy
|
54
54
|
|
55
55
|
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
@@ -68,12 +68,22 @@ module PulpRpmClient
|
|
68
68
|
# @return Array for valid properties with the reasons
|
69
69
|
def list_invalid_properties
|
70
70
|
invalid_properties = Array.new
|
71
|
+
if @name.nil?
|
72
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
73
|
+
end
|
74
|
+
|
75
|
+
if @is_set.nil?
|
76
|
+
invalid_properties.push('invalid value for "is_set", is_set cannot be nil.')
|
77
|
+
end
|
78
|
+
|
71
79
|
invalid_properties
|
72
80
|
end
|
73
81
|
|
74
82
|
# Check to see if the all the properties in the model are valid
|
75
83
|
# @return true if the model is valid
|
76
84
|
def valid?
|
85
|
+
return false if @name.nil?
|
86
|
+
return false if @is_set.nil?
|
77
87
|
true
|
78
88
|
end
|
79
89
|
|
@@ -23,7 +23,7 @@ module PulpRpmClient
|
|
23
23
|
# An optional description.
|
24
24
|
attr_accessor :description
|
25
25
|
|
26
|
-
# Retain X versions of the repository. Default is null which retains all versions.
|
26
|
+
# Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
|
27
27
|
attr_accessor :retain_repo_versions
|
28
28
|
|
29
29
|
# An optional remote to use by default when syncing.
|
@@ -38,10 +38,10 @@ module PulpRpmClient
|
|
38
38
|
# The number of versions of each package to keep in the repository; older versions will be purged. The default is '0', which will disable this feature and keep all versions of each package.
|
39
39
|
attr_accessor :retain_package_versions
|
40
40
|
|
41
|
-
# The checksum type for metadata.
|
41
|
+
# The checksum type for metadata.
|
42
42
|
attr_accessor :metadata_checksum_type
|
43
43
|
|
44
|
-
# The checksum type for packages.
|
44
|
+
# The checksum type for packages.
|
45
45
|
attr_accessor :package_checksum_type
|
46
46
|
|
47
47
|
# An option specifying whether a client should perform a GPG signature check on packages.
|
@@ -32,7 +32,7 @@ module PulpRpmClient
|
|
32
32
|
# An optional description.
|
33
33
|
attr_accessor :description
|
34
34
|
|
35
|
-
# Retain X versions of the repository. Default is null which retains all versions.
|
35
|
+
# Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
|
36
36
|
attr_accessor :retain_repo_versions
|
37
37
|
|
38
38
|
# An optional remote to use by default when syncing.
|
@@ -47,10 +47,10 @@ module PulpRpmClient
|
|
47
47
|
# The number of versions of each package to keep in the repository; older versions will be purged. The default is '0', which will disable this feature and keep all versions of each package.
|
48
48
|
attr_accessor :retain_package_versions
|
49
49
|
|
50
|
-
# The checksum type for metadata.
|
50
|
+
# The checksum type for metadata.
|
51
51
|
attr_accessor :metadata_checksum_type
|
52
52
|
|
53
|
-
# The checksum type for packages.
|
53
|
+
# The checksum type for packages.
|
54
54
|
attr_accessor :package_checksum_type
|
55
55
|
|
56
56
|
# An option specifying whether a client should perform a GPG signature check on packages.
|
@@ -56,7 +56,7 @@ module PulpRpmClient
|
|
56
56
|
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
57
57
|
attr_accessor :max_retries
|
58
58
|
|
59
|
-
# The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
|
59
|
+
# The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
|
60
60
|
attr_accessor :policy
|
61
61
|
|
62
62
|
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
@@ -49,7 +49,7 @@ module PulpRpmClient
|
|
49
49
|
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
50
50
|
attr_accessor :max_retries
|
51
51
|
|
52
|
-
# The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
|
52
|
+
# The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
|
53
53
|
attr_accessor :policy
|
54
54
|
|
55
55
|
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
@@ -79,9 +79,7 @@ describe 'AcsRpmApi' do
|
|
79
79
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
80
80
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
81
81
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
82
|
-
# @option opts [Array<String>] :ordering Ordering
|
83
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
84
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
82
|
+
# @option opts [Array<String>] :ordering Ordering
|
85
83
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
86
84
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
87
85
|
# @return [PaginatedrpmRpmAlternateContentSourceResponseList]
|
@@ -53,9 +53,7 @@ describe 'ContentAdvisoriesApi' do
|
|
53
53
|
# @option opts [Array<String>] :id__in Filter results where id is in a comma-separated list of values
|
54
54
|
# @option opts [Integer] :limit Number of results to return per page.
|
55
55
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
56
|
-
# @option opts [Array<String>] :ordering Ordering
|
57
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
58
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
56
|
+
# @option opts [Array<String>] :ordering Ordering
|
59
57
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
60
58
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
61
59
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -38,9 +38,7 @@ describe 'ContentDistributionTreesApi' do
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @option opts [Integer] :limit Number of results to return per page.
|
40
40
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
41
|
-
# @option opts [Array<String>] :ordering Ordering
|
42
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
43
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
41
|
+
# @option opts [Array<String>] :ordering Ordering
|
44
42
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
45
43
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
46
44
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -52,9 +52,7 @@ describe 'ContentModulemdDefaultsApi' do
|
|
52
52
|
# @option opts [String] :_module Filter results where module matches value
|
53
53
|
# @option opts [Array<String>] :module__in Filter results where module is in a comma-separated list of values
|
54
54
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
55
|
-
# @option opts [Array<String>] :ordering Ordering
|
56
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
57
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
55
|
+
# @option opts [Array<String>] :ordering Ordering
|
58
56
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
59
57
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
60
58
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -50,9 +50,7 @@ describe 'ContentModulemdObsoletesApi' do
|
|
50
50
|
# @param [Hash] opts the optional parameters
|
51
51
|
# @option opts [Integer] :limit Number of results to return per page.
|
52
52
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
53
|
-
# @option opts [Array<String>] :ordering Ordering
|
54
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
55
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
53
|
+
# @option opts [Array<String>] :ordering Ordering
|
56
54
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
57
55
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
58
56
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -56,9 +56,7 @@ 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
|
60
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
61
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
59
|
+
# @option opts [Array<String>] :ordering Ordering
|
62
60
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
63
61
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
64
62
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -38,9 +38,7 @@ describe 'ContentPackagecategoriesApi' do
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @option opts [Integer] :limit Number of results to return per page.
|
40
40
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
41
|
-
# @option opts [Array<String>] :ordering Ordering
|
42
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
43
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
41
|
+
# @option opts [Array<String>] :ordering Ordering
|
44
42
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
45
43
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
46
44
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -38,9 +38,7 @@ describe 'ContentPackageenvironmentsApi' do
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @option opts [Integer] :limit Number of results to return per page.
|
40
40
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
41
|
-
# @option opts [Array<String>] :ordering Ordering
|
42
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
43
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
41
|
+
# @option opts [Array<String>] :ordering Ordering
|
44
42
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
45
43
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
46
44
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -38,9 +38,7 @@ describe 'ContentPackagegroupsApi' do
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @option opts [Integer] :limit Number of results to return per page.
|
40
40
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
41
|
-
# @option opts [Array<String>] :ordering Ordering
|
42
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
43
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
41
|
+
# @option opts [Array<String>] :ordering Ordering
|
44
42
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
45
43
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
46
44
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -38,9 +38,7 @@ describe 'ContentPackagelangpacksApi' do
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @option opts [Integer] :limit Number of results to return per page.
|
40
40
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
41
|
-
# @option opts [Array<String>] :ordering Ordering
|
42
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
43
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
41
|
+
# @option opts [Array<String>] :ordering Ordering
|
44
42
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
45
43
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
46
44
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -55,7 +55,7 @@ describe 'ContentPackagesApi' do
|
|
55
55
|
# @option opts [String] :arch Filter results where arch matches value
|
56
56
|
# @option opts [Array<String>] :arch__in Filter results where arch is in a comma-separated list of values
|
57
57
|
# @option opts [String] :arch__ne Filter results where arch not equal to value
|
58
|
-
# @option opts [String] :checksum_type Filter results where checksum_type matches value
|
58
|
+
# @option opts [String] :checksum_type Filter results where checksum_type matches value
|
59
59
|
# @option opts [Array<String>] :checksum_type__in Filter results where checksum_type is in a comma-separated list of values
|
60
60
|
# @option opts [String] :checksum_type__ne Filter results where checksum_type not equal to value
|
61
61
|
# @option opts [String] :epoch Filter results where epoch matches value
|
@@ -66,11 +66,9 @@ describe 'ContentPackagesApi' do
|
|
66
66
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
67
67
|
# @option opts [String] :name__ne Filter results where name not equal to value
|
68
68
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
69
|
-
# @option opts [Array<String>] :ordering Ordering
|
69
|
+
# @option opts [Array<String>] :ordering Ordering
|
70
70
|
# @option opts [String] :pkg_id Filter results where pkgId matches value
|
71
71
|
# @option opts [Array<String>] :pkg_id__in Filter results where pkgId is in a comma-separated list of values
|
72
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
73
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
74
72
|
# @option opts [String] :release Filter results where release matches value
|
75
73
|
# @option opts [Array<String>] :release__in Filter results where release is in a comma-separated list of values
|
76
74
|
# @option opts [String] :release__ne Filter results where release not equal to value
|
@@ -38,9 +38,7 @@ describe 'ContentRepoMetadataFilesApi' do
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @option opts [Integer] :limit Number of results to return per page.
|
40
40
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
41
|
-
# @option opts [Array<String>] :ordering Ordering
|
42
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
43
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
41
|
+
# @option opts [Array<String>] :ordering Ordering
|
44
42
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
45
43
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
46
44
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -83,12 +83,8 @@ describe 'DistributionsRpmApi' do
|
|
83
83
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
84
84
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
85
85
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
86
|
-
# @option opts [Array<String>] :ordering Ordering
|
87
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
88
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
86
|
+
# @option opts [Array<String>] :ordering Ordering
|
89
87
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
90
|
-
# @option opts [String] :repository Filter results where repository matches value
|
91
|
-
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
92
88
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
93
89
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
94
90
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
@@ -76,15 +76,13 @@ describe 'PublicationsRpmApi' do
|
|
76
76
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
77
77
|
# @option opts [Integer] :limit Number of results to return per page.
|
78
78
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
79
|
-
# @option opts [Array<String>] :ordering Ordering
|
79
|
+
# @option opts [Array<String>] :ordering Ordering
|
80
80
|
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
81
81
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
82
82
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
83
83
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
84
84
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
85
85
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
86
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
87
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
88
86
|
# @option opts [String] :repository Repository referenced by HREF
|
89
87
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
90
88
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
@@ -79,9 +79,7 @@ describe 'RemotesRpmApi' do
|
|
79
79
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
80
80
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
81
81
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
82
|
-
# @option opts [Array<String>] :ordering Ordering
|
83
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
84
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
82
|
+
# @option opts [Array<String>] :ordering Ordering
|
85
83
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
86
84
|
# @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
|
87
85
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
@@ -79,9 +79,7 @@ describe 'RemotesUlnApi' do
|
|
79
79
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
80
80
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
81
81
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
82
|
-
# @option opts [Array<String>] :ordering Ordering
|
83
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
84
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
82
|
+
# @option opts [Array<String>] :ordering Ordering
|
85
83
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
86
84
|
# @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
|
87
85
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
@@ -79,19 +79,9 @@ describe 'RepositoriesRpmApi' do
|
|
79
79
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
80
80
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
81
81
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
82
|
-
# @option opts [Array<String>] :ordering Ordering
|
83
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
84
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
82
|
+
# @option opts [Array<String>] :ordering Ordering
|
85
83
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
86
84
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
87
|
-
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
88
|
-
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
89
|
-
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
90
|
-
# @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
|
91
|
-
# @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
|
92
|
-
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
93
|
-
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
94
|
-
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
95
85
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
96
86
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
97
87
|
# @return [PaginatedrpmRpmRepositoryResponseList]
|
@@ -59,14 +59,13 @@ describe 'RepositoriesRpmVersionsApi' do
|
|
59
59
|
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
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
|
-
# @option opts [Array<String>] :ordering Ordering
|
62
|
+
# @option opts [Array<String>] :ordering Ordering
|
63
63
|
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
64
64
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
65
65
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
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 [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
70
69
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
71
70
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
72
71
|
# @return [PaginatedRepositoryVersionResponseList]
|
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("
|
21
|
+
# uri = URI.parse("http://localhost:24817")
|
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("
|
31
|
+
# expect(config.base_url).to eq("http://localhost:24817")
|
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("
|
38
|
+
# expect(config.base_url).to eq("http://localhost:24817")
|
39
39
|
end
|
40
40
|
end
|
41
41
|
end
|