pulp_rpm_client 3.13.3 → 3.14.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +6 -6
  3. data/docs/ContentAdvisoriesApi.md +1 -1
  4. data/docs/ContentDistributionTreesApi.md +1 -1
  5. data/docs/ContentModulemdDefaultsApi.md +1 -1
  6. data/docs/ContentModulemdsApi.md +1 -1
  7. data/docs/ContentPackagecategoriesApi.md +1 -1
  8. data/docs/ContentPackageenvironmentsApi.md +1 -1
  9. data/docs/ContentPackagegroupsApi.md +1 -1
  10. data/docs/ContentPackagelangpacksApi.md +1 -1
  11. data/docs/ContentPackagesApi.md +1 -1
  12. data/docs/ContentRepoMetadataFilesApi.md +1 -1
  13. data/docs/DistributionsRpmApi.md +1 -1
  14. data/docs/PatchedrpmRpmRemote.md +7 -5
  15. data/docs/PatchedrpmRpmRepository.md +2 -2
  16. data/docs/PatchedrpmUlnRemote.md +7 -5
  17. data/docs/PublicationsRpmApi.md +1 -1
  18. data/docs/RemotesRpmApi.md +1 -1
  19. data/docs/RemotesUlnApi.md +1 -1
  20. data/docs/RepositoriesRpmApi.md +1 -1
  21. data/docs/RepositoriesRpmVersionsApi.md +1 -1
  22. data/docs/RpmCopyApi.md +1 -1
  23. data/docs/RpmRepositorySyncURL.md +3 -1
  24. data/docs/RpmRpmRemote.md +7 -5
  25. data/docs/RpmRpmRemoteResponse.md +7 -5
  26. data/docs/RpmRpmRepository.md +2 -2
  27. data/docs/RpmRpmRepositoryResponse.md +2 -2
  28. data/docs/RpmUlnRemote.md +7 -5
  29. data/docs/RpmUlnRemoteResponse.md +7 -5
  30. data/docs/{NullEnum.md → SyncPolicyEnum.md} +2 -2
  31. data/lib/pulp_rpm_client/configuration.rb +2 -2
  32. data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +18 -6
  33. data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +2 -2
  34. data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +18 -6
  35. data/lib/pulp_rpm_client/models/rpm_repository_sync_url.rb +14 -4
  36. data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +18 -6
  37. data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +18 -6
  38. data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +2 -2
  39. data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +2 -2
  40. data/lib/pulp_rpm_client/models/rpm_uln_remote.rb +18 -6
  41. data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +18 -6
  42. data/lib/pulp_rpm_client/models/{null_enum.rb → sync_policy_enum.rb} +6 -4
  43. data/lib/pulp_rpm_client/version.rb +1 -1
  44. data/lib/pulp_rpm_client.rb +1 -1
  45. data/pulp_rpm_client.gemspec +1 -1
  46. data/spec/configuration_spec.rb +3 -3
  47. data/spec/models/patchedrpm_rpm_remote_spec.rb +6 -0
  48. data/spec/models/patchedrpm_uln_remote_spec.rb +6 -0
  49. data/spec/models/rpm_repository_sync_url_spec.rb +6 -0
  50. data/spec/models/rpm_rpm_remote_response_spec.rb +6 -0
  51. data/spec/models/rpm_rpm_remote_spec.rb +6 -0
  52. data/spec/models/rpm_uln_remote_response_spec.rb +6 -0
  53. data/spec/models/rpm_uln_remote_spec.rb +6 -0
  54. data/spec/models/{null_enum_spec.rb → sync_policy_enum_spec.rb} +6 -6
  55. metadata +95 -88
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: c566f5300c221281b17c257d489550ec87074f0e6bd70476ae08e04948e35c61
4
- data.tar.gz: a2d7c4a03c60eb1ceed49caee28fe28ffcd26f6620550edb646fb8c888a03303
2
+ SHA1:
3
+ metadata.gz: daf185bd45d3e93a4078b9f7f812eaa3c809c052
4
+ data.tar.gz: 4b0ccf6d334a66e9e10e84fa5c1d25196229f89d
5
5
  SHA512:
