pulp_maven_client 0.34.3 → 0.36.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ae5b9ca3d560ff4897a233cc95d9c13a7ab9c5b3a7a6170a8294ec1b7fa7e555
4
- data.tar.gz: 3627994fb993f0769cd887dac25509d10d903ddd5b57266f8981a25f68112ab3
3
+ metadata.gz: 17115d095c6446a9c6b4e5a7dd9498b424d5b6ffb460160bcaba3ea30e33d450
4
+ data.tar.gz: 187bda42ea485ca1d955aad4fd53356655c008a3a6775b341ec624e89a646eaf
5
5
  SHA512:
6
- metadata.gz: 8455a7f99599bf38dc1f1ba0d19f416475fd43c224c3616b9a424c9a9cadada60993a4bdb927b8daec3de36925acbeb462bc33283b985553c16ceb63887abacf
7
- data.tar.gz: a416169405b0d7b8d23c5e20df3b2050584994e20fe127e693554c89dee00a0bc9ca82626b96d3390bbc3f8b6f4e56dc8c36b9e7f104e13e67e9816379f58686
6
+ metadata.gz: bcbc6ad8d1674f699490171dd3235b3fc7883430ef3feba59cc5cf704d81c1018f73884e4e5e5f379f886add21d50d16621eca95b72f69e129e5a16a51054e14
7
+ data.tar.gz: 36b36015e2324121810476ff49f80aa07b2e47f9530c660626ed529c1eac5a898ef564cda3fa45e8e84eb05bb23404322d2a77330b3dbd119ce4667518818338
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.34.3
10
+ - Package version: 0.36.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.34.3.gem
28
+ gem install ./pulp_maven_client-0.36.0.gem
29
29
  ```
30
30
 
31
- (for development, run `gem install --dev ./pulp_maven_client-0.34.3.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./pulp_maven_client-0.36.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.34.3'
37
+ gem 'pulp_maven_client', '~> 0.36.0'
38
38
 
39
39
  ### Install from Git
40
40
 
