pulp_maven_client 0.11.0 → 0.12.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/DistributionsMavenApi.md +10 -10
- data/docs/RemotesMavenApi.md +10 -10
- data/docs/RepositoriesMavenApi.md +10 -10
- data/lib/pulp_maven_client/api/distributions_maven_api.rb +10 -10
- data/lib/pulp_maven_client/api/remotes_maven_api.rb +10 -10
- data/lib/pulp_maven_client/api/repositories_maven_api.rb +10 -10
- data/lib/pulp_maven_client/version.rb +1 -1
- data/spec/api/distributions_maven_api_spec.rb +4 -4
- data/spec/api/remotes_maven_api_spec.rb +4 -4
- data/spec/api/repositories_maven_api_spec.rb +4 -4
- metadata +24 -24
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 48774eed1b2f6993c167d5660912759c06cc265968cca798061fd2786924c40d
|
|
4
|
+
data.tar.gz: b1b6b55e90bdf0a681892146a6530584877d4ef3169c8752f9bb1899298a6c69
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4d91dacd6e2a6372361dbbd7b00c480c7f55349cebcb8e4b762a9c3def8296833f0c4750c99caa44d1fd0094b3c2fb1a165b49d41e7d9147848973638e56f159
|
|
7
|
+
data.tar.gz: 38ade965d7e029c6624f32ed6e205aa5b653a8305b79e34e1634fd35e28126c61ba97f359c1da805acaf6d5d6022804a0d2db4a398c752f67ca090ed7d42ccfa
|
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.12.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.12.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.12.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.12.0'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
|
@@ -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/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
|
|
|
@@ -373,11 +373,11 @@ end
|
|
|
373
373
|
|
|
374
374
|
## partial_update
|
|
375
375
|
|
|
376
|
-
> <
|
|
376
|
+
> <MavenMavenRepositoryResponse> partial_update(maven_maven_repository_href, patchedmaven_maven_repository, opts)
|
|
377
377
|
|
|
378
378
|
Update a maven repository
|
|
379
379
|
|
|
380
|
-
|
|
380
|
+
Update the entity partially and trigger an asynchronous task if necessary
|
|
381
381
|
|
|
382
382
|
### Examples
|
|
383
383
|
|
|
@@ -411,7 +411,7 @@ end
|
|
|
411
411
|
|
|
412
412
|
This returns an Array which contains the response data, status code and headers.
|
|
413
413
|
|
|
414
|
-
> <Array(<
|
|
414
|
+
> <Array(<MavenMavenRepositoryResponse>, Integer, Hash)> partial_update_with_http_info(maven_maven_repository_href, patchedmaven_maven_repository, opts)
|
|
415
415
|
|
|
416
416
|
```ruby
|
|
417
417
|
begin
|
|
@@ -419,7 +419,7 @@ begin
|
|
|
419
419
|
data, status_code, headers = api_instance.partial_update_with_http_info(maven_maven_repository_href, patchedmaven_maven_repository, opts)
|
|
420
420
|
p status_code # => 2xx
|
|
421
421
|
p headers # => { ... }
|
|
422
|
-
p data # => <
|
|
422
|
+
p data # => <MavenMavenRepositoryResponse>
|
|
423
423
|
rescue PulpMavenClient::ApiError => e
|
|
424
424
|
puts "Error when calling RepositoriesMavenApi->partial_update_with_http_info: #{e}"
|
|
425
425
|
end
|
|
@@ -435,7 +435,7 @@ end
|
|
|
435
435
|
|
|
436
436
|
### Return type
|
|
437
437
|
|
|
438
|
-
[**
|
|
438
|
+
[**MavenMavenRepositoryResponse**](MavenMavenRepositoryResponse.md)
|
|
439
439
|
|
|
440
440
|
### Authorization
|
|
441
441
|
|
|
@@ -679,11 +679,11 @@ end
|
|
|
679
679
|
|
|
680
680
|
## update
|
|
681
681
|
|
|
682
|
-
> <
|
|
682
|
+
> <MavenMavenRepositoryResponse> update(maven_maven_repository_href, maven_maven_repository, opts)
|
|
683
683
|
|
|
684
684
|
Update a maven repository
|
|
685
685
|
|
|
686
|
-
|
|
686
|
+
Update the entity and trigger an asynchronous task if necessary
|
|
687
687
|
|
|
688
688
|
### Examples
|
|
689
689
|
|
|
@@ -717,7 +717,7 @@ end
|
|
|
717
717
|
|
|
718
718
|
This returns an Array which contains the response data, status code and headers.
|
|
719
719
|
|
|
720
|
-
> <Array(<
|
|
720
|
+
> <Array(<MavenMavenRepositoryResponse>, Integer, Hash)> update_with_http_info(maven_maven_repository_href, maven_maven_repository, opts)
|
|
721
721
|
|
|
722
722
|
```ruby
|
|
723
723
|
begin
|
|
@@ -725,7 +725,7 @@ begin
|
|
|
725
725
|
data, status_code, headers = api_instance.update_with_http_info(maven_maven_repository_href, maven_maven_repository, opts)
|
|
726
726
|
p status_code # => 2xx
|
|
727
727
|
p headers # => { ... }
|
|
728
|
-
p data # => <
|
|
728
|
+
p data # => <MavenMavenRepositoryResponse>
|
|
729
729
|
rescue PulpMavenClient::ApiError => e
|
|
730
730
|
puts "Error when calling RepositoriesMavenApi->update_with_http_info: #{e}"
|
|
731
731
|
end
|
|
@@ -741,7 +741,7 @@ end
|
|
|
741
741
|
|
|
742
742
|
### Return type
|
|
743
743
|
|
|
744
|
-
[**
|
|
744
|
+
[**MavenMavenRepositoryResponse**](MavenMavenRepositoryResponse.md)
|
|
745
745
|
|
|
746
746
|
### Authorization
|
|
747
747
|
|
|
@@ -302,24 +302,24 @@ module PulpMavenClient
|
|
|
302
302
|
end
|
|
303
303
|
|
|
304
304
|
# Update a maven distribution
|
|
305
|
-
#
|
|
305
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
|
306
306
|
# @param maven_maven_distribution_href [String]
|
|
307
307
|
# @param patchedmaven_maven_distribution [PatchedmavenMavenDistribution]
|
|
308
308
|
# @param [Hash] opts the optional parameters
|
|
309
309
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
310
|
-
# @return [
|
|
310
|
+
# @return [MavenMavenDistributionResponse]
|
|
311
311
|
def partial_update(maven_maven_distribution_href, patchedmaven_maven_distribution, opts = {})
|
|
312
312
|
data, _status_code, _headers = partial_update_with_http_info(maven_maven_distribution_href, patchedmaven_maven_distribution, opts)
|
|
313
313
|
data
|
|
314
314
|
end
|
|
315
315
|
|
|
316
316
|
# Update a maven distribution
|
|
317
|
-
#
|
|
317
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
|
318
318
|
# @param maven_maven_distribution_href [String]
|
|
319
319
|
# @param patchedmaven_maven_distribution [PatchedmavenMavenDistribution]
|
|
320
320
|
# @param [Hash] opts the optional parameters
|
|
321
321
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
322
|
-
# @return [Array<(
|
|
322
|
+
# @return [Array<(MavenMavenDistributionResponse, Integer, Hash)>] MavenMavenDistributionResponse data, response status code and response headers
|
|
323
323
|
def partial_update_with_http_info(maven_maven_distribution_href, patchedmaven_maven_distribution, opts = {})
|
|
324
324
|
if @api_client.config.debugging
|
|
325
325
|
@api_client.config.logger.debug 'Calling API: DistributionsMavenApi.partial_update ...'
|
|
@@ -356,7 +356,7 @@ module PulpMavenClient
|
|
|
356
356
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(patchedmaven_maven_distribution)
|
|
357
357
|
|
|
358
358
|
# return_type
|
|
359
|
-
return_type = opts[:debug_return_type] || '
|
|
359
|
+
return_type = opts[:debug_return_type] || 'MavenMavenDistributionResponse'
|
|
360
360
|
|
|
361
361
|
# auth_names
|
|
362
362
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
|
@@ -605,24 +605,24 @@ module PulpMavenClient
|
|
|
605
605
|
end
|
|
606
606
|
|
|
607
607
|
# Update a maven distribution
|
|
608
|
-
#
|
|
608
|
+
# Update the entity and trigger an asynchronous task if necessary
|
|
609
609
|
# @param maven_maven_distribution_href [String]
|
|
610
610
|
# @param maven_maven_distribution [MavenMavenDistribution]
|
|
611
611
|
# @param [Hash] opts the optional parameters
|
|
612
612
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
613
|
-
# @return [
|
|
613
|
+
# @return [MavenMavenDistributionResponse]
|
|
614
614
|
def update(maven_maven_distribution_href, maven_maven_distribution, opts = {})
|
|
615
615
|
data, _status_code, _headers = update_with_http_info(maven_maven_distribution_href, maven_maven_distribution, opts)
|
|
616
616
|
data
|
|
617
617
|
end
|
|
618
618
|
|
|
619
619
|
# Update a maven distribution
|
|
620
|
-
#
|
|
620
|
+
# Update the entity and trigger an asynchronous task if necessary
|
|
621
621
|
# @param maven_maven_distribution_href [String]
|
|
622
622
|
# @param maven_maven_distribution [MavenMavenDistribution]
|
|
623
623
|
# @param [Hash] opts the optional parameters
|
|
624
624
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
625
|
-
# @return [Array<(
|
|
625
|
+
# @return [Array<(MavenMavenDistributionResponse, Integer, Hash)>] MavenMavenDistributionResponse data, response status code and response headers
|
|
626
626
|
def update_with_http_info(maven_maven_distribution_href, maven_maven_distribution, opts = {})
|
|
627
627
|
if @api_client.config.debugging
|
|
628
628
|
@api_client.config.logger.debug 'Calling API: DistributionsMavenApi.update ...'
|
|
@@ -659,7 +659,7 @@ module PulpMavenClient
|
|
|
659
659
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(maven_maven_distribution)
|
|
660
660
|
|
|
661
661
|
# return_type
|
|
662
|
-
return_type = opts[:debug_return_type] || '
|
|
662
|
+
return_type = opts[:debug_return_type] || 'MavenMavenDistributionResponse'
|
|
663
663
|
|
|
664
664
|
# auth_names
|
|
665
665
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
|
@@ -299,24 +299,24 @@ module PulpMavenClient
|
|
|
299
299
|
end
|
|
300
300
|
|
|
301
301
|
# Update a maven remote
|
|
302
|
-
#
|
|
302
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
|
303
303
|
# @param maven_maven_remote_href [String]
|
|
304
304
|
# @param patchedmaven_maven_remote [PatchedmavenMavenRemote]
|
|
305
305
|
# @param [Hash] opts the optional parameters
|
|
306
306
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
307
|
-
# @return [
|
|
307
|
+
# @return [MavenMavenRemoteResponse]
|
|
308
308
|
def partial_update(maven_maven_remote_href, patchedmaven_maven_remote, opts = {})
|
|
309
309
|
data, _status_code, _headers = partial_update_with_http_info(maven_maven_remote_href, patchedmaven_maven_remote, opts)
|
|
310
310
|
data
|
|
311
311
|
end
|
|
312
312
|
|
|
313
313
|
# Update a maven remote
|
|
314
|
-
#
|
|
314
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
|
315
315
|
# @param maven_maven_remote_href [String]
|
|
316
316
|
# @param patchedmaven_maven_remote [PatchedmavenMavenRemote]
|
|
317
317
|
# @param [Hash] opts the optional parameters
|
|
318
318
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
319
|
-
# @return [Array<(
|
|
319
|
+
# @return [Array<(MavenMavenRemoteResponse, Integer, Hash)>] MavenMavenRemoteResponse data, response status code and response headers
|
|
320
320
|
def partial_update_with_http_info(maven_maven_remote_href, patchedmaven_maven_remote, opts = {})
|
|
321
321
|
if @api_client.config.debugging
|
|
322
322
|
@api_client.config.logger.debug 'Calling API: RemotesMavenApi.partial_update ...'
|
|
@@ -353,7 +353,7 @@ module PulpMavenClient
|
|
|
353
353
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(patchedmaven_maven_remote)
|
|
354
354
|
|
|
355
355
|
# return_type
|
|
356
|
-
return_type = opts[:debug_return_type] || '
|
|
356
|
+
return_type = opts[:debug_return_type] || 'MavenMavenRemoteResponse'
|
|
357
357
|
|
|
358
358
|
# auth_names
|
|
359
359
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
|
@@ -602,24 +602,24 @@ module PulpMavenClient
|
|
|
602
602
|
end
|
|
603
603
|
|
|
604
604
|
# Update a maven remote
|
|
605
|
-
#
|
|
605
|
+
# Update the entity and trigger an asynchronous task if necessary
|
|
606
606
|
# @param maven_maven_remote_href [String]
|
|
607
607
|
# @param maven_maven_remote [MavenMavenRemote]
|
|
608
608
|
# @param [Hash] opts the optional parameters
|
|
609
609
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
610
|
-
# @return [
|
|
610
|
+
# @return [MavenMavenRemoteResponse]
|
|
611
611
|
def update(maven_maven_remote_href, maven_maven_remote, opts = {})
|
|
612
612
|
data, _status_code, _headers = update_with_http_info(maven_maven_remote_href, maven_maven_remote, opts)
|
|
613
613
|
data
|
|
614
614
|
end
|
|
615
615
|
|
|
616
616
|
# Update a maven remote
|
|
617
|
-
#
|
|
617
|
+
# Update the entity and trigger an asynchronous task if necessary
|
|
618
618
|
# @param maven_maven_remote_href [String]
|
|
619
619
|
# @param maven_maven_remote [MavenMavenRemote]
|
|
620
620
|
# @param [Hash] opts the optional parameters
|
|
621
621
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
622
|
-
# @return [Array<(
|
|
622
|
+
# @return [Array<(MavenMavenRemoteResponse, Integer, Hash)>] MavenMavenRemoteResponse data, response status code and response headers
|
|
623
623
|
def update_with_http_info(maven_maven_remote_href, maven_maven_remote, opts = {})
|
|
624
624
|
if @api_client.config.debugging
|
|
625
625
|
@api_client.config.logger.debug 'Calling API: RemotesMavenApi.update ...'
|
|
@@ -656,7 +656,7 @@ module PulpMavenClient
|
|
|
656
656
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(maven_maven_remote)
|
|
657
657
|
|
|
658
658
|
# return_type
|
|
659
|
-
return_type = opts[:debug_return_type] || '
|
|
659
|
+
return_type = opts[:debug_return_type] || 'MavenMavenRemoteResponse'
|
|
660
660
|
|
|
661
661
|
# auth_names
|
|
662
662
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
|
@@ -388,24 +388,24 @@ module PulpMavenClient
|
|
|
388
388
|
end
|
|
389
389
|
|
|
390
390
|
# Update a maven repository
|
|
391
|
-
#
|
|
391
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
|
392
392
|
# @param maven_maven_repository_href [String]
|
|
393
393
|
# @param patchedmaven_maven_repository [PatchedmavenMavenRepository]
|
|
394
394
|
# @param [Hash] opts the optional parameters
|
|
395
395
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
396
|
-
# @return [
|
|
396
|
+
# @return [MavenMavenRepositoryResponse]
|
|
397
397
|
def partial_update(maven_maven_repository_href, patchedmaven_maven_repository, opts = {})
|
|
398
398
|
data, _status_code, _headers = partial_update_with_http_info(maven_maven_repository_href, patchedmaven_maven_repository, opts)
|
|
399
399
|
data
|
|
400
400
|
end
|
|
401
401
|
|
|
402
402
|
# Update a maven repository
|
|
403
|
-
#
|
|
403
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
|
404
404
|
# @param maven_maven_repository_href [String]
|
|
405
405
|
# @param patchedmaven_maven_repository [PatchedmavenMavenRepository]
|
|
406
406
|
# @param [Hash] opts the optional parameters
|
|
407
407
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
408
|
-
# @return [Array<(
|
|
408
|
+
# @return [Array<(MavenMavenRepositoryResponse, Integer, Hash)>] MavenMavenRepositoryResponse data, response status code and response headers
|
|
409
409
|
def partial_update_with_http_info(maven_maven_repository_href, patchedmaven_maven_repository, opts = {})
|
|
410
410
|
if @api_client.config.debugging
|
|
411
411
|
@api_client.config.logger.debug 'Calling API: RepositoriesMavenApi.partial_update ...'
|
|
@@ -442,7 +442,7 @@ module PulpMavenClient
|
|
|
442
442
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(patchedmaven_maven_repository)
|
|
443
443
|
|
|
444
444
|
# return_type
|
|
445
|
-
return_type = opts[:debug_return_type] || '
|
|
445
|
+
return_type = opts[:debug_return_type] || 'MavenMavenRepositoryResponse'
|
|
446
446
|
|
|
447
447
|
# auth_names
|
|
448
448
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
|
@@ -691,24 +691,24 @@ module PulpMavenClient
|
|
|
691
691
|
end
|
|
692
692
|
|
|
693
693
|
# Update a maven repository
|
|
694
|
-
#
|
|
694
|
+
# Update the entity and trigger an asynchronous task if necessary
|
|
695
695
|
# @param maven_maven_repository_href [String]
|
|
696
696
|
# @param maven_maven_repository [MavenMavenRepository]
|
|
697
697
|
# @param [Hash] opts the optional parameters
|
|
698
698
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
699
|
-
# @return [
|
|
699
|
+
# @return [MavenMavenRepositoryResponse]
|
|
700
700
|
def update(maven_maven_repository_href, maven_maven_repository, opts = {})
|
|
701
701
|
data, _status_code, _headers = update_with_http_info(maven_maven_repository_href, maven_maven_repository, opts)
|
|
702
702
|
data
|
|
703
703
|
end
|
|
704
704
|
|
|
705
705
|
# Update a maven repository
|
|
706
|
-
#
|
|
706
|
+
# Update the entity and trigger an asynchronous task if necessary
|
|
707
707
|
# @param maven_maven_repository_href [String]
|
|
708
708
|
# @param maven_maven_repository [MavenMavenRepository]
|
|
709
709
|
# @param [Hash] opts the optional parameters
|
|
710
710
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
711
|
-
# @return [Array<(
|
|
711
|
+
# @return [Array<(MavenMavenRepositoryResponse, Integer, Hash)>] MavenMavenRepositoryResponse data, response status code and response headers
|
|
712
712
|
def update_with_http_info(maven_maven_repository_href, maven_maven_repository, opts = {})
|
|
713
713
|
if @api_client.config.debugging
|
|
714
714
|
@api_client.config.logger.debug 'Calling API: RepositoriesMavenApi.update ...'
|
|
@@ -745,7 +745,7 @@ module PulpMavenClient
|
|
|
745
745
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(maven_maven_repository)
|
|
746
746
|
|
|
747
747
|
# return_type
|
|
748
|
-
return_type = opts[:debug_return_type] || '
|
|
748
|
+
return_type = opts[:debug_return_type] || 'MavenMavenRepositoryResponse'
|
|
749
749
|
|
|
750
750
|
# auth_names
|
|
751
751
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
|
@@ -99,12 +99,12 @@ describe 'DistributionsMavenApi' do
|
|
|
99
99
|
|
|
100
100
|
# unit tests for partial_update
|
|
101
101
|
# Update a maven distribution
|
|
102
|
-
#
|
|
102
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
|
103
103
|
# @param maven_maven_distribution_href
|
|
104
104
|
# @param patchedmaven_maven_distribution
|
|
105
105
|
# @param [Hash] opts the optional parameters
|
|
106
106
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
107
|
-
# @return [
|
|
107
|
+
# @return [MavenMavenDistributionResponse]
|
|
108
108
|
describe 'partial_update test' do
|
|
109
109
|
it 'should work' do
|
|
110
110
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -156,12 +156,12 @@ describe 'DistributionsMavenApi' do
|
|
|
156
156
|
|
|
157
157
|
# unit tests for update
|
|
158
158
|
# Update a maven distribution
|
|
159
|
-
#
|
|
159
|
+
# Update the entity and trigger an asynchronous task if necessary
|
|
160
160
|
# @param maven_maven_distribution_href
|
|
161
161
|
# @param maven_maven_distribution
|
|
162
162
|
# @param [Hash] opts the optional parameters
|
|
163
163
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
164
|
-
# @return [
|
|
164
|
+
# @return [MavenMavenDistributionResponse]
|
|
165
165
|
describe 'update test' do
|
|
166
166
|
it 'should work' do
|
|
167
167
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -98,12 +98,12 @@ describe 'RemotesMavenApi' do
|
|
|
98
98
|
|
|
99
99
|
# unit tests for partial_update
|
|
100
100
|
# Update a maven remote
|
|
101
|
-
#
|
|
101
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
|
102
102
|
# @param maven_maven_remote_href
|
|
103
103
|
# @param patchedmaven_maven_remote
|
|
104
104
|
# @param [Hash] opts the optional parameters
|
|
105
105
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
106
|
-
# @return [
|
|
106
|
+
# @return [MavenMavenRemoteResponse]
|
|
107
107
|
describe 'partial_update test' do
|
|
108
108
|
it 'should work' do
|
|
109
109
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -155,12 +155,12 @@ describe 'RemotesMavenApi' do
|
|
|
155
155
|
|
|
156
156
|
# unit tests for update
|
|
157
157
|
# Update a maven remote
|
|
158
|
-
#
|
|
158
|
+
# Update the entity and trigger an asynchronous task if necessary
|
|
159
159
|
# @param maven_maven_remote_href
|
|
160
160
|
# @param maven_maven_remote
|
|
161
161
|
# @param [Hash] opts the optional parameters
|
|
162
162
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
163
|
-
# @return [
|
|
163
|
+
# @return [MavenMavenRemoteResponse]
|
|
164
164
|
describe 'update test' do
|
|
165
165
|
it 'should work' do
|
|
166
166
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -116,12 +116,12 @@ describe 'RepositoriesMavenApi' do
|
|
|
116
116
|
|
|
117
117
|
# unit tests for partial_update
|
|
118
118
|
# Update a maven repository
|
|
119
|
-
#
|
|
119
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
|
120
120
|
# @param maven_maven_repository_href
|
|
121
121
|
# @param patchedmaven_maven_repository
|
|
122
122
|
# @param [Hash] opts the optional parameters
|
|
123
123
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
124
|
-
# @return [
|
|
124
|
+
# @return [MavenMavenRepositoryResponse]
|
|
125
125
|
describe 'partial_update test' do
|
|
126
126
|
it 'should work' do
|
|
127
127
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -173,12 +173,12 @@ describe 'RepositoriesMavenApi' do
|
|
|
173
173
|
|
|
174
174
|
# unit tests for update
|
|
175
175
|
# Update a maven repository
|
|
176
|
-
#
|
|
176
|
+
# Update the entity and trigger an asynchronous task if necessary
|
|
177
177
|
# @param maven_maven_repository_href
|
|
178
178
|
# @param maven_maven_repository
|
|
179
179
|
# @param [Hash] opts the optional parameters
|
|
180
180
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
181
|
-
# @return [
|
|
181
|
+
# @return [MavenMavenRepositoryResponse]
|
|
182
182
|
describe 'update test' do
|
|
183
183
|
it 'should work' do
|
|
184
184
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pulp_maven_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.12.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-01-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -219,36 +219,36 @@ specification_version: 4
|
|
|
219
219
|
summary: Pulp 3 API Ruby Gem
|
|
220
220
|
test_files:
|
|
221
221
|
- spec/api/remotes_maven_api_spec.rb
|
|
222
|
-
- spec/api/
|
|
222
|
+
- spec/api/content_artifact_api_spec.rb
|
|
223
223
|
- spec/api/pulp_maven_api_spec.rb
|
|
224
224
|
- spec/api/repositories_maven_versions_api_spec.rb
|
|
225
225
|
- spec/api/distributions_maven_api_spec.rb
|
|
226
|
-
- spec/api/
|
|
227
|
-
- spec/models/
|
|
228
|
-
- spec/models/
|
|
226
|
+
- spec/api/repositories_maven_api_spec.rb
|
|
227
|
+
- spec/models/maven_maven_repository_spec.rb
|
|
228
|
+
- spec/models/unset_label_response_spec.rb
|
|
229
|
+
- spec/models/maven_maven_repository_response_spec.rb
|
|
229
230
|
- spec/models/repository_version_response_spec.rb
|
|
230
|
-
- spec/models/
|
|
231
|
-
- spec/models/async_operation_response_spec.rb
|
|
231
|
+
- spec/models/paginatedmaven_maven_distribution_response_list_spec.rb
|
|
232
232
|
- spec/models/set_label_spec.rb
|
|
233
|
-
- spec/models/
|
|
234
|
-
- spec/models/maven_maven_repository_response_spec.rb
|
|
235
|
-
- spec/models/repository_add_cached_content_spec.rb
|
|
236
|
-
- spec/models/maven_maven_distribution_response_spec.rb
|
|
237
|
-
- spec/models/patchedmaven_maven_repository_spec.rb
|
|
238
|
-
- spec/models/unset_label_response_spec.rb
|
|
239
|
-
- spec/models/policy_enum_spec.rb
|
|
240
|
-
- spec/models/maven_maven_remote_response_hidden_fields_inner_spec.rb
|
|
241
|
-
- spec/models/maven_maven_remote_spec.rb
|
|
242
|
-
- spec/models/content_summary_response_spec.rb
|
|
243
|
-
- spec/models/paginatedmaven_maven_repository_response_list_spec.rb
|
|
233
|
+
- spec/models/patchedmaven_maven_distribution_spec.rb
|
|
244
234
|
- spec/models/paginatedmaven_maven_artifact_response_list_spec.rb
|
|
245
235
|
- spec/models/paginated_repository_version_response_list_spec.rb
|
|
246
|
-
- spec/models/maven_maven_remote_response_spec.rb
|
|
247
|
-
- spec/models/maven_maven_repository_spec.rb
|
|
248
236
|
- spec/models/repair_spec.rb
|
|
249
|
-
- spec/models/paginatedmaven_maven_distribution_response_list_spec.rb
|
|
250
|
-
- spec/models/unset_label_spec.rb
|
|
251
237
|
- spec/models/maven_maven_distribution_spec.rb
|
|
238
|
+
- spec/models/async_operation_response_spec.rb
|
|
239
|
+
- spec/models/patchedmaven_maven_remote_spec.rb
|
|
240
|
+
- spec/models/maven_maven_remote_response_hidden_fields_inner_spec.rb
|
|
252
241
|
- spec/models/maven_maven_artifact_response_spec.rb
|
|
253
|
-
- spec/models/
|
|
242
|
+
- spec/models/set_label_response_spec.rb
|
|
243
|
+
- spec/models/unset_label_spec.rb
|
|
244
|
+
- spec/models/repository_add_cached_content_spec.rb
|
|
245
|
+
- spec/models/policy_enum_spec.rb
|
|
246
|
+
- spec/models/paginatedmaven_maven_remote_response_list_spec.rb
|
|
247
|
+
- spec/models/maven_maven_artifact_spec.rb
|
|
248
|
+
- spec/models/maven_maven_remote_response_spec.rb
|
|
249
|
+
- spec/models/patchedmaven_maven_repository_spec.rb
|
|
250
|
+
- spec/models/content_summary_response_spec.rb
|
|
251
|
+
- spec/models/paginatedmaven_maven_repository_response_list_spec.rb
|
|
252
|
+
- spec/models/maven_maven_distribution_response_spec.rb
|
|
253
|
+
- spec/models/maven_maven_remote_spec.rb
|
|
254
254
|
- spec/spec_helper.rb
|