pulp_maven_client 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -1,21 +1,21 @@
|
|
1
1
|
# PulpMavenClient::DistributionsMavenApi
|
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**](DistributionsMavenApi.md#create) | **POST** /pulp/api/v3/distributions/maven/maven/ | Create a maven distribution
|
8
|
-
[**delete**](DistributionsMavenApi.md#delete) | **DELETE** {
|
8
|
+
[**delete**](DistributionsMavenApi.md#delete) | **DELETE** {maven_maven_distribution_href} | Delete a maven distribution
|
9
9
|
[**list**](DistributionsMavenApi.md#list) | **GET** /pulp/api/v3/distributions/maven/maven/ | List maven distributions
|
10
|
-
[**partial_update**](DistributionsMavenApi.md#partial_update) | **PATCH** {
|
11
|
-
[**read**](DistributionsMavenApi.md#read) | **GET** {
|
12
|
-
[**update**](DistributionsMavenApi.md#update) | **PUT** {
|
10
|
+
[**partial_update**](DistributionsMavenApi.md#partial_update) | **PATCH** {maven_maven_distribution_href} | Update a maven distribution
|
11
|
+
[**read**](DistributionsMavenApi.md#read) | **GET** {maven_maven_distribution_href} | Inspect a maven distribution
|
12
|
+
[**update**](DistributionsMavenApi.md#update) | **PUT** {maven_maven_distribution_href} | Update a maven distribution
|
13
13
|
|
14
14
|
|
15
15
|
|
16
16
|
## create
|
17
17
|
|
18
|
-
> AsyncOperationResponse create(
|
18
|
+
> AsyncOperationResponse create(maven_maven_distribution)
|
19
19
|
|
20
20
|
Create a maven distribution
|
21
21
|
|
@@ -28,17 +28,17 @@ Trigger an asynchronous create task
|
|
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::DistributionsMavenApi.new
|
37
|
-
|
37
|
+
maven_maven_distribution = PulpMavenClient::MavenMavenDistribution.new # MavenMavenDistribution |
|
38
38
|
|
39
39
|
begin
|
40
40
|
#Create a maven distribution
|
41
|
-
result = api_instance.create(
|
41
|
+
result = api_instance.create(maven_maven_distribution)
|
42
42
|
p result
|
43
43
|
rescue PulpMavenClient::ApiError => e
|
44
44
|
puts "Exception when calling DistributionsMavenApi->create: #{e}"
|
@@ -50,7 +50,7 @@ end
|
|
50
50
|
|
51
51
|
Name | Type | Description | Notes
|
52
52
|
------------- | ------------- | ------------- | -------------
|
53
|
-
**
|
53
|
+
**maven_maven_distribution** | [**MavenMavenDistribution**](MavenMavenDistribution.md)| |
|
54
54
|
|
55
55
|
### Return type
|
56
56
|
|
@@ -58,17 +58,17 @@ Name | Type | Description | Notes
|
|
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_distribution_href)
|
72
72
|
|
73
73
|
Delete a maven distribution
|
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::DistributionsMavenApi.new
|
90
|
-
|
90
|
+
maven_maven_distribution_href = 'maven_maven_distribution_href_example' # String |
|
91
91
|
|
92
92
|
begin
|
93
93
|
#Delete a maven distribution
|
94
|
-
result = api_instance.delete(
|
94
|
+
result = api_instance.delete(maven_maven_distribution_href)
|
95
95
|
p result
|
96
96
|
rescue PulpMavenClient::ApiError => e
|
97
97
|
puts "Exception when calling DistributionsMavenApi->delete: #{e}"
|
@@ -103,7 +103,7 @@ end
|
|
103
103
|
|
104
104
|
Name | Type | Description | Notes
|
105
105
|
------------- | ------------- | ------------- | -------------
|
106
|
-
**
|
106
|
+
**maven_maven_distribution_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
|
+
> PaginatedmavenMavenDistributionResponseList list(opts)
|
125
125
|
|
126
126
|
List maven distributions
|
127
127
|
|
@@ -134,21 +134,22 @@ ViewSet for Maven Distributions.
|
|
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::DistributionsMavenApi.new
|
143
143
|
opts = {
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
base_path__icontains: 'base_path__icontains_example', # String | Filter results where base_path contains value
|
149
|
-
base_path__in: 'base_path__in_example', # String | Filter results where base_path is in a comma-separated list of values
|
144
|
+
base_path: 'base_path_example', # String | base_path
|
145
|
+
base_path__contains: 'base_path__contains_example', # String | base_path__contains
|
146
|
+
base_path__icontains: 'base_path__icontains_example', # String | base_path__icontains
|
147
|
+
base_path__in: 'base_path__in_example', # String | base_path__in
|
150
148
|
limit: 56, # Integer | Number of results to return per page.
|
149
|
+
name: 'name_example', # String | name
|
150
|
+
name__in: 'name__in_example', # String | name__in
|
151
151
|
offset: 56, # Integer | The initial index from which to return the results.
|
152
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
152
153
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
153
154
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
154
155
|
}
|
@@ -167,24 +168,25 @@ end
|
|
167
168
|
|
168
169
|
Name | Type | Description | Notes
|
169
170
|
------------- | ------------- | ------------- | -------------
|
170
|
-
**
|
171
|
-
**
|
172
|
-
**
|
173
|
-
**
|
174
|
-
**base_path__icontains** | **String**| Filter results where base_path contains value | [optional]
|
175
|
-
**base_path__in** | **String**| Filter results where base_path is in a comma-separated list of values | [optional]
|
171
|
+
**base_path** | **String**| base_path | [optional]
|
172
|
+
**base_path__contains** | **String**| base_path__contains | [optional]
|
173
|
+
**base_path__icontains** | **String**| base_path__icontains | [optional]
|
174
|
+
**base_path__in** | **String**| base_path__in | [optional]
|
176
175
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
176
|
+
**name** | **String**| name | [optional]
|
177
|
+
**name__in** | **String**| name__in | [optional]
|
177
178
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
179
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
178
180
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
179
181
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
180
182
|
|
181
183
|
### Return type
|
182
184
|
|
183
|
-
[**
|
185
|
+
[**PaginatedmavenMavenDistributionResponseList**](PaginatedmavenMavenDistributionResponseList.md)
|
184
186
|
|
185
187
|
### Authorization
|
186
188
|
|
187
|
-
[
|
189
|
+
[basicAuth](../README.md#basicAuth)
|
188
190
|
|
189
191
|
### HTTP request headers
|
190
192
|
|
@@ -194,9 +196,9 @@ Name | Type | Description | Notes
|
|
194
196
|
|
195
197
|
## partial_update
|
196
198
|
|
197
|
-
> AsyncOperationResponse partial_update(
|
199
|
+
> AsyncOperationResponse partial_update(maven_maven_distribution_href, patchedmaven_maven_distribution)
|
198
200
|
|
199
|
-
|
201
|
+
Update a maven distribution
|
200
202
|
|
201
203
|
Trigger an asynchronous partial update task
|
202
204
|
|
@@ -207,18 +209,18 @@ Trigger an asynchronous partial update task
|
|
207
209
|
require 'pulp_maven_client'
|
208
210
|
# setup authorization
|
209
211
|
PulpMavenClient.configure do |config|
|
210
|
-
# Configure HTTP basic authorization:
|
212
|
+
# Configure HTTP basic authorization: basicAuth
|
211
213
|
config.username = 'YOUR USERNAME'
|
212
214
|
config.password = 'YOUR PASSWORD'
|
213
215
|
end
|
214
216
|
|
215
217
|
api_instance = PulpMavenClient::DistributionsMavenApi.new
|
216
|
-
|
217
|
-
|
218
|
+
maven_maven_distribution_href = 'maven_maven_distribution_href_example' # String |
|
219
|
+
patchedmaven_maven_distribution = PulpMavenClient::PatchedmavenMavenDistribution.new # PatchedmavenMavenDistribution |
|
218
220
|
|
219
221
|
begin
|
220
|
-
#
|
221
|
-
result = api_instance.partial_update(
|
222
|
+
#Update a maven distribution
|
223
|
+
result = api_instance.partial_update(maven_maven_distribution_href, patchedmaven_maven_distribution)
|
222
224
|
p result
|
223
225
|
rescue PulpMavenClient::ApiError => e
|
224
226
|
puts "Exception when calling DistributionsMavenApi->partial_update: #{e}"
|
@@ -230,8 +232,8 @@ end
|
|
230
232
|
|
231
233
|
Name | Type | Description | Notes
|
232
234
|
------------- | ------------- | ------------- | -------------
|
233
|
-
**
|
234
|
-
**
|
235
|
+
**maven_maven_distribution_href** | **String**| |
|
236
|
+
**patchedmaven_maven_distribution** | [**PatchedmavenMavenDistribution**](PatchedmavenMavenDistribution.md)| |
|
235
237
|
|
236
238
|
### Return type
|
237
239
|
|
@@ -239,17 +241,17 @@ Name | Type | Description | Notes
|
|
239
241
|
|
240
242
|
### Authorization
|
241
243
|
|
242
|
-
[
|
244
|
+
[basicAuth](../README.md#basicAuth)
|
243
245
|
|
244
246
|
### HTTP request headers
|
245
247
|
|
246
|
-
- **Content-Type**: application/json
|
248
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
247
249
|
- **Accept**: application/json
|
248
250
|
|
249
251
|
|
250
252
|
## read
|
251
253
|
|
252
|
-
>
|
254
|
+
> MavenMavenDistributionResponse read(maven_maven_distribution_href, opts)
|
253
255
|
|
254
256
|
Inspect a maven distribution
|
255
257
|
|
@@ -262,13 +264,13 @@ ViewSet for Maven Distributions.
|
|
262
264
|
require 'pulp_maven_client'
|
263
265
|
# setup authorization
|
264
266
|
PulpMavenClient.configure do |config|
|
265
|
-
# Configure HTTP basic authorization:
|
267
|
+
# Configure HTTP basic authorization: basicAuth
|
266
268
|
config.username = 'YOUR USERNAME'
|
267
269
|
config.password = 'YOUR PASSWORD'
|
268
270
|
end
|
269
271
|
|
270
272
|
api_instance = PulpMavenClient::DistributionsMavenApi.new
|
271
|
-
|
273
|
+
maven_maven_distribution_href = 'maven_maven_distribution_href_example' # String |
|
272
274
|
opts = {
|
273
275
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
274
276
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
@@ -276,7 +278,7 @@ opts = {
|
|
276
278
|
|
277
279
|
begin
|
278
280
|
#Inspect a maven distribution
|
279
|
-
result = api_instance.read(
|
281
|
+
result = api_instance.read(maven_maven_distribution_href, opts)
|
280
282
|
p result
|
281
283
|
rescue PulpMavenClient::ApiError => e
|
282
284
|
puts "Exception when calling DistributionsMavenApi->read: #{e}"
|
@@ -288,17 +290,17 @@ end
|
|
288
290
|
|
289
291
|
Name | Type | Description | Notes
|
290
292
|
------------- | ------------- | ------------- | -------------
|
291
|
-
**
|
293
|
+
**maven_maven_distribution_href** | **String**| |
|
292
294
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
293
295
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
294
296
|
|
295
297
|
### Return type
|
296
298
|
|
297
|
-
[**
|
299
|
+
[**MavenMavenDistributionResponse**](MavenMavenDistributionResponse.md)
|
298
300
|
|
299
301
|
### Authorization
|
300
302
|
|
301
|
-
[
|
303
|
+
[basicAuth](../README.md#basicAuth)
|
302
304
|
|
303
305
|
### HTTP request headers
|
304
306
|
|
@@ -308,7 +310,7 @@ Name | Type | Description | Notes
|
|
308
310
|
|
309
311
|
## update
|
310
312
|
|
311
|
-
> AsyncOperationResponse update(
|
313
|
+
> AsyncOperationResponse update(maven_maven_distribution_href, maven_maven_distribution)
|
312
314
|
|
313
315
|
Update a maven distribution
|
314
316
|
|
@@ -321,18 +323,18 @@ Trigger an asynchronous update task
|
|
321
323
|
require 'pulp_maven_client'
|
322
324
|
# setup authorization
|
323
325
|
PulpMavenClient.configure do |config|
|
324
|
-
# Configure HTTP basic authorization:
|
326
|
+
# Configure HTTP basic authorization: basicAuth
|
325
327
|
config.username = 'YOUR USERNAME'
|
326
328
|
config.password = 'YOUR PASSWORD'
|
327
329
|
end
|
328
330
|
|
329
331
|
api_instance = PulpMavenClient::DistributionsMavenApi.new
|
330
|
-
|
331
|
-
|
332
|
+
maven_maven_distribution_href = 'maven_maven_distribution_href_example' # String |
|
333
|
+
maven_maven_distribution = PulpMavenClient::MavenMavenDistribution.new # MavenMavenDistribution |
|
332
334
|
|
333
335
|
begin
|
334
336
|
#Update a maven distribution
|
335
|
-
result = api_instance.update(
|
337
|
+
result = api_instance.update(maven_maven_distribution_href, maven_maven_distribution)
|
336
338
|
p result
|
337
339
|
rescue PulpMavenClient::ApiError => e
|
338
340
|
puts "Exception when calling DistributionsMavenApi->update: #{e}"
|
@@ -344,8 +346,8 @@ end
|
|
344
346
|
|
345
347
|
Name | Type | Description | Notes
|
346
348
|
------------- | ------------- | ------------- | -------------
|
347
|
-
**
|
348
|
-
**
|
349
|
+
**maven_maven_distribution_href** | **String**| |
|
350
|
+
**maven_maven_distribution** | [**MavenMavenDistribution**](MavenMavenDistribution.md)| |
|
349
351
|
|
350
352
|
### Return type
|
351
353
|
|
@@ -353,10 +355,10 @@ Name | Type | Description | Notes
|
|
353
355
|
|
354
356
|
### Authorization
|
355
357
|
|
356
|
-
[
|
358
|
+
[basicAuth](../README.md#basicAuth)
|
357
359
|
|
358
360
|
### HTTP request headers
|
359
361
|
|
360
|
-
- **Content-Type**: application/json
|
362
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
361
363
|
- **Accept**: application/json
|
362
364
|
|
data/docs/MavenMavenArtifact.md
CHANGED
@@ -4,26 +4,16 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
7
|
**artifact** | **String** | Artifact file representing the physical content |
|
10
|
-
**
|
11
|
-
**artifact_id** | **String** | Artifact Id of the artifact's package. | [optional] [readonly]
|
12
|
-
**version** | **String** | Version of the artifact's package. | [optional] [readonly]
|
13
|
-
**filename** | **String** | Filename of the artifact. | [optional] [readonly]
|
8
|
+
**relative_path** | **String** | Path where the artifact is located relative to distributions base_path |
|
14
9
|
|
15
10
|
## Code Sample
|
16
11
|
|
17
12
|
```ruby
|
18
13
|
require 'PulpMavenClient'
|
19
14
|
|
20
|
-
instance = PulpMavenClient::MavenMavenArtifact.new(
|
21
|
-
|
22
|
-
artifact: null,
|
23
|
-
group_id: null,
|
24
|
-
artifact_id: null,
|
25
|
-
version: null,
|
26
|
-
filename: null)
|
15
|
+
instance = PulpMavenClient::MavenMavenArtifact.new(artifact: null,
|
16
|
+
relative_path: null)
|
27
17
|
```
|
28
18
|
|
29
19
|
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# PulpMavenClient::MavenMavenArtifactResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
+
**artifact** | **String** | Artifact file representing the physical content |
|
10
|
+
**group_id** | **String** | Group Id of the artifact's package. | [optional] [readonly]
|
11
|
+
**artifact_id** | **String** | Artifact Id of the artifact's package. | [optional] [readonly]
|
12
|
+
**version** | **String** | Version of the artifact's package. | [optional] [readonly]
|
13
|
+
**filename** | **String** | Filename of the artifact. | [optional] [readonly]
|
14
|
+
|
15
|
+
## Code Sample
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'PulpMavenClient'
|
19
|
+
|
20
|
+
instance = PulpMavenClient::MavenMavenArtifactResponse.new(pulp_href: null,
|
21
|
+
pulp_created: null,
|
22
|
+
artifact: null,
|
23
|
+
group_id: null,
|
24
|
+
artifact_id: null,
|
25
|
+
version: null,
|
26
|
+
filename: null)
|
27
|
+
```
|
28
|
+
|
29
|
+
|
@@ -4,10 +4,7 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
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\") |
|
10
|
-
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
11
8
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
12
9
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
13
10
|
**remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional]
|
@@ -17,10 +14,7 @@ Name | Type | Description | Notes
|
|
17
14
|
```ruby
|
18
15
|
require 'PulpMavenClient'
|
19
16
|
|
20
|
-
instance = PulpMavenClient::MavenMavenDistribution.new(
|
21
|
-
pulp_created: null,
|
22
|
-
base_path: null,
|
23
|
-
base_url: null,
|
17
|
+
instance = PulpMavenClient::MavenMavenDistribution.new(base_path: null,
|
24
18
|
content_guard: null,
|
25
19
|
name: null,
|
26
20
|
remote: null)
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# PulpMavenClient::MavenMavenDistributionResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
+
**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\") |
|
10
|
+
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
11
|
+
**content_guard** | **String** | An optional content-guard. | [optional]
|
12
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
13
|
+
**remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional]
|
14
|
+
|
15
|
+
## Code Sample
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'PulpMavenClient'
|
19
|
+
|
20
|
+
instance = PulpMavenClient::MavenMavenDistributionResponse.new(pulp_href: null,
|
21
|
+
pulp_created: null,
|
22
|
+
base_path: null,
|
23
|
+
base_url: null,
|
24
|
+
content_guard: null,
|
25
|
+
name: null,
|
26
|
+
remote: null)
|
27
|
+
```
|
28
|
+
|
29
|
+
|
data/docs/MavenMavenRemote.md
CHANGED
@@ -4,36 +4,42 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
7
|
**name** | **String** | A unique name for this remote. |
|
10
8
|
**url** | **String** | The URL of an external content source. |
|
11
|
-
**ca_cert** | **String** | A
|
12
|
-
**client_cert** | **String** | A
|
13
|
-
**client_key** | **String** | A PEM encoded private key used for authentication.
|
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]
|
14
12
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
15
13
|
**proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
|
16
|
-
**
|
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]
|
17
16
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
18
|
-
**policy** | **
|
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]
|
19
22
|
|
20
23
|
## Code Sample
|
21
24
|
|
22
25
|
```ruby
|
23
26
|
require 'PulpMavenClient'
|
24
27
|
|
25
|
-
instance = PulpMavenClient::MavenMavenRemote.new(
|
26
|
-
pulp_created: null,
|
27
|
-
name: null,
|
28
|
+
instance = PulpMavenClient::MavenMavenRemote.new(name: null,
|
28
29
|
url: null,
|
29
30
|
ca_cert: null,
|
30
31
|
client_cert: null,
|
31
32
|
client_key: null,
|
32
33
|
tls_validation: null,
|
33
34
|
proxy_url: null,
|
34
|
-
|
35
|
+
username: null,
|
36
|
+
password: null,
|
35
37
|
download_concurrency: null,
|
36
|
-
policy: null
|
38
|
+
policy: null,
|
39
|
+
total_timeout: null,
|
40
|
+
connect_timeout: null,
|
41
|
+
sock_connect_timeout: null,
|
42
|
+
sock_read_timeout: null)
|
37
43
|
```
|
38
44
|
|
39
45
|
|
@@ -0,0 +1,51 @@
|
|
1
|
+
# PulpMavenClient::MavenMavenRemoteResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
+
**name** | **String** | A unique name for this remote. |
|
10
|
+
**url** | **String** | The URL of an external content source. |
|
11
|
+
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
12
|
+
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
13
|
+
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
14
|
+
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
15
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
|
16
|
+
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
17
|
+
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
18
|
+
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
19
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
20
|
+
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. | [optional]
|
21
|
+
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
|
22
|
+
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
23
|
+
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
24
|
+
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
25
|
+
|
26
|
+
## Code Sample
|
27
|
+
|
28
|
+
```ruby
|
29
|
+
require 'PulpMavenClient'
|
30
|
+
|
31
|
+
instance = PulpMavenClient::MavenMavenRemoteResponse.new(pulp_href: null,
|
32
|
+
pulp_created: null,
|
33
|
+
name: null,
|
34
|
+
url: null,
|
35
|
+
ca_cert: null,
|
36
|
+
client_cert: null,
|
37
|
+
client_key: null,
|
38
|
+
tls_validation: null,
|
39
|
+
proxy_url: null,
|
40
|
+
username: null,
|
41
|
+
password: null,
|
42
|
+
pulp_last_updated: null,
|
43
|
+
download_concurrency: null,
|
44
|
+
policy: null,
|
45
|
+
total_timeout: null,
|
46
|
+
connect_timeout: null,
|
47
|
+
sock_connect_timeout: null,
|
48
|
+
sock_read_timeout: null)
|
49
|
+
```
|
50
|
+
|
51
|
+
|
@@ -4,24 +4,18 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
-
**versions_href** | **String** | | [optional] [readonly]
|
10
|
-
**latest_version_href** | **String** | | [optional] [readonly]
|
11
7
|
**name** | **String** | A unique name for this repository. |
|
12
8
|
**description** | **String** | An optional description. | [optional]
|
9
|
+
**remote** | **String** | | [optional]
|
13
10
|
|
14
11
|
## Code Sample
|
15
12
|
|
16
13
|
```ruby
|
17
14
|
require 'PulpMavenClient'
|
18
15
|
|
19
|
-
instance = PulpMavenClient::MavenMavenRepository.new(
|
20
|
-
|
21
|
-
|
22
|
-
latest_version_href: null,
|
23
|
-
name: null,
|
24
|
-
description: null)
|
16
|
+
instance = PulpMavenClient::MavenMavenRepository.new(name: null,
|
17
|
+
description: null,
|
18
|
+
remote: null)
|
25
19
|
```
|
26
20
|
|
27
21
|
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# PulpMavenClient::MavenMavenRepositoryResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
+
**versions_href** | **String** | | [optional] [readonly]
|
10
|
+
**latest_version_href** | **String** | | [optional] [readonly]
|
11
|
+
**name** | **String** | A unique name for this repository. |
|
12
|
+
**description** | **String** | An optional description. | [optional]
|
13
|
+
**remote** | **String** | | [optional]
|
14
|
+
|
15
|
+
## Code Sample
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'PulpMavenClient'
|
19
|
+
|
20
|
+
instance = PulpMavenClient::MavenMavenRepositoryResponse.new(pulp_href: null,
|
21
|
+
pulp_created: null,
|
22
|
+
versions_href: null,
|
23
|
+
latest_version_href: null,
|
24
|
+
name: null,
|
25
|
+
description: null,
|
26
|
+
remote: null)
|
27
|
+
```
|
28
|
+
|
29
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# PulpMavenClient::PaginatedRepositoryVersionResponseList
|
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<RepositoryVersionResponse>**](RepositoryVersionResponse.md) | | [optional]
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'PulpMavenClient'
|
16
|
+
|
17
|
+
instance = PulpMavenClient::PaginatedRepositoryVersionResponseList.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
|
+
|