@@ -129,8 +129,6 @@ Class | Method | HTTP request | Description
129
129
  *PulpMavenClient::DistributionsMavenApi* | [**set_label**](docs/DistributionsMavenApi.md#set_label) | **POST** {maven_maven_distribution_href}set_label/ | Set a label
130
130
  *PulpMavenClient::DistributionsMavenApi* | [**unset_label**](docs/DistributionsMavenApi.md#unset_label) | **POST** {maven_maven_distribution_href}unset_label/ | Unset a label
131
131
  *PulpMavenClient::DistributionsMavenApi* | [**update**](docs/DistributionsMavenApi.md#update) | **PUT** {maven_maven_distribution_href} | Update a maven distribution
132
- *PulpMavenClient::PulpMavenApi* | [**get**](docs/PulpMavenApi.md#get) | **GET** /pulp/maven/{name}/{path} |
133
- *PulpMavenClient::PulpMavenApi* | [**put**](docs/PulpMavenApi.md#put) | **PUT** /pulp/maven/{name}/{path} |
134
132
  *PulpMavenClient::RemotesMavenApi* | [**add_role**](docs/RemotesMavenApi.md#add_role) | **POST** {maven_maven_remote_href}add_role/ | Add a role
135
133
  *PulpMavenClient::RemotesMavenApi* | [**create**](docs/RemotesMavenApi.md#create) | **POST** /pulp/api/v3/remotes/maven/maven/ | Create a maven remote
136
134
  *PulpMavenClient::RemotesMavenApi* | [**delete**](docs/RemotesMavenApi.md#delete) | **DELETE** {maven_maven_remote_href} | Delete a maven remote
@@ -161,6 +159,7 @@ Class | Method | HTTP request | Description
161
159
  *PulpMavenClient::RepositoriesMavenApi* | [**remove_role**](docs/RepositoriesMavenApi.md#remove_role) | **POST** {maven_maven_repository_href}remove_role/ | Remove a role
162
160
  *PulpMavenClient::RepositoriesMavenApi* | [**repair_index_pages**](docs/RepositoriesMavenApi.md#repair_index_pages) | **POST** {maven_maven_repository_href}repair_index_pages/ | Repair index pages
163
161
  *PulpMavenClient::RepositoriesMavenApi* | [**repair_metadata**](docs/RepositoriesMavenApi.md#repair_metadata) | **POST** {maven_maven_repository_href}repair_metadata/ | Repair metadata
162
+ *PulpMavenClient::RepositoriesMavenApi* | [**repair_packages**](docs/RepositoriesMavenApi.md#repair_packages) | **POST** {maven_maven_repository_href}repair_packages/ | Repair packages
164
163
  *PulpMavenClient::RepositoriesMavenApi* | [**set_label**](docs/RepositoriesMavenApi.md#set_label) | **POST** {maven_maven_repository_href}set_label/ | Set a label
165
164
  *PulpMavenClient::RepositoriesMavenApi* | [**unset_label**](docs/RepositoriesMavenApi.md#unset_label) | **POST** {maven_maven_repository_href}unset_label/ | Unset a label
166
165
  *PulpMavenClient::RepositoriesMavenApi* | [**update**](docs/RepositoriesMavenApi.md#update) | **PUT** {maven_maven_repository_href} | Update a maven repository
@@ -22,6 +22,7 @@ All URIs are relative to *http://localhost:24817*
22
22
  | [**remove_role**](RepositoriesMavenApi.md#remove_role) | **POST** {maven_maven_repository_href}remove_role/ | Remove a role |
23
23
  | [**repair_index_pages**](RepositoriesMavenApi.md#repair_index_pages) | **POST** {maven_maven_repository_href}repair_index_pages/ | Repair index pages |
24
24
  | [**repair_metadata**](RepositoriesMavenApi.md#repair_metadata) | **POST** {maven_maven_repository_href}repair_metadata/ | Repair metadata |
25
+ | [**repair_packages**](RepositoriesMavenApi.md#repair_packages) | **POST** {maven_maven_repository_href}repair_packages/ | Repair packages |
25
26
  | [**set_label**](RepositoriesMavenApi.md#set_label) | **POST** {maven_maven_repository_href}set_label/ | Set a label |
26
27
  | [**unset_label**](RepositoriesMavenApi.md#unset_label) | **POST** {maven_maven_repository_href}unset_label/ | Unset a label |
27
28
  | [**update**](RepositoriesMavenApi.md#update) | **PUT** {maven_maven_repository_href} | Update a maven repository |
@@ -890,6 +891,7 @@ opts = {
890
891
  limit: 56, # Integer | Number of results to return per page.
891
892
  offset: 56, # Integer | The initial index from which to return the results.
892
893
  ordering: ['inner_example'], # Array<String> | Order catalog rows. Allowed: group_id, artifact_id, last_updated. Prefix with '-' for descending. Default is group_id, artifact_id. Ordering by group_id without artifact_id also sorts by artifact_id.
894
+ pagination: 'cursor', # String | Set to cursor for count-free cursor pagination.
893
895
  repository_version: 'repository_version_example', # String | HREF or PRN of a version of this repository. Defaults to the latest complete version.
894
896
  search: 'search_example', # String | Case-insensitive package search. Without ':', group_id or artifact_id contains the term (OR). With ':', group_id contains the left part AND artifact_id contains the right part. A third ':' segment (version) is ignored. Empty or ':' is a no-op. Combines with prefix filters using AND.
895
897
  fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
@@ -934,6 +936,7 @@ end
934
936
  | **limit** | **Integer** | Number of results to return per page. | [optional] |
935
937
  | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
936
938
  | **ordering** | [**Array&lt;String&gt;**](String.md) | Order catalog rows. Allowed: group_id, artifact_id, last_updated. Prefix with &#39;-&#39; for descending. Default is group_id, artifact_id. Ordering by group_id without artifact_id also sorts by artifact_id. | [optional] |
939
+ | **pagination** | **String** | Set to cursor for count-free cursor pagination. | [optional] |
937
940
  | **repository_version** | **String** | HREF or PRN of a version of this repository. Defaults to the latest complete version. | [optional] |
938
941
  | **search** | **String** | Case-insensitive package search. Without &#39;:&#39;, group_id or artifact_id contains the term (OR). With &#39;:&#39;, group_id contains the left part AND artifact_id contains the right part. A third &#39;:&#39; segment (version) is ignored. Empty or &#39;:&#39; is a no-op. Combines with prefix filters using AND. | [optional] |
939
942
  | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
@@ -979,6 +982,7 @@ opts = {
979
982
  x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
980
983
  limit: 56, # Integer | Number of results to return per page.
981
984
  offset: 56, # Integer | The initial index from which to return the results.
985
+ pagination: 'cursor', # String | Set to cursor to opt into count-free cursor pagination. Without this parameter, limit/offset pagination remains unchanged.
982
986
  repository_version: 'repository_version_example', # String | HREF or PRN of a version of this repository. Defaults to the latest complete version.
983
987
  fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
984
988
  exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
@@ -1019,6 +1023,7 @@ end
1019
1023
  | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
1020
1024
  | **limit** | **Integer** | Number of results to return per page. | [optional] |
1021
1025
  | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
1026
+ | **pagination** | **String** | Set to cursor to opt into count-free cursor pagination. Without this parameter, limit/offset pagination remains unchanged. | [optional] |
1022
1027
  | **repository_version** | **String** | HREF or PRN of a version of this repository. Defaults to the latest complete version. | [optional] |
1023
1028
  | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
1024
1029
  | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
@@ -1493,6 +1498,80 @@ end
1493
1498
  - **Accept**: application/json
1494
1499
 
1495
1500
 
1501
+ ## repair_packages
1502
+
1503
+ > <AsyncOperationResponse> repair_packages(maven_maven_repository_href, opts)
1504
+
1505
+ Repair packages
1506
+
1507
+ Trigger an asynchronous task that reconciles MavenPackage membership for the latest repository version: associate missing packages and remove packages whose GAV no longer has a POM.
1508
+
1509
+ ### Examples
1510
+
1511
+ ```ruby
1512
+ require 'time'
1513
+ require 'pulp_maven_client'
1514
+ # setup authorization
1515
+ PulpMavenClient.configure do |config|
1516
+ # Configure HTTP basic authorization: basicAuth
1517
+ config.username = 'YOUR USERNAME'
1518
+ config.password = 'YOUR PASSWORD'
1519
+ end
1520
+
1521
+ api_instance = PulpMavenClient::RepositoriesMavenApi.new
1522
+ maven_maven_repository_href = 'maven_maven_repository_href_example' # String |
1523
+ opts = {
1524
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
1525
+ }
1526
+
1527
+ begin
1528
+ # Repair packages
1529
+ result = api_instance.repair_packages(maven_maven_repository_href, opts)
1530
+ p result
1531
+ rescue PulpMavenClient::ApiError => e
1532
+ puts "Error when calling RepositoriesMavenApi->repair_packages: #{e}"
1533
+ end
1534
+ ```
1535
+
1536
+ #### Using the repair_packages_with_http_info variant
1537
+
1538
+ This returns an Array which contains the response data, status code and headers.
1539
+
1540
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> repair_packages_with_http_info(maven_maven_repository_href, opts)
1541
+
1542
+ ```ruby
1543
+ begin
1544
+ # Repair packages
1545
+ data, status_code, headers = api_instance.repair_packages_with_http_info(maven_maven_repository_href, opts)
1546
+ p status_code # => 2xx
1547
+ p headers # => { ... }
1548
+ p data # => <AsyncOperationResponse>
1549
+ rescue PulpMavenClient::ApiError => e
1550
+ puts "Error when calling RepositoriesMavenApi->repair_packages_with_http_info: #{e}"
1551
+ end
1552
+ ```
1553
+
1554
+ ### Parameters
1555
+
1556
+ | Name | Type | Description | Notes |
1557
+ | ---- | ---- | ----------- | ----- |
1558
+ | **maven_maven_repository_href** | **String** | | |
1559
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
1560
+
1561
+ ### Return type
1562
+
1563
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
1564
+
1565
+ ### Authorization
1566
+
1567
+ [basicAuth](../README.md#basicAuth)
1568
+
1569
+ ### HTTP request headers
1570
+
1571
+ - **Content-Type**: Not defined
1572
+ - **Accept**: application/json
1573
+
1574
+
1496
1575
  ## set_label
1497
1576
 
1498
1577
  > <SetLabelResponse> set_label(maven_maven_repository_href, set_label, opts)
@@ -90,7 +90,7 @@ end
90
90
 
91
91
  List repository versions
92
92
 
93
- MavenRepositoryVersion represents a single Maven repository version.
93
+ MavenRepositoryVersion represents a single Maven repository version. Cursor pagination is a Maven-only pilot. If successful, this behavior should move to pulpcore so repository-version endpoints share one cursor contract across plugins.
94
94
 
95
95
  ### Examples
96
96
 
@@ -210,7 +210,7 @@ end
210
210
 
211
211
  Inspect a repository version
212
212
 
213
- MavenRepositoryVersion represents a single Maven repository version.
213
+ MavenRepositoryVersion represents a single Maven repository version. Cursor pagination is a Maven-only pilot. If successful, this behavior should move to pulpcore so repository-version endpoints share one cursor contract across plugins.
214
214
 
215
215
  ### Examples
216
216
 
@@ -848,6 +848,7 @@ module PulpMavenClient
848
848
  # @option opts [Integer] :limit Number of results to return per page.
849
849
  # @option opts [Integer] :offset The initial index from which to return the results.
850
850
  # @option opts [Array<String>] :ordering Order catalog rows. Allowed: group_id, artifact_id, last_updated. Prefix with &#39;-&#39; for descending. Default is group_id, artifact_id. Ordering by group_id without artifact_id also sorts by artifact_id.
851
+ # @option opts [String] :pagination Set to cursor for count-free cursor pagination.
851
852
  # @option opts [String] :repository_version HREF or PRN of a version of this repository. Defaults to the latest complete version.
852
853
  # @option opts [String] :search Case-insensitive package search. Without &#39;:&#39;, group_id or artifact_id contains the term (OR). With &#39;:&#39;, group_id contains the left part AND artifact_id contains the right part. A third &#39;:&#39; segment (version) is ignored. Empty or &#39;:&#39; is a no-op. Combines with prefix filters using AND.
853
854
  # @option opts [Array<String>] :fields A list of fields to include in the response.
@@ -868,6 +869,7 @@ module PulpMavenClient
868
869
  # @option opts [Integer] :limit Number of results to return per page.
869
870
  # @option opts [Integer] :offset The initial index from which to return the results.
870
871
  # @option opts [Array<String>] :ordering Order catalog rows. Allowed: group_id, artifact_id, last_updated. Prefix with &#39;-&#39; for descending. Default is group_id, artifact_id. Ordering by group_id without artifact_id also sorts by artifact_id.
872
+ # @option opts [String] :pagination Set to cursor for count-free cursor pagination.
871
873
  # @option opts [String] :repository_version HREF or PRN of a version of this repository. Defaults to the latest complete version.
872
874
  # @option opts [String] :search Case-insensitive package search. Without &#39;:&#39;, group_id or artifact_id contains the term (OR). With &#39;:&#39;, group_id contains the left part AND artifact_id contains the right part. A third &#39;:&#39; segment (version) is ignored. Empty or &#39;:&#39; is a no-op. Combines with prefix filters using AND.
873
875
  # @option opts [Array<String>] :fields A list of fields to include in the response.
@@ -881,6 +883,10 @@ module PulpMavenClient
881
883
  if @api_client.config.client_side_validation && maven_maven_repository_href.nil?
882
884
  fail ArgumentError, "Missing the required parameter 'maven_maven_repository_href' when calling RepositoriesMavenApi.packages"
883
885
  end
886
+ allowable_values = ["cursor"]
887
+ if @api_client.config.client_side_validation && opts[:'pagination'] && !allowable_values.include?(opts[:'pagination'])
888
+ fail ArgumentError, "invalid value for \"pagination\", must be one of #{allowable_values}"
889
+ end
884
890
  # resource path
885
891
  local_var_path = '{maven_maven_repository_href}packages/'.sub('{' + 'maven_maven_repository_href' + '}', CGI.escape(maven_maven_repository_href.to_s).gsub('%2F', '/'))
886
892
 
@@ -891,6 +897,7 @@ module PulpMavenClient
891
897
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
892
898
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
893
899
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :multi) if !opts[:'ordering'].nil?
900
+ query_params[:'pagination'] = opts[:'pagination'] if !opts[:'pagination'].nil?
894
901
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
895
902
  query_params[:'search'] = opts[:'search'] if !opts[:'search'].nil?
896
903
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
@@ -938,6 +945,7 @@ module PulpMavenClient
938
945
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
939
946
  # @option opts [Integer] :limit Number of results to return per page.
940
947
  # @option opts [Integer] :offset The initial index from which to return the results.
948
+ # @option opts [String] :pagination Set to cursor to opt into count-free cursor pagination. Without this parameter, limit/offset pagination remains unchanged.
941
949
  # @option opts [String] :repository_version HREF or PRN of a version of this repository. Defaults to the latest complete version.
942
950
  # @option opts [Array<String>] :fields A list of fields to include in the response.
943
951
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
@@ -954,6 +962,7 @@ module PulpMavenClient
954
962
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
955
963
  # @option opts [Integer] :limit Number of results to return per page.
956
964
  # @option opts [Integer] :offset The initial index from which to return the results.
965
+ # @option opts [String] :pagination Set to cursor to opt into count-free cursor pagination. Without this parameter, limit/offset pagination remains unchanged.
957
966
  # @option opts [String] :repository_version HREF or PRN of a version of this repository. Defaults to the latest complete version.
958
967
  # @option opts [Array<String>] :fields A list of fields to include in the response.
959
968
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
@@ -966,6 +975,10 @@ module PulpMavenClient
966
975
  if @api_client.config.client_side_validation && maven_maven_repository_href.nil?
967
976
  fail ArgumentError, "Missing the required parameter 'maven_maven_repository_href' when calling RepositoriesMavenApi.packages_flat"
968
977
  end
978
+ allowable_values = ["cursor"]
979
+ if @api_client.config.client_side_validation && opts[:'pagination'] && !allowable_values.include?(opts[:'pagination'])
980
+ fail ArgumentError, "invalid value for \"pagination\", must be one of #{allowable_values}"
981
+ end
969
982
  # resource path
970
983
  local_var_path = '{maven_maven_repository_href}packages/flat/'.sub('{' + 'maven_maven_repository_href' + '}', CGI.escape(maven_maven_repository_href.to_s).gsub('%2F', '/'))
971
984
 
@@ -973,6 +986,7 @@ module PulpMavenClient
973
986
  query_params = opts[:query_params] || {}
974
987
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
975
988
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
989
+ query_params[:'pagination'] = opts[:'pagination'] if !opts[:'pagination'].nil?
976
990
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
977
991
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
978
992
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
@@ -1440,6 +1454,72 @@ module PulpMavenClient
1440
1454
  return data, status_code, headers
1441
1455
  end
1442
1456
 
1457
+ # Repair packages
1458
+ # Trigger an asynchronous task that reconciles MavenPackage membership for the latest repository version: associate missing packages and remove packages whose GAV no longer has a POM.
1459
+ # @param maven_maven_repository_href [String]
1460
+ # @param [Hash] opts the optional parameters
1461
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
1462
+ # @return [AsyncOperationResponse]
1463
+ def repair_packages(maven_maven_repository_href, opts = {})
1464
+ data, _status_code, _headers = repair_packages_with_http_info(maven_maven_repository_href, opts)
1465
+ data
1466
+ end
1467
+
1468
+ # Repair packages
1469
+ # Trigger an asynchronous task that reconciles MavenPackage membership for the latest repository version: associate missing packages and remove packages whose GAV no longer has a POM.
1470
+ # @param maven_maven_repository_href [String]
1471
+ # @param [Hash] opts the optional parameters
1472
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
1473
+ # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
1474
+ def repair_packages_with_http_info(maven_maven_repository_href, opts = {})
1475
+ if @api_client.config.debugging
1476
+ @api_client.config.logger.debug 'Calling API: RepositoriesMavenApi.repair_packages ...'
1477
+ end
1478
+ # verify the required parameter 'maven_maven_repository_href' is set
1479
+ if @api_client.config.client_side_validation && maven_maven_repository_href.nil?
1480
+ fail ArgumentError, "Missing the required parameter 'maven_maven_repository_href' when calling RepositoriesMavenApi.repair_packages"
1481
+ end
1482
+ # resource path
1483
+ local_var_path = '{maven_maven_repository_href}repair_packages/'.sub('{' + 'maven_maven_repository_href' + '}', CGI.escape(maven_maven_repository_href.to_s).gsub('%2F', '/'))
1484
+
1485
+ # query parameters
1486
+ query_params = opts[:query_params] || {}
1487
+
1488
+ # header parameters
1489
+ header_params = opts[:header_params] || {}
1490
+ # HTTP header 'Accept' (if needed)
1491
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
1492
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
1493
+
1494
+ # form parameters
1495
+ form_params = opts[:form_params] || {}
1496
+
1497
+ # http body (model)
1498
+ post_body = opts[:debug_body]
1499
+
1500
+ # return_type
1501
+ return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
1502
+
1503
+ # auth_names
1504
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
1505
+
1506
+ new_options = opts.merge(
1507
+ :operation => :"RepositoriesMavenApi.repair_packages",
1508
+ :header_params => header_params,
1509
+ :query_params => query_params,
1510
+ :form_params => form_params,
1511
+ :body => post_body,
1512
+ :auth_names => auth_names,
1513
+ :return_type => return_type
1514
+ )
1515
+
1516
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
1517
+ if @api_client.config.debugging
1518
+ @api_client.config.logger.debug "API called: RepositoriesMavenApi#repair_packages\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1519
+ end
1520
+ return data, status_code, headers
1521
+ end
1522
+
1443
1523
  # Set a label
1444
1524
  # Set a single pulp_label on the object to a specific value or null.
1445
1525
  # @param maven_maven_repository_href [String]
@@ -86,7 +86,7 @@ module PulpMavenClient
86
86
  end
87
87
 
88
88
  # List repository versions
89
- # MavenRepositoryVersion represents a single Maven repository version.
89
+ # MavenRepositoryVersion represents a single Maven repository version. Cursor pagination is a Maven-only pilot. If successful, this behavior should move to pulpcore so repository-version endpoints share one cursor contract across plugins.
90
90
  # @param maven_maven_repository_href [String]
91
91
  # @param [Hash] opts the optional parameters
92
92
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
@@ -120,7 +120,7 @@ module PulpMavenClient
120
120
  end
121
121
 
122
122
  # List repository versions
123
- # MavenRepositoryVersion represents a single Maven repository version.
123
+ # MavenRepositoryVersion represents a single Maven repository version. Cursor pagination is a Maven-only pilot. If successful, this behavior should move to pulpcore so repository-version endpoints share one cursor contract across plugins.
124
124
  # @param maven_maven_repository_href [String]
125
125
  # @param [Hash] opts the optional parameters
126
126
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
@@ -225,7 +225,7 @@ module PulpMavenClient
225
225
  end
226
226
 
227
227
  # Inspect a repository version
228
- # MavenRepositoryVersion represents a single Maven repository version.
228
+ # MavenRepositoryVersion represents a single Maven repository version. Cursor pagination is a Maven-only pilot. If successful, this behavior should move to pulpcore so repository-version endpoints share one cursor contract across plugins.
229
229
  # @param maven_maven_repository_version_href [String]
230
230
  # @param [Hash] opts the optional parameters
231
231
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
@@ -238,7 +238,7 @@ module PulpMavenClient
238
238
  end
239
239
 
240
240
  # Inspect a repository version
241
- # MavenRepositoryVersion represents a single Maven repository version.
241
+ # MavenRepositoryVersion represents a single Maven repository version. Cursor pagination is a Maven-only pilot. If successful, this behavior should move to pulpcore so repository-version endpoints share one cursor contract across plugins.
242
242
  # @param maven_maven_repository_version_href [String]
243
243
  # @param [Hash] opts the optional parameters
244
244
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
@@ -11,5 +11,5 @@ Generator version: 7.10.0
11
11
  =end
12
12
 
13
13
  module PulpMavenClient
14
- VERSION = '0.34.3'
14
+ VERSION = '0.36.0'
15
15
  end
@@ -70,7 +70,6 @@ require 'pulp_maven_client/api/content_maven_index_page_api'
70
70
  require 'pulp_maven_client/api/content_metadata_api'
71
71
  require 'pulp_maven_client/api/content_package_api'
72
72
  require 'pulp_maven_client/api/distributions_maven_api'
73
- require 'pulp_maven_client/api/pulp_maven_api'
74
73
  require 'pulp_maven_client/api/remotes_maven_api'
75
74
  require 'pulp_maven_client/api/repositories_maven_api'
76
75
  require 'pulp_maven_client/api/repositories_maven_versions_api'
@@ -218,6 +218,7 @@ describe 'RepositoriesMavenApi' do
218
218
  # @option opts [Integer] :limit Number of results to return per page.
219
219
  # @option opts [Integer] :offset The initial index from which to return the results.
220
220
  # @option opts [Array<String>] :ordering Order catalog rows. Allowed: group_id, artifact_id, last_updated. Prefix with &#39;-&#39; for descending. Default is group_id, artifact_id. Ordering by group_id without artifact_id also sorts by artifact_id.
221
+ # @option opts [String] :pagination Set to cursor for count-free cursor pagination.
221
222
  # @option opts [String] :repository_version HREF or PRN of a version of this repository. Defaults to the latest complete version.
222
223
  # @option opts [String] :search Case-insensitive package search. Without &#39;:&#39;, group_id or artifact_id contains the term (OR). With &#39;:&#39;, group_id contains the left part AND artifact_id contains the right part. A third &#39;:&#39; segment (version) is ignored. Empty or &#39;:&#39; is a no-op. Combines with prefix filters using AND.
223
224
  # @option opts [Array<String>] :fields A list of fields to include in the response.
@@ -237,6 +238,7 @@ describe 'RepositoriesMavenApi' do
237
238
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
238
239
  # @option opts [Integer] :limit Number of results to return per page.
239
240
  # @option opts [Integer] :offset The initial index from which to return the results.
241
+ # @option opts [String] :pagination Set to cursor to opt into count-free cursor pagination. Without this parameter, limit/offset pagination remains unchanged.
240
242
  # @option opts [String] :repository_version HREF or PRN of a version of this repository. Defaults to the latest complete version.
241
243
  # @option opts [Array<String>] :fields A list of fields to include in the response.
242
244
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
@@ -330,6 +332,19 @@ describe 'RepositoriesMavenApi' do
330
332
  end
331
333
  end
332
334
 
335
+ # unit tests for repair_packages
336
+ # Repair packages
337
+ # Trigger an asynchronous task that reconciles MavenPackage membership for the latest repository version: associate missing packages and remove packages whose GAV no longer has a POM.
338
+ # @param maven_maven_repository_href
339
+ # @param [Hash] opts the optional parameters
340
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
341
+ # @return [AsyncOperationResponse]
342
+ describe 'repair_packages test' do
343
+ it 'should work' do
344
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
345
+ end
346
+ end
347
+
333
348
  # unit tests for set_label
334
349
  # Set a label
335
350
  # Set a single pulp_label on the object to a specific value or null.
@@ -47,7 +47,7 @@ describe 'RepositoriesMavenVersionsApi' do
47
47
 
48
48
  # unit tests for list
49
49
  # List repository versions
50
- # MavenRepositoryVersion represents a single Maven repository version.
50
+ # MavenRepositoryVersion represents a single Maven repository version. Cursor pagination is a Maven-only pilot. If successful, this behavior should move to pulpcore so repository-version endpoints share one cursor contract across plugins.
51
51
  # @param maven_maven_repository_href
52
52
  # @param [Hash] opts the optional parameters
53
53
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
@@ -83,7 +83,7 @@ describe 'RepositoriesMavenVersionsApi' do
83
83
 
84
84
  # unit tests for read
85
85
  # Inspect a repository version
86
- # MavenRepositoryVersion represents a single Maven repository version.
86
+ # MavenRepositoryVersion represents a single Maven repository version. Cursor pagination is a Maven-only pilot. If successful, this behavior should move to pulpcore so repository-version endpoints share one cursor contract across plugins.
87
87
  # @param maven_maven_repository_version_href
88
88
  # @param [Hash] opts the optional parameters
89
89
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
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.34.3
4
+ version: 0.36.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: 2026-10-09 00:00:00.000000000 Z
11
+ date: 2026-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -130,7 +130,6 @@ files:
130
130
  - docs/PatchedmavenMavenRemote.md
131
131
  - docs/PatchedmavenMavenRepository.md
132
132
  - docs/PolicyEnum.md
133
- - docs/PulpMavenApi.md
134
133
  - docs/RemoteNetworkConfig.md
135
134
  - docs/RemoteNetworkConfigResponse.md
136
135
  - docs/RemotesMavenApi.md
@@ -149,7 +148,6 @@ files:
149
148
  - lib/pulp_maven_client/api/content_metadata_api.rb
150
149
  - lib/pulp_maven_client/api/content_package_api.rb
151
150
  - lib/pulp_maven_client/api/distributions_maven_api.rb
152
- - lib/pulp_maven_client/api/pulp_maven_api.rb
153
151
  - lib/pulp_maven_client/api/remotes_maven_api.rb
154
152
  - lib/pulp_maven_client/api/repositories_maven_api.rb
155
153
  - lib/pulp_maven_client/api/repositories_maven_versions_api.rb
@@ -209,7 +207,6 @@ files:
209
207
  - spec/api/content_metadata_api_spec.rb
210
208
  - spec/api/content_package_api_spec.rb
211
209
  - spec/api/distributions_maven_api_spec.rb
212
- - spec/api/pulp_maven_api_spec.rb
213
210
  - spec/api/remotes_maven_api_spec.rb
214
211
  - spec/api/repositories_maven_api_spec.rb
215
212
  - spec/api/repositories_maven_versions_api_spec.rb
@@ -289,7 +286,6 @@ test_files:
289
286
  - spec/api/content_artifact_api_spec.rb
290
287
  - spec/api/content_metadata_api_spec.rb
291
288
  - spec/api/remotes_maven_api_spec.rb
292
- - spec/api/pulp_maven_api_spec.rb
293
289
  - spec/api/content_maven_index_page_api_spec.rb
294
290
  - spec/api/repositories_maven_versions_api_spec.rb
295
291
  - spec/api/content_package_api_spec.rb
data/docs/PulpMavenApi.md DELETED
@@ -1,151 +0,0 @@
1
- # PulpMavenClient::PulpMavenApi
2
-
3
- All URIs are relative to *http://localhost:24817*
4
-
5
- | Method | HTTP request | Description |
6
- | ------ | ------------ | ----------- |
7
- | [**get**](PulpMavenApi.md#get) | **GET** /pulp/maven/{name}/{path} | |
8
- | [**put**](PulpMavenApi.md#put) | **PUT** /pulp/maven/{name}/{path} | |
9
-
10
-
11
- ## get
12
-
13
- > get(name, path, opts)
14
-
15
-
16
-
17
- Responds to GET requests about manifests by reference
18
-
19
- ### Examples
20
-
21
- ```ruby
22
- require 'time'
23
- require 'pulp_maven_client'
24
-
25
- api_instance = PulpMavenClient::PulpMavenApi.new
26
- name = 'name_example' # String |
27
- path = 'path_example' # String |
28
- opts = {
29
- x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
30
- fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
31
- exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
32
- }
33
-
34
- begin
35
-
36
- api_instance.get(name, path, opts)
37
- rescue PulpMavenClient::ApiError => e
38
- puts "Error when calling PulpMavenApi->get: #{e}"
39
- end
40
- ```
41
-
42
- #### Using the get_with_http_info variant
43
-
44
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
45
-
46
- > <Array(nil, Integer, Hash)> get_with_http_info(name, path, opts)
47
-
48
- ```ruby
49
- begin
50
-
51
- data, status_code, headers = api_instance.get_with_http_info(name, path, opts)
52
- p status_code # => 2xx
53
- p headers # => { ... }
54
- p data # => nil
55
- rescue PulpMavenClient::ApiError => e
56
- puts "Error when calling PulpMavenApi->get_with_http_info: #{e}"
57
- end
58
- ```
59
-
60
- ### Parameters
61
-
62
- | Name | Type | Description | Notes |
63
- | ---- | ---- | ----------- | ----- |
64
- | **name** | **String** | | |
65
- | **path** | **String** | | |
66
- | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
67
- | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
68
- | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
69
-
70
- ### Return type
71
-
72
- nil (empty response body)
73
-
74
- ### Authorization
75
-
76
- No authorization required
77
-
78
- ### HTTP request headers
79
-
80
- - **Content-Type**: Not defined
81
- - **Accept**: Not defined
82
-
83
-
84
- ## put
85
-
86
- > put(name, path, opts)
87
-
88
-
89
-
90
- ViewSet for interacting with maven deploy API
91
-
92
- ### Examples
93
-
94
- ```ruby
95
- require 'time'
96
- require 'pulp_maven_client'
97
-
98
- api_instance = PulpMavenClient::PulpMavenApi.new
99
- name = 'name_example' # String |
100
- path = 'path_example' # String |
101
- opts = {
102
- x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
103
- }
104
-
105
- begin
106
-
107
- api_instance.put(name, path, opts)
108
- rescue PulpMavenClient::ApiError => e
109
- puts "Error when calling PulpMavenApi->put: #{e}"
110
- end
111
- ```
112
-
113
- #### Using the put_with_http_info variant
114
-
115
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
116
-
117
- > <Array(nil, Integer, Hash)> put_with_http_info(name, path, opts)
118
-
119
- ```ruby
120
- begin
121
-
122
- data, status_code, headers = api_instance.put_with_http_info(name, path, opts)
123
- p status_code # => 2xx
124
- p headers # => { ... }
125
- p data # => nil
126
- rescue PulpMavenClient::ApiError => e
127
- puts "Error when calling PulpMavenApi->put_with_http_info: #{e}"
128
- end
129
- ```
130
-
131
- ### Parameters
132
-
133
- | Name | Type | Description | Notes |
134
- | ---- | ---- | ----------- | ----- |
135
- | **name** | **String** | | |
136
- | **path** | **String** | | |
137
- | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
138
-
139
- ### Return type
140
-
141
- nil (empty response body)
142
-
143
- ### Authorization
144
-
145
- No authorization required
146
-
147
- ### HTTP request headers
148
-
149
- - **Content-Type**: Not defined
150
- - **Accept**: Not defined
151
-
@@ -1,184 +0,0 @@
1
- =begin
2
- #Pulp 3 API
3
-
4
- #Fetch, Upload, Organize, and Distribute Software Packages
5
-
6
- The version of the OpenAPI document: v3
7
- Contact: pulp-list@redhat.com
8
- Generated by: https://openapi-generator.tech
9
- Generator version: 7.10.0
10
-
11
- =end
12
-
13
- require 'cgi'
14
-
15
- module PulpMavenClient
16
- class PulpMavenApi
17
- attr_accessor :api_client
18
-
19
- def initialize(api_client = ApiClient.default)
20
- @api_client = api_client
21
- end
22
- # Responds to GET requests about manifests by reference
23
- # @param name [String]
24
- # @param path [String]
25
- # @param [Hash] opts the optional parameters
26
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
27
- # @option opts [Array<String>] :fields A list of fields to include in the response.
28
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
29
- # @return [nil]
30
- def get(name, path, opts = {})
31
- get_with_http_info(name, path, opts)
32
- nil
33
- end
34
-
35
- # Responds to GET requests about manifests by reference
36
- # @param name [String]
37
- # @param path [String]
38
- # @param [Hash] opts the optional parameters
39
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
40
- # @option opts [Array<String>] :fields A list of fields to include in the response.
41
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
42
- # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
43
- def get_with_http_info(name, path, opts = {})
44
- if @api_client.config.debugging
45
- @api_client.config.logger.debug 'Calling API: PulpMavenApi.get ...'
46
- end
47
- # verify the required parameter 'name' is set
48
- if @api_client.config.client_side_validation && name.nil?
49
- fail ArgumentError, "Missing the required parameter 'name' when calling PulpMavenApi.get"
50
- end
51
- pattern = Regexp.new(/^[\w-]+$/)
52
- if @api_client.config.client_side_validation && name !~ pattern
53
- fail ArgumentError, "invalid value for 'name' when calling PulpMavenApi.get, must conform to the pattern #{pattern}."
54
- end
55
-
56
- # verify the required parameter 'path' is set
57
- if @api_client.config.client_side_validation && path.nil?
58
- fail ArgumentError, "Missing the required parameter 'path' when calling PulpMavenApi.get"
59
- end
60
- pattern = Regexp.new(/^.*$/)
61
- if @api_client.config.client_side_validation && path !~ pattern
62
- fail ArgumentError, "invalid value for 'path' when calling PulpMavenApi.get, must conform to the pattern #{pattern}."
63
- end
64
-
65
- # resource path
66
- local_var_path = '/pulp/maven/{name}/{path}'.sub('{' + 'name' + '}', CGI.escape(name.to_s).gsub('%2F', '/')).sub('{' + 'path' + '}', CGI.escape(path.to_s).gsub('%2F', '/'))
67
-
68
- # query parameters
69
- query_params = opts[:query_params] || {}
70
- query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
71
- query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
72
-
73
- # header parameters
74
- header_params = opts[:header_params] || {}
75
- header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
76
-
77
- # form parameters
78
- form_params = opts[:form_params] || {}
79
-
80
- # http body (model)
81
- post_body = opts[:debug_body]
82
-
83
- # return_type
84
- return_type = opts[:debug_return_type]
85
-
86
- # auth_names
87
- auth_names = opts[:debug_auth_names] || []
88
-
89
- new_options = opts.merge(
90
- :operation => :"PulpMavenApi.get",
91
- :header_params => header_params,
92
- :query_params => query_params,
93
- :form_params => form_params,
94
- :body => post_body,
95
- :auth_names => auth_names,
96
- :return_type => return_type
97
- )
98
-
99
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
100
- if @api_client.config.debugging
101
- @api_client.config.logger.debug "API called: PulpMavenApi#get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
102
- end
103
- return data, status_code, headers
104
- end
105
-
106
- # ViewSet for interacting with maven deploy API
107
- # @param name [String]
108
- # @param path [String]
109
- # @param [Hash] opts the optional parameters
110
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
111
- # @return [nil]
112
- def put(name, path, opts = {})
113
- put_with_http_info(name, path, opts)
114
- nil
115
- end
116
-
117
- # ViewSet for interacting with maven deploy API
118
- # @param name [String]
119
- # @param path [String]
120
- # @param [Hash] opts the optional parameters
121
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
122
- # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
123
- def put_with_http_info(name, path, opts = {})
124
- if @api_client.config.debugging
125
- @api_client.config.logger.debug 'Calling API: PulpMavenApi.put ...'
126
- end
127
- # verify the required parameter 'name' is set
128
- if @api_client.config.client_side_validation && name.nil?
129
- fail ArgumentError, "Missing the required parameter 'name' when calling PulpMavenApi.put"
130
- end
131
- pattern = Regexp.new(/^[\w-]+$/)
132
- if @api_client.config.client_side_validation && name !~ pattern
133
- fail ArgumentError, "invalid value for 'name' when calling PulpMavenApi.put, must conform to the pattern #{pattern}."
134
- end
135
-
136
- # verify the required parameter 'path' is set
137
- if @api_client.config.client_side_validation && path.nil?
138
- fail ArgumentError, "Missing the required parameter 'path' when calling PulpMavenApi.put"
139
- end
140
- pattern = Regexp.new(/^.*$/)
141
- if @api_client.config.client_side_validation && path !~ pattern
142
- fail ArgumentError, "invalid value for 'path' when calling PulpMavenApi.put, must conform to the pattern #{pattern}."
143
- end
144
-
145
- # resource path
146
- local_var_path = '/pulp/maven/{name}/{path}'.sub('{' + 'name' + '}', CGI.escape(name.to_s).gsub('%2F', '/')).sub('{' + 'path' + '}', CGI.escape(path.to_s).gsub('%2F', '/'))
147
-
148
- # query parameters
149
- query_params = opts[:query_params] || {}
150
-
151
- # header parameters
152
- header_params = opts[:header_params] || {}
153
- header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
154
-
155
- # form parameters
156
- form_params = opts[:form_params] || {}
157
-
158
- # http body (model)
159
- post_body = opts[:debug_body]
160
-
161
- # return_type
162
- return_type = opts[:debug_return_type]
163
-
164
- # auth_names
165
- auth_names = opts[:debug_auth_names] || []
166
-
167
- new_options = opts.merge(
168
- :operation => :"PulpMavenApi.put",
169
- :header_params => header_params,
170
- :query_params => query_params,
171
- :form_params => form_params,
172
- :body => post_body,
173
- :auth_names => auth_names,
174
- :return_type => return_type
175
- )
176
-
177
- data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
178
- if @api_client.config.debugging
179
- @api_client.config.logger.debug "API called: PulpMavenApi#put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
180
- end
181
- return data, status_code, headers
182
- end
183
- end
184
- end
@@ -1,63 +0,0 @@
1
- =begin
2
- #Pulp 3 API
3
-
4
- #Fetch, Upload, Organize, and Distribute Software Packages
5
-
6
- The version of the OpenAPI document: v3
7
- Contact: pulp-list@redhat.com
8
- Generated by: https://openapi-generator.tech
9
- Generator version: 7.10.0
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
-
16
- # Unit tests for PulpMavenClient::PulpMavenApi
17
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
- # Please update as you see appropriate
19
- describe 'PulpMavenApi' do
20
- before do
21
- # run before each test
22
- @api_instance = PulpMavenClient::PulpMavenApi.new
23
- end
24
-
25
- after do
26
- # run after each test
27
- end
28
-
29
- describe 'test an instance of PulpMavenApi' do
30
- it 'should create an instance of PulpMavenApi' do
31
- expect(@api_instance).to be_instance_of(PulpMavenClient::PulpMavenApi)
32
- end
33
- end
34
-
35
- # unit tests for get
36
- # Responds to GET requests about manifests by reference
37
- # @param name
38
- # @param path
39
- # @param [Hash] opts the optional parameters
40
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
41
- # @option opts [Array<String>] :fields A list of fields to include in the response.
42
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
43
- # @return [nil]
44
- describe 'get test' do
45
- it 'should work' do
46
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
47
- end
48
- end
49
-
50
- # unit tests for put
51
- # ViewSet for interacting with maven deploy API
52
- # @param name
53
- # @param path
54
- # @param [Hash] opts the optional parameters
55
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
56
- # @return [nil]
57
- describe 'put test' do
58
- it 'should work' do
59
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
60
- end
61
- end
62
-
63
- end