6
- metadata.gz: 92e7334d5e283dc17230c269e671c1b6c6164d529dbe1f582dd79a7c6714472c8f284205958193d4fd0070b7d9c0916309d1e87c1abd224d3429d1772c445b36
7
- data.tar.gz: 16f15bb04766e3fcb951004fdb4e25a35726fe6b30c49e87a105d049f309a3f794c3ade3050d205a7a9a3147f6422841ee9d6986462e2824b348734c02cd3898
6
+ metadata.gz: 1c04a2653df03ba7cac0f79f5ac909223265a619e769c33514e95854c16b1ca25e371282092d855ec60727932e7d6d6302a773bbf92c835ec3a2fa6c1825d871
7
+ data.tar.gz: f961a9cefd4c47fa9551a1a49844a5f3a431f3560622802cf7b72dbefbe1dbbc5a90496b7fcbc45e48d660d16f58e808c732a9bc8be56ceb0b2f43e5b281108a
data/README.md CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: v3
10
- - Package version: 3.13.3
10
+ - Package version: 3.14.2.1
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
13
13
 
@@ -24,16 +24,16 @@ gem build pulp_rpm_client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./pulp_rpm_client-3.13.3.gem
27
+ gem install ./pulp_rpm_client-3.14.2.1.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_rpm_client-3.13.3.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_rpm_client-3.14.2.1.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'pulp_rpm_client', '~> 3.13.3'
36
+ gem 'pulp_rpm_client', '~> 3.14.2.1'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -82,7 +82,7 @@ end
82
82
 
83
83
  ## Documentation for API Endpoints
84
84
 
85
- All URIs are relative to *http://pulp*
85
+ All URIs are relative to *http://localhost:24817*
86
86
 
87
87
  Class | Method | HTTP request | Description
88
88
  ------------ | ------------- | ------------- | -------------
@@ -158,7 +158,6 @@ Class | Method | HTTP request | Description
158
158
  - [PulpRpmClient::Copy](docs/Copy.md)
159
159
  - [PulpRpmClient::ImageResponse](docs/ImageResponse.md)
160
160
  - [PulpRpmClient::MetadataChecksumTypeEnum](docs/MetadataChecksumTypeEnum.md)
161
- - [PulpRpmClient::NullEnum](docs/NullEnum.md)
162
161
  - [PulpRpmClient::PackageChecksumTypeEnum](docs/PackageChecksumTypeEnum.md)
163
162
  - [PulpRpmClient::PaginatedRepositoryVersionResponseList](docs/PaginatedRepositoryVersionResponseList.md)
164
163
  - [PulpRpmClient::PaginatedrpmDistributionTreeResponseList](docs/PaginatedrpmDistributionTreeResponseList.md)
@@ -212,6 +211,7 @@ Class | Method | HTTP request | Description
212
211
  - [PulpRpmClient::RpmUpdateRecord](docs/RpmUpdateRecord.md)
213
212
  - [PulpRpmClient::RpmUpdateRecordResponse](docs/RpmUpdateRecordResponse.md)
214
213
  - [PulpRpmClient::SkipTypesEnum](docs/SkipTypesEnum.md)
214
+ - [PulpRpmClient::SyncPolicyEnum](docs/SyncPolicyEnum.md)
215
215
  - [PulpRpmClient::VariantResponse](docs/VariantResponse.md)
216
216
 
217
217
 
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::ContentAdvisoriesApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::ContentDistributionTreesApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::ContentModulemdDefaultsApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::ContentModulemdsApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::ContentPackagecategoriesApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::ContentPackageenvironmentsApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::ContentPackagegroupsApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::ContentPackagelangpacksApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::ContentPackagesApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::ContentRepoMetadataFilesApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::DistributionsRpmApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -16,12 +16,13 @@ Name | Type | Description | Notes
16
16
  **username** | **String** | The username to be used for authentication when syncing. | [optional]
17
17
  **password** | **String** | The password to be used for authentication when syncing. | [optional]
18
18
  **pulp_labels** | [**Object**](.md) | | [optional]
