pulp_maven_client 0.1.0 → 0.2.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 +43 -31
- data/docs/ContentArtifactApi.md +37 -35
- data/docs/ContentSummary.md +3 -3
- data/docs/ContentSummaryResponse.md +21 -0
- data/docs/DistributionsMavenApi.md +63 -61
- data/docs/MavenMavenArtifact.md +3 -13
- data/docs/MavenMavenArtifactResponse.md +29 -0
- data/docs/MavenMavenDistribution.md +1 -7
- data/docs/MavenMavenDistributionResponse.md +29 -0
- data/docs/MavenMavenRemote.md +18 -12
- data/docs/MavenMavenRemoteResponse.md +51 -0
- data/docs/MavenMavenRepository.md +4 -10
- data/docs/MavenMavenRepositoryResponse.md +29 -0
- data/docs/PaginatedRepositoryVersionResponseList.md +23 -0
- data/docs/PaginatedmavenMavenArtifactResponseList.md +23 -0
- data/docs/PaginatedmavenMavenDistributionResponseList.md +23 -0
- data/docs/PaginatedmavenMavenRemoteResponseList.md +23 -0
- data/docs/PaginatedmavenMavenRepositoryResponseList.md +23 -0
- data/docs/PatchedmavenMavenDistribution.md +23 -0
- data/docs/PatchedmavenMavenRemote.md +45 -0
- data/docs/PatchedmavenMavenRepository.md +21 -0
- data/docs/PolicyEnum.md +16 -0
- data/docs/RemotesMavenApi.md +68 -66
- data/docs/RepositoriesMavenApi.md +60 -58
- data/docs/RepositoriesMavenVersionsApi.md +110 -53
- data/docs/RepositoryVersion.md +1 -9
- data/docs/RepositoryVersionResponse.md +25 -0
- data/lib/pulp_maven_client/api/content_artifact_api.rb +55 -52
- data/lib/pulp_maven_client/api/distributions_maven_api.rb +94 -91
- data/lib/pulp_maven_client/api/remotes_maven_api.rb +104 -101
- data/lib/pulp_maven_client/api/repositories_maven_api.rb +97 -94
- data/lib/pulp_maven_client/api/repositories_maven_versions_api.rb +149 -78
- data/lib/pulp_maven_client/api_client.rb +3 -3
- data/lib/pulp_maven_client/api_error.rb +3 -3
- data/lib/pulp_maven_client/configuration.rb +6 -6
- data/lib/pulp_maven_client/models/async_operation_response.rb +4 -3
- data/lib/pulp_maven_client/models/content_summary.rb +10 -16
- data/lib/pulp_maven_client/models/content_summary_response.rb +240 -0
- data/lib/pulp_maven_client/models/maven_maven_artifact.rb +15 -118
- data/lib/pulp_maven_client/models/maven_maven_artifact_response.rb +272 -0
- data/lib/pulp_maven_client/models/maven_maven_distribution.rb +5 -86
- data/lib/pulp_maven_client/models/maven_maven_distribution_response.rb +279 -0
- data/lib/pulp_maven_client/models/maven_maven_remote.rb +111 -147
- data/lib/pulp_maven_client/models/maven_maven_remote_response.rb +472 -0
- data/lib/pulp_maven_client/models/maven_maven_repository.rb +19 -79
- data/lib/pulp_maven_client/models/maven_maven_repository_response.rb +271 -0
- data/lib/pulp_maven_client/models/{inline_response200.rb → paginated_repository_version_response_list.rb} +7 -17
- data/lib/pulp_maven_client/models/{inline_response2002.rb → paginatedmaven_maven_artifact_response_list.rb} +7 -17
- data/lib/pulp_maven_client/models/{inline_response2004.rb → paginatedmaven_maven_distribution_response_list.rb} +7 -17
- data/lib/pulp_maven_client/models/{inline_response2003.rb → paginatedmaven_maven_remote_response_list.rb} +7 -17
- data/lib/pulp_maven_client/models/paginatedmaven_maven_repository_response_list.rb +237 -0
- data/lib/pulp_maven_client/models/{inline_response2001.rb → patchedmaven_maven_distribution.rb} +38 -45
- data/lib/pulp_maven_client/models/patchedmaven_maven_remote.rb +433 -0
- data/lib/pulp_maven_client/models/patchedmaven_maven_repository.rb +229 -0
- data/lib/pulp_maven_client/models/policy_enum.rb +36 -0
- data/lib/pulp_maven_client/models/repository_version.rb +8 -44
- data/lib/pulp_maven_client/models/repository_version_response.rb +246 -0
- data/lib/pulp_maven_client/version.rb +4 -4
- data/lib/pulp_maven_client.rb +18 -8
- data/pulp_maven_client.gemspec +5 -5
- data/spec/api/content_artifact_api_spec.rb +16 -15
- data/spec/api/distributions_maven_api_spec.rb +20 -19
- data/spec/api/remotes_maven_api_spec.rb +23 -22
- data/spec/api/repositories_maven_api_spec.rb +21 -20
- data/spec/api/repositories_maven_versions_api_spec.rb +36 -23
- data/spec/api_client_spec.rb +3 -3
- data/spec/configuration_spec.rb +6 -6
- data/spec/models/async_operation_response_spec.rb +3 -3
- data/spec/models/content_summary_response_spec.rb +53 -0
- data/spec/models/content_summary_spec.rb +3 -3
- data/spec/models/maven_maven_artifact_response_spec.rb +77 -0
- data/spec/models/maven_maven_artifact_spec.rb +4 -34
- data/spec/models/maven_maven_distribution_response_spec.rb +77 -0
- data/spec/models/maven_maven_distribution_spec.rb +3 -21
- data/spec/models/maven_maven_remote_response_spec.rb +143 -0
- data/spec/models/maven_maven_remote_spec.rb +33 -19
- data/spec/models/maven_maven_repository_response_spec.rb +77 -0
- data/spec/models/maven_maven_repository_spec.rb +6 -24
- data/spec/models/{inline_response2002_spec.rb → paginated_repository_version_response_list_spec.rb} +9 -9
- data/spec/models/{inline_response2003_spec.rb → paginatedmaven_maven_artifact_response_list_spec.rb} +9 -9
- data/spec/models/paginatedmaven_maven_distribution_response_list_spec.rb +59 -0
- data/spec/models/{inline_response2001_spec.rb → paginatedmaven_maven_remote_response_list_spec.rb} +9 -9
- data/spec/models/{inline_response2004_spec.rb → paginatedmaven_maven_repository_response_list_spec.rb} +9 -9
- data/spec/models/patchedmaven_maven_distribution_spec.rb +59 -0
- data/spec/models/patchedmaven_maven_remote_spec.rb +125 -0
- data/spec/models/{inline_response200_spec.rb → patchedmaven_maven_repository_spec.rb} +12 -18
- data/spec/models/policy_enum_spec.rb +35 -0
- data/spec/models/repository_version_response_spec.rb +65 -0
- data/spec/models/repository_version_spec.rb +3 -27
- data/spec/spec_helper.rb +3 -3
- metadata +70 -30
- data/docs/InlineResponse200.md +0 -23
- data/docs/InlineResponse2001.md +0 -23
- data/docs/InlineResponse2002.md +0 -23
- data/docs/InlineResponse2003.md +0 -23
- data/docs/InlineResponse2004.md +0 -23
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# PulpMavenClient::PaginatedmavenMavenArtifactResponseList
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**count** | **Integer** | | [optional]
|
|
8
|
+
**_next** | **String** | | [optional]
|
|
9
|
+
**previous** | **String** | | [optional]
|
|
10
|
+
**results** | [**Array<MavenMavenArtifactResponse>**](MavenMavenArtifactResponse.md) | | [optional]
|
|
11
|
+
|
|
12
|
+
## Code Sample
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'PulpMavenClient'
|
|
16
|
+
|
|
17
|
+
instance = PulpMavenClient::PaginatedmavenMavenArtifactResponseList.new(count: 123,
|
|
18
|
+
_next: http://api.example.org/accounts/?offset=400&limit=100,
|
|
19
|
+
previous: http://api.example.org/accounts/?offset=200&limit=100,
|
|
20
|
+
results: null)
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# PulpMavenClient::PaginatedmavenMavenDistributionResponseList
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**count** | **Integer** | | [optional]
|
|
8
|
+
**_next** | **String** | | [optional]
|
|
9
|
+
**previous** | **String** | | [optional]
|
|
10
|
+
**results** | [**Array<MavenMavenDistributionResponse>**](MavenMavenDistributionResponse.md) | | [optional]
|
|
11
|
+
|
|
12
|
+
## Code Sample
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'PulpMavenClient'
|
|
16
|
+
|
|
17
|
+
instance = PulpMavenClient::PaginatedmavenMavenDistributionResponseList.new(count: 123,
|
|
18
|
+
_next: http://api.example.org/accounts/?offset=400&limit=100,
|
|
19
|
+
previous: http://api.example.org/accounts/?offset=200&limit=100,
|
|
20
|
+
results: null)
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# PulpMavenClient::PaginatedmavenMavenRemoteResponseList
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**count** | **Integer** | | [optional]
|
|
8
|
+
**_next** | **String** | | [optional]
|
|
9
|
+
**previous** | **String** | | [optional]
|
|
10
|
+
**results** | [**Array<MavenMavenRemoteResponse>**](MavenMavenRemoteResponse.md) | | [optional]
|
|
11
|
+
|
|
12
|
+
## Code Sample
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'PulpMavenClient'
|
|
16
|
+
|
|
17
|
+
instance = PulpMavenClient::PaginatedmavenMavenRemoteResponseList.new(count: 123,
|
|
18
|
+
_next: http://api.example.org/accounts/?offset=400&limit=100,
|
|
19
|
+
previous: http://api.example.org/accounts/?offset=200&limit=100,
|
|
20
|
+
results: null)
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# PulpMavenClient::PaginatedmavenMavenRepositoryResponseList
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**count** | **Integer** | | [optional]
|
|
8
|
+
**_next** | **String** | | [optional]
|
|
9
|
+
**previous** | **String** | | [optional]
|
|
10
|
+
**results** | [**Array<MavenMavenRepositoryResponse>**](MavenMavenRepositoryResponse.md) | | [optional]
|
|
11
|
+
|
|
12
|
+
## Code Sample
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'PulpMavenClient'
|
|
16
|
+
|
|
17
|
+
instance = PulpMavenClient::PaginatedmavenMavenRepositoryResponseList.new(count: 123,
|
|
18
|
+
_next: http://api.example.org/accounts/?offset=400&limit=100,
|
|
19
|
+
previous: http://api.example.org/accounts/?offset=200&limit=100,
|
|
20
|
+
results: null)
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# PulpMavenClient::PatchedmavenMavenDistribution
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional]
|
|
8
|
+
**content_guard** | **String** | An optional content-guard. | [optional]
|
|
9
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
|
10
|
+
**remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional]
|
|
11
|
+
|
|
12
|
+
## Code Sample
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'PulpMavenClient'
|
|
16
|
+
|
|
17
|
+
instance = PulpMavenClient::PatchedmavenMavenDistribution.new(base_path: null,
|
|
18
|
+
content_guard: null,
|
|
19
|
+
name: null,
|
|
20
|
+
remote: null)
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# PulpMavenClient::PatchedmavenMavenRemote
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**name** | **String** | A unique name for this remote. | [optional]
|
|
8
|
+
**url** | **String** | The URL of an external content source. | [optional]
|
|
9
|
+
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
|
10
|
+
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
|
11
|
+
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
|
12
|
+
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
|
13
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
|
|
14
|
+
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
|
15
|
+
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
|
16
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
|
17
|
+
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. | [optional]
|
|
18
|
+
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
|
|
19
|
+
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
|
20
|
+
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
|
21
|
+
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
|
22
|
+
|
|
23
|
+
## Code Sample
|
|
24
|
+
|
|
25
|
+
```ruby
|
|
26
|
+
require 'PulpMavenClient'
|
|
27
|
+
|
|
28
|
+
instance = PulpMavenClient::PatchedmavenMavenRemote.new(name: null,
|
|
29
|
+
url: null,
|
|
30
|
+
ca_cert: null,
|
|
31
|
+
client_cert: null,
|
|
32
|
+
client_key: null,
|
|
33
|
+
tls_validation: null,
|
|
34
|
+
proxy_url: null,
|
|
35
|
+
username: null,
|
|
36
|
+
password: null,
|
|
37
|
+
download_concurrency: null,
|
|
38
|
+
policy: null,
|
|
39
|
+
total_timeout: null,
|
|
40
|
+
connect_timeout: null,
|
|
41
|
+
sock_connect_timeout: null,
|
|
42
|
+
sock_read_timeout: null)
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# PulpMavenClient::PatchedmavenMavenRepository
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**name** | **String** | A unique name for this repository. | [optional]
|
|
8
|
+
**description** | **String** | An optional description. | [optional]
|
|
9
|
+
**remote** | **String** | | [optional]
|
|
10
|
+
|
|
11
|
+
## Code Sample
|
|
12
|
+
|
|
13
|
+
```ruby
|
|
14
|
+
require 'PulpMavenClient'
|
|
15
|
+
|
|
16
|
+
instance = PulpMavenClient::PatchedmavenMavenRepository.new(name: null,
|
|
17
|
+
description: null,
|
|
18
|
+
remote: null)
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
|
data/docs/PolicyEnum.md
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# PulpMavenClient::PolicyEnum
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
|
|
8
|
+
## Code Sample
|
|
9
|
+
|
|
10
|
+
```ruby
|
|
11
|
+
require 'PulpMavenClient'
|
|
12
|
+
|
|
13
|
+
instance = PulpMavenClient::PolicyEnum.new()
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
|
data/docs/RemotesMavenApi.md
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
# PulpMavenClient::RemotesMavenApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *http://
|
|
3
|
+
All URIs are relative to *http://pulp*
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
7
|
[**create**](RemotesMavenApi.md#create) | **POST** /pulp/api/v3/remotes/maven/maven/ | Create a maven remote
|
|
8
|
-
[**delete**](RemotesMavenApi.md#delete) | **DELETE** {
|
|
8
|
+
[**delete**](RemotesMavenApi.md#delete) | **DELETE** {maven_maven_remote_href} | Delete a maven remote
|
|
9
9
|
[**list**](RemotesMavenApi.md#list) | **GET** /pulp/api/v3/remotes/maven/maven/ | List maven remotes
|
|
10
|
-
[**partial_update**](RemotesMavenApi.md#partial_update) | **PATCH** {
|
|
11
|
-
[**read**](RemotesMavenApi.md#read) | **GET** {
|
|
12
|
-
[**update**](RemotesMavenApi.md#update) | **PUT** {
|
|
10
|
+
[**partial_update**](RemotesMavenApi.md#partial_update) | **PATCH** {maven_maven_remote_href} | Update a maven remote
|
|
11
|
+
[**read**](RemotesMavenApi.md#read) | **GET** {maven_maven_remote_href} | Inspect a maven remote
|
|
12
|
+
[**update**](RemotesMavenApi.md#update) | **PUT** {maven_maven_remote_href} | Update a maven remote
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
## create
|
|
17
17
|
|
|
18
|
-
>
|
|
18
|
+
> MavenMavenRemoteResponse create(maven_maven_remote)
|
|
19
19
|
|
|
20
20
|
Create a maven remote
|
|
21
21
|
|
|
@@ -28,17 +28,17 @@ A ViewSet for MavenRemote.
|
|
|
28
28
|
require 'pulp_maven_client'
|
|
29
29
|
# setup authorization
|
|
30
30
|
PulpMavenClient.configure do |config|
|
|
31
|
-
# Configure HTTP basic authorization:
|
|
31
|
+
# Configure HTTP basic authorization: basicAuth
|
|
32
32
|
config.username = 'YOUR USERNAME'
|
|
33
33
|
config.password = 'YOUR PASSWORD'
|
|
34
34
|
end
|
|
35
35
|
|
|
36
36
|
api_instance = PulpMavenClient::RemotesMavenApi.new
|
|
37
|
-
|
|
37
|
+
maven_maven_remote = PulpMavenClient::MavenMavenRemote.new # MavenMavenRemote |
|
|
38
38
|
|
|
39
39
|
begin
|
|
40
40
|
#Create a maven remote
|
|
41
|
-
result = api_instance.create(
|
|
41
|
+
result = api_instance.create(maven_maven_remote)
|
|
42
42
|
p result
|
|
43
43
|
rescue PulpMavenClient::ApiError => e
|
|
44
44
|
puts "Exception when calling RemotesMavenApi->create: #{e}"
|
|
@@ -50,25 +50,25 @@ end
|
|
|
50
50
|
|
|
51
51
|
Name | Type | Description | Notes
|
|
52
52
|
------------- | ------------- | ------------- | -------------
|
|
53
|
-
**
|
|
53
|
+
**maven_maven_remote** | [**MavenMavenRemote**](MavenMavenRemote.md)| |
|
|
54
54
|
|
|
55
55
|
### Return type
|
|
56
56
|
|
|
57
|
-
[**
|
|
57
|
+
[**MavenMavenRemoteResponse**](MavenMavenRemoteResponse.md)
|
|
58
58
|
|
|
59
59
|
### Authorization
|
|
60
60
|
|
|
61
|
-
[
|
|
61
|
+
[basicAuth](../README.md#basicAuth)
|
|
62
62
|
|
|
63
63
|
### HTTP request headers
|
|
64
64
|
|
|
65
|
-
- **Content-Type**: application/json
|
|
65
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
66
66
|
- **Accept**: application/json
|
|
67
67
|
|
|
68
68
|
|
|
69
69
|
## delete
|
|
70
70
|
|
|
71
|
-
> AsyncOperationResponse delete(
|
|
71
|
+
> AsyncOperationResponse delete(maven_maven_remote_href)
|
|
72
72
|
|
|
73
73
|
Delete a maven remote
|
|
74
74
|
|
|
@@ -81,17 +81,17 @@ Trigger an asynchronous delete task
|
|
|
81
81
|
require 'pulp_maven_client'
|
|
82
82
|
# setup authorization
|
|
83
83
|
PulpMavenClient.configure do |config|
|
|
84
|
-
# Configure HTTP basic authorization:
|
|
84
|
+
# Configure HTTP basic authorization: basicAuth
|
|
85
85
|
config.username = 'YOUR USERNAME'
|
|
86
86
|
config.password = 'YOUR PASSWORD'
|
|
87
87
|
end
|
|
88
88
|
|
|
89
89
|
api_instance = PulpMavenClient::RemotesMavenApi.new
|
|
90
|
-
|
|
90
|
+
maven_maven_remote_href = 'maven_maven_remote_href_example' # String |
|
|
91
91
|
|
|
92
92
|
begin
|
|
93
93
|
#Delete a maven remote
|
|
94
|
-
result = api_instance.delete(
|
|
94
|
+
result = api_instance.delete(maven_maven_remote_href)
|
|
95
95
|
p result
|
|
96
96
|
rescue PulpMavenClient::ApiError => e
|
|
97
97
|
puts "Exception when calling RemotesMavenApi->delete: #{e}"
|
|
@@ -103,7 +103,7 @@ end
|
|
|
103
103
|
|
|
104
104
|
Name | Type | Description | Notes
|
|
105
105
|
------------- | ------------- | ------------- | -------------
|
|
106
|
-
**
|
|
106
|
+
**maven_maven_remote_href** | **String**| |
|
|
107
107
|
|
|
108
108
|
### Return type
|
|
109
109
|
|
|
@@ -111,7 +111,7 @@ Name | Type | Description | Notes
|
|
|
111
111
|
|
|
112
112
|
### Authorization
|
|
113
113
|
|
|
114
|
-
[
|
|
114
|
+
[basicAuth](../README.md#basicAuth)
|
|
115
115
|
|
|
116
116
|
### HTTP request headers
|
|
117
117
|
|
|
@@ -121,7 +121,7 @@ Name | Type | Description | Notes
|
|
|
121
121
|
|
|
122
122
|
## list
|
|
123
123
|
|
|
124
|
-
>
|
|
124
|
+
> PaginatedmavenMavenRemoteResponseList list(opts)
|
|
125
125
|
|
|
126
126
|
List maven remotes
|
|
127
127
|
|
|
@@ -134,23 +134,24 @@ A ViewSet for MavenRemote.
|
|
|
134
134
|
require 'pulp_maven_client'
|
|
135
135
|
# setup authorization
|
|
136
136
|
PulpMavenClient.configure do |config|
|
|
137
|
-
# Configure HTTP basic authorization:
|
|
137
|
+
# Configure HTTP basic authorization: basicAuth
|
|
138
138
|
config.username = 'YOUR USERNAME'
|
|
139
139
|
config.password = 'YOUR PASSWORD'
|
|
140
140
|
end
|
|
141
141
|
|
|
142
142
|
api_instance = PulpMavenClient::RemotesMavenApi.new
|
|
143
143
|
opts = {
|
|
144
|
-
name: 'name_example', # String |
|
|
145
|
-
name__in: 'name__in_example', # String | Filter results where name is in a comma-separated list of values
|
|
146
|
-
pulp_last_updated__lt: 'pulp_last_updated__lt_example', # String | Filter results where pulp_last_updated is less than value
|
|
147
|
-
pulp_last_updated__lte: 'pulp_last_updated__lte_example', # String | Filter results where pulp_last_updated is less than or equal to value
|
|
148
|
-
pulp_last_updated__gt: 'pulp_last_updated__gt_example', # String | Filter results where pulp_last_updated is greater than value
|
|
149
|
-
pulp_last_updated__gte: 'pulp_last_updated__gte_example', # String | Filter results where pulp_last_updated is greater than or equal to value
|
|
150
|
-
pulp_last_updated__range: 'pulp_last_updated__range_example', # String | Filter results where pulp_last_updated is between two comma separated values
|
|
151
|
-
pulp_last_updated: 'pulp_last_updated_example', # String | ISO 8601 formatted dates are supported
|
|
152
144
|
limit: 56, # Integer | Number of results to return per page.
|
|
145
|
+
name: 'name_example', # String | name
|
|
146
|
+
name__in: 'name__in_example', # String | name__in
|
|
153
147
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
148
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
|
149
|
+
pulp_last_updated: 'pulp_last_updated_example', # String | pulp_last_updated
|
|
150
|
+
pulp_last_updated__gt: 'pulp_last_updated__gt_example', # String | pulp_last_updated__gt
|
|
151
|
+
pulp_last_updated__gte: 'pulp_last_updated__gte_example', # String | pulp_last_updated__gte
|
|
152
|
+
pulp_last_updated__lt: 'pulp_last_updated__lt_example', # String | pulp_last_updated__lt
|
|
153
|
+
pulp_last_updated__lte: 'pulp_last_updated__lte_example', # String | pulp_last_updated__lte
|
|
154
|
+
pulp_last_updated__range: 'pulp_last_updated__range_example', # String | pulp_last_updated__range
|
|
154
155
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
155
156
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
156
157
|
}
|
|
@@ -169,26 +170,27 @@ end
|
|
|
169
170
|
|
|
170
171
|
Name | Type | Description | Notes
|
|
171
172
|
------------- | ------------- | ------------- | -------------
|
|
172
|
-
**name** | **String**| | [optional]
|
|
173
|
-
**name__in** | **String**| Filter results where name is in a comma-separated list of values | [optional]
|
|
174
|
-
**pulp_last_updated__lt** | **String**| Filter results where pulp_last_updated is less than value | [optional]
|
|
175
|
-
**pulp_last_updated__lte** | **String**| Filter results where pulp_last_updated is less than or equal to value | [optional]
|
|
176
|
-
**pulp_last_updated__gt** | **String**| Filter results where pulp_last_updated is greater than value | [optional]
|
|
177
|
-
**pulp_last_updated__gte** | **String**| Filter results where pulp_last_updated is greater than or equal to value | [optional]
|
|
178
|
-
**pulp_last_updated__range** | **String**| Filter results where pulp_last_updated is between two comma separated values | [optional]
|
|
179
|
-
**pulp_last_updated** | **String**| ISO 8601 formatted dates are supported | [optional]
|
|
180
173
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
174
|
+
**name** | **String**| name | [optional]
|
|
175
|
+
**name__in** | **String**| name__in | [optional]
|
|
181
176
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
177
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
|
178
|
+
**pulp_last_updated** | **String**| pulp_last_updated | [optional]
|
|
179
|
+
**pulp_last_updated__gt** | **String**| pulp_last_updated__gt | [optional]
|
|
180
|
+
**pulp_last_updated__gte** | **String**| pulp_last_updated__gte | [optional]
|
|
181
|
+
**pulp_last_updated__lt** | **String**| pulp_last_updated__lt | [optional]
|
|
182
|
+
**pulp_last_updated__lte** | **String**| pulp_last_updated__lte | [optional]
|
|
183
|
+
**pulp_last_updated__range** | **String**| pulp_last_updated__range | [optional]
|
|
182
184
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
183
185
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
184
186
|
|
|
185
187
|
### Return type
|
|
186
188
|
|
|
187
|
-
[**
|
|
189
|
+
[**PaginatedmavenMavenRemoteResponseList**](PaginatedmavenMavenRemoteResponseList.md)
|
|
188
190
|
|
|
189
191
|
### Authorization
|
|
190
192
|
|
|
191
|
-
[
|
|
193
|
+
[basicAuth](../README.md#basicAuth)
|
|
192
194
|
|
|
193
195
|
### HTTP request headers
|
|
194
196
|
|
|
@@ -198,9 +200,9 @@ Name | Type | Description | Notes
|
|
|
198
200
|
|
|
199
201
|
## partial_update
|
|
200
202
|
|
|
201
|
-
> AsyncOperationResponse partial_update(
|
|
203
|
+
> AsyncOperationResponse partial_update(maven_maven_remote_href, patchedmaven_maven_remote)
|
|
202
204
|
|
|
203
|
-
|
|
205
|
+
Update a maven remote
|
|
204
206
|
|
|
205
207
|
Trigger an asynchronous partial update task
|
|
206
208
|
|
|
@@ -211,18 +213,18 @@ Trigger an asynchronous partial update task
|
|
|
211
213
|
require 'pulp_maven_client'
|
|
212
214
|
# setup authorization
|
|
213
215
|
PulpMavenClient.configure do |config|
|
|
214
|
-
# Configure HTTP basic authorization:
|
|
216
|
+
# Configure HTTP basic authorization: basicAuth
|
|
215
217
|
config.username = 'YOUR USERNAME'
|
|
216
218
|
config.password = 'YOUR PASSWORD'
|
|
217
219
|
end
|
|
218
220
|
|
|
219
221
|
api_instance = PulpMavenClient::RemotesMavenApi.new
|
|
220
|
-
|
|
221
|
-
|
|
222
|
+
maven_maven_remote_href = 'maven_maven_remote_href_example' # String |
|
|
223
|
+
patchedmaven_maven_remote = PulpMavenClient::PatchedmavenMavenRemote.new # PatchedmavenMavenRemote |
|
|
222
224
|
|
|
223
225
|
begin
|
|
224
|
-
#
|
|
225
|
-
result = api_instance.partial_update(
|
|
226
|
+
#Update a maven remote
|
|
227
|
+
result = api_instance.partial_update(maven_maven_remote_href, patchedmaven_maven_remote)
|
|
226
228
|
p result
|
|
227
229
|
rescue PulpMavenClient::ApiError => e
|
|
228
230
|
puts "Exception when calling RemotesMavenApi->partial_update: #{e}"
|
|
@@ -234,8 +236,8 @@ end
|
|
|
234
236
|
|
|
235
237
|
Name | Type | Description | Notes
|
|
236
238
|
------------- | ------------- | ------------- | -------------
|
|
237
|
-
**
|
|
238
|
-
**
|
|
239
|
+
**maven_maven_remote_href** | **String**| |
|
|
240
|
+
**patchedmaven_maven_remote** | [**PatchedmavenMavenRemote**](PatchedmavenMavenRemote.md)| |
|
|
239
241
|
|
|
240
242
|
### Return type
|
|
241
243
|
|
|
@@ -243,17 +245,17 @@ Name | Type | Description | Notes
|
|
|
243
245
|
|
|
244
246
|
### Authorization
|
|
245
247
|
|
|
246
|
-
[
|
|
248
|
+
[basicAuth](../README.md#basicAuth)
|
|
247
249
|
|
|
248
250
|
### HTTP request headers
|
|
249
251
|
|
|
250
|
-
- **Content-Type**: application/json
|
|
252
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
251
253
|
- **Accept**: application/json
|
|
252
254
|
|
|
253
255
|
|
|
254
256
|
## read
|
|
255
257
|
|
|
256
|
-
>
|
|
258
|
+
> MavenMavenRemoteResponse read(maven_maven_remote_href, opts)
|
|
257
259
|
|
|
258
260
|
Inspect a maven remote
|
|
259
261
|
|
|
@@ -266,13 +268,13 @@ A ViewSet for MavenRemote.
|
|
|
266
268
|
require 'pulp_maven_client'
|
|
267
269
|
# setup authorization
|
|
268
270
|
PulpMavenClient.configure do |config|
|
|
269
|
-
# Configure HTTP basic authorization:
|
|
271
|
+
# Configure HTTP basic authorization: basicAuth
|
|
270
272
|
config.username = 'YOUR USERNAME'
|
|
271
273
|
config.password = 'YOUR PASSWORD'
|
|
272
274
|
end
|
|
273
275
|
|
|
274
276
|
api_instance = PulpMavenClient::RemotesMavenApi.new
|
|
275
|
-
|
|
277
|
+
maven_maven_remote_href = 'maven_maven_remote_href_example' # String |
|
|
276
278
|
opts = {
|
|
277
279
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
278
280
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
@@ -280,7 +282,7 @@ opts = {
|
|
|
280
282
|
|
|
281
283
|
begin
|
|
282
284
|
#Inspect a maven remote
|
|
283
|
-
result = api_instance.read(
|
|
285
|
+
result = api_instance.read(maven_maven_remote_href, opts)
|
|
284
286
|
p result
|
|
285
287
|
rescue PulpMavenClient::ApiError => e
|
|
286
288
|
puts "Exception when calling RemotesMavenApi->read: #{e}"
|
|
@@ -292,17 +294,17 @@ end
|
|
|
292
294
|
|
|
293
295
|
Name | Type | Description | Notes
|
|
294
296
|
------------- | ------------- | ------------- | -------------
|
|
295
|
-
**
|
|
297
|
+
**maven_maven_remote_href** | **String**| |
|
|
296
298
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
297
299
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
298
300
|
|
|
299
301
|
### Return type
|
|
300
302
|
|
|
301
|
-
[**
|
|
303
|
+
[**MavenMavenRemoteResponse**](MavenMavenRemoteResponse.md)
|
|
302
304
|
|
|
303
305
|
### Authorization
|
|
304
306
|
|
|
305
|
-
[
|
|
307
|
+
[basicAuth](../README.md#basicAuth)
|
|
306
308
|
|
|
307
309
|
### HTTP request headers
|
|
308
310
|
|
|
@@ -312,7 +314,7 @@ Name | Type | Description | Notes
|
|
|
312
314
|
|
|
313
315
|
## update
|
|
314
316
|
|
|
315
|
-
> AsyncOperationResponse update(
|
|
317
|
+
> AsyncOperationResponse update(maven_maven_remote_href, maven_maven_remote)
|
|
316
318
|
|
|
317
319
|
Update a maven remote
|
|
318
320
|
|
|
@@ -325,18 +327,18 @@ Trigger an asynchronous update task
|
|
|
325
327
|
require 'pulp_maven_client'
|
|
326
328
|
# setup authorization
|
|
327
329
|
PulpMavenClient.configure do |config|
|
|
328
|
-
# Configure HTTP basic authorization:
|
|
330
|
+
# Configure HTTP basic authorization: basicAuth
|
|
329
331
|
config.username = 'YOUR USERNAME'
|
|
330
332
|
config.password = 'YOUR PASSWORD'
|
|
331
333
|
end
|
|
332
334
|
|
|
333
335
|
api_instance = PulpMavenClient::RemotesMavenApi.new
|
|
334
|
-
|
|
335
|
-
|
|
336
|
+
maven_maven_remote_href = 'maven_maven_remote_href_example' # String |
|
|
337
|
+
maven_maven_remote = PulpMavenClient::MavenMavenRemote.new # MavenMavenRemote |
|
|
336
338
|
|
|
337
339
|
begin
|
|
338
340
|
#Update a maven remote
|
|
339
|
-
result = api_instance.update(
|
|
341
|
+
result = api_instance.update(maven_maven_remote_href, maven_maven_remote)
|
|
340
342
|
p result
|
|
341
343
|
rescue PulpMavenClient::ApiError => e
|
|
342
344
|
puts "Exception when calling RemotesMavenApi->update: #{e}"
|
|
@@ -348,8 +350,8 @@ end
|
|
|
348
350
|
|
|
349
351
|
Name | Type | Description | Notes
|
|
350
352
|
------------- | ------------- | ------------- | -------------
|
|
351
|
-
**
|
|
352
|
-
**
|
|
353
|
+
**maven_maven_remote_href** | **String**| |
|
|
354
|
+
**maven_maven_remote** | [**MavenMavenRemote**](MavenMavenRemote.md)| |
|
|
353
355
|
|
|
354
356
|
### Return type
|
|
355
357
|
|
|
@@ -357,10 +359,10 @@ Name | Type | Description | Notes
|
|
|
357
359
|
|
|
358
360
|
### Authorization
|
|
359
361
|
|
|
360
|
-
[
|
|
362
|
+
[basicAuth](../README.md#basicAuth)
|
|
361
363
|
|
|
362
364
|
### HTTP request headers
|
|
363
365
|
|
|
364
|
-
- **Content-Type**: application/json
|
|
366
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
365
367
|
- **Accept**: application/json
|
|
366
368
|
|