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.
- checksums.yaml +5 -5
- data/README.md +6 -6
- data/docs/ContentAdvisoriesApi.md +1 -1
- data/docs/ContentDistributionTreesApi.md +1 -1
- data/docs/ContentModulemdDefaultsApi.md +1 -1
- data/docs/ContentModulemdsApi.md +1 -1
- data/docs/ContentPackagecategoriesApi.md +1 -1
- data/docs/ContentPackageenvironmentsApi.md +1 -1
- data/docs/ContentPackagegroupsApi.md +1 -1
- data/docs/ContentPackagelangpacksApi.md +1 -1
- data/docs/ContentPackagesApi.md +1 -1
- data/docs/ContentRepoMetadataFilesApi.md +1 -1
- data/docs/DistributionsRpmApi.md +1 -1
- data/docs/PatchedrpmRpmRemote.md +7 -5
- data/docs/PatchedrpmRpmRepository.md +2 -2
- data/docs/PatchedrpmUlnRemote.md +7 -5
- data/docs/PublicationsRpmApi.md +1 -1
- data/docs/RemotesRpmApi.md +1 -1
- data/docs/RemotesUlnApi.md +1 -1
- data/docs/RepositoriesRpmApi.md +1 -1
- data/docs/RepositoriesRpmVersionsApi.md +1 -1
- data/docs/RpmCopyApi.md +1 -1
- data/docs/RpmRepositorySyncURL.md +3 -1
- data/docs/RpmRpmRemote.md +7 -5
- data/docs/RpmRpmRemoteResponse.md +7 -5
- data/docs/RpmRpmRepository.md +2 -2
- data/docs/RpmRpmRepositoryResponse.md +2 -2
- data/docs/RpmUlnRemote.md +7 -5
- data/docs/RpmUlnRemoteResponse.md +7 -5
- data/docs/{NullEnum.md → SyncPolicyEnum.md} +2 -2
- data/lib/pulp_rpm_client/configuration.rb +2 -2
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +18 -6
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +2 -2
- data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +18 -6
- data/lib/pulp_rpm_client/models/rpm_repository_sync_url.rb +14 -4
- data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +18 -6
- data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +18 -6
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +2 -2
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +2 -2
- data/lib/pulp_rpm_client/models/rpm_uln_remote.rb +18 -6
- data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +18 -6
- data/lib/pulp_rpm_client/models/{null_enum.rb → sync_policy_enum.rb} +6 -4
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/lib/pulp_rpm_client.rb +1 -1
- data/pulp_rpm_client.gemspec +1 -1
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/patchedrpm_rpm_remote_spec.rb +6 -0
- data/spec/models/patchedrpm_uln_remote_spec.rb +6 -0
- data/spec/models/rpm_repository_sync_url_spec.rb +6 -0
- data/spec/models/rpm_rpm_remote_response_spec.rb +6 -0
- data/spec/models/rpm_rpm_remote_spec.rb +6 -0
- data/spec/models/rpm_uln_remote_response_spec.rb +6 -0
- data/spec/models/rpm_uln_remote_spec.rb +6 -0
- data/spec/models/{null_enum_spec.rb → sync_policy_enum_spec.rb} +6 -6
- metadata +95 -88
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: daf185bd45d3e93a4078b9f7f812eaa3c809c052
|
4
|
+
data.tar.gz: 4b0ccf6d334a66e9e10e84fa5c1d25196229f89d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
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.
|
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.
|
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://
|
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
|
|
data/docs/ContentModulemdsApi.md
CHANGED
data/docs/ContentPackagesApi.md
CHANGED
data/docs/DistributionsRpmApi.md
CHANGED
data/docs/PatchedrpmRpmRemote.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::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** | [**
|
16
|
-
**package_checksum_type** | [**
|
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]
|
data/docs/PatchedrpmUlnRemote.md
CHANGED
@@ -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,
|
data/docs/PublicationsRpmApi.md
CHANGED
data/docs/RemotesRpmApi.md
CHANGED
data/docs/RemotesUlnApi.md
CHANGED
data/docs/RepositoriesRpmApi.md
CHANGED
data/docs/RpmCopyApi.md
CHANGED
@@ -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``,
|
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,
|
data/docs/RpmRpmRepository.md
CHANGED
@@ -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** | [**
|
16
|
-
**package_checksum_type** | [**
|
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** | [**
|
20
|
-
**package_checksum_type** | [**
|
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::
|
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::
|
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 = '
|
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://
|
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' => :'
|
86
|
-
:'package_checksum_type' => :'
|
85
|
+
:'metadata_checksum_type' => :'MetadataChecksumTypeEnum',
|
86
|
+
:'package_checksum_type' => :'PackageChecksumTypeEnum',
|
87
87
|
:'gpgcheck' => :'Integer',
|
88
88
|
:'repo_gpgcheck' => :'Integer',
|
89
89
|
:'sqlite_metadata' => :'Boolean'
|