19
- **download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
19
+ **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
20
+ **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
20
21
  **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. | [optional]
21
- **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
22
- **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
23
- **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
24
- **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
22
+ **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
23
+ **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
24
+ **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
25
+ **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
25
26
  **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
26
27
  **rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
27
28
  **sles_auth_token** | **String** | Authentication token for SLES repositories. | [optional]
@@ -44,6 +45,7 @@ instance = PulpRpmClient::PatchedrpmRpmRemote.new(name: null,
44
45
  password: null,
45
46
  pulp_labels: null,
46
47
  download_concurrency: null,
48
+ max_retries: null,
47
49
  policy: null,
48
50
  total_timeout: null,
49
51
  connect_timeout: null,
@@ -12,8 +12,8 @@ Name | Type | Description | Notes
12
12
  **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. | [optional] [default to false]
13
13
  **metadata_signing_service** | **String** | A reference to an associated signing service. | [optional]
14
14
  **retain_package_versions** | **Integer** | 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. | [optional]
15
- **metadata_checksum_type** | [**OneOfMetadataChecksumTypeEnumNullEnum**](OneOfMetadataChecksumTypeEnumNullEnum.md) | The checksum type for metadata. | [optional]
16
- **package_checksum_type** | [**OneOfPackageChecksumTypeEnumNullEnum**](OneOfPackageChecksumTypeEnumNullEnum.md) | The checksum type for packages. | [optional]
15
+ **metadata_checksum_type** | [**MetadataChecksumTypeEnum**](MetadataChecksumTypeEnum.md) | The checksum type for metadata. | [optional]
16
+ **package_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | The checksum type for packages. | [optional]
17
17
  **gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on packages. | [optional] [default to 0]
18
18
  **repo_gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on the repodata. | [optional] [default to 0]
19
19
  **sqlite_metadata** | **Boolean** | An option specifying whether Pulp should generate SQLite metadata. | [optional] [default to false]
@@ -16,12 +16,13 @@ Name | Type | Description | Notes
16
16
  **username** | **String** | Your ULN account username. | [optional]
17
17
  **password** | **String** | Your ULN account password. | [optional]
18
18
  **pulp_labels** | [**Object**](.md) | | [optional]
19
- **download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
19
+ **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
20
+ **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
20
21
  **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. | [optional]
21
- **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
22
- **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
23
- **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
24
- **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
22
+ **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
23
+ **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
24
+ **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
25
+ **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
25
26
  **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
26
27
  **rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
27
28
  **uln_server_base_url** | **String** | Base URL of the ULN server. If the uln_server_base_url is not provided pulp_rpm willuse the contents of the DEFAULT_ULN_SERVER_BASE_URL setting instead. | [optional]
@@ -44,6 +45,7 @@ instance = PulpRpmClient::PatchedrpmUlnRemote.new(name: null,
44
45
  password: null,
45
46
  pulp_labels: null,
46
47
  download_concurrency: null,
48
+ max_retries: null,
47
49
  policy: null,
48
50
  total_timeout: null,
49
51
  connect_timeout: null,
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::PublicationsRpmApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::RemotesRpmApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::RemotesUlnApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::RepositoriesRpmApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::RepositoriesRpmVersionsApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
data/docs/RpmCopyApi.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::RpmCopyApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -5,7 +5,8 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **remote** | **String** | A remote to sync from. This will override a remote set on repository. | [optional]
8
- **mirror** | **Boolean** | If ``True``, synchronization will remove all content that is not present in the remote repository. If ``False``, sync will be additive only. | [optional] [default to false]
8
+ **mirror** | **Boolean** | DEPRECATED: If ``True``, ``sync_policy`` will default to 'mirror_complete' instead of 'additive'. | [optional]
9
+ **sync_policy** | [**SyncPolicyEnum**](SyncPolicyEnum.md) | 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. | [optional]
9
10
  **skip_types** | [**Array<SkipTypesEnum>**](SkipTypesEnum.md) | List of content types to skip during sync. | [optional]
10
11
  **optimize** | **Boolean** | Whether or not to optimize sync. | [optional] [default to true]
11
12
 
@@ -16,6 +17,7 @@ require 'PulpRpmClient'
16
17
 
17
18
  instance = PulpRpmClient::RpmRepositorySyncURL.new(remote: null,
18
19
  mirror: null,
20
+ sync_policy: null,
19
21
  skip_types: null,
20
22
  optimize: null)
21
23
  ```
data/docs/RpmRpmRemote.md CHANGED
@@ -16,12 +16,13 @@ Name | Type | Description | Notes
16
16
  **username** | **String** | The username to be used for authentication when syncing. | [optional]
17
17
  **password** | **String** | The password to be used for authentication when syncing. | [optional]
18
18
  **pulp_labels** | [**Object**](.md) | | [optional]
19
- **download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
19
+ **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
20
+ **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
20
21
  **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. | [optional]
21
- **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
22
- **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
23
- **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
24
- **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
22
+ **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
23
+ **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
24
+ **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
25
+ **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
25
26
  **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
26
27
  **rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
27
28
  **sles_auth_token** | **String** | Authentication token for SLES repositories. | [optional]
@@ -44,6 +45,7 @@ instance = PulpRpmClient::RpmRpmRemote.new(name: null,
44
45
  password: null,
45
46
  pulp_labels: null,
46
47
  download_concurrency: null,
48
+ max_retries: null,
47
49
  policy: null,
48
50
  total_timeout: null,
49
51
  connect_timeout: null,
@@ -14,12 +14,13 @@ Name | Type | Description | Notes
14
14
  **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
15
15
  **pulp_labels** | [**Object**](.md) | | [optional]
16
16
  **pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
17
- **download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
17
+ **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
18
+ **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
18
19
  **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. | [optional]
19
- **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
20
- **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
21
- **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
22
- **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
20
+ **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
21
+ **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
22
+ **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
23
+ **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
23
24
  **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
24
25
  **rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
25
26
  **sles_auth_token** | **String** | Authentication token for SLES repositories. | [optional]
@@ -40,6 +41,7 @@ instance = PulpRpmClient::RpmRpmRemoteResponse.new(pulp_href: null,
40
41
  pulp_labels: null,
41
42
  pulp_last_updated: null,
42
43
  download_concurrency: null,
44
+ max_retries: null,
43
45
  policy: null,
44
46
  total_timeout: null,
45
47
  connect_timeout: null,
@@ -12,8 +12,8 @@ Name | Type | Description | Notes
12
12
  **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. | [optional] [default to false]
13
13
  **metadata_signing_service** | **String** | A reference to an associated signing service. | [optional]
14
14
  **retain_package_versions** | **Integer** | 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. | [optional]
15
- **metadata_checksum_type** | [**OneOfMetadataChecksumTypeEnumNullEnum**](OneOfMetadataChecksumTypeEnumNullEnum.md) | The checksum type for metadata. | [optional]
16
- **package_checksum_type** | [**OneOfPackageChecksumTypeEnumNullEnum**](OneOfPackageChecksumTypeEnumNullEnum.md) | The checksum type for packages. | [optional]
15
+ **metadata_checksum_type** | [**MetadataChecksumTypeEnum**](MetadataChecksumTypeEnum.md) | The checksum type for metadata. | [optional]
16
+ **package_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | The checksum type for packages. | [optional]
17
17
  **gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on packages. | [optional] [default to 0]
18
18
  **repo_gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on the repodata. | [optional] [default to 0]
19
19
  **sqlite_metadata** | **Boolean** | An option specifying whether Pulp should generate SQLite metadata. | [optional] [default to false]
@@ -16,8 +16,8 @@ Name | Type | Description | Notes
16
16
  **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. | [optional] [default to false]
17
17
  **metadata_signing_service** | **String** | A reference to an associated signing service. | [optional]
18
18
  **retain_package_versions** | **Integer** | 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. | [optional]
19
- **metadata_checksum_type** | [**OneOfMetadataChecksumTypeEnumNullEnum**](OneOfMetadataChecksumTypeEnumNullEnum.md) | The checksum type for metadata. | [optional]
20
- **package_checksum_type** | [**OneOfPackageChecksumTypeEnumNullEnum**](OneOfPackageChecksumTypeEnumNullEnum.md) | The checksum type for packages. | [optional]
19
+ **metadata_checksum_type** | [**MetadataChecksumTypeEnum**](MetadataChecksumTypeEnum.md) | The checksum type for metadata. | [optional]
20
+ **package_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | The checksum type for packages. | [optional]
21
21
  **gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on packages. | [optional] [default to 0]
22
22
  **repo_gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on the repodata. | [optional] [default to 0]
23
23
  **sqlite_metadata** | **Boolean** | An option specifying whether Pulp should generate SQLite metadata. | [optional] [default to false]
data/docs/RpmUlnRemote.md CHANGED
@@ -16,12 +16,13 @@ Name | Type | Description | Notes
16
16
  **username** | **String** | Your ULN account username. |
17
17
  **password** | **String** | Your ULN account password. |
18
18
  **pulp_labels** | [**Object**](.md) | | [optional]
19
- **download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
19
+ **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
20
+ **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
20
21
  **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. | [optional]
21
- **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
22
- **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
23
- **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
24
- **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
22
+ **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
23
+ **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
24
+ **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
25
+ **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
25
26
  **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
26
27
  **rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
27
28
  **uln_server_base_url** | **String** | Base URL of the ULN server. If the uln_server_base_url is not provided pulp_rpm willuse the contents of the DEFAULT_ULN_SERVER_BASE_URL setting instead. | [optional]
@@ -44,6 +45,7 @@ instance = PulpRpmClient::RpmUlnRemote.new(name: null,
44
45
  password: null,
45
46
  pulp_labels: null,
46
47
  download_concurrency: null,
48
+ max_retries: null,
47
49
  policy: null,
48
50
  total_timeout: null,
49
51
  connect_timeout: null,
@@ -16,12 +16,13 @@ Name | Type | Description | Notes
16
16
  **password** | **String** | Your ULN account password. |
17
17
  **pulp_labels** | [**Object**](.md) | | [optional]
18
18
  **pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
19
- **download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
19
+ **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
20
+ **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
20
21
  **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. | [optional]
21
- **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
22
- **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
23
- **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
24
- **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
22
+ **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
23
+ **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
24
+ **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
25
+ **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
25
26
  **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
26
27
  **rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
27
28
  **uln_server_base_url** | **String** | Base URL of the ULN server. If the uln_server_base_url is not provided pulp_rpm willuse the contents of the DEFAULT_ULN_SERVER_BASE_URL setting instead. | [optional]
@@ -44,6 +45,7 @@ instance = PulpRpmClient::RpmUlnRemoteResponse.new(pulp_href: null,
44
45
  pulp_labels: null,
45
46
  pulp_last_updated: null,
46
47
  download_concurrency: null,
48
+ max_retries: null,
47
49
  policy: null,
48
50
  total_timeout: null,
49
51
  connect_timeout: null,
@@ -1,4 +1,4 @@
1
- # PulpRpmClient::NullEnum
1
+ # PulpRpmClient::SyncPolicyEnum
2
2
 
3
3
  ## Properties
4
4
 
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
10
10
  ```ruby
11
11
  require 'PulpRpmClient'
12
12
 
13
- instance = PulpRpmClient::NullEnum.new()
13
+ instance = PulpRpmClient::SyncPolicyEnum.new()
14
14
  ```
15
15
 
16
16
 
@@ -128,7 +128,7 @@ module PulpRpmClient
128
128
 
129
129
  def initialize
130
130
  @scheme = 'http'
131
- @host = 'pulp'
131
+ @host = 'localhost'
132
132
  @base_path = ''
133
133
  @api_key = {}
134
134
  @api_key_prefix = {}
@@ -209,7 +209,7 @@ module PulpRpmClient
209
209
  def server_settings
210
210
  [
211
211
  {
212
- url: "http://pulp/",
212
+ url: "http://localhost:24817/",
213
213
  description: "No description provided",
214
214
  }
215
215
  ]
@@ -50,22 +50,25 @@ module PulpRpmClient
50
50
 
51
51
  attr_accessor :pulp_labels
52
52
 
53
- # Total number of simultaneous connections.
53
+ # Total number of simultaneous connections. If not set then the default value will be used.
54
54
  attr_accessor :download_concurrency
55
55
 
56
+ # Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
57
+ attr_accessor :max_retries
58
+
56
59
  # The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
57
60
  attr_accessor :policy
58
61
 
59
- # aiohttp.ClientTimeout.total (q.v.) for download-connections.
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.
60
63
  attr_accessor :total_timeout
61
64
 
62
- # aiohttp.ClientTimeout.connect (q.v.) for download-connections.
65
+ # aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
63
66
  attr_accessor :connect_timeout
64
67
 
65
- # aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections.
68
+ # aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
66
69
  attr_accessor :sock_connect_timeout
67
70
 
68
- # aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
71
+ # aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
69
72
  attr_accessor :sock_read_timeout
70
73
 
71
74
  # Headers for aiohttp.Clientsession
@@ -93,6 +96,7 @@ module PulpRpmClient
93
96
  :'password' => :'password',
94
97
  :'pulp_labels' => :'pulp_labels',
95
98
  :'download_concurrency' => :'download_concurrency',
99
+ :'max_retries' => :'max_retries',
96
100
  :'policy' => :'policy',
97
101
  :'total_timeout' => :'total_timeout',
98
102
  :'connect_timeout' => :'connect_timeout',
@@ -120,6 +124,7 @@ module PulpRpmClient
120
124
  :'password' => :'String',
121
125
  :'pulp_labels' => :'Object',
122
126
  :'download_concurrency' => :'Integer',
127
+ :'max_retries' => :'Integer',
123
128
  :'policy' => :'PolicyEnum',
124
129
  :'total_timeout' => :'Float',
125
130
  :'connect_timeout' => :'Float',
@@ -142,6 +147,8 @@ module PulpRpmClient
142
147
  :'proxy_password',
143
148
  :'username',
144
149
  :'password',
150
+ :'download_concurrency',
151
+ :'max_retries',
145
152
  :'total_timeout',
146
153
  :'connect_timeout',
147
154
  :'sock_connect_timeout',
@@ -218,6 +225,10 @@ module PulpRpmClient
218
225
  self.download_concurrency = attributes[:'download_concurrency']
219
226
  end
220
227
 
228
+ if attributes.key?(:'max_retries')
229
+ self.max_retries = attributes[:'max_retries']
230
+ end
231
+
221
232
  if attributes.key?(:'policy')
222
233
  self.policy = attributes[:'policy']
223
234
  end
@@ -359,6 +370,7 @@ module PulpRpmClient
359
370
  password == o.password &&
360
371
  pulp_labels == o.pulp_labels &&
361
372
  download_concurrency == o.download_concurrency &&
373
+ max_retries == o.max_retries &&
362
374
  policy == o.policy &&
363
375
  total_timeout == o.total_timeout &&
364
376
  connect_timeout == o.connect_timeout &&
@@ -378,7 +390,7 @@ module PulpRpmClient
378
390
  # Calculates hash code according to all attributes.
379
391
  # @return [Integer] Hash code
380
392
  def hash
381
- [name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password, pulp_labels, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, sles_auth_token].hash
393
+ [name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password, pulp_labels, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, sles_auth_token].hash
382
394
  end
383
395
 
384
396
  # Builds the object from hash
@@ -82,8 +82,8 @@ module PulpRpmClient
82
82
  :'autopublish' => :'Boolean',
83
83
  :'metadata_signing_service' => :'String',
84
84
  :'retain_package_versions' => :'Integer',
85
- :'metadata_checksum_type' => :'OneOfMetadataChecksumTypeEnumNullEnum',
86
- :'package_checksum_type' => :'OneOfPackageChecksumTypeEnumNullEnum',
85
+ :'metadata_checksum_type' => :'MetadataChecksumTypeEnum',
86
+ :'package_checksum_type' => :'PackageChecksumTypeEnum',
87
87
  :'gpgcheck' => :'Integer',
88
88
  :'repo_gpgcheck' => :'Integer',
89
89
  :'sqlite_metadata' => :'Boolean'