pulp_maven_client 0.25.0 → 0.26.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 +10 -4
- data/docs/ContentPackageApi.md +6 -0
- data/docs/MavenMavenPackageResponse.md +2 -0
- data/docs/MavenPackageReleaseResponse.md +22 -0
- data/docs/MavenRepositoryMetricsResponse.md +22 -0
- data/docs/MavenRepositoryPackageResponse.md +24 -0
- data/docs/PaginatedMavenRepositoryPackageListResponse.md +24 -0
- data/docs/RepositoriesMavenApi.md +166 -0
- data/lib/pulp_maven_client/api/content_package_api.rb +9 -0
- data/lib/pulp_maven_client/api/repositories_maven_api.rb +156 -0
- data/lib/pulp_maven_client/models/maven_maven_package_response.rb +11 -1
- data/lib/pulp_maven_client/models/maven_package_release_response.rb +257 -0
- data/lib/pulp_maven_client/models/maven_repository_metrics_response.rb +257 -0
- data/lib/pulp_maven_client/models/maven_repository_package_response.rb +278 -0
- data/lib/pulp_maven_client/models/nested_role.rb +1 -1
- data/lib/pulp_maven_client/models/nested_role_response.rb +1 -1
- data/lib/pulp_maven_client/models/paginated_maven_repository_package_list_response.rb +263 -0
- data/lib/pulp_maven_client/models/repository_add_remove_content.rb +1 -1
- data/lib/pulp_maven_client/models/repository_version_response.rb +1 -1
- data/lib/pulp_maven_client/version.rb +1 -1
- data/lib/pulp_maven_client.rb +4 -0
- data/spec/api/content_package_api_spec.rb +3 -0
- data/spec/api/repositories_maven_api_spec.rb +34 -0
- data/spec/models/maven_maven_package_response_spec.rb +6 -0
- data/spec/models/maven_package_release_response_spec.rb +48 -0
- data/spec/models/maven_repository_metrics_response_spec.rb +48 -0
- data/spec/models/maven_repository_package_response_spec.rb +54 -0
- data/spec/models/paginated_maven_repository_package_list_response_spec.rb +54 -0
- metadata +51 -35
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 22c4d15a39b134a7b8d2d841d27f87d7dbd16ee2a1d5294dae643951cc0efd5b
|
|
4
|
+
data.tar.gz: e75278c0e7f0379bb16b8dc5bbae422b60f4711a27bfba88c954970df421ed6a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a53f7f4467815589c653eda47db9317f64b3d84916976c41eb20d8ab1e968d5515baf329a341270c23604a81c6eb71c2e3f58731e66132cdbfe084461bd6418e
|
|
7
|
+
data.tar.gz: 13cae39649bc80f6cf35fa080e57f2a99dd8ec10910100508ed4f073d041b33f4e60397496600249e8c8b50c339726e81a67940944d43407f01eca62ad2f5d19
|
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.26.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.26.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.26.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.26.0'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
|
@@ -145,8 +145,10 @@ Class | Method | HTTP request | Description
|
|
|
145
145
|
*PulpMavenClient::RepositoriesMavenApi* | [**delete**](docs/RepositoriesMavenApi.md#delete) | **DELETE** {maven_maven_repository_href} | Delete a maven repository
|
|
146
146
|
*PulpMavenClient::RepositoriesMavenApi* | [**list**](docs/RepositoriesMavenApi.md#list) | **GET** /pulp/api/v3/repositories/maven/maven/ | List maven repositorys
|
|
147
147
|
*PulpMavenClient::RepositoriesMavenApi* | [**list_roles**](docs/RepositoriesMavenApi.md#list_roles) | **GET** {maven_maven_repository_href}list_roles/ | List roles
|
|
148
|
+
*PulpMavenClient::RepositoriesMavenApi* | [**metrics**](docs/RepositoriesMavenApi.md#metrics) | **GET** {maven_maven_repository_href}metrics/ | Repository metrics
|
|
148
149
|
*PulpMavenClient::RepositoriesMavenApi* | [**modify**](docs/RepositoriesMavenApi.md#modify) | **POST** {maven_maven_repository_href}modify/ | Modify Repository Content
|
|
149
150
|
*PulpMavenClient::RepositoriesMavenApi* | [**my_permissions**](docs/RepositoriesMavenApi.md#my_permissions) | **GET** {maven_maven_repository_href}my_permissions/ | List user permissions
|
|
151
|
+
*PulpMavenClient::RepositoriesMavenApi* | [**packages**](docs/RepositoriesMavenApi.md#packages) | **GET** {maven_maven_repository_href}packages/ | List packages
|
|
150
152
|
*PulpMavenClient::RepositoriesMavenApi* | [**partial_update**](docs/RepositoriesMavenApi.md#partial_update) | **PATCH** {maven_maven_repository_href} | Update a maven repository
|
|
151
153
|
*PulpMavenClient::RepositoriesMavenApi* | [**read**](docs/RepositoriesMavenApi.md#read) | **GET** {maven_maven_repository_href} | Inspect a maven repository
|
|
152
154
|
*PulpMavenClient::RepositoriesMavenApi* | [**remove_role**](docs/RepositoriesMavenApi.md#remove_role) | **POST** {maven_maven_repository_href}remove_role/ | Remove a role
|
|
@@ -174,10 +176,14 @@ Class | Method | HTTP request | Description
|
|
|
174
176
|
- [PulpMavenClient::MavenMavenRemoteResponseHiddenFieldsInner](docs/MavenMavenRemoteResponseHiddenFieldsInner.md)
|
|
175
177
|
- [PulpMavenClient::MavenMavenRepository](docs/MavenMavenRepository.md)
|
|
176
178
|
- [PulpMavenClient::MavenMavenRepositoryResponse](docs/MavenMavenRepositoryResponse.md)
|
|
179
|
+
- [PulpMavenClient::MavenPackageReleaseResponse](docs/MavenPackageReleaseResponse.md)
|
|
180
|
+
- [PulpMavenClient::MavenRepositoryMetricsResponse](docs/MavenRepositoryMetricsResponse.md)
|
|
181
|
+
- [PulpMavenClient::MavenRepositoryPackageResponse](docs/MavenRepositoryPackageResponse.md)
|
|
177
182
|
- [PulpMavenClient::MyPermissionsResponse](docs/MyPermissionsResponse.md)
|
|
178
183
|
- [PulpMavenClient::NestedRole](docs/NestedRole.md)
|
|
179
184
|
- [PulpMavenClient::NestedRoleResponse](docs/NestedRoleResponse.md)
|
|
180
185
|
- [PulpMavenClient::ObjectRolesResponse](docs/ObjectRolesResponse.md)
|
|
186
|
+
- [PulpMavenClient::PaginatedMavenRepositoryPackageListResponse](docs/PaginatedMavenRepositoryPackageListResponse.md)
|
|
181
187
|
- [PulpMavenClient::PaginatedRepositoryVersionResponseList](docs/PaginatedRepositoryVersionResponseList.md)
|
|
182
188
|
- [PulpMavenClient::PaginatedmavenMavenArtifactResponseList](docs/PaginatedmavenMavenArtifactResponseList.md)
|
|
183
189
|
- [PulpMavenClient::PaginatedmavenMavenDistributionResponseList](docs/PaginatedmavenMavenDistributionResponseList.md)
|
data/docs/ContentPackageApi.md
CHANGED
|
@@ -34,6 +34,8 @@ api_instance = PulpMavenClient::ContentPackageApi.new
|
|
|
34
34
|
opts = {
|
|
35
35
|
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
36
36
|
artifact_id: 'artifact_id_example', # String | Filter results where artifact_id matches value
|
|
37
|
+
base_version: 'base_version_example', # String | Match units whose version strips to this logical version (same suffix as collapse_builds: \\.[a-zA-Z]+-\\d+$). 5.3.18 matches 5.3.18 and 5.3.18.rhlw-00003, but not 5.3.180.
|
|
38
|
+
collapse_builds: true, # Boolean | When true, collapse rebuilds of the same logical version: strip a trailing suffix matching \\.[a-zA-Z]+-\\d+$ from version, then keep one MavenPackage per (group_id, artifact_id, base_version) with the latest pulp_created. Default false.
|
|
37
39
|
group_id: 'group_id_example', # String | Filter results where group_id matches value
|
|
38
40
|
limit: 56, # Integer | Number of results to return per page.
|
|
39
41
|
name: 'name_example', # String | Filter results where name matches value
|
|
@@ -50,6 +52,7 @@ opts = {
|
|
|
50
52
|
repository_version_added: 'repository_version_added_example', # String |
|
|
51
53
|
repository_version_removed: 'repository_version_removed_example', # String |
|
|
52
54
|
version: 'version_example', # String | Filter results where version matches value
|
|
55
|
+
version__startswith: 'version__startswith_example', # String | Filter results where version starts with value
|
|
53
56
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
|
54
57
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
|
55
58
|
}
|
|
@@ -87,6 +90,8 @@ end
|
|
|
87
90
|
| ---- | ---- | ----------- | ----- |
|
|
88
91
|
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
89
92
|
| **artifact_id** | **String** | Filter results where artifact_id matches value | [optional] |
|
|
93
|
+
| **base_version** | **String** | Match units whose version strips to this logical version (same suffix as collapse_builds: \\.[a-zA-Z]+-\\d+$). 5.3.18 matches 5.3.18 and 5.3.18.rhlw-00003, but not 5.3.180. | [optional] |
|
|
94
|
+
| **collapse_builds** | **Boolean** | When true, collapse rebuilds of the same logical version: strip a trailing suffix matching \\.[a-zA-Z]+-\\d+$ from version, then keep one MavenPackage per (group_id, artifact_id, base_version) with the latest pulp_created. Default false. | [optional] |
|
|
90
95
|
| **group_id** | **String** | Filter results where group_id matches value | [optional] |
|
|
91
96
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
|
92
97
|
| **name** | **String** | Filter results where name matches value | [optional] |
|
|
@@ -103,6 +108,7 @@ end
|
|
|
103
108
|
| **repository_version_added** | **String** | | [optional] |
|
|
104
109
|
| **repository_version_removed** | **String** | | [optional] |
|
|
105
110
|
| **version** | **String** | Filter results where version matches value | [optional] |
|
|
111
|
+
| **version__startswith** | **String** | Filter results where version starts with value | [optional] |
|
|
106
112
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
|
107
113
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
|
108
114
|
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
| **group_id** | **String** | Group Id of the package. | [optional][readonly] |
|
|
14
14
|
| **artifact_id** | **String** | Artifact Id of the package. | [optional][readonly] |
|
|
15
15
|
| **version** | **String** | Version of the package. | [optional][readonly] |
|
|
16
|
+
| **base_version** | **String** | The package version with a trailing rebuild suffix stripped (matching \\.[a-zA-Z]+-\\d+$). Equal to version when no suffix is present. | [optional][readonly] |
|
|
16
17
|
| **name** | **String** | Human-readable name from the POM. | [optional][readonly] |
|
|
17
18
|
| **description** | **String** | Description from the POM. | [optional][readonly] |
|
|
18
19
|
| **packaging** | **String** | Packaging type (jar, war, pom, etc). | [optional][readonly] |
|
|
@@ -36,6 +37,7 @@ instance = PulpMavenClient::MavenMavenPackageResponse.new(
|
|
|
36
37
|
group_id: null,
|
|
37
38
|
artifact_id: null,
|
|
38
39
|
version: null,
|
|
40
|
+
base_version: null,
|
|
39
41
|
name: null,
|
|
40
42
|
description: null,
|
|
41
43
|
packaging: null,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# PulpMavenClient::MavenPackageReleaseResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **version** | **String** | Logical version key (rebuild suffix stripped). | |
|
|
8
|
+
| **release** | **String** | Rebuild/release qualifier within the version line (e.g. rhlw-00003). Empty when the selected unit has no rebuild suffix. | |
|
|
9
|
+
| **created_at** | **Time** | When this logical version entered the repository: RepositoryContent.pulp_created of the newest rebuild, falling back to the content unit's pulp_created. | |
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```ruby
|
|
14
|
+
require 'pulp_maven_client'
|
|
15
|
+
|
|
16
|
+
instance = PulpMavenClient::MavenPackageReleaseResponse.new(
|
|
17
|
+
version: null,
|
|
18
|
+
release: null,
|
|
19
|
+
created_at: null
|
|
20
|
+
)
|
|
21
|
+
```
|
|
22
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# PulpMavenClient::MavenRepositoryMetricsResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **package_count** | **Integer** | Distinct (group_id, artifact_id) pairs among MavenPackage units. | |
|
|
8
|
+
| **version_count** | **Integer** | Distinct (group_id, artifact_id, base_version) triples after rebuild-suffix strip. | |
|
|
9
|
+
| **build_count** | **Integer** | Distinct (group_id, artifact_id, full version) GAVs among MavenPackage units. | |
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```ruby
|
|
14
|
+
require 'pulp_maven_client'
|
|
15
|
+
|
|
16
|
+
instance = PulpMavenClient::MavenRepositoryMetricsResponse.new(
|
|
17
|
+
package_count: null,
|
|
18
|
+
version_count: null,
|
|
19
|
+
build_count: null
|
|
20
|
+
)
|
|
21
|
+
```
|
|
22
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# PulpMavenClient::MavenRepositoryPackageResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **group_id** | **String** | Maven groupId. Index rows are unique on GA. | |
|
|
8
|
+
| **artifact_id** | **String** | Maven artifactId. Index rows are unique on GA. | |
|
|
9
|
+
| **versions** | **Array<String>** | Distinct logical version keys after rebuild-suffix strip. The set of values matches latest_releases[].version. | |
|
|
10
|
+
| **latest_releases** | [**Array<MavenPackageReleaseResponse>**](MavenPackageReleaseResponse.md) | Newest rebuild per logical version (latest pulp_created). set(versions) === set(latest_releases[].version). | |
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'pulp_maven_client'
|
|
16
|
+
|
|
17
|
+
instance = PulpMavenClient::MavenRepositoryPackageResponse.new(
|
|
18
|
+
group_id: null,
|
|
19
|
+
artifact_id: null,
|
|
20
|
+
versions: null,
|
|
21
|
+
latest_releases: null
|
|
22
|
+
)
|
|
23
|
+
```
|
|
24
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# PulpMavenClient::PaginatedMavenRepositoryPackageListResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **count** | **Integer** | | |
|
|
8
|
+
| **_next** | **String** | | |
|
|
9
|
+
| **previous** | **String** | | |
|
|
10
|
+
| **results** | [**Array<MavenRepositoryPackageResponse>**](MavenRepositoryPackageResponse.md) | | |
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'pulp_maven_client'
|
|
16
|
+
|
|
17
|
+
instance = PulpMavenClient::PaginatedMavenRepositoryPackageListResponse.new(
|
|
18
|
+
count: null,
|
|
19
|
+
_next: null,
|
|
20
|
+
previous: null,
|
|
21
|
+
results: null
|
|
22
|
+
)
|
|
23
|
+
```
|
|
24
|
+
|
|
@@ -10,8 +10,10 @@ All URIs are relative to *http://localhost:24817*
|
|
|
10
10
|
| [**delete**](RepositoriesMavenApi.md#delete) | **DELETE** {maven_maven_repository_href} | Delete a maven repository |
|
|
11
11
|
| [**list**](RepositoriesMavenApi.md#list) | **GET** /pulp/api/v3/repositories/maven/maven/ | List maven repositorys |
|
|
12
12
|
| [**list_roles**](RepositoriesMavenApi.md#list_roles) | **GET** {maven_maven_repository_href}list_roles/ | List roles |
|
|
13
|
+
| [**metrics**](RepositoriesMavenApi.md#metrics) | **GET** {maven_maven_repository_href}metrics/ | Repository metrics |
|
|
13
14
|
| [**modify**](RepositoriesMavenApi.md#modify) | **POST** {maven_maven_repository_href}modify/ | Modify Repository Content |
|
|
14
15
|
| [**my_permissions**](RepositoriesMavenApi.md#my_permissions) | **GET** {maven_maven_repository_href}my_permissions/ | List user permissions |
|
|
16
|
+
| [**packages**](RepositoriesMavenApi.md#packages) | **GET** {maven_maven_repository_href}packages/ | List packages |
|
|
15
17
|
| [**partial_update**](RepositoriesMavenApi.md#partial_update) | **PATCH** {maven_maven_repository_href} | Update a maven repository |
|
|
16
18
|
| [**read**](RepositoriesMavenApi.md#read) | **GET** {maven_maven_repository_href} | Inspect a maven repository |
|
|
17
19
|
| [**remove_role**](RepositoriesMavenApi.md#remove_role) | **POST** {maven_maven_repository_href}remove_role/ | Remove a role |
|
|
@@ -547,6 +549,86 @@ end
|
|
|
547
549
|
- **Accept**: application/json
|
|
548
550
|
|
|
549
551
|
|
|
552
|
+
## metrics
|
|
553
|
+
|
|
554
|
+
> <MavenRepositoryMetricsResponse> metrics(maven_maven_repository_href, opts)
|
|
555
|
+
|
|
556
|
+
Repository metrics
|
|
557
|
+
|
|
558
|
+
Distinct counts for MavenPackage content in a repository version (latest complete version if repository_version is omitted). package_count is distinct (group_id, artifact_id). version_count is distinct (group_id, artifact_id, base_version) after rebuild-suffix strip. build_count is distinct (group_id, artifact_id, full version). Counts use MavenPackage (POM-backed GAV), not MavenArtifact files.
|
|
559
|
+
|
|
560
|
+
### Examples
|
|
561
|
+
|
|
562
|
+
```ruby
|
|
563
|
+
require 'time'
|
|
564
|
+
require 'pulp_maven_client'
|
|
565
|
+
# setup authorization
|
|
566
|
+
PulpMavenClient.configure do |config|
|
|
567
|
+
# Configure HTTP basic authorization: basicAuth
|
|
568
|
+
config.username = 'YOUR USERNAME'
|
|
569
|
+
config.password = 'YOUR PASSWORD'
|
|
570
|
+
end
|
|
571
|
+
|
|
572
|
+
api_instance = PulpMavenClient::RepositoriesMavenApi.new
|
|
573
|
+
maven_maven_repository_href = 'maven_maven_repository_href_example' # String |
|
|
574
|
+
opts = {
|
|
575
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
576
|
+
repository_version: 'repository_version_example', # String | HREF or PRN of a version of this repository. Defaults to the latest complete version.
|
|
577
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
|
578
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
begin
|
|
582
|
+
# Repository metrics
|
|
583
|
+
result = api_instance.metrics(maven_maven_repository_href, opts)
|
|
584
|
+
p result
|
|
585
|
+
rescue PulpMavenClient::ApiError => e
|
|
586
|
+
puts "Error when calling RepositoriesMavenApi->metrics: #{e}"
|
|
587
|
+
end
|
|
588
|
+
```
|
|
589
|
+
|
|
590
|
+
#### Using the metrics_with_http_info variant
|
|
591
|
+
|
|
592
|
+
This returns an Array which contains the response data, status code and headers.
|
|
593
|
+
|
|
594
|
+
> <Array(<MavenRepositoryMetricsResponse>, Integer, Hash)> metrics_with_http_info(maven_maven_repository_href, opts)
|
|
595
|
+
|
|
596
|
+
```ruby
|
|
597
|
+
begin
|
|
598
|
+
# Repository metrics
|
|
599
|
+
data, status_code, headers = api_instance.metrics_with_http_info(maven_maven_repository_href, opts)
|
|
600
|
+
p status_code # => 2xx
|
|
601
|
+
p headers # => { ... }
|
|
602
|
+
p data # => <MavenRepositoryMetricsResponse>
|
|
603
|
+
rescue PulpMavenClient::ApiError => e
|
|
604
|
+
puts "Error when calling RepositoriesMavenApi->metrics_with_http_info: #{e}"
|
|
605
|
+
end
|
|
606
|
+
```
|
|
607
|
+
|
|
608
|
+
### Parameters
|
|
609
|
+
|
|
610
|
+
| Name | Type | Description | Notes |
|
|
611
|
+
| ---- | ---- | ----------- | ----- |
|
|
612
|
+
| **maven_maven_repository_href** | **String** | | |
|
|
613
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
614
|
+
| **repository_version** | **String** | HREF or PRN of a version of this repository. Defaults to the latest complete version. | [optional] |
|
|
615
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
|
616
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
|
617
|
+
|
|
618
|
+
### Return type
|
|
619
|
+
|
|
620
|
+
[**MavenRepositoryMetricsResponse**](MavenRepositoryMetricsResponse.md)
|
|
621
|
+
|
|
622
|
+
### Authorization
|
|
623
|
+
|
|
624
|
+
[basicAuth](../README.md#basicAuth)
|
|
625
|
+
|
|
626
|
+
### HTTP request headers
|
|
627
|
+
|
|
628
|
+
- **Content-Type**: Not defined
|
|
629
|
+
- **Accept**: application/json
|
|
630
|
+
|
|
631
|
+
|
|
550
632
|
## modify
|
|
551
633
|
|
|
552
634
|
> <AsyncOperationResponse> modify(maven_maven_repository_href, repository_add_remove_content, opts)
|
|
@@ -701,6 +783,90 @@ end
|
|
|
701
783
|
- **Accept**: application/json
|
|
702
784
|
|
|
703
785
|
|
|
786
|
+
## packages
|
|
787
|
+
|
|
788
|
+
> <PaginatedMavenRepositoryPackageListResponse> packages(maven_maven_repository_href, opts)
|
|
789
|
+
|
|
790
|
+
List packages
|
|
791
|
+
|
|
792
|
+
Return one row per distinct (group_id, artifact_id) in a repository version (latest complete version if repository_version is omitted). Pagination count is the number of distinct packages, not GAVs. Each row includes versions (logical version keys after rebuild-suffix strip) and latest_releases (newest rebuild per logical version). set(versions) === set(latest_releases[].version).
|
|
793
|
+
|
|
794
|
+
### Examples
|
|
795
|
+
|
|
796
|
+
```ruby
|
|
797
|
+
require 'time'
|
|
798
|
+
require 'pulp_maven_client'
|
|
799
|
+
# setup authorization
|
|
800
|
+
PulpMavenClient.configure do |config|
|
|
801
|
+
# Configure HTTP basic authorization: basicAuth
|
|
802
|
+
config.username = 'YOUR USERNAME'
|
|
803
|
+
config.password = 'YOUR PASSWORD'
|
|
804
|
+
end
|
|
805
|
+
|
|
806
|
+
api_instance = PulpMavenClient::RepositoriesMavenApi.new
|
|
807
|
+
maven_maven_repository_href = 'maven_maven_repository_href_example' # String |
|
|
808
|
+
opts = {
|
|
809
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
810
|
+
artifact_id__istartswith: 'artifact_id__istartswith_example', # String | Case-insensitive prefix on artifact_id.
|
|
811
|
+
group_id__istartswith: 'group_id__istartswith_example', # String | Case-insensitive prefix on group_id.
|
|
812
|
+
repository_version: 'repository_version_example', # String | HREF or PRN of a version of this repository. Defaults to the latest complete version.
|
|
813
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
|
814
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
begin
|
|
818
|
+
# List packages
|
|
819
|
+
result = api_instance.packages(maven_maven_repository_href, opts)
|
|
820
|
+
p result
|
|
821
|
+
rescue PulpMavenClient::ApiError => e
|
|
822
|
+
puts "Error when calling RepositoriesMavenApi->packages: #{e}"
|
|
823
|
+
end
|
|
824
|
+
```
|
|
825
|
+
|
|
826
|
+
#### Using the packages_with_http_info variant
|
|
827
|
+
|
|
828
|
+
This returns an Array which contains the response data, status code and headers.
|
|
829
|
+
|
|
830
|
+
> <Array(<PaginatedMavenRepositoryPackageListResponse>, Integer, Hash)> packages_with_http_info(maven_maven_repository_href, opts)
|
|
831
|
+
|
|
832
|
+
```ruby
|
|
833
|
+
begin
|
|
834
|
+
# List packages
|
|
835
|
+
data, status_code, headers = api_instance.packages_with_http_info(maven_maven_repository_href, opts)
|
|
836
|
+
p status_code # => 2xx
|
|
837
|
+
p headers # => { ... }
|
|
838
|
+
p data # => <PaginatedMavenRepositoryPackageListResponse>
|
|
839
|
+
rescue PulpMavenClient::ApiError => e
|
|
840
|
+
puts "Error when calling RepositoriesMavenApi->packages_with_http_info: #{e}"
|
|
841
|
+
end
|
|
842
|
+
```
|
|
843
|
+
|
|
844
|
+
### Parameters
|
|
845
|
+
|
|
846
|
+
| Name | Type | Description | Notes |
|
|
847
|
+
| ---- | ---- | ----------- | ----- |
|
|
848
|
+
| **maven_maven_repository_href** | **String** | | |
|
|
849
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
850
|
+
| **artifact_id__istartswith** | **String** | Case-insensitive prefix on artifact_id. | [optional] |
|
|
851
|
+
| **group_id__istartswith** | **String** | Case-insensitive prefix on group_id. | [optional] |
|
|
852
|
+
| **repository_version** | **String** | HREF or PRN of a version of this repository. Defaults to the latest complete version. | [optional] |
|
|
853
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
|
854
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
|
855
|
+
|
|
856
|
+
### Return type
|
|
857
|
+
|
|
858
|
+
[**PaginatedMavenRepositoryPackageListResponse**](PaginatedMavenRepositoryPackageListResponse.md)
|
|
859
|
+
|
|
860
|
+
### Authorization
|
|
861
|
+
|
|
862
|
+
[basicAuth](../README.md#basicAuth)
|
|
863
|
+
|
|
864
|
+
### HTTP request headers
|
|
865
|
+
|
|
866
|
+
- **Content-Type**: Not defined
|
|
867
|
+
- **Accept**: application/json
|
|
868
|
+
|
|
869
|
+
|
|
704
870
|
## partial_update
|
|
705
871
|
|
|
706
872
|
> <MavenMavenRepositoryResponse> partial_update(maven_maven_repository_href, patchedmaven_maven_repository, opts)
|
|
@@ -24,6 +24,8 @@ module PulpMavenClient
|
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
25
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
26
26
|
# @option opts [String] :artifact_id Filter results where artifact_id matches value
|
|
27
|
+
# @option opts [String] :base_version Match units whose version strips to this logical version (same suffix as collapse_builds: \\.[a-zA-Z]+-\\d+$). 5.3.18 matches 5.3.18 and 5.3.18.rhlw-00003, but not 5.3.180.
|
|
28
|
+
# @option opts [Boolean] :collapse_builds When true, collapse rebuilds of the same logical version: strip a trailing suffix matching \\.[a-zA-Z]+-\\d+$ from version, then keep one MavenPackage per (group_id, artifact_id, base_version) with the latest pulp_created. Default false.
|
|
27
29
|
# @option opts [String] :group_id Filter results where group_id matches value
|
|
28
30
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
29
31
|
# @option opts [String] :name Filter results where name matches value
|
|
@@ -40,6 +42,7 @@ module PulpMavenClient
|
|
|
40
42
|
# @option opts [String] :repository_version_added
|
|
41
43
|
# @option opts [String] :repository_version_removed
|
|
42
44
|
# @option opts [String] :version Filter results where version matches value
|
|
45
|
+
# @option opts [String] :version__startswith Filter results where version starts with value
|
|
43
46
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
44
47
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
45
48
|
# @return [PaginatedmavenMavenPackageResponseList]
|
|
@@ -53,6 +56,8 @@ module PulpMavenClient
|
|
|
53
56
|
# @param [Hash] opts the optional parameters
|
|
54
57
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
55
58
|
# @option opts [String] :artifact_id Filter results where artifact_id matches value
|
|
59
|
+
# @option opts [String] :base_version Match units whose version strips to this logical version (same suffix as collapse_builds: \\.[a-zA-Z]+-\\d+$). 5.3.18 matches 5.3.18 and 5.3.18.rhlw-00003, but not 5.3.180.
|
|
60
|
+
# @option opts [Boolean] :collapse_builds When true, collapse rebuilds of the same logical version: strip a trailing suffix matching \\.[a-zA-Z]+-\\d+$ from version, then keep one MavenPackage per (group_id, artifact_id, base_version) with the latest pulp_created. Default false.
|
|
56
61
|
# @option opts [String] :group_id Filter results where group_id matches value
|
|
57
62
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
58
63
|
# @option opts [String] :name Filter results where name matches value
|
|
@@ -69,6 +74,7 @@ module PulpMavenClient
|
|
|
69
74
|
# @option opts [String] :repository_version_added
|
|
70
75
|
# @option opts [String] :repository_version_removed
|
|
71
76
|
# @option opts [String] :version Filter results where version matches value
|
|
77
|
+
# @option opts [String] :version__startswith Filter results where version starts with value
|
|
72
78
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
73
79
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
74
80
|
# @return [Array<(PaginatedmavenMavenPackageResponseList, Integer, Hash)>] PaginatedmavenMavenPackageResponseList data, response status code and response headers
|
|
@@ -86,6 +92,8 @@ module PulpMavenClient
|
|
|
86
92
|
# query parameters
|
|
87
93
|
query_params = opts[:query_params] || {}
|
|
88
94
|
query_params[:'artifact_id'] = opts[:'artifact_id'] if !opts[:'artifact_id'].nil?
|
|
95
|
+
query_params[:'base_version'] = opts[:'base_version'] if !opts[:'base_version'].nil?
|
|
96
|
+
query_params[:'collapse_builds'] = opts[:'collapse_builds'] if !opts[:'collapse_builds'].nil?
|
|
89
97
|
query_params[:'group_id'] = opts[:'group_id'] if !opts[:'group_id'].nil?
|
|
90
98
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
91
99
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
|
@@ -102,6 +110,7 @@ module PulpMavenClient
|
|
|
102
110
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
|
103
111
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
|
104
112
|
query_params[:'version'] = opts[:'version'] if !opts[:'version'].nil?
|
|
113
|
+
query_params[:'version__startswith'] = opts[:'version__startswith'] if !opts[:'version__startswith'].nil?
|
|
105
114
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
106
115
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
|
107
116
|
|
|
@@ -560,6 +560,81 @@ module PulpMavenClient
|
|
|
560
560
|
return data, status_code, headers
|
|
561
561
|
end
|
|
562
562
|
|
|
563
|
+
# Repository metrics
|
|
564
|
+
# Distinct counts for MavenPackage content in a repository version (latest complete version if repository_version is omitted). package_count is distinct (group_id, artifact_id). version_count is distinct (group_id, artifact_id, base_version) after rebuild-suffix strip. build_count is distinct (group_id, artifact_id, full version). Counts use MavenPackage (POM-backed GAV), not MavenArtifact files.
|
|
565
|
+
# @param maven_maven_repository_href [String]
|
|
566
|
+
# @param [Hash] opts the optional parameters
|
|
567
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
568
|
+
# @option opts [String] :repository_version HREF or PRN of a version of this repository. Defaults to the latest complete version.
|
|
569
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
570
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
571
|
+
# @return [MavenRepositoryMetricsResponse]
|
|
572
|
+
def metrics(maven_maven_repository_href, opts = {})
|
|
573
|
+
data, _status_code, _headers = metrics_with_http_info(maven_maven_repository_href, opts)
|
|
574
|
+
data
|
|
575
|
+
end
|
|
576
|
+
|
|
577
|
+
# Repository metrics
|
|
578
|
+
# Distinct counts for MavenPackage content in a repository version (latest complete version if repository_version is omitted). package_count is distinct (group_id, artifact_id). version_count is distinct (group_id, artifact_id, base_version) after rebuild-suffix strip. build_count is distinct (group_id, artifact_id, full version). Counts use MavenPackage (POM-backed GAV), not MavenArtifact files.
|
|
579
|
+
# @param maven_maven_repository_href [String]
|
|
580
|
+
# @param [Hash] opts the optional parameters
|
|
581
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
582
|
+
# @option opts [String] :repository_version HREF or PRN of a version of this repository. Defaults to the latest complete version.
|
|
583
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
584
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
585
|
+
# @return [Array<(MavenRepositoryMetricsResponse, Integer, Hash)>] MavenRepositoryMetricsResponse data, response status code and response headers
|
|
586
|
+
def metrics_with_http_info(maven_maven_repository_href, opts = {})
|
|
587
|
+
if @api_client.config.debugging
|
|
588
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesMavenApi.metrics ...'
|
|
589
|
+
end
|
|
590
|
+
# verify the required parameter 'maven_maven_repository_href' is set
|
|
591
|
+
if @api_client.config.client_side_validation && maven_maven_repository_href.nil?
|
|
592
|
+
fail ArgumentError, "Missing the required parameter 'maven_maven_repository_href' when calling RepositoriesMavenApi.metrics"
|
|
593
|
+
end
|
|
594
|
+
# resource path
|
|
595
|
+
local_var_path = '{maven_maven_repository_href}metrics/'.sub('{' + 'maven_maven_repository_href' + '}', CGI.escape(maven_maven_repository_href.to_s).gsub('%2F', '/'))
|
|
596
|
+
|
|
597
|
+
# query parameters
|
|
598
|
+
query_params = opts[:query_params] || {}
|
|
599
|
+
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
|
600
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
601
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
|
602
|
+
|
|
603
|
+
# header parameters
|
|
604
|
+
header_params = opts[:header_params] || {}
|
|
605
|
+
# HTTP header 'Accept' (if needed)
|
|
606
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
607
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
608
|
+
|
|
609
|
+
# form parameters
|
|
610
|
+
form_params = opts[:form_params] || {}
|
|
611
|
+
|
|
612
|
+
# http body (model)
|
|
613
|
+
post_body = opts[:debug_body]
|
|
614
|
+
|
|
615
|
+
# return_type
|
|
616
|
+
return_type = opts[:debug_return_type] || 'MavenRepositoryMetricsResponse'
|
|
617
|
+
|
|
618
|
+
# auth_names
|
|
619
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
|
620
|
+
|
|
621
|
+
new_options = opts.merge(
|
|
622
|
+
:operation => :"RepositoriesMavenApi.metrics",
|
|
623
|
+
:header_params => header_params,
|
|
624
|
+
:query_params => query_params,
|
|
625
|
+
:form_params => form_params,
|
|
626
|
+
:body => post_body,
|
|
627
|
+
:auth_names => auth_names,
|
|
628
|
+
:return_type => return_type
|
|
629
|
+
)
|
|
630
|
+
|
|
631
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
632
|
+
if @api_client.config.debugging
|
|
633
|
+
@api_client.config.logger.debug "API called: RepositoriesMavenApi#metrics\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
634
|
+
end
|
|
635
|
+
return data, status_code, headers
|
|
636
|
+
end
|
|
637
|
+
|
|
563
638
|
# Modify Repository Content
|
|
564
639
|
# Trigger an asynchronous task to create a new repository version.
|
|
565
640
|
# @param maven_maven_repository_href [String]
|
|
@@ -709,6 +784,87 @@ module PulpMavenClient
|
|
|
709
784
|
return data, status_code, headers
|
|
710
785
|
end
|
|
711
786
|
|
|
787
|
+
# List packages
|
|
788
|
+
# Return one row per distinct (group_id, artifact_id) in a repository version (latest complete version if repository_version is omitted). Pagination count is the number of distinct packages, not GAVs. Each row includes versions (logical version keys after rebuild-suffix strip) and latest_releases (newest rebuild per logical version). set(versions) === set(latest_releases[].version).
|
|
789
|
+
# @param maven_maven_repository_href [String]
|
|
790
|
+
# @param [Hash] opts the optional parameters
|
|
791
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
792
|
+
# @option opts [String] :artifact_id__istartswith Case-insensitive prefix on artifact_id.
|
|
793
|
+
# @option opts [String] :group_id__istartswith Case-insensitive prefix on group_id.
|
|
794
|
+
# @option opts [String] :repository_version HREF or PRN of a version of this repository. Defaults to the latest complete version.
|
|
795
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
796
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
797
|
+
# @return [PaginatedMavenRepositoryPackageListResponse]
|
|
798
|
+
def packages(maven_maven_repository_href, opts = {})
|
|
799
|
+
data, _status_code, _headers = packages_with_http_info(maven_maven_repository_href, opts)
|
|
800
|
+
data
|
|
801
|
+
end
|
|
802
|
+
|
|
803
|
+
# List packages
|
|
804
|
+
# Return one row per distinct (group_id, artifact_id) in a repository version (latest complete version if repository_version is omitted). Pagination count is the number of distinct packages, not GAVs. Each row includes versions (logical version keys after rebuild-suffix strip) and latest_releases (newest rebuild per logical version). set(versions) === set(latest_releases[].version).
|
|
805
|
+
# @param maven_maven_repository_href [String]
|
|
806
|
+
# @param [Hash] opts the optional parameters
|
|
807
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
808
|
+
# @option opts [String] :artifact_id__istartswith Case-insensitive prefix on artifact_id.
|
|
809
|
+
# @option opts [String] :group_id__istartswith Case-insensitive prefix on group_id.
|
|
810
|
+
# @option opts [String] :repository_version HREF or PRN of a version of this repository. Defaults to the latest complete version.
|
|
811
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
812
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
813
|
+
# @return [Array<(PaginatedMavenRepositoryPackageListResponse, Integer, Hash)>] PaginatedMavenRepositoryPackageListResponse data, response status code and response headers
|
|
814
|
+
def packages_with_http_info(maven_maven_repository_href, opts = {})
|
|
815
|
+
if @api_client.config.debugging
|
|
816
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesMavenApi.packages ...'
|
|
817
|
+
end
|
|
818
|
+
# verify the required parameter 'maven_maven_repository_href' is set
|
|
819
|
+
if @api_client.config.client_side_validation && maven_maven_repository_href.nil?
|
|
820
|
+
fail ArgumentError, "Missing the required parameter 'maven_maven_repository_href' when calling RepositoriesMavenApi.packages"
|
|
821
|
+
end
|
|
822
|
+
# resource path
|
|
823
|
+
local_var_path = '{maven_maven_repository_href}packages/'.sub('{' + 'maven_maven_repository_href' + '}', CGI.escape(maven_maven_repository_href.to_s).gsub('%2F', '/'))
|
|
824
|
+
|
|
825
|
+
# query parameters
|
|
826
|
+
query_params = opts[:query_params] || {}
|
|
827
|
+
query_params[:'artifact_id__istartswith'] = opts[:'artifact_id__istartswith'] if !opts[:'artifact_id__istartswith'].nil?
|
|
828
|
+
query_params[:'group_id__istartswith'] = opts[:'group_id__istartswith'] if !opts[:'group_id__istartswith'].nil?
|
|
829
|
+
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
|
830
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
831
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
|
832
|
+
|
|
833
|
+
# header parameters
|
|
834
|
+
header_params = opts[:header_params] || {}
|
|
835
|
+
# HTTP header 'Accept' (if needed)
|
|
836
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
837
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
838
|
+
|
|
839
|
+
# form parameters
|
|
840
|
+
form_params = opts[:form_params] || {}
|
|
841
|
+
|
|
842
|
+
# http body (model)
|
|
843
|
+
post_body = opts[:debug_body]
|
|
844
|
+
|
|
845
|
+
# return_type
|
|
846
|
+
return_type = opts[:debug_return_type] || 'PaginatedMavenRepositoryPackageListResponse'
|
|
847
|
+
|
|
848
|
+
# auth_names
|
|
849
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
|
850
|
+
|
|
851
|
+
new_options = opts.merge(
|
|
852
|
+
:operation => :"RepositoriesMavenApi.packages",
|
|
853
|
+
:header_params => header_params,
|
|
854
|
+
:query_params => query_params,
|
|
855
|
+
:form_params => form_params,
|
|
856
|
+
:body => post_body,
|
|
857
|
+
:auth_names => auth_names,
|
|
858
|
+
:return_type => return_type
|
|
859
|
+
)
|
|
860
|
+
|
|
861
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
862
|
+
if @api_client.config.debugging
|
|
863
|
+
@api_client.config.logger.debug "API called: RepositoriesMavenApi#packages\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
864
|
+
end
|
|
865
|
+
return data, status_code, headers
|
|
866
|
+
end
|
|
867
|
+
|
|
712
868
|
# Update a maven repository
|
|
713
869
|
# Update the entity partially and trigger an asynchronous task if necessary
|
|
714
870
|
# @param maven_maven_repository_href [String]
|