pulp_maven_client 0.12.0 → 0.14.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 +6 -4
- data/docs/ContentArtifactApi.md +6 -6
- data/docs/DistributionsMavenApi.md +4 -4
- 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/RepositoriesMavenApi.md +97 -4
- data/docs/RepositoryAddRemoveContent.md +24 -0
- data/lib/pulp_maven_client/api/content_artifact_api.rb +6 -6
- data/lib/pulp_maven_client/api/distributions_maven_api.rb +4 -4
- data/lib/pulp_maven_client/api/repositories_maven_api.rb +106 -5
- 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/repository_add_remove_content.rb +252 -0
- 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/lib/pulp_maven_client.rb +1 -0
- data/spec/api/content_artifact_api_spec.rb +3 -3
- data/spec/api/distributions_maven_api_spec.rb +2 -2
- data/spec/api/repositories_maven_api_spec.rb +24 -2
- 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
- data/spec/models/repository_add_remove_content_spec.rb +54 -0
- metadata +28 -24
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 84d624390d9a4297abcdb9d2eef0c3ae5dc7fec3dce7793bb18c88a22b054c63
|
|
4
|
+
data.tar.gz: 4a628a86ef1198a2882aff33a62a7a0ea9f464679739700caf03c1582a08b9c2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 23c7d20bb9ec2871aeec78e34d65a67a001ae3d3dcb9f4f1d2149d7d1368dccc151b17be35c530eefaf64acd5d79997bbcfb32467850d3439ce929c7a6bd5cd2
|
|
7
|
+
data.tar.gz: d573031e6986f8b1448ab41328e4f2e8701159651e6cd77398c7c026a095fe4500a67b0a9dd3da1d4282f07261025e28819b6c40a20d412470deee1cc46280bd
|
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.14.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.14.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.14.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.14.0'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
|
@@ -116,6 +116,7 @@ Class | Method | HTTP request | Description
|
|
|
116
116
|
*PulpMavenClient::RepositoriesMavenApi* | [**create**](docs/RepositoriesMavenApi.md#create) | **POST** /pulp/api/v3/repositories/maven/maven/ | Create a maven repository
|
|
117
117
|
*PulpMavenClient::RepositoriesMavenApi* | [**delete**](docs/RepositoriesMavenApi.md#delete) | **DELETE** {maven_maven_repository_href} | Delete a maven repository
|
|
118
118
|
*PulpMavenClient::RepositoriesMavenApi* | [**list**](docs/RepositoriesMavenApi.md#list) | **GET** /pulp/api/v3/repositories/maven/maven/ | List maven repositorys
|
|
119
|
+
*PulpMavenClient::RepositoriesMavenApi* | [**modify**](docs/RepositoriesMavenApi.md#modify) | **POST** {maven_maven_repository_href}modify/ | Modify Repository Content
|
|
119
120
|
*PulpMavenClient::RepositoriesMavenApi* | [**partial_update**](docs/RepositoriesMavenApi.md#partial_update) | **PATCH** {maven_maven_repository_href} | Update a maven repository
|
|
120
121
|
*PulpMavenClient::RepositoriesMavenApi* | [**read**](docs/RepositoriesMavenApi.md#read) | **GET** {maven_maven_repository_href} | Inspect a maven repository
|
|
121
122
|
*PulpMavenClient::RepositoriesMavenApi* | [**set_label**](docs/RepositoriesMavenApi.md#set_label) | **POST** {maven_maven_repository_href}set_label/ | Set a label
|
|
@@ -151,6 +152,7 @@ Class | Method | HTTP request | Description
|
|
|
151
152
|
- [PulpMavenClient::PolicyEnum](docs/PolicyEnum.md)
|
|
152
153
|
- [PulpMavenClient::Repair](docs/Repair.md)
|
|
153
154
|
- [PulpMavenClient::RepositoryAddCachedContent](docs/RepositoryAddCachedContent.md)
|
|
155
|
+
- [PulpMavenClient::RepositoryAddRemoveContent](docs/RepositoryAddRemoveContent.md)
|
|
154
156
|
- [PulpMavenClient::RepositoryVersionResponse](docs/RepositoryVersionResponse.md)
|
|
155
157
|
- [PulpMavenClient::SetLabel](docs/SetLabel.md)
|
|
156
158
|
- [PulpMavenClient::SetLabelResponse](docs/SetLabelResponse.md)
|
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] |
|
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
|
```
|
|
@@ -8,6 +8,7 @@ All URIs are relative to *http://localhost:24817*
|
|
|
8
8
|
| [**create**](RepositoriesMavenApi.md#create) | **POST** /pulp/api/v3/repositories/maven/maven/ | Create a maven repository |
|
|
9
9
|
| [**delete**](RepositoriesMavenApi.md#delete) | **DELETE** {maven_maven_repository_href} | Delete a maven repository |
|
|
10
10
|
| [**list**](RepositoriesMavenApi.md#list) | **GET** /pulp/api/v3/repositories/maven/maven/ | List maven repositorys |
|
|
11
|
+
| [**modify**](RepositoriesMavenApi.md#modify) | **POST** {maven_maven_repository_href}modify/ | Modify Repository Content |
|
|
11
12
|
| [**partial_update**](RepositoriesMavenApi.md#partial_update) | **PATCH** {maven_maven_repository_href} | Update a maven repository |
|
|
12
13
|
| [**read**](RepositoriesMavenApi.md#read) | **GET** {maven_maven_repository_href} | Inspect a maven repository |
|
|
13
14
|
| [**set_label**](RepositoriesMavenApi.md#set_label) | **POST** {maven_maven_repository_href}set_label/ | Set a label |
|
|
@@ -274,13 +275,21 @@ opts = {
|
|
|
274
275
|
name__regex: 'name__regex_example', # String | Filter results where name matches regex value
|
|
275
276
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
|
276
277
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
277
|
-
ordering: ['-description'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
278
|
+
ordering: ['-description'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `retain_checkpoints` - Retain checkpoints * `-retain_checkpoints` - Retain checkpoints (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
278
279
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
279
280
|
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
280
281
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
281
282
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
|
282
283
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
|
283
|
-
remote: '
|
|
284
|
+
remote: 'remote_example', # String |
|
|
285
|
+
retain_checkpoints: 56, # Integer | Filter results where retain_checkpoints matches value
|
|
286
|
+
retain_checkpoints__gt: 56, # Integer | Filter results where retain_checkpoints is greater than value
|
|
287
|
+
retain_checkpoints__gte: 56, # Integer | Filter results where retain_checkpoints is greater than or equal to value
|
|
288
|
+
retain_checkpoints__isnull: true, # Boolean | Filter results where retain_checkpoints has a null value
|
|
289
|
+
retain_checkpoints__lt: 56, # Integer | Filter results where retain_checkpoints is less than value
|
|
290
|
+
retain_checkpoints__lte: 56, # Integer | Filter results where retain_checkpoints is less than or equal to value
|
|
291
|
+
retain_checkpoints__ne: 56, # Integer | Filter results where retain_checkpoints not equal to value
|
|
292
|
+
retain_checkpoints__range: [37], # Array<Integer> | Filter results where retain_checkpoints is between two comma separated values
|
|
284
293
|
retain_repo_versions: 56, # Integer | Filter results where retain_repo_versions matches value
|
|
285
294
|
retain_repo_versions__gt: 56, # Integer | Filter results where retain_repo_versions is greater than value
|
|
286
295
|
retain_repo_versions__gte: 56, # Integer | Filter results where retain_repo_versions is greater than or equal to value
|
|
@@ -338,13 +347,21 @@ end
|
|
|
338
347
|
| **name__regex** | **String** | Filter results where name matches regex value | [optional] |
|
|
339
348
|
| **name__startswith** | **String** | Filter results where name starts with value | [optional] |
|
|
340
349
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
|
341
|
-
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
|
350
|
+
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `retain_checkpoints` - Retain checkpoints * `-retain_checkpoints` - Retain checkpoints (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
|
342
351
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
343
352
|
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
344
353
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
345
354
|
| **pulp_label_select** | **String** | Filter labels by search string | [optional] |
|
|
346
355
|
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
|
347
|
-
| **remote** | **String** |
|
|
356
|
+
| **remote** | **String** | | [optional] |
|
|
357
|
+
| **retain_checkpoints** | **Integer** | Filter results where retain_checkpoints matches value | [optional] |
|
|
358
|
+
| **retain_checkpoints__gt** | **Integer** | Filter results where retain_checkpoints is greater than value | [optional] |
|
|
359
|
+
| **retain_checkpoints__gte** | **Integer** | Filter results where retain_checkpoints is greater than or equal to value | [optional] |
|
|
360
|
+
| **retain_checkpoints__isnull** | **Boolean** | Filter results where retain_checkpoints has a null value | [optional] |
|
|
361
|
+
| **retain_checkpoints__lt** | **Integer** | Filter results where retain_checkpoints is less than value | [optional] |
|
|
362
|
+
| **retain_checkpoints__lte** | **Integer** | Filter results where retain_checkpoints is less than or equal to value | [optional] |
|
|
363
|
+
| **retain_checkpoints__ne** | **Integer** | Filter results where retain_checkpoints not equal to value | [optional] |
|
|
364
|
+
| **retain_checkpoints__range** | [**Array<Integer>**](Integer.md) | Filter results where retain_checkpoints is between two comma separated values | [optional] |
|
|
348
365
|
| **retain_repo_versions** | **Integer** | Filter results where retain_repo_versions matches value | [optional] |
|
|
349
366
|
| **retain_repo_versions__gt** | **Integer** | Filter results where retain_repo_versions is greater than value | [optional] |
|
|
350
367
|
| **retain_repo_versions__gte** | **Integer** | Filter results where retain_repo_versions is greater than or equal to value | [optional] |
|
|
@@ -371,6 +388,82 @@ end
|
|
|
371
388
|
- **Accept**: application/json
|
|
372
389
|
|
|
373
390
|
|
|
391
|
+
## modify
|
|
392
|
+
|
|
393
|
+
> <AsyncOperationResponse> modify(maven_maven_repository_href, repository_add_remove_content, opts)
|
|
394
|
+
|
|
395
|
+
Modify Repository Content
|
|
396
|
+
|
|
397
|
+
Trigger an asynchronous task to create a new repository version.
|
|
398
|
+
|
|
399
|
+
### Examples
|
|
400
|
+
|
|
401
|
+
```ruby
|
|
402
|
+
require 'time'
|
|
403
|
+
require 'pulp_maven_client'
|
|
404
|
+
# setup authorization
|
|
405
|
+
PulpMavenClient.configure do |config|
|
|
406
|
+
# Configure HTTP basic authorization: basicAuth
|
|
407
|
+
config.username = 'YOUR USERNAME'
|
|
408
|
+
config.password = 'YOUR PASSWORD'
|
|
409
|
+
end
|
|
410
|
+
|
|
411
|
+
api_instance = PulpMavenClient::RepositoriesMavenApi.new
|
|
412
|
+
maven_maven_repository_href = 'maven_maven_repository_href_example' # String |
|
|
413
|
+
repository_add_remove_content = PulpMavenClient::RepositoryAddRemoveContent.new # RepositoryAddRemoveContent |
|
|
414
|
+
opts = {
|
|
415
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
begin
|
|
419
|
+
# Modify Repository Content
|
|
420
|
+
result = api_instance.modify(maven_maven_repository_href, repository_add_remove_content, opts)
|
|
421
|
+
p result
|
|
422
|
+
rescue PulpMavenClient::ApiError => e
|
|
423
|
+
puts "Error when calling RepositoriesMavenApi->modify: #{e}"
|
|
424
|
+
end
|
|
425
|
+
```
|
|
426
|
+
|
|
427
|
+
#### Using the modify_with_http_info variant
|
|
428
|
+
|
|
429
|
+
This returns an Array which contains the response data, status code and headers.
|
|
430
|
+
|
|
431
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> modify_with_http_info(maven_maven_repository_href, repository_add_remove_content, opts)
|
|
432
|
+
|
|
433
|
+
```ruby
|
|
434
|
+
begin
|
|
435
|
+
# Modify Repository Content
|
|
436
|
+
data, status_code, headers = api_instance.modify_with_http_info(maven_maven_repository_href, repository_add_remove_content, opts)
|
|
437
|
+
p status_code # => 2xx
|
|
438
|
+
p headers # => { ... }
|
|
439
|
+
p data # => <AsyncOperationResponse>
|
|
440
|
+
rescue PulpMavenClient::ApiError => e
|
|
441
|
+
puts "Error when calling RepositoriesMavenApi->modify_with_http_info: #{e}"
|
|
442
|
+
end
|
|
443
|
+
```
|
|
444
|
+
|
|
445
|
+
### Parameters
|
|
446
|
+
|
|
447
|
+
| Name | Type | Description | Notes |
|
|
448
|
+
| ---- | ---- | ----------- | ----- |
|
|
449
|
+
| **maven_maven_repository_href** | **String** | | |
|
|
450
|
+
| **repository_add_remove_content** | [**RepositoryAddRemoveContent**](RepositoryAddRemoveContent.md) | | |
|
|
451
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
452
|
+
|
|
453
|
+
### Return type
|
|
454
|
+
|
|
455
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
|
456
|
+
|
|
457
|
+
### Authorization
|
|
458
|
+
|
|
459
|
+
[basicAuth](../README.md#basicAuth)
|
|
460
|
+
|
|
461
|
+
### HTTP request headers
|
|
462
|
+
|
|
463
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
464
|
+
- **Accept**: application/json
|
|
465
|
+
|
|
466
|
+
|
|
374
467
|
## partial_update
|
|
375
468
|
|
|
376
469
|
> <MavenMavenRepositoryResponse> partial_update(maven_maven_repository_href, patchedmaven_maven_repository, opts)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# PulpMavenClient::RepositoryAddRemoveContent
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **add_content_units** | **Array<String>** | A list of content units to add to a new repository version. This content is added after remove_content_units are removed. | [optional] |
|
|
8
|
+
| **remove_content_units** | **Array<String>** | A list of content units to remove from the latest repository version. You may also specify '*' as an entry to remove all content. This content is removed before add_content_units are added. | [optional] |
|
|
9
|
+
| **base_version** | **String** | A repository version whose content will be used as the initial set of content for the new repository version | [optional] |
|
|
10
|
+
| **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. Defaults to true. | [optional][default to true] |
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'pulp_maven_client'
|
|
16
|
+
|
|
17
|
+
instance = PulpMavenClient::RepositoryAddRemoveContent.new(
|
|
18
|
+
add_content_units: null,
|
|
19
|
+
remove_content_units: null,
|
|
20
|
+
base_version: null,
|
|
21
|
+
overwrite: null
|
|
22
|
+
)
|
|
23
|
+
```
|
|
24
|
+
|
|
@@ -106,9 +106,9 @@ module PulpMavenClient
|
|
|
106
106
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
107
107
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
108
108
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
109
|
-
# @option opts [String] :repository_version
|
|
110
|
-
# @option opts [String] :repository_version_added
|
|
111
|
-
# @option opts [String] :repository_version_removed
|
|
109
|
+
# @option opts [String] :repository_version
|
|
110
|
+
# @option opts [String] :repository_version_added
|
|
111
|
+
# @option opts [String] :repository_version_removed
|
|
112
112
|
# @option opts [String] :version Filter results where version matches value
|
|
113
113
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
114
114
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
@@ -134,9 +134,9 @@ module PulpMavenClient
|
|
|
134
134
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
135
135
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
136
136
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
137
|
-
# @option opts [String] :repository_version
|
|
138
|
-
# @option opts [String] :repository_version_added
|
|
139
|
-
# @option opts [String] :repository_version_removed
|
|
137
|
+
# @option opts [String] :repository_version
|
|
138
|
+
# @option opts [String] :repository_version_added
|
|
139
|
+
# @option opts [String] :repository_version_removed
|
|
140
140
|
# @option opts [String] :version Filter results where version matches value
|
|
141
141
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
142
142
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
@@ -182,8 +182,8 @@ module PulpMavenClient
|
|
|
182
182
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
183
183
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
184
184
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
185
|
-
# @option opts [String] :repository
|
|
186
|
-
# @option opts [Array<String>] :repository__in
|
|
185
|
+
# @option opts [String] :repository
|
|
186
|
+
# @option opts [Array<String>] :repository__in
|
|
187
187
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
|
188
188
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
189
189
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
@@ -219,8 +219,8 @@ module PulpMavenClient
|
|
|
219
219
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
220
220
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
221
221
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
222
|
-
# @option opts [String] :repository
|
|
223
|
-
# @option opts [Array<String>] :repository__in
|
|
222
|
+
# @option opts [String] :repository
|
|
223
|
+
# @option opts [Array<String>] :repository__in
|
|
224
224
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
|
225
225
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
226
226
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|