pulp_maven_client 0.11.0 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ContentArtifactApi.md +6 -6
- data/docs/DistributionsMavenApi.md +14 -14
- data/docs/MavenMavenArtifact.md +2 -0
- data/docs/MavenMavenDistribution.md +2 -0
- data/docs/MavenMavenDistributionResponse.md +4 -0
- data/docs/MavenMavenRemote.md +6 -6
- data/docs/MavenMavenRemoteResponse.md +9 -9
- data/docs/MavenMavenRepository.md +2 -0
- data/docs/MavenMavenRepositoryResponse.md +2 -0
- data/docs/PatchedmavenMavenDistribution.md +2 -0
- data/docs/PatchedmavenMavenRemote.md +6 -6
- data/docs/PatchedmavenMavenRepository.md +2 -0
- data/docs/RemotesMavenApi.md +10 -10
- data/docs/RepositoriesMavenApi.md +30 -14
- data/lib/pulp_maven_client/api/content_artifact_api.rb +6 -6
- data/lib/pulp_maven_client/api/distributions_maven_api.rb +14 -14
- data/lib/pulp_maven_client/api/remotes_maven_api.rb +10 -10
- data/lib/pulp_maven_client/api/repositories_maven_api.rb +39 -15
- data/lib/pulp_maven_client/models/maven_maven_artifact.rb +11 -1
- data/lib/pulp_maven_client/models/maven_maven_distribution.rb +12 -1
- data/lib/pulp_maven_client/models/maven_maven_distribution_response.rb +22 -1
- data/lib/pulp_maven_client/models/maven_maven_remote.rb +48 -33
- data/lib/pulp_maven_client/models/maven_maven_remote_response.rb +64 -49
- data/lib/pulp_maven_client/models/maven_maven_repository.rb +42 -1
- data/lib/pulp_maven_client/models/maven_maven_repository_response.rb +42 -1
- data/lib/pulp_maven_client/models/patchedmaven_maven_distribution.rb +12 -1
- data/lib/pulp_maven_client/models/patchedmaven_maven_remote.rb +48 -33
- data/lib/pulp_maven_client/models/patchedmaven_maven_repository.rb +42 -1
- data/lib/pulp_maven_client/models/set_label.rb +0 -11
- data/lib/pulp_maven_client/models/set_label_response.rb +0 -21
- data/lib/pulp_maven_client/models/unset_label.rb +0 -11
- data/lib/pulp_maven_client/models/unset_label_response.rb +0 -21
- data/lib/pulp_maven_client/version.rb +1 -1
- data/spec/api/content_artifact_api_spec.rb +3 -3
- data/spec/api/distributions_maven_api_spec.rb +6 -6
- data/spec/api/remotes_maven_api_spec.rb +4 -4
- data/spec/api/repositories_maven_api_spec.rb +14 -6
- data/spec/models/maven_maven_artifact_spec.rb +6 -0
- data/spec/models/maven_maven_distribution_response_spec.rb +12 -0
- data/spec/models/maven_maven_distribution_spec.rb +6 -0
- data/spec/models/maven_maven_remote_response_spec.rb +10 -10
- data/spec/models/maven_maven_remote_spec.rb +17 -17
- data/spec/models/maven_maven_repository_response_spec.rb +6 -0
- data/spec/models/maven_maven_repository_spec.rb +6 -0
- data/spec/models/patchedmaven_maven_distribution_spec.rb +6 -0
- data/spec/models/patchedmaven_maven_remote_spec.rb +17 -17
- data/spec/models/patchedmaven_maven_repository_spec.rb +6 -0
- metadata +25 -25
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2ecd9a2111555c17113eb52b2ec15537b3caf4aa0f7a149ed79ea3eb35d72197
|
|
4
|
+
data.tar.gz: fd7d31bb34c3bea433e909da9b0a5d1cf764729f6bd45bbc93e8b6cb03263b4d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a689166e8420e0d18b71d7bcfd9869152455d3411d63d1bc1148d9ca7aced866aa9f2443cf2000f37bba90523ee97038f4135d0b55fc140320b271890b1e4656
|
|
7
|
+
data.tar.gz: e96f7eb72e0c19900107c5276f9cbd2cfb50ac67e3c570b2671bdad61d20b4a4c7a2255cfc08373e20acc79d41aab0e521e48c9a2c4f7f62d3ddda8eef08a584
|
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: 0.
|
|
10
|
+
- Package version: 0.13.0
|
|
11
11
|
- Generator version: 7.10.0
|
|
12
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
13
13
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
@@ -25,16 +25,16 @@ gem build pulp_maven_client.gemspec
|
|
|
25
25
|
Then either install the gem locally:
|
|
26
26
|
|
|
27
27
|
```shell
|
|
28
|
-
gem install ./pulp_maven_client-0.
|
|
28
|
+
gem install ./pulp_maven_client-0.13.0.gem
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
(for development, run `gem install --dev ./pulp_maven_client-0.
|
|
31
|
+
(for development, run `gem install --dev ./pulp_maven_client-0.13.0.gem` to install the development dependencies)
|
|
32
32
|
|
|
33
33
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
34
34
|
|
|
35
35
|
Finally add this to the Gemfile:
|
|
36
36
|
|
|
37
|
-
gem 'pulp_maven_client', '~> 0.
|
|
37
|
+
gem 'pulp_maven_client', '~> 0.13.0'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
data/docs/ContentArtifactApi.md
CHANGED
|
@@ -120,9 +120,9 @@ opts = {
|
|
|
120
120
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
121
121
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
|
122
122
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
|
123
|
-
repository_version: 'repository_version_example', # String |
|
|
124
|
-
repository_version_added: 'repository_version_added_example', # String |
|
|
125
|
-
repository_version_removed: 'repository_version_removed_example', # String |
|
|
123
|
+
repository_version: 'repository_version_example', # String |
|
|
124
|
+
repository_version_added: 'repository_version_added_example', # String |
|
|
125
|
+
repository_version_removed: 'repository_version_removed_example', # String |
|
|
126
126
|
version: 'version_example', # String | Filter results where version matches value
|
|
127
127
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
|
128
128
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
|
@@ -172,9 +172,9 @@ end
|
|
|
172
172
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
173
173
|
| **pulp_label_select** | **String** | Filter labels by search string | [optional] |
|
|
174
174
|
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
|
175
|
-
| **repository_version** | **String** |
|
|
176
|
-
| **repository_version_added** | **String** |
|
|
177
|
-
| **repository_version_removed** | **String** |
|
|
175
|
+
| **repository_version** | **String** | | [optional] |
|
|
176
|
+
| **repository_version_added** | **String** | | [optional] |
|
|
177
|
+
| **repository_version_removed** | **String** | | [optional] |
|
|
178
178
|
| **version** | **String** | Filter results where version matches value | [optional] |
|
|
179
179
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
|
180
180
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
|
@@ -207,8 +207,8 @@ opts = {
|
|
|
207
207
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
208
208
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
|
209
209
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
|
210
|
-
repository: '
|
|
211
|
-
repository__in: ['inner_example'], # Array<String> |
|
|
210
|
+
repository: 'repository_example', # String |
|
|
211
|
+
repository__in: ['inner_example'], # Array<String> |
|
|
212
212
|
with_content: 'with_content_example', # String | Filter distributions based on the content served by them
|
|
213
213
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
|
214
214
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
|
@@ -268,8 +268,8 @@ end
|
|
|
268
268
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
269
269
|
| **pulp_label_select** | **String** | Filter labels by search string | [optional] |
|
|
270
270
|
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
|
271
|
-
| **repository** | **String** |
|
|
272
|
-
| **repository__in** | [**Array<String>**](String.md) |
|
|
271
|
+
| **repository** | **String** | | [optional] |
|
|
272
|
+
| **repository__in** | [**Array<String>**](String.md) | | [optional] |
|
|
273
273
|
| **with_content** | **String** | Filter distributions based on the content served by them | [optional] |
|
|
274
274
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
|
275
275
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
|
@@ -290,11 +290,11 @@ end
|
|
|
290
290
|
|
|
291
291
|
## partial_update
|
|
292
292
|
|
|
293
|
-
> <
|
|
293
|
+
> <MavenMavenDistributionResponse> partial_update(maven_maven_distribution_href, patchedmaven_maven_distribution, opts)
|
|
294
294
|
|
|
295
295
|
Update a maven distribution
|
|
296
296
|
|
|
297
|
-
|
|
297
|
+
Update the entity partially and trigger an asynchronous task if necessary
|
|
298
298
|
|
|
299
299
|
### Examples
|
|
300
300
|
|
|
@@ -328,7 +328,7 @@ end
|
|
|
328
328
|
|
|
329
329
|
This returns an Array which contains the response data, status code and headers.
|
|
330
330
|
|
|
331
|
-
> <Array(<
|
|
331
|
+
> <Array(<MavenMavenDistributionResponse>, Integer, Hash)> partial_update_with_http_info(maven_maven_distribution_href, patchedmaven_maven_distribution, opts)
|
|
332
332
|
|
|
333
333
|
```ruby
|
|
334
334
|
begin
|
|
@@ -336,7 +336,7 @@ begin
|
|
|
336
336
|
data, status_code, headers = api_instance.partial_update_with_http_info(maven_maven_distribution_href, patchedmaven_maven_distribution, opts)
|
|
337
337
|
p status_code # => 2xx
|
|
338
338
|
p headers # => { ... }
|
|
339
|
-
p data # => <
|
|
339
|
+
p data # => <MavenMavenDistributionResponse>
|
|
340
340
|
rescue PulpMavenClient::ApiError => e
|
|
341
341
|
puts "Error when calling DistributionsMavenApi->partial_update_with_http_info: #{e}"
|
|
342
342
|
end
|
|
@@ -352,7 +352,7 @@ end
|
|
|
352
352
|
|
|
353
353
|
### Return type
|
|
354
354
|
|
|
355
|
-
[**
|
|
355
|
+
[**MavenMavenDistributionResponse**](MavenMavenDistributionResponse.md)
|
|
356
356
|
|
|
357
357
|
### Authorization
|
|
358
358
|
|
|
@@ -596,11 +596,11 @@ end
|
|
|
596
596
|
|
|
597
597
|
## update
|
|
598
598
|
|
|
599
|
-
> <
|
|
599
|
+
> <MavenMavenDistributionResponse> update(maven_maven_distribution_href, maven_maven_distribution, opts)
|
|
600
600
|
|
|
601
601
|
Update a maven distribution
|
|
602
602
|
|
|
603
|
-
|
|
603
|
+
Update the entity and trigger an asynchronous task if necessary
|
|
604
604
|
|
|
605
605
|
### Examples
|
|
606
606
|
|
|
@@ -634,7 +634,7 @@ end
|
|
|
634
634
|
|
|
635
635
|
This returns an Array which contains the response data, status code and headers.
|
|
636
636
|
|
|
637
|
-
> <Array(<
|
|
637
|
+
> <Array(<MavenMavenDistributionResponse>, Integer, Hash)> update_with_http_info(maven_maven_distribution_href, maven_maven_distribution, opts)
|
|
638
638
|
|
|
639
639
|
```ruby
|
|
640
640
|
begin
|
|
@@ -642,7 +642,7 @@ begin
|
|
|
642
642
|
data, status_code, headers = api_instance.update_with_http_info(maven_maven_distribution_href, maven_maven_distribution, opts)
|
|
643
643
|
p status_code # => 2xx
|
|
644
644
|
p headers # => { ... }
|
|
645
|
-
p data # => <
|
|
645
|
+
p data # => <MavenMavenDistributionResponse>
|
|
646
646
|
rescue PulpMavenClient::ApiError => e
|
|
647
647
|
puts "Error when calling DistributionsMavenApi->update_with_http_info: #{e}"
|
|
648
648
|
end
|
|
@@ -658,7 +658,7 @@ end
|
|
|
658
658
|
|
|
659
659
|
### Return type
|
|
660
660
|
|
|
661
|
-
[**
|
|
661
|
+
[**MavenMavenDistributionResponse**](MavenMavenDistributionResponse.md)
|
|
662
662
|
|
|
663
663
|
### Authorization
|
|
664
664
|
|
data/docs/MavenMavenArtifact.md
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
|
8
|
+
| **overwrite** | **Boolean** | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true. | [optional] |
|
|
8
9
|
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
9
10
|
| **artifact** | **String** | Artifact file representing the physical content | |
|
|
10
11
|
| **relative_path** | **String** | Path where the artifact is located relative to distributions base_path | |
|
|
@@ -16,6 +17,7 @@ require 'pulp_maven_client'
|
|
|
16
17
|
|
|
17
18
|
instance = PulpMavenClient::MavenMavenArtifact.new(
|
|
18
19
|
repository: null,
|
|
20
|
+
overwrite: null,
|
|
19
21
|
pulp_labels: null,
|
|
20
22
|
artifact: null,
|
|
21
23
|
relative_path: null
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
11
11
|
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
|
12
12
|
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
|
13
|
+
| **repository_version** | **String** | RepositoryVersion to be served | [optional] |
|
|
13
14
|
| **remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional] |
|
|
14
15
|
|
|
15
16
|
## Example
|
|
@@ -24,6 +25,7 @@ instance = PulpMavenClient::MavenMavenDistribution.new(
|
|
|
24
25
|
pulp_labels: null,
|
|
25
26
|
name: null,
|
|
26
27
|
repository: null,
|
|
28
|
+
repository_version: null,
|
|
27
29
|
remote: null
|
|
28
30
|
)
|
|
29
31
|
```
|
|
@@ -11,11 +11,13 @@
|
|
|
11
11
|
| **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | |
|
|
12
12
|
| **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional][readonly] |
|
|
13
13
|
| **content_guard** | **String** | An optional content-guard. | [optional] |
|
|
14
|
+
| **content_guard_prn** | **String** | The Pulp Resource Name (PRN) of the associated optional content guard. | [optional][readonly] |
|
|
14
15
|
| **no_content_change_since** | **String** | Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes. | [optional][readonly] |
|
|
15
16
|
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
|
16
17
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
17
18
|
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
|
18
19
|
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
|
20
|
+
| **repository_version** | **String** | RepositoryVersion to be served | [optional] |
|
|
19
21
|
| **remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional] |
|
|
20
22
|
|
|
21
23
|
## Example
|
|
@@ -31,11 +33,13 @@ instance = PulpMavenClient::MavenMavenDistributionResponse.new(
|
|
|
31
33
|
base_path: null,
|
|
32
34
|
base_url: null,
|
|
33
35
|
content_guard: null,
|
|
36
|
+
content_guard_prn: null,
|
|
34
37
|
no_content_change_since: null,
|
|
35
38
|
hidden: null,
|
|
36
39
|
pulp_labels: null,
|
|
37
40
|
name: null,
|
|
38
41
|
repository: null,
|
|
42
|
+
repository_version: null,
|
|
39
43
|
remote: null
|
|
40
44
|
)
|
|
41
45
|
```
|
data/docs/MavenMavenRemote.md
CHANGED
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **name** | **String** | A unique name for this remote. | |
|
|
8
8
|
| **url** | **String** | The URL of an external content source. | |
|
|
9
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
10
|
+
| **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. * `immediate` - When syncing, download all metadata and content now. | [optional] |
|
|
9
11
|
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
10
12
|
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
11
13
|
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
|
@@ -15,15 +17,13 @@
|
|
|
15
17
|
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
16
18
|
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
17
19
|
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
18
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
19
|
-
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
20
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] |
|
|
21
|
-
| **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. * `immediate` - When syncing, download all metadata and content now. | [optional] |
|
|
22
21
|
| **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
22
|
| **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
23
|
| **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
24
|
| **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] |
|
|
26
25
|
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
26
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
27
27
|
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
28
28
|
|
|
29
29
|
## Example
|
|
@@ -34,6 +34,8 @@ require 'pulp_maven_client'
|
|
|
34
34
|
instance = PulpMavenClient::MavenMavenRemote.new(
|
|
35
35
|
name: null,
|
|
36
36
|
url: null,
|
|
37
|
+
pulp_labels: null,
|
|
38
|
+
policy: null,
|
|
37
39
|
ca_cert: null,
|
|
38
40
|
client_cert: null,
|
|
39
41
|
client_key: null,
|
|
@@ -43,15 +45,13 @@ instance = PulpMavenClient::MavenMavenRemote.new(
|
|
|
43
45
|
proxy_password: null,
|
|
44
46
|
username: null,
|
|
45
47
|
password: null,
|
|
46
|
-
pulp_labels: null,
|
|
47
|
-
download_concurrency: null,
|
|
48
48
|
max_retries: null,
|
|
49
|
-
policy: null,
|
|
50
49
|
total_timeout: null,
|
|
51
50
|
connect_timeout: null,
|
|
52
51
|
sock_connect_timeout: null,
|
|
53
52
|
sock_read_timeout: null,
|
|
54
53
|
headers: null,
|
|
54
|
+
download_concurrency: null,
|
|
55
55
|
rate_limit: null
|
|
56
56
|
)
|
|
57
57
|
```
|
|
@@ -10,21 +10,21 @@
|
|
|
10
10
|
| **pulp_last_updated** | **Time** | Timestamp of the most recent update of the remote. | [optional][readonly] |
|
|
11
11
|
| **name** | **String** | A unique name for this remote. | |
|
|
12
12
|
| **url** | **String** | The URL of an external content source. | |
|
|
13
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
14
|
+
| **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. * `immediate` - When syncing, download all metadata and content now. | [optional] |
|
|
15
|
+
| **hidden_fields** | [**Array<MavenMavenRemoteResponseHiddenFieldsInner>**](MavenMavenRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
|
|
13
16
|
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
14
17
|
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
15
18
|
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
16
19
|
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
17
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
18
|
-
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
19
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
|
-
| **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. * `immediate` - When syncing, download all metadata and content now. | [optional] |
|
|
21
21
|
| **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] |
|
|
22
22
|
| **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] |
|
|
23
23
|
| **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] |
|
|
24
24
|
| **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
25
|
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
26
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
26
27
|
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
27
|
-
| **hidden_fields** | [**Array<MavenMavenRemoteResponseHiddenFieldsInner>**](MavenMavenRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
|
|
28
28
|
|
|
29
29
|
## Example
|
|
30
30
|
|
|
@@ -38,21 +38,21 @@ instance = PulpMavenClient::MavenMavenRemoteResponse.new(
|
|
|
38
38
|
pulp_last_updated: null,
|
|
39
39
|
name: null,
|
|
40
40
|
url: null,
|
|
41
|
+
pulp_labels: null,
|
|
42
|
+
policy: null,
|
|
43
|
+
hidden_fields: null,
|
|
41
44
|
ca_cert: null,
|
|
42
45
|
client_cert: null,
|
|
43
46
|
tls_validation: null,
|
|
44
47
|
proxy_url: null,
|
|
45
|
-
pulp_labels: null,
|
|
46
|
-
download_concurrency: null,
|
|
47
48
|
max_retries: null,
|
|
48
|
-
policy: null,
|
|
49
49
|
total_timeout: null,
|
|
50
50
|
connect_timeout: null,
|
|
51
51
|
sock_connect_timeout: null,
|
|
52
52
|
sock_read_timeout: null,
|
|
53
53
|
headers: null,
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
download_concurrency: null,
|
|
55
|
+
rate_limit: null
|
|
56
56
|
)
|
|
57
57
|
```
|
|
58
58
|
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
| **name** | **String** | A unique name for this repository. | |
|
|
9
9
|
| **description** | **String** | An optional description. | [optional] |
|
|
10
10
|
| **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
|
|
11
|
+
| **retain_checkpoints** | **Integer** | Retain X checkpoint publications for the repository. Default is null which retains all checkpoints. | [optional] |
|
|
11
12
|
| **remote** | **String** | An optional remote to use by default when syncing. | [optional] |
|
|
12
13
|
|
|
13
14
|
## Example
|
|
@@ -20,6 +21,7 @@ instance = PulpMavenClient::MavenMavenRepository.new(
|
|
|
20
21
|
name: null,
|
|
21
22
|
description: null,
|
|
22
23
|
retain_repo_versions: null,
|
|
24
|
+
retain_checkpoints: null,
|
|
23
25
|
remote: null
|
|
24
26
|
)
|
|
25
27
|
```
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
| **name** | **String** | A unique name for this repository. | |
|
|
15
15
|
| **description** | **String** | An optional description. | [optional] |
|
|
16
16
|
| **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
|
|
17
|
+
| **retain_checkpoints** | **Integer** | Retain X checkpoint publications for the repository. Default is null which retains all checkpoints. | [optional] |
|
|
17
18
|
| **remote** | **String** | An optional remote to use by default when syncing. | [optional] |
|
|
18
19
|
|
|
19
20
|
## Example
|
|
@@ -32,6 +33,7 @@ instance = PulpMavenClient::MavenMavenRepositoryResponse.new(
|
|
|
32
33
|
name: null,
|
|
33
34
|
description: null,
|
|
34
35
|
retain_repo_versions: null,
|
|
36
|
+
retain_checkpoints: null,
|
|
35
37
|
remote: null
|
|
36
38
|
)
|
|
37
39
|
```
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
11
11
|
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional] |
|
|
12
12
|
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
|
13
|
+
| **repository_version** | **String** | RepositoryVersion to be served | [optional] |
|
|
13
14
|
| **remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional] |
|
|
14
15
|
|
|
15
16
|
## Example
|
|
@@ -24,6 +25,7 @@ instance = PulpMavenClient::PatchedmavenMavenDistribution.new(
|
|
|
24
25
|
pulp_labels: null,
|
|
25
26
|
name: null,
|
|
26
27
|
repository: null,
|
|
28
|
+
repository_version: null,
|
|
27
29
|
remote: null
|
|
28
30
|
)
|
|
29
31
|
```
|
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **name** | **String** | A unique name for this remote. | [optional] |
|
|
8
8
|
| **url** | **String** | The URL of an external content source. | [optional] |
|
|
9
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
10
|
+
| **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. * `immediate` - When syncing, download all metadata and content now. | [optional] |
|
|
9
11
|
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
10
12
|
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
11
13
|
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
|
@@ -15,15 +17,13 @@
|
|
|
15
17
|
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
16
18
|
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
17
19
|
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
18
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
19
|
-
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
20
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] |
|
|
21
|
-
| **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. * `immediate` - When syncing, download all metadata and content now. | [optional] |
|
|
22
21
|
| **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
22
|
| **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
23
|
| **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
24
|
| **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] |
|
|
26
25
|
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
26
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
27
27
|
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
28
28
|
|
|
29
29
|
## Example
|
|
@@ -34,6 +34,8 @@ require 'pulp_maven_client'
|
|
|
34
34
|
instance = PulpMavenClient::PatchedmavenMavenRemote.new(
|
|
35
35
|
name: null,
|
|
36
36
|
url: null,
|
|
37
|
+
pulp_labels: null,
|
|
38
|
+
policy: null,
|
|
37
39
|
ca_cert: null,
|
|
38
40
|
client_cert: null,
|
|
39
41
|
client_key: null,
|
|
@@ -43,15 +45,13 @@ instance = PulpMavenClient::PatchedmavenMavenRemote.new(
|
|
|
43
45
|
proxy_password: null,
|
|
44
46
|
username: null,
|
|
45
47
|
password: null,
|
|
46
|
-
pulp_labels: null,
|
|
47
|
-
download_concurrency: null,
|
|
48
48
|
max_retries: null,
|
|
49
|
-
policy: null,
|
|
50
49
|
total_timeout: null,
|
|
51
50
|
connect_timeout: null,
|
|
52
51
|
sock_connect_timeout: null,
|
|
53
52
|
sock_read_timeout: null,
|
|
54
53
|
headers: null,
|
|
54
|
+
download_concurrency: null,
|
|
55
55
|
rate_limit: null
|
|
56
56
|
)
|
|
57
57
|
```
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
| **name** | **String** | A unique name for this repository. | [optional] |
|
|
9
9
|
| **description** | **String** | An optional description. | [optional] |
|
|
10
10
|
| **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
|
|
11
|
+
| **retain_checkpoints** | **Integer** | Retain X checkpoint publications for the repository. Default is null which retains all checkpoints. | [optional] |
|
|
11
12
|
| **remote** | **String** | An optional remote to use by default when syncing. | [optional] |
|
|
12
13
|
|
|
13
14
|
## Example
|
|
@@ -20,6 +21,7 @@ instance = PulpMavenClient::PatchedmavenMavenRepository.new(
|
|
|
20
21
|
name: null,
|
|
21
22
|
description: null,
|
|
22
23
|
retain_repo_versions: null,
|
|
24
|
+
retain_checkpoints: null,
|
|
23
25
|
remote: null
|
|
24
26
|
)
|
|
25
27
|
```
|
data/docs/RemotesMavenApi.md
CHANGED
|
@@ -288,11 +288,11 @@ end
|
|
|
288
288
|
|
|
289
289
|
## partial_update
|
|
290
290
|
|
|
291
|
-
> <
|
|
291
|
+
> <MavenMavenRemoteResponse> partial_update(maven_maven_remote_href, patchedmaven_maven_remote, opts)
|
|
292
292
|
|
|
293
293
|
Update a maven remote
|
|
294
294
|
|
|
295
|
-
|
|
295
|
+
Update the entity partially and trigger an asynchronous task if necessary
|
|
296
296
|
|
|
297
297
|
### Examples
|
|
298
298
|
|
|
@@ -326,7 +326,7 @@ end
|
|
|
326
326
|
|
|
327
327
|
This returns an Array which contains the response data, status code and headers.
|
|
328
328
|
|
|
329
|
-
> <Array(<
|
|
329
|
+
> <Array(<MavenMavenRemoteResponse>, Integer, Hash)> partial_update_with_http_info(maven_maven_remote_href, patchedmaven_maven_remote, opts)
|
|
330
330
|
|
|
331
331
|
```ruby
|
|
332
332
|
begin
|
|
@@ -334,7 +334,7 @@ begin
|
|
|
334
334
|
data, status_code, headers = api_instance.partial_update_with_http_info(maven_maven_remote_href, patchedmaven_maven_remote, opts)
|
|
335
335
|
p status_code # => 2xx
|
|
336
336
|
p headers # => { ... }
|
|
337
|
-
p data # => <
|
|
337
|
+
p data # => <MavenMavenRemoteResponse>
|
|
338
338
|
rescue PulpMavenClient::ApiError => e
|
|
339
339
|
puts "Error when calling RemotesMavenApi->partial_update_with_http_info: #{e}"
|
|
340
340
|
end
|
|
@@ -350,7 +350,7 @@ end
|
|
|
350
350
|
|
|
351
351
|
### Return type
|
|
352
352
|
|
|
353
|
-
[**
|
|
353
|
+
[**MavenMavenRemoteResponse**](MavenMavenRemoteResponse.md)
|
|
354
354
|
|
|
355
355
|
### Authorization
|
|
356
356
|
|
|
@@ -594,11 +594,11 @@ end
|
|
|
594
594
|
|
|
595
595
|
## update
|
|
596
596
|
|
|
597
|
-
> <
|
|
597
|
+
> <MavenMavenRemoteResponse> update(maven_maven_remote_href, maven_maven_remote, opts)
|
|
598
598
|
|
|
599
599
|
Update a maven remote
|
|
600
600
|
|
|
601
|
-
|
|
601
|
+
Update the entity and trigger an asynchronous task if necessary
|
|
602
602
|
|
|
603
603
|
### Examples
|
|
604
604
|
|
|
@@ -632,7 +632,7 @@ end
|
|
|
632
632
|
|
|
633
633
|
This returns an Array which contains the response data, status code and headers.
|
|
634
634
|
|
|
635
|
-
> <Array(<
|
|
635
|
+
> <Array(<MavenMavenRemoteResponse>, Integer, Hash)> update_with_http_info(maven_maven_remote_href, maven_maven_remote, opts)
|
|
636
636
|
|
|
637
637
|
```ruby
|
|
638
638
|
begin
|
|
@@ -640,7 +640,7 @@ begin
|
|
|
640
640
|
data, status_code, headers = api_instance.update_with_http_info(maven_maven_remote_href, maven_maven_remote, opts)
|
|
641
641
|
p status_code # => 2xx
|
|
642
642
|
p headers # => { ... }
|
|
643
|
-
p data # => <
|
|
643
|
+
p data # => <MavenMavenRemoteResponse>
|
|
644
644
|
rescue PulpMavenClient::ApiError => e
|
|
645
645
|
puts "Error when calling RemotesMavenApi->update_with_http_info: #{e}"
|
|
646
646
|
end
|
|
@@ -656,7 +656,7 @@ end
|
|
|
656
656
|
|
|
657
657
|
### Return type
|
|
658
658
|
|
|
659
|
-
[**
|
|
659
|
+
[**MavenMavenRemoteResponse**](MavenMavenRemoteResponse.md)
|
|
660
660
|
|
|
661
661
|
### Authorization
|
|
662
662
|
|