pulp_maven_client 0.10.1 → 0.11.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 +8 -5
- data/docs/ContentArtifactApi.md +28 -12
- data/docs/DistributionsMavenApi.md +52 -24
- data/docs/MavenMavenArtifactResponse.md +2 -0
- data/docs/MavenMavenRemoteResponse.md +1 -1
- data/docs/PulpMavenApi.md +10 -4
- data/docs/RemotesMavenApi.md +52 -24
- data/docs/RepositoriesMavenApi.md +60 -28
- data/docs/RepositoriesMavenVersionsApi.md +22 -10
- data/docs/RepositoryVersionResponse.md +3 -1
- data/lib/pulp_maven_client/api/content_artifact_api.rb +15 -0
- data/lib/pulp_maven_client/api/distributions_maven_api.rb +24 -0
- data/lib/pulp_maven_client/api/pulp_maven_api.rb +6 -0
- data/lib/pulp_maven_client/api/remotes_maven_api.rb +24 -0
- data/lib/pulp_maven_client/api/repositories_maven_api.rb +27 -0
- data/lib/pulp_maven_client/api/repositories_maven_versions_api.rb +15 -3
- data/lib/pulp_maven_client/models/maven_maven_artifact_response.rb +10 -1
- data/lib/pulp_maven_client/models/maven_maven_remote.rb +0 -15
- data/lib/pulp_maven_client/models/maven_maven_remote_response.rb +0 -15
- data/lib/pulp_maven_client/models/maven_maven_repository.rb +0 -15
- data/lib/pulp_maven_client/models/maven_maven_repository_response.rb +0 -15
- data/lib/pulp_maven_client/models/paginated_repository_version_response_list.rb +0 -2
- data/lib/pulp_maven_client/models/paginatedmaven_maven_artifact_response_list.rb +0 -2
- data/lib/pulp_maven_client/models/paginatedmaven_maven_distribution_response_list.rb +0 -2
- data/lib/pulp_maven_client/models/paginatedmaven_maven_remote_response_list.rb +0 -2
- data/lib/pulp_maven_client/models/paginatedmaven_maven_repository_response_list.rb +0 -2
- data/lib/pulp_maven_client/models/patchedmaven_maven_remote.rb +0 -15
- data/lib/pulp_maven_client/models/patchedmaven_maven_repository.rb +0 -15
- data/lib/pulp_maven_client/models/repository_version_response.rb +13 -4
- data/lib/pulp_maven_client/version.rb +1 -1
- data/spec/api/content_artifact_api_spec.rb +5 -0
- data/spec/api/distributions_maven_api_spec.rb +8 -0
- data/spec/api/pulp_maven_api_spec.rb +2 -0
- data/spec/api/remotes_maven_api_spec.rb +8 -0
- data/spec/api/repositories_maven_api_spec.rb +9 -0
- data/spec/api/repositories_maven_versions_api_spec.rb +5 -1
- data/spec/models/maven_maven_artifact_response_spec.rb +6 -0
- data/spec/models/repository_version_response_spec.rb +6 -0
- metadata +22 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b7fb6a2f383f969184cbfe251347a3a10be55a016b459edd8f107c5a3f5757f5
|
4
|
+
data.tar.gz: 4d0922737f89998528c421ca461e17c0deb8d1ebee0e0918981d19124fe948fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cdc3901cd588dd47f60bc73dd6e670d251d8320bddc052f07cdf821626d3b494d47db11f5239ac31873116cce5775da1504d6cb91db144bdc8ac0d9765635783
|
7
|
+
data.tar.gz: 517d1ab235a103d8048abcb462cb15fe1596dd481e8153b47b468aa1eb1e33ba91aa82cc71ebc1098ffb569196b2475e610ec85881d05b6009ad1d376732d3f5
|
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.11.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.11.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.11.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.11.0'
|
38
38
|
|
39
39
|
### Install from Git
|
40
40
|
|
@@ -69,10 +69,13 @@ end
|
|
69
69
|
|
70
70
|
api_instance = PulpMavenClient::ContentArtifactApi.new
|
71
71
|
maven_maven_artifact = PulpMavenClient::MavenMavenArtifact.new({artifact: 'artifact_example', relative_path: 'relative_path_example'}) # MavenMavenArtifact |
|
72
|
+
opts = {
|
73
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
74
|
+
}
|
72
75
|
|
73
76
|
begin
|
74
77
|
#Create a maven artifact
|
75
|
-
result = api_instance.create(maven_maven_artifact)
|
78
|
+
result = api_instance.create(maven_maven_artifact, opts)
|
76
79
|
p result
|
77
80
|
rescue PulpMavenClient::ApiError => e
|
78
81
|
puts "Exception when calling ContentArtifactApi->create: #{e}"
|
data/docs/ContentArtifactApi.md
CHANGED
@@ -13,7 +13,7 @@ All URIs are relative to *http://localhost:24817*
|
|
13
13
|
|
14
14
|
## create
|
15
15
|
|
16
|
-
> <MavenMavenArtifactResponse> create(maven_maven_artifact)
|
16
|
+
> <MavenMavenArtifactResponse> create(maven_maven_artifact, opts)
|
17
17
|
|
18
18
|
Create a maven artifact
|
19
19
|
|
@@ -33,10 +33,13 @@ end
|
|
33
33
|
|
34
34
|
api_instance = PulpMavenClient::ContentArtifactApi.new
|
35
35
|
maven_maven_artifact = PulpMavenClient::MavenMavenArtifact.new({artifact: 'artifact_example', relative_path: 'relative_path_example'}) # MavenMavenArtifact |
|
36
|
+
opts = {
|
37
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
38
|
+
}
|
36
39
|
|
37
40
|
begin
|
38
41
|
# Create a maven artifact
|
39
|
-
result = api_instance.create(maven_maven_artifact)
|
42
|
+
result = api_instance.create(maven_maven_artifact, opts)
|
40
43
|
p result
|
41
44
|
rescue PulpMavenClient::ApiError => e
|
42
45
|
puts "Error when calling ContentArtifactApi->create: #{e}"
|
@@ -47,12 +50,12 @@ end
|
|
47
50
|
|
48
51
|
This returns an Array which contains the response data, status code and headers.
|
49
52
|
|
50
|
-
> <Array(<MavenMavenArtifactResponse>, Integer, Hash)> create_with_http_info(maven_maven_artifact)
|
53
|
+
> <Array(<MavenMavenArtifactResponse>, Integer, Hash)> create_with_http_info(maven_maven_artifact, opts)
|
51
54
|
|
52
55
|
```ruby
|
53
56
|
begin
|
54
57
|
# Create a maven artifact
|
55
|
-
data, status_code, headers = api_instance.create_with_http_info(maven_maven_artifact)
|
58
|
+
data, status_code, headers = api_instance.create_with_http_info(maven_maven_artifact, opts)
|
56
59
|
p status_code # => 2xx
|
57
60
|
p headers # => { ... }
|
58
61
|
p data # => <MavenMavenArtifactResponse>
|
@@ -66,6 +69,7 @@ end
|
|
66
69
|
| Name | Type | Description | Notes |
|
67
70
|
| ---- | ---- | ----------- | ----- |
|
68
71
|
| **maven_maven_artifact** | [**MavenMavenArtifact**](MavenMavenArtifact.md) | | |
|
72
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
69
73
|
|
70
74
|
### Return type
|
71
75
|
|
@@ -103,6 +107,7 @@ end
|
|
103
107
|
|
104
108
|
api_instance = PulpMavenClient::ContentArtifactApi.new
|
105
109
|
opts = {
|
110
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
106
111
|
artifact_id: 'artifact_id_example', # String | Filter results where artifact_id matches value
|
107
112
|
filename: 'filename_example', # String | Filter results where filename matches value
|
108
113
|
group_id: 'group_id_example', # String | Filter results where group_id matches value
|
@@ -154,6 +159,7 @@ end
|
|
154
159
|
|
155
160
|
| Name | Type | Description | Notes |
|
156
161
|
| ---- | ---- | ----------- | ----- |
|
162
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
157
163
|
| **artifact_id** | **String** | Filter results where artifact_id matches value | [optional] |
|
158
164
|
| **filename** | **String** | Filter results where filename matches value | [optional] |
|
159
165
|
| **group_id** | **String** | Filter results where group_id matches value | [optional] |
|
@@ -210,6 +216,7 @@ end
|
|
210
216
|
api_instance = PulpMavenClient::ContentArtifactApi.new
|
211
217
|
maven_maven_artifact_href = 'maven_maven_artifact_href_example' # String |
|
212
218
|
opts = {
|
219
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
213
220
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
214
221
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
215
222
|
}
|
@@ -246,6 +253,7 @@ end
|
|
246
253
|
| Name | Type | Description | Notes |
|
247
254
|
| ---- | ---- | ----------- | ----- |
|
248
255
|
| **maven_maven_artifact_href** | **String** | | |
|
256
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
249
257
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
250
258
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
251
259
|
|
@@ -265,7 +273,7 @@ end
|
|
265
273
|
|
266
274
|
## set_label
|
267
275
|
|
268
|
-
> <SetLabelResponse> set_label(maven_maven_artifact_href, set_label)
|
276
|
+
> <SetLabelResponse> set_label(maven_maven_artifact_href, set_label, opts)
|
269
277
|
|
270
278
|
Set a label
|
271
279
|
|
@@ -286,10 +294,13 @@ end
|
|
286
294
|
api_instance = PulpMavenClient::ContentArtifactApi.new
|
287
295
|
maven_maven_artifact_href = 'maven_maven_artifact_href_example' # String |
|
288
296
|
set_label = PulpMavenClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
297
|
+
opts = {
|
298
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
299
|
+
}
|
289
300
|
|
290
301
|
begin
|
291
302
|
# Set a label
|
292
|
-
result = api_instance.set_label(maven_maven_artifact_href, set_label)
|
303
|
+
result = api_instance.set_label(maven_maven_artifact_href, set_label, opts)
|
293
304
|
p result
|
294
305
|
rescue PulpMavenClient::ApiError => e
|
295
306
|
puts "Error when calling ContentArtifactApi->set_label: #{e}"
|
@@ -300,12 +311,12 @@ end
|
|
300
311
|
|
301
312
|
This returns an Array which contains the response data, status code and headers.
|
302
313
|
|
303
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(maven_maven_artifact_href, set_label)
|
314
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(maven_maven_artifact_href, set_label, opts)
|
304
315
|
|
305
316
|
```ruby
|
306
317
|
begin
|
307
318
|
# Set a label
|
308
|
-
data, status_code, headers = api_instance.set_label_with_http_info(maven_maven_artifact_href, set_label)
|
319
|
+
data, status_code, headers = api_instance.set_label_with_http_info(maven_maven_artifact_href, set_label, opts)
|
309
320
|
p status_code # => 2xx
|
310
321
|
p headers # => { ... }
|
311
322
|
p data # => <SetLabelResponse>
|
@@ -320,6 +331,7 @@ end
|
|
320
331
|
| ---- | ---- | ----------- | ----- |
|
321
332
|
| **maven_maven_artifact_href** | **String** | | |
|
322
333
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
334
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
323
335
|
|
324
336
|
### Return type
|
325
337
|
|
@@ -337,7 +349,7 @@ end
|
|
337
349
|
|
338
350
|
## unset_label
|
339
351
|
|
340
|
-
> <UnsetLabelResponse> unset_label(maven_maven_artifact_href, unset_label)
|
352
|
+
> <UnsetLabelResponse> unset_label(maven_maven_artifact_href, unset_label, opts)
|
341
353
|
|
342
354
|
Unset a label
|
343
355
|
|
@@ -358,10 +370,13 @@ end
|
|
358
370
|
api_instance = PulpMavenClient::ContentArtifactApi.new
|
359
371
|
maven_maven_artifact_href = 'maven_maven_artifact_href_example' # String |
|
360
372
|
unset_label = PulpMavenClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
373
|
+
opts = {
|
374
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
375
|
+
}
|
361
376
|
|
362
377
|
begin
|
363
378
|
# Unset a label
|
364
|
-
result = api_instance.unset_label(maven_maven_artifact_href, unset_label)
|
379
|
+
result = api_instance.unset_label(maven_maven_artifact_href, unset_label, opts)
|
365
380
|
p result
|
366
381
|
rescue PulpMavenClient::ApiError => e
|
367
382
|
puts "Error when calling ContentArtifactApi->unset_label: #{e}"
|
@@ -372,12 +387,12 @@ end
|
|
372
387
|
|
373
388
|
This returns an Array which contains the response data, status code and headers.
|
374
389
|
|
375
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(maven_maven_artifact_href, unset_label)
|
390
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(maven_maven_artifact_href, unset_label, opts)
|
376
391
|
|
377
392
|
```ruby
|
378
393
|
begin
|
379
394
|
# Unset a label
|
380
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(maven_maven_artifact_href, unset_label)
|
395
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(maven_maven_artifact_href, unset_label, opts)
|
381
396
|
p status_code # => 2xx
|
382
397
|
p headers # => { ... }
|
383
398
|
p data # => <UnsetLabelResponse>
|
@@ -392,6 +407,7 @@ end
|
|
392
407
|
| ---- | ---- | ----------- | ----- |
|
393
408
|
| **maven_maven_artifact_href** | **String** | | |
|
394
409
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
410
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
395
411
|
|
396
412
|
### Return type
|
397
413
|
|
@@ -16,7 +16,7 @@ All URIs are relative to *http://localhost:24817*
|
|
16
16
|
|
17
17
|
## create
|
18
18
|
|
19
|
-
> <AsyncOperationResponse> create(maven_maven_distribution)
|
19
|
+
> <AsyncOperationResponse> create(maven_maven_distribution, opts)
|
20
20
|
|
21
21
|
Create a maven distribution
|
22
22
|
|
@@ -36,10 +36,13 @@ end
|
|
36
36
|
|
37
37
|
api_instance = PulpMavenClient::DistributionsMavenApi.new
|
38
38
|
maven_maven_distribution = PulpMavenClient::MavenMavenDistribution.new({base_path: 'base_path_example', name: 'name_example'}) # MavenMavenDistribution |
|
39
|
+
opts = {
|
40
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
41
|
+
}
|
39
42
|
|
40
43
|
begin
|
41
44
|
# Create a maven distribution
|
42
|
-
result = api_instance.create(maven_maven_distribution)
|
45
|
+
result = api_instance.create(maven_maven_distribution, opts)
|
43
46
|
p result
|
44
47
|
rescue PulpMavenClient::ApiError => e
|
45
48
|
puts "Error when calling DistributionsMavenApi->create: #{e}"
|
@@ -50,12 +53,12 @@ end
|
|
50
53
|
|
51
54
|
This returns an Array which contains the response data, status code and headers.
|
52
55
|
|
53
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(maven_maven_distribution)
|
56
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(maven_maven_distribution, opts)
|
54
57
|
|
55
58
|
```ruby
|
56
59
|
begin
|
57
60
|
# Create a maven distribution
|
58
|
-
data, status_code, headers = api_instance.create_with_http_info(maven_maven_distribution)
|
61
|
+
data, status_code, headers = api_instance.create_with_http_info(maven_maven_distribution, opts)
|
59
62
|
p status_code # => 2xx
|
60
63
|
p headers # => { ... }
|
61
64
|
p data # => <AsyncOperationResponse>
|
@@ -69,6 +72,7 @@ end
|
|
69
72
|
| Name | Type | Description | Notes |
|
70
73
|
| ---- | ---- | ----------- | ----- |
|
71
74
|
| **maven_maven_distribution** | [**MavenMavenDistribution**](MavenMavenDistribution.md) | | |
|
75
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
72
76
|
|
73
77
|
### Return type
|
74
78
|
|
@@ -86,7 +90,7 @@ end
|
|
86
90
|
|
87
91
|
## delete
|
88
92
|
|
89
|
-
> <AsyncOperationResponse> delete(maven_maven_distribution_href)
|
93
|
+
> <AsyncOperationResponse> delete(maven_maven_distribution_href, opts)
|
90
94
|
|
91
95
|
Delete a maven distribution
|
92
96
|
|
@@ -106,10 +110,13 @@ end
|
|
106
110
|
|
107
111
|
api_instance = PulpMavenClient::DistributionsMavenApi.new
|
108
112
|
maven_maven_distribution_href = 'maven_maven_distribution_href_example' # String |
|
113
|
+
opts = {
|
114
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
115
|
+
}
|
109
116
|
|
110
117
|
begin
|
111
118
|
# Delete a maven distribution
|
112
|
-
result = api_instance.delete(maven_maven_distribution_href)
|
119
|
+
result = api_instance.delete(maven_maven_distribution_href, opts)
|
113
120
|
p result
|
114
121
|
rescue PulpMavenClient::ApiError => e
|
115
122
|
puts "Error when calling DistributionsMavenApi->delete: #{e}"
|
@@ -120,12 +127,12 @@ end
|
|
120
127
|
|
121
128
|
This returns an Array which contains the response data, status code and headers.
|
122
129
|
|
123
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(maven_maven_distribution_href)
|
130
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(maven_maven_distribution_href, opts)
|
124
131
|
|
125
132
|
```ruby
|
126
133
|
begin
|
127
134
|
# Delete a maven distribution
|
128
|
-
data, status_code, headers = api_instance.delete_with_http_info(maven_maven_distribution_href)
|
135
|
+
data, status_code, headers = api_instance.delete_with_http_info(maven_maven_distribution_href, opts)
|
129
136
|
p status_code # => 2xx
|
130
137
|
p headers # => { ... }
|
131
138
|
p data # => <AsyncOperationResponse>
|
@@ -139,6 +146,7 @@ end
|
|
139
146
|
| Name | Type | Description | Notes |
|
140
147
|
| ---- | ---- | ----------- | ----- |
|
141
148
|
| **maven_maven_distribution_href** | **String** | | |
|
149
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
142
150
|
|
143
151
|
### Return type
|
144
152
|
|
@@ -176,6 +184,7 @@ end
|
|
176
184
|
|
177
185
|
api_instance = PulpMavenClient::DistributionsMavenApi.new
|
178
186
|
opts = {
|
187
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
179
188
|
base_path: 'base_path_example', # String | Filter results where base_path matches value
|
180
189
|
base_path__contains: 'base_path__contains_example', # String | Filter results where base_path contains value
|
181
190
|
base_path__icontains: 'base_path__icontains_example', # String | Filter results where base_path contains value
|
@@ -236,6 +245,7 @@ end
|
|
236
245
|
|
237
246
|
| Name | Type | Description | Notes |
|
238
247
|
| ---- | ---- | ----------- | ----- |
|
248
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
239
249
|
| **base_path** | **String** | Filter results where base_path matches value | [optional] |
|
240
250
|
| **base_path__contains** | **String** | Filter results where base_path contains value | [optional] |
|
241
251
|
| **base_path__icontains** | **String** | Filter results where base_path contains value | [optional] |
|
@@ -280,7 +290,7 @@ end
|
|
280
290
|
|
281
291
|
## partial_update
|
282
292
|
|
283
|
-
> <AsyncOperationResponse> partial_update(maven_maven_distribution_href, patchedmaven_maven_distribution)
|
293
|
+
> <AsyncOperationResponse> partial_update(maven_maven_distribution_href, patchedmaven_maven_distribution, opts)
|
284
294
|
|
285
295
|
Update a maven distribution
|
286
296
|
|
@@ -301,10 +311,13 @@ end
|
|
301
311
|
api_instance = PulpMavenClient::DistributionsMavenApi.new
|
302
312
|
maven_maven_distribution_href = 'maven_maven_distribution_href_example' # String |
|
303
313
|
patchedmaven_maven_distribution = PulpMavenClient::PatchedmavenMavenDistribution.new # PatchedmavenMavenDistribution |
|
314
|
+
opts = {
|
315
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
316
|
+
}
|
304
317
|
|
305
318
|
begin
|
306
319
|
# Update a maven distribution
|
307
|
-
result = api_instance.partial_update(maven_maven_distribution_href, patchedmaven_maven_distribution)
|
320
|
+
result = api_instance.partial_update(maven_maven_distribution_href, patchedmaven_maven_distribution, opts)
|
308
321
|
p result
|
309
322
|
rescue PulpMavenClient::ApiError => e
|
310
323
|
puts "Error when calling DistributionsMavenApi->partial_update: #{e}"
|
@@ -315,12 +328,12 @@ end
|
|
315
328
|
|
316
329
|
This returns an Array which contains the response data, status code and headers.
|
317
330
|
|
318
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(maven_maven_distribution_href, patchedmaven_maven_distribution)
|
331
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(maven_maven_distribution_href, patchedmaven_maven_distribution, opts)
|
319
332
|
|
320
333
|
```ruby
|
321
334
|
begin
|
322
335
|
# Update a maven distribution
|
323
|
-
data, status_code, headers = api_instance.partial_update_with_http_info(maven_maven_distribution_href, patchedmaven_maven_distribution)
|
336
|
+
data, status_code, headers = api_instance.partial_update_with_http_info(maven_maven_distribution_href, patchedmaven_maven_distribution, opts)
|
324
337
|
p status_code # => 2xx
|
325
338
|
p headers # => { ... }
|
326
339
|
p data # => <AsyncOperationResponse>
|
@@ -335,6 +348,7 @@ end
|
|
335
348
|
| ---- | ---- | ----------- | ----- |
|
336
349
|
| **maven_maven_distribution_href** | **String** | | |
|
337
350
|
| **patchedmaven_maven_distribution** | [**PatchedmavenMavenDistribution**](PatchedmavenMavenDistribution.md) | | |
|
351
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
338
352
|
|
339
353
|
### Return type
|
340
354
|
|
@@ -373,6 +387,7 @@ end
|
|
373
387
|
api_instance = PulpMavenClient::DistributionsMavenApi.new
|
374
388
|
maven_maven_distribution_href = 'maven_maven_distribution_href_example' # String |
|
375
389
|
opts = {
|
390
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
376
391
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
377
392
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
378
393
|
}
|
@@ -409,6 +424,7 @@ end
|
|
409
424
|
| Name | Type | Description | Notes |
|
410
425
|
| ---- | ---- | ----------- | ----- |
|
411
426
|
| **maven_maven_distribution_href** | **String** | | |
|
427
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
412
428
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
413
429
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
414
430
|
|
@@ -428,7 +444,7 @@ end
|
|
428
444
|
|
429
445
|
## set_label
|
430
446
|
|
431
|
-
> <SetLabelResponse> set_label(maven_maven_distribution_href, set_label)
|
447
|
+
> <SetLabelResponse> set_label(maven_maven_distribution_href, set_label, opts)
|
432
448
|
|
433
449
|
Set a label
|
434
450
|
|
@@ -449,10 +465,13 @@ end
|
|
449
465
|
api_instance = PulpMavenClient::DistributionsMavenApi.new
|
450
466
|
maven_maven_distribution_href = 'maven_maven_distribution_href_example' # String |
|
451
467
|
set_label = PulpMavenClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
468
|
+
opts = {
|
469
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
470
|
+
}
|
452
471
|
|
453
472
|
begin
|
454
473
|
# Set a label
|
455
|
-
result = api_instance.set_label(maven_maven_distribution_href, set_label)
|
474
|
+
result = api_instance.set_label(maven_maven_distribution_href, set_label, opts)
|
456
475
|
p result
|
457
476
|
rescue PulpMavenClient::ApiError => e
|
458
477
|
puts "Error when calling DistributionsMavenApi->set_label: #{e}"
|
@@ -463,12 +482,12 @@ end
|
|
463
482
|
|
464
483
|
This returns an Array which contains the response data, status code and headers.
|
465
484
|
|
466
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(maven_maven_distribution_href, set_label)
|
485
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(maven_maven_distribution_href, set_label, opts)
|
467
486
|
|
468
487
|
```ruby
|
469
488
|
begin
|
470
489
|
# Set a label
|
471
|
-
data, status_code, headers = api_instance.set_label_with_http_info(maven_maven_distribution_href, set_label)
|
490
|
+
data, status_code, headers = api_instance.set_label_with_http_info(maven_maven_distribution_href, set_label, opts)
|
472
491
|
p status_code # => 2xx
|
473
492
|
p headers # => { ... }
|
474
493
|
p data # => <SetLabelResponse>
|
@@ -483,6 +502,7 @@ end
|
|
483
502
|
| ---- | ---- | ----------- | ----- |
|
484
503
|
| **maven_maven_distribution_href** | **String** | | |
|
485
504
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
505
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
486
506
|
|
487
507
|
### Return type
|
488
508
|
|
@@ -500,7 +520,7 @@ end
|
|
500
520
|
|
501
521
|
## unset_label
|
502
522
|
|
503
|
-
> <UnsetLabelResponse> unset_label(maven_maven_distribution_href, unset_label)
|
523
|
+
> <UnsetLabelResponse> unset_label(maven_maven_distribution_href, unset_label, opts)
|
504
524
|
|
505
525
|
Unset a label
|
506
526
|
|
@@ -521,10 +541,13 @@ end
|
|
521
541
|
api_instance = PulpMavenClient::DistributionsMavenApi.new
|
522
542
|
maven_maven_distribution_href = 'maven_maven_distribution_href_example' # String |
|
523
543
|
unset_label = PulpMavenClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
544
|
+
opts = {
|
545
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
546
|
+
}
|
524
547
|
|
525
548
|
begin
|
526
549
|
# Unset a label
|
527
|
-
result = api_instance.unset_label(maven_maven_distribution_href, unset_label)
|
550
|
+
result = api_instance.unset_label(maven_maven_distribution_href, unset_label, opts)
|
528
551
|
p result
|
529
552
|
rescue PulpMavenClient::ApiError => e
|
530
553
|
puts "Error when calling DistributionsMavenApi->unset_label: #{e}"
|
@@ -535,12 +558,12 @@ end
|
|
535
558
|
|
536
559
|
This returns an Array which contains the response data, status code and headers.
|
537
560
|
|
538
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(maven_maven_distribution_href, unset_label)
|
561
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(maven_maven_distribution_href, unset_label, opts)
|
539
562
|
|
540
563
|
```ruby
|
541
564
|
begin
|
542
565
|
# Unset a label
|
543
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(maven_maven_distribution_href, unset_label)
|
566
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(maven_maven_distribution_href, unset_label, opts)
|
544
567
|
p status_code # => 2xx
|
545
568
|
p headers # => { ... }
|
546
569
|
p data # => <UnsetLabelResponse>
|
@@ -555,6 +578,7 @@ end
|
|
555
578
|
| ---- | ---- | ----------- | ----- |
|
556
579
|
| **maven_maven_distribution_href** | **String** | | |
|
557
580
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
581
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
558
582
|
|
559
583
|
### Return type
|
560
584
|
|
@@ -572,7 +596,7 @@ end
|
|
572
596
|
|
573
597
|
## update
|
574
598
|
|
575
|
-
> <AsyncOperationResponse> update(maven_maven_distribution_href, maven_maven_distribution)
|
599
|
+
> <AsyncOperationResponse> update(maven_maven_distribution_href, maven_maven_distribution, opts)
|
576
600
|
|
577
601
|
Update a maven distribution
|
578
602
|
|
@@ -593,10 +617,13 @@ end
|
|
593
617
|
api_instance = PulpMavenClient::DistributionsMavenApi.new
|
594
618
|
maven_maven_distribution_href = 'maven_maven_distribution_href_example' # String |
|
595
619
|
maven_maven_distribution = PulpMavenClient::MavenMavenDistribution.new({base_path: 'base_path_example', name: 'name_example'}) # MavenMavenDistribution |
|
620
|
+
opts = {
|
621
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
622
|
+
}
|
596
623
|
|
597
624
|
begin
|
598
625
|
# Update a maven distribution
|
599
|
-
result = api_instance.update(maven_maven_distribution_href, maven_maven_distribution)
|
626
|
+
result = api_instance.update(maven_maven_distribution_href, maven_maven_distribution, opts)
|
600
627
|
p result
|
601
628
|
rescue PulpMavenClient::ApiError => e
|
602
629
|
puts "Error when calling DistributionsMavenApi->update: #{e}"
|
@@ -607,12 +634,12 @@ end
|
|
607
634
|
|
608
635
|
This returns an Array which contains the response data, status code and headers.
|
609
636
|
|
610
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(maven_maven_distribution_href, maven_maven_distribution)
|
637
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(maven_maven_distribution_href, maven_maven_distribution, opts)
|
611
638
|
|
612
639
|
```ruby
|
613
640
|
begin
|
614
641
|
# Update a maven distribution
|
615
|
-
data, status_code, headers = api_instance.update_with_http_info(maven_maven_distribution_href, maven_maven_distribution)
|
642
|
+
data, status_code, headers = api_instance.update_with_http_info(maven_maven_distribution_href, maven_maven_distribution, opts)
|
616
643
|
p status_code # => 2xx
|
617
644
|
p headers # => { ... }
|
618
645
|
p data # => <AsyncOperationResponse>
|
@@ -627,6 +654,7 @@ end
|
|
627
654
|
| ---- | ---- | ----------- | ----- |
|
628
655
|
| **maven_maven_distribution_href** | **String** | | |
|
629
656
|
| **maven_maven_distribution** | [**MavenMavenDistribution**](MavenMavenDistribution.md) | | |
|
657
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
630
658
|
|
631
659
|
### Return type
|
632
660
|
|
@@ -9,6 +9,7 @@
|
|
9
9
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
10
10
|
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
11
11
|
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
12
|
+
| **vuln_report** | **String** | | [optional][readonly] |
|
12
13
|
| **artifact** | **String** | Artifact file representing the physical content | |
|
13
14
|
| **group_id** | **String** | Group Id of the artifact's package. | [optional][readonly] |
|
14
15
|
| **artifact_id** | **String** | Artifact Id of the artifact's package. | [optional][readonly] |
|
@@ -26,6 +27,7 @@ instance = PulpMavenClient::MavenMavenArtifactResponse.new(
|
|
26
27
|
pulp_created: null,
|
27
28
|
pulp_last_updated: null,
|
28
29
|
pulp_labels: null,
|
30
|
+
vuln_report: null,
|
29
31
|
artifact: null,
|
30
32
|
group_id: null,
|
31
33
|
artifact_id: null,
|
@@ -24,7 +24,7 @@
|
|
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
26
|
| **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]
|
27
|
+
| **hidden_fields** | [**Array<MavenMavenRemoteResponseHiddenFieldsInner>**](MavenMavenRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
|
28
28
|
|
29
29
|
## Example
|
30
30
|
|
data/docs/PulpMavenApi.md
CHANGED
@@ -26,6 +26,7 @@ api_instance = PulpMavenClient::PulpMavenApi.new
|
|
26
26
|
name = 'name_example' # String |
|
27
27
|
path = 'path_example' # String |
|
28
28
|
opts = {
|
29
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
29
30
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
30
31
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
31
32
|
}
|
@@ -62,6 +63,7 @@ end
|
|
62
63
|
| ---- | ---- | ----------- | ----- |
|
63
64
|
| **name** | **String** | | |
|
64
65
|
| **path** | **String** | | |
|
66
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
65
67
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
66
68
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
67
69
|
|
@@ -81,7 +83,7 @@ No authorization required
|
|
81
83
|
|
82
84
|
## put
|
83
85
|
|
84
|
-
> put(name, path)
|
86
|
+
> put(name, path, opts)
|
85
87
|
|
86
88
|
|
87
89
|
|
@@ -96,10 +98,13 @@ require 'pulp_maven_client'
|
|
96
98
|
api_instance = PulpMavenClient::PulpMavenApi.new
|
97
99
|
name = 'name_example' # String |
|
98
100
|
path = 'path_example' # String |
|
101
|
+
opts = {
|
102
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
103
|
+
}
|
99
104
|
|
100
105
|
begin
|
101
106
|
|
102
|
-
api_instance.put(name, path)
|
107
|
+
api_instance.put(name, path, opts)
|
103
108
|
rescue PulpMavenClient::ApiError => e
|
104
109
|
puts "Error when calling PulpMavenApi->put: #{e}"
|
105
110
|
end
|
@@ -109,12 +114,12 @@ end
|
|
109
114
|
|
110
115
|
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
111
116
|
|
112
|
-
> <Array(nil, Integer, Hash)> put_with_http_info(name, path)
|
117
|
+
> <Array(nil, Integer, Hash)> put_with_http_info(name, path, opts)
|
113
118
|
|
114
119
|
```ruby
|
115
120
|
begin
|
116
121
|
|
117
|
-
data, status_code, headers = api_instance.put_with_http_info(name, path)
|
122
|
+
data, status_code, headers = api_instance.put_with_http_info(name, path, opts)
|
118
123
|
p status_code # => 2xx
|
119
124
|
p headers # => { ... }
|
120
125
|
p data # => nil
|
@@ -129,6 +134,7 @@ end
|
|
129
134
|
| ---- | ---- | ----------- | ----- |
|
130
135
|
| **name** | **String** | | |
|
131
136
|
| **path** | **String** | | |
|
137
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
132
138
|
|
133
139
|
### Return type
|
134
140
|
|