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
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
# PulpMavenClient::RepositoriesMavenApi
|
|
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**](RepositoriesMavenApi.md#create) | **POST** /pulp/api/v3/repositories/maven/maven/ | Create a maven repository
|
|
8
|
-
[**delete**](RepositoriesMavenApi.md#delete) | **DELETE** {
|
|
8
|
+
[**delete**](RepositoriesMavenApi.md#delete) | **DELETE** {maven_maven_repository_href} | Delete a maven repository
|
|
9
9
|
[**list**](RepositoriesMavenApi.md#list) | **GET** /pulp/api/v3/repositories/maven/maven/ | List maven repositorys
|
|
10
|
-
[**partial_update**](RepositoriesMavenApi.md#partial_update) | **PATCH** {
|
|
11
|
-
[**read**](RepositoriesMavenApi.md#read) | **GET** {
|
|
12
|
-
[**update**](RepositoriesMavenApi.md#update) | **PUT** {
|
|
10
|
+
[**partial_update**](RepositoriesMavenApi.md#partial_update) | **PATCH** {maven_maven_repository_href} | Update a maven repository
|
|
11
|
+
[**read**](RepositoriesMavenApi.md#read) | **GET** {maven_maven_repository_href} | Inspect a maven repository
|
|
12
|
+
[**update**](RepositoriesMavenApi.md#update) | **PUT** {maven_maven_repository_href} | Update a maven repository
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
## create
|
|
17
17
|
|
|
18
|
-
>
|
|
18
|
+
> MavenMavenRepositoryResponse create(maven_maven_repository)
|
|
19
19
|
|
|
20
20
|
Create a maven repository
|
|
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::RepositoriesMavenApi.new
|
|
37
|
-
|
|
37
|
+
maven_maven_repository = PulpMavenClient::MavenMavenRepository.new # MavenMavenRepository |
|
|
38
38
|
|
|
39
39
|
begin
|
|
40
40
|
#Create a maven repository
|
|
41
|
-
result = api_instance.create(
|
|
41
|
+
result = api_instance.create(maven_maven_repository)
|
|
42
42
|
p result
|
|
43
43
|
rescue PulpMavenClient::ApiError => e
|
|
44
44
|
puts "Exception when calling RepositoriesMavenApi->create: #{e}"
|
|
@@ -50,29 +50,29 @@ end
|
|
|
50
50
|
|
|
51
51
|
Name | Type | Description | Notes
|
|
52
52
|
------------- | ------------- | ------------- | -------------
|
|
53
|
-
**
|
|
53
|
+
**maven_maven_repository** | [**MavenMavenRepository**](MavenMavenRepository.md)| |
|
|
54
54
|
|
|
55
55
|
### Return type
|
|
56
56
|
|
|
57
|
-
[**
|
|
57
|
+
[**MavenMavenRepositoryResponse**](MavenMavenRepositoryResponse.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_repository_href)
|
|
72
72
|
|
|
73
73
|
Delete a maven repository
|
|
74
74
|
|
|
75
|
-
Trigger an asynchronous
|
|
75
|
+
Trigger an asynchronous delete task
|
|
76
76
|
|
|
77
77
|
### Example
|
|
78
78
|
|
|
@@ -81,17 +81,17 @@ Trigger an asynchronous task to delete a repository.
|
|
|
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::RepositoriesMavenApi.new
|
|
90
|
-
|
|
90
|
+
maven_maven_repository_href = 'maven_maven_repository_href_example' # String |
|
|
91
91
|
|
|
92
92
|
begin
|
|
93
93
|
#Delete a maven repository
|
|
94
|
-
result = api_instance.delete(
|
|
94
|
+
result = api_instance.delete(maven_maven_repository_href)
|
|
95
95
|
p result
|
|
96
96
|
rescue PulpMavenClient::ApiError => e
|
|
97
97
|
puts "Exception when calling RepositoriesMavenApi->delete: #{e}"
|
|
@@ -103,7 +103,7 @@ end
|
|
|
103
103
|
|
|
104
104
|
Name | Type | Description | Notes
|
|
105
105
|
------------- | ------------- | ------------- | -------------
|
|
106
|
-
**
|
|
106
|
+
**maven_maven_repository_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
|
+
> PaginatedmavenMavenRepositoryResponseList list(opts)
|
|
125
125
|
|
|
126
126
|
List maven repositorys
|
|
127
127
|
|
|
@@ -134,17 +134,18 @@ 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::RepositoriesMavenApi.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
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
|
|
147
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.
|
|
148
149
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
149
150
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
150
151
|
}
|
|
@@ -163,20 +164,21 @@ end
|
|
|
163
164
|
|
|
164
165
|
Name | Type | Description | Notes
|
|
165
166
|
------------- | ------------- | ------------- | -------------
|
|
166
|
-
**name** | **String**| | [optional]
|
|
167
|
-
**name__in** | **String**| Filter results where name is in a comma-separated list of values | [optional]
|
|
168
167
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
168
|
+
**name** | **String**| name | [optional]
|
|
169
|
+
**name__in** | **String**| name__in | [optional]
|
|
169
170
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
171
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
|
170
172
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
171
173
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
172
174
|
|
|
173
175
|
### Return type
|
|
174
176
|
|
|
175
|
-
[**
|
|
177
|
+
[**PaginatedmavenMavenRepositoryResponseList**](PaginatedmavenMavenRepositoryResponseList.md)
|
|
176
178
|
|
|
177
179
|
### Authorization
|
|
178
180
|
|
|
179
|
-
[
|
|
181
|
+
[basicAuth](../README.md#basicAuth)
|
|
180
182
|
|
|
181
183
|
### HTTP request headers
|
|
182
184
|
|
|
@@ -186,11 +188,11 @@ Name | Type | Description | Notes
|
|
|
186
188
|
|
|
187
189
|
## partial_update
|
|
188
190
|
|
|
189
|
-
>
|
|
191
|
+
> AsyncOperationResponse partial_update(maven_maven_repository_href, patchedmaven_maven_repository)
|
|
190
192
|
|
|
191
|
-
|
|
193
|
+
Update a maven repository
|
|
192
194
|
|
|
193
|
-
|
|
195
|
+
Trigger an asynchronous partial update task
|
|
194
196
|
|
|
195
197
|
### Example
|
|
196
198
|
|
|
@@ -199,18 +201,18 @@ A ViewSet for MavenRemote.
|
|
|
199
201
|
require 'pulp_maven_client'
|
|
200
202
|
# setup authorization
|
|
201
203
|
PulpMavenClient.configure do |config|
|
|
202
|
-
# Configure HTTP basic authorization:
|
|
204
|
+
# Configure HTTP basic authorization: basicAuth
|
|
203
205
|
config.username = 'YOUR USERNAME'
|
|
204
206
|
config.password = 'YOUR PASSWORD'
|
|
205
207
|
end
|
|
206
208
|
|
|
207
209
|
api_instance = PulpMavenClient::RepositoriesMavenApi.new
|
|
208
|
-
|
|
209
|
-
|
|
210
|
+
maven_maven_repository_href = 'maven_maven_repository_href_example' # String |
|
|
211
|
+
patchedmaven_maven_repository = PulpMavenClient::PatchedmavenMavenRepository.new # PatchedmavenMavenRepository |
|
|
210
212
|
|
|
211
213
|
begin
|
|
212
|
-
#
|
|
213
|
-
result = api_instance.partial_update(
|
|
214
|
+
#Update a maven repository
|
|
215
|
+
result = api_instance.partial_update(maven_maven_repository_href, patchedmaven_maven_repository)
|
|
214
216
|
p result
|
|
215
217
|
rescue PulpMavenClient::ApiError => e
|
|
216
218
|
puts "Exception when calling RepositoriesMavenApi->partial_update: #{e}"
|
|
@@ -222,26 +224,26 @@ end
|
|
|
222
224
|
|
|
223
225
|
Name | Type | Description | Notes
|
|
224
226
|
------------- | ------------- | ------------- | -------------
|
|
225
|
-
**
|
|
226
|
-
**
|
|
227
|
+
**maven_maven_repository_href** | **String**| |
|
|
228
|
+
**patchedmaven_maven_repository** | [**PatchedmavenMavenRepository**](PatchedmavenMavenRepository.md)| |
|
|
227
229
|
|
|
228
230
|
### Return type
|
|
229
231
|
|
|
230
|
-
[**
|
|
232
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
|
231
233
|
|
|
232
234
|
### Authorization
|
|
233
235
|
|
|
234
|
-
[
|
|
236
|
+
[basicAuth](../README.md#basicAuth)
|
|
235
237
|
|
|
236
238
|
### HTTP request headers
|
|
237
239
|
|
|
238
|
-
- **Content-Type**: application/json
|
|
240
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
239
241
|
- **Accept**: application/json
|
|
240
242
|
|
|
241
243
|
|
|
242
244
|
## read
|
|
243
245
|
|
|
244
|
-
>
|
|
246
|
+
> MavenMavenRepositoryResponse read(maven_maven_repository_href, opts)
|
|
245
247
|
|
|
246
248
|
Inspect a maven repository
|
|
247
249
|
|
|
@@ -254,13 +256,13 @@ A ViewSet for MavenRemote.
|
|
|
254
256
|
require 'pulp_maven_client'
|
|
255
257
|
# setup authorization
|
|
256
258
|
PulpMavenClient.configure do |config|
|
|
257
|
-
# Configure HTTP basic authorization:
|
|
259
|
+
# Configure HTTP basic authorization: basicAuth
|
|
258
260
|
config.username = 'YOUR USERNAME'
|
|
259
261
|
config.password = 'YOUR PASSWORD'
|
|
260
262
|
end
|
|
261
263
|
|
|
262
264
|
api_instance = PulpMavenClient::RepositoriesMavenApi.new
|
|
263
|
-
|
|
265
|
+
maven_maven_repository_href = 'maven_maven_repository_href_example' # String |
|
|
264
266
|
opts = {
|
|
265
267
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
266
268
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
@@ -268,7 +270,7 @@ opts = {
|
|
|
268
270
|
|
|
269
271
|
begin
|
|
270
272
|
#Inspect a maven repository
|
|
271
|
-
result = api_instance.read(
|
|
273
|
+
result = api_instance.read(maven_maven_repository_href, opts)
|
|
272
274
|
p result
|
|
273
275
|
rescue PulpMavenClient::ApiError => e
|
|
274
276
|
puts "Exception when calling RepositoriesMavenApi->read: #{e}"
|
|
@@ -280,17 +282,17 @@ end
|
|
|
280
282
|
|
|
281
283
|
Name | Type | Description | Notes
|
|
282
284
|
------------- | ------------- | ------------- | -------------
|
|
283
|
-
**
|
|
285
|
+
**maven_maven_repository_href** | **String**| |
|
|
284
286
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
285
287
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
286
288
|
|
|
287
289
|
### Return type
|
|
288
290
|
|
|
289
|
-
[**
|
|
291
|
+
[**MavenMavenRepositoryResponse**](MavenMavenRepositoryResponse.md)
|
|
290
292
|
|
|
291
293
|
### Authorization
|
|
292
294
|
|
|
293
|
-
[
|
|
295
|
+
[basicAuth](../README.md#basicAuth)
|
|
294
296
|
|
|
295
297
|
### HTTP request headers
|
|
296
298
|
|
|
@@ -300,11 +302,11 @@ Name | Type | Description | Notes
|
|
|
300
302
|
|
|
301
303
|
## update
|
|
302
304
|
|
|
303
|
-
> AsyncOperationResponse update(
|
|
305
|
+
> AsyncOperationResponse update(maven_maven_repository_href, maven_maven_repository)
|
|
304
306
|
|
|
305
307
|
Update a maven repository
|
|
306
308
|
|
|
307
|
-
Trigger an asynchronous
|
|
309
|
+
Trigger an asynchronous update task
|
|
308
310
|
|
|
309
311
|
### Example
|
|
310
312
|
|
|
@@ -313,18 +315,18 @@ Trigger an asynchronous task to update a repository.
|
|
|
313
315
|
require 'pulp_maven_client'
|
|
314
316
|
# setup authorization
|
|
315
317
|
PulpMavenClient.configure do |config|
|
|
316
|
-
# Configure HTTP basic authorization:
|
|
318
|
+
# Configure HTTP basic authorization: basicAuth
|
|
317
319
|
config.username = 'YOUR USERNAME'
|
|
318
320
|
config.password = 'YOUR PASSWORD'
|
|
319
321
|
end
|
|
320
322
|
|
|
321
323
|
api_instance = PulpMavenClient::RepositoriesMavenApi.new
|
|
322
|
-
|
|
323
|
-
|
|
324
|
+
maven_maven_repository_href = 'maven_maven_repository_href_example' # String |
|
|
325
|
+
maven_maven_repository = PulpMavenClient::MavenMavenRepository.new # MavenMavenRepository |
|
|
324
326
|
|
|
325
327
|
begin
|
|
326
328
|
#Update a maven repository
|
|
327
|
-
result = api_instance.update(
|
|
329
|
+
result = api_instance.update(maven_maven_repository_href, maven_maven_repository)
|
|
328
330
|
p result
|
|
329
331
|
rescue PulpMavenClient::ApiError => e
|
|
330
332
|
puts "Exception when calling RepositoriesMavenApi->update: #{e}"
|
|
@@ -336,8 +338,8 @@ end
|
|
|
336
338
|
|
|
337
339
|
Name | Type | Description | Notes
|
|
338
340
|
------------- | ------------- | ------------- | -------------
|
|
339
|
-
**
|
|
340
|
-
**
|
|
341
|
+
**maven_maven_repository_href** | **String**| |
|
|
342
|
+
**maven_maven_repository** | [**MavenMavenRepository**](MavenMavenRepository.md)| |
|
|
341
343
|
|
|
342
344
|
### Return type
|
|
343
345
|
|
|
@@ -345,10 +347,10 @@ Name | Type | Description | Notes
|
|
|
345
347
|
|
|
346
348
|
### Authorization
|
|
347
349
|
|
|
348
|
-
[
|
|
350
|
+
[basicAuth](../README.md#basicAuth)
|
|
349
351
|
|
|
350
352
|
### HTTP request headers
|
|
351
353
|
|
|
352
|
-
- **Content-Type**: application/json
|
|
354
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
353
355
|
- **Accept**: application/json
|
|
354
356
|
|
|
@@ -1,22 +1,23 @@
|
|
|
1
1
|
# PulpMavenClient::RepositoriesMavenVersionsApi
|
|
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
|
-
[**delete**](RepositoriesMavenVersionsApi.md#delete) | **DELETE** {
|
|
8
|
-
[**list**](RepositoriesMavenVersionsApi.md#list) | **GET** {
|
|
9
|
-
[**read**](RepositoriesMavenVersionsApi.md#read) | **GET** {
|
|
7
|
+
[**delete**](RepositoriesMavenVersionsApi.md#delete) | **DELETE** {maven_maven_repository_version_href} | Delete a repository version
|
|
8
|
+
[**list**](RepositoriesMavenVersionsApi.md#list) | **GET** {maven_maven_repository_href}versions/ | List repository versions
|
|
9
|
+
[**read**](RepositoriesMavenVersionsApi.md#read) | **GET** {maven_maven_repository_version_href} | Inspect a repository version
|
|
10
|
+
[**repair**](RepositoriesMavenVersionsApi.md#repair) | **POST** {maven_maven_repository_version_href}repair/ |
|
|
10
11
|
|
|
11
12
|
|
|
12
13
|
|
|
13
14
|
## delete
|
|
14
15
|
|
|
15
|
-
> AsyncOperationResponse delete(
|
|
16
|
+
> AsyncOperationResponse delete(maven_maven_repository_version_href)
|
|
16
17
|
|
|
17
18
|
Delete a repository version
|
|
18
19
|
|
|
19
|
-
Trigger an asynchronous task to delete a
|
|
20
|
+
Trigger an asynchronous task to delete a repository version.
|
|
20
21
|
|
|
21
22
|
### Example
|
|
22
23
|
|
|
@@ -25,17 +26,17 @@ Trigger an asynchronous task to delete a repositroy version.
|
|
|
25
26
|
require 'pulp_maven_client'
|
|
26
27
|
# setup authorization
|
|
27
28
|
PulpMavenClient.configure do |config|
|
|
28
|
-
# Configure HTTP basic authorization:
|
|
29
|
+
# Configure HTTP basic authorization: basicAuth
|
|
29
30
|
config.username = 'YOUR USERNAME'
|
|
30
31
|
config.password = 'YOUR PASSWORD'
|
|
31
32
|
end
|
|
32
33
|
|
|
33
34
|
api_instance = PulpMavenClient::RepositoriesMavenVersionsApi.new
|
|
34
|
-
|
|
35
|
+
maven_maven_repository_version_href = 'maven_maven_repository_version_href_example' # String |
|
|
35
36
|
|
|
36
37
|
begin
|
|
37
38
|
#Delete a repository version
|
|
38
|
-
result = api_instance.delete(
|
|
39
|
+
result = api_instance.delete(maven_maven_repository_version_href)
|
|
39
40
|
p result
|
|
40
41
|
rescue PulpMavenClient::ApiError => e
|
|
41
42
|
puts "Exception when calling RepositoriesMavenVersionsApi->delete: #{e}"
|
|
@@ -47,7 +48,7 @@ end
|
|
|
47
48
|
|
|
48
49
|
Name | Type | Description | Notes
|
|
49
50
|
------------- | ------------- | ------------- | -------------
|
|
50
|
-
**
|
|
51
|
+
**maven_maven_repository_version_href** | **String**| |
|
|
51
52
|
|
|
52
53
|
### Return type
|
|
53
54
|
|
|
@@ -55,7 +56,7 @@ Name | Type | Description | Notes
|
|
|
55
56
|
|
|
56
57
|
### Authorization
|
|
57
58
|
|
|
58
|
-
[
|
|
59
|
+
[basicAuth](../README.md#basicAuth)
|
|
59
60
|
|
|
60
61
|
### HTTP request headers
|
|
61
62
|
|
|
@@ -65,7 +66,7 @@ Name | Type | Description | Notes
|
|
|
65
66
|
|
|
66
67
|
## list
|
|
67
68
|
|
|
68
|
-
>
|
|
69
|
+
> PaginatedRepositoryVersionResponseList list(maven_maven_repository_href, opts)
|
|
69
70
|
|
|
70
71
|
List repository versions
|
|
71
72
|
|
|
@@ -78,37 +79,38 @@ MavenRepositoryVersion represents a single Maven repository version.
|
|
|
78
79
|
require 'pulp_maven_client'
|
|
79
80
|
# setup authorization
|
|
80
81
|
PulpMavenClient.configure do |config|
|
|
81
|
-
# Configure HTTP basic authorization:
|
|
82
|
+
# Configure HTTP basic authorization: basicAuth
|
|
82
83
|
config.username = 'YOUR USERNAME'
|
|
83
84
|
config.password = 'YOUR PASSWORD'
|
|
84
85
|
end
|
|
85
86
|
|
|
86
87
|
api_instance = PulpMavenClient::RepositoriesMavenVersionsApi.new
|
|
87
|
-
|
|
88
|
+
maven_maven_repository_href = 'maven_maven_repository_href_example' # String |
|
|
88
89
|
opts = {
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
number__lt: 3.4, # Float | Filter results where number is less than value
|
|
92
|
-
number__lte: 3.4, # Float | Filter results where number is less than or equal to value
|
|
93
|
-
number__gt: 3.4, # Float | Filter results where number is greater than value
|
|
94
|
-
number__gte: 3.4, # Float | Filter results where number is greater than or equal to value
|
|
95
|
-
number__range: 3.4, # Float | Filter results where number is between two comma separated values
|
|
96
|
-
pulp_created__lt: 'pulp_created__lt_example', # String | Filter results where pulp_created is less than value
|
|
97
|
-
pulp_created__lte: 'pulp_created__lte_example', # String | Filter results where pulp_created is less than or equal to value
|
|
98
|
-
pulp_created__gt: 'pulp_created__gt_example', # String | Filter results where pulp_created is greater than value
|
|
99
|
-
pulp_created__gte: 'pulp_created__gte_example', # String | Filter results where pulp_created is greater than or equal to value
|
|
100
|
-
pulp_created__range: 'pulp_created__range_example', # String | Filter results where pulp_created is between two comma separated values
|
|
101
|
-
content: 'content_example', # String | Content Unit referenced by HREF
|
|
102
|
-
pulp_created: 'pulp_created_example', # String | ISO 8601 formatted dates are supported
|
|
90
|
+
content: 'content_example', # String | content
|
|
91
|
+
content__in: 'content__in_example', # String | content__in
|
|
103
92
|
limit: 56, # Integer | Number of results to return per page.
|
|
93
|
+
number: 'number_example', # String | number
|
|
94
|
+
number__gt: 'number__gt_example', # String | number__gt
|
|
95
|
+
number__gte: 'number__gte_example', # String | number__gte
|
|
96
|
+
number__lt: 'number__lt_example', # String | number__lt
|
|
97
|
+
number__lte: 'number__lte_example', # String | number__lte
|
|
98
|
+
number__range: 'number__range_example', # String | number__range
|
|
104
99
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
100
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
|
101
|
+
pulp_created: 'pulp_created_example', # String | pulp_created
|
|
102
|
+
pulp_created__gt: 'pulp_created__gt_example', # String | pulp_created__gt
|
|
103
|
+
pulp_created__gte: 'pulp_created__gte_example', # String | pulp_created__gte
|
|
104
|
+
pulp_created__lt: 'pulp_created__lt_example', # String | pulp_created__lt
|
|
105
|
+
pulp_created__lte: 'pulp_created__lte_example', # String | pulp_created__lte
|
|
106
|
+
pulp_created__range: 'pulp_created__range_example', # String | pulp_created__range
|
|
105
107
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
106
108
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
107
109
|
}
|
|
108
110
|
|
|
109
111
|
begin
|
|
110
112
|
#List repository versions
|
|
111
|
-
result = api_instance.list(
|
|
113
|
+
result = api_instance.list(maven_maven_repository_href, opts)
|
|
112
114
|
p result
|
|
113
115
|
rescue PulpMavenClient::ApiError => e
|
|
114
116
|
puts "Exception when calling RepositoriesMavenVersionsApi->list: #{e}"
|
|
@@ -120,33 +122,34 @@ end
|
|
|
120
122
|
|
|
121
123
|
Name | Type | Description | Notes
|
|
122
124
|
------------- | ------------- | ------------- | -------------
|
|
123
|
-
**
|
|
124
|
-
**
|
|
125
|
-
**
|
|
126
|
-
**number__lt** | **Float**| Filter results where number is less than value | [optional]
|
|
127
|
-
**number__lte** | **Float**| Filter results where number is less than or equal to value | [optional]
|
|
128
|
-
**number__gt** | **Float**| Filter results where number is greater than value | [optional]
|
|
129
|
-
**number__gte** | **Float**| Filter results where number is greater than or equal to value | [optional]
|
|
130
|
-
**number__range** | **Float**| Filter results where number is between two comma separated values | [optional]
|
|
131
|
-
**pulp_created__lt** | **String**| Filter results where pulp_created is less than value | [optional]
|
|
132
|
-
**pulp_created__lte** | **String**| Filter results where pulp_created is less than or equal to value | [optional]
|
|
133
|
-
**pulp_created__gt** | **String**| Filter results where pulp_created is greater than value | [optional]
|
|
134
|
-
**pulp_created__gte** | **String**| Filter results where pulp_created is greater than or equal to value | [optional]
|
|
135
|
-
**pulp_created__range** | **String**| Filter results where pulp_created is between two comma separated values | [optional]
|
|
136
|
-
**content** | **String**| Content Unit referenced by HREF | [optional]
|
|
137
|
-
**pulp_created** | **String**| ISO 8601 formatted dates are supported | [optional]
|
|
125
|
+
**maven_maven_repository_href** | **String**| |
|
|
126
|
+
**content** | **String**| content | [optional]
|
|
127
|
+
**content__in** | **String**| content__in | [optional]
|
|
138
128
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
129
|
+
**number** | **String**| number | [optional]
|
|
130
|
+
**number__gt** | **String**| number__gt | [optional]
|
|
131
|
+
**number__gte** | **String**| number__gte | [optional]
|
|
132
|
+
**number__lt** | **String**| number__lt | [optional]
|
|
133
|
+
**number__lte** | **String**| number__lte | [optional]
|
|
134
|
+
**number__range** | **String**| number__range | [optional]
|
|
139
135
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
136
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
|
137
|
+
**pulp_created** | **String**| pulp_created | [optional]
|
|
138
|
+
**pulp_created__gt** | **String**| pulp_created__gt | [optional]
|
|
139
|
+
**pulp_created__gte** | **String**| pulp_created__gte | [optional]
|
|
140
|
+
**pulp_created__lt** | **String**| pulp_created__lt | [optional]
|
|
141
|
+
**pulp_created__lte** | **String**| pulp_created__lte | [optional]
|
|
142
|
+
**pulp_created__range** | **String**| pulp_created__range | [optional]
|
|
140
143
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
141
144
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
142
145
|
|
|
143
146
|
### Return type
|
|
144
147
|
|
|
145
|
-
[**
|
|
148
|
+
[**PaginatedRepositoryVersionResponseList**](PaginatedRepositoryVersionResponseList.md)
|
|
146
149
|
|
|
147
150
|
### Authorization
|
|
148
151
|
|
|
149
|
-
[
|
|
152
|
+
[basicAuth](../README.md#basicAuth)
|
|
150
153
|
|
|
151
154
|
### HTTP request headers
|
|
152
155
|
|
|
@@ -156,7 +159,7 @@ Name | Type | Description | Notes
|
|
|
156
159
|
|
|
157
160
|
## read
|
|
158
161
|
|
|
159
|
-
>
|
|
162
|
+
> RepositoryVersionResponse read(maven_maven_repository_version_href, opts)
|
|
160
163
|
|
|
161
164
|
Inspect a repository version
|
|
162
165
|
|
|
@@ -169,13 +172,13 @@ MavenRepositoryVersion represents a single Maven repository version.
|
|
|
169
172
|
require 'pulp_maven_client'
|
|
170
173
|
# setup authorization
|
|
171
174
|
PulpMavenClient.configure do |config|
|
|
172
|
-
# Configure HTTP basic authorization:
|
|
175
|
+
# Configure HTTP basic authorization: basicAuth
|
|
173
176
|
config.username = 'YOUR USERNAME'
|
|
174
177
|
config.password = 'YOUR PASSWORD'
|
|
175
178
|
end
|
|
176
179
|
|
|
177
180
|
api_instance = PulpMavenClient::RepositoriesMavenVersionsApi.new
|
|
178
|
-
|
|
181
|
+
maven_maven_repository_version_href = 'maven_maven_repository_version_href_example' # String |
|
|
179
182
|
opts = {
|
|
180
183
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
181
184
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
@@ -183,7 +186,7 @@ opts = {
|
|
|
183
186
|
|
|
184
187
|
begin
|
|
185
188
|
#Inspect a repository version
|
|
186
|
-
result = api_instance.read(
|
|
189
|
+
result = api_instance.read(maven_maven_repository_version_href, opts)
|
|
187
190
|
p result
|
|
188
191
|
rescue PulpMavenClient::ApiError => e
|
|
189
192
|
puts "Exception when calling RepositoriesMavenVersionsApi->read: #{e}"
|
|
@@ -195,20 +198,74 @@ end
|
|
|
195
198
|
|
|
196
199
|
Name | Type | Description | Notes
|
|
197
200
|
------------- | ------------- | ------------- | -------------
|
|
198
|
-
**
|
|
201
|
+
**maven_maven_repository_version_href** | **String**| |
|
|
199
202
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
200
203
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
201
204
|
|
|
202
205
|
### Return type
|
|
203
206
|
|
|
204
|
-
[**
|
|
207
|
+
[**RepositoryVersionResponse**](RepositoryVersionResponse.md)
|
|
205
208
|
|
|
206
209
|
### Authorization
|
|
207
210
|
|
|
208
|
-
[
|
|
211
|
+
[basicAuth](../README.md#basicAuth)
|
|
209
212
|
|
|
210
213
|
### HTTP request headers
|
|
211
214
|
|
|
212
215
|
- **Content-Type**: Not defined
|
|
213
216
|
- **Accept**: application/json
|
|
214
217
|
|
|
218
|
+
|
|
219
|
+
## repair
|
|
220
|
+
|
|
221
|
+
> AsyncOperationResponse repair(maven_maven_repository_version_href, repository_version)
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
Trigger an asynchronous task to repair a repository version.
|
|
226
|
+
|
|
227
|
+
### Example
|
|
228
|
+
|
|
229
|
+
```ruby
|
|
230
|
+
# load the gem
|
|
231
|
+
require 'pulp_maven_client'
|
|
232
|
+
# setup authorization
|
|
233
|
+
PulpMavenClient.configure do |config|
|
|
234
|
+
# Configure HTTP basic authorization: basicAuth
|
|
235
|
+
config.username = 'YOUR USERNAME'
|
|
236
|
+
config.password = 'YOUR PASSWORD'
|
|
237
|
+
end
|
|
238
|
+
|
|
239
|
+
api_instance = PulpMavenClient::RepositoriesMavenVersionsApi.new
|
|
240
|
+
maven_maven_repository_version_href = 'maven_maven_repository_version_href_example' # String |
|
|
241
|
+
repository_version = PulpMavenClient::RepositoryVersion.new # RepositoryVersion |
|
|
242
|
+
|
|
243
|
+
begin
|
|
244
|
+
result = api_instance.repair(maven_maven_repository_version_href, repository_version)
|
|
245
|
+
p result
|
|
246
|
+
rescue PulpMavenClient::ApiError => e
|
|
247
|
+
puts "Exception when calling RepositoriesMavenVersionsApi->repair: #{e}"
|
|
248
|
+
end
|
|
249
|
+
```
|
|
250
|
+
|
|
251
|
+
### Parameters
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
Name | Type | Description | Notes
|
|
255
|
+
------------- | ------------- | ------------- | -------------
|
|
256
|
+
**maven_maven_repository_version_href** | **String**| |
|
|
257
|
+
**repository_version** | [**RepositoryVersion**](RepositoryVersion.md)| |
|
|
258
|
+
|
|
259
|
+
### Return type
|
|
260
|
+
|
|
261
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
|
262
|
+
|
|
263
|
+
### Authorization
|
|
264
|
+
|
|
265
|
+
[basicAuth](../README.md#basicAuth)
|
|
266
|
+
|
|
267
|
+
### HTTP request headers
|
|
268
|
+
|
|
269
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
270
|
+
- **Accept**: application/json
|
|
271
|
+
|
data/docs/RepositoryVersion.md
CHANGED
|
@@ -4,22 +4,14 @@
|
|
|
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
|
-
**number** | **Integer** | | [optional] [readonly]
|
|
10
7
|
**base_version** | **String** | A repository version whose content was used as the initial set of content for this repository version | [optional]
|
|
11
|
-
**content_summary** | [**ContentSummary**](ContentSummary.md) | | [optional]
|
|
12
8
|
|
|
13
9
|
## Code Sample
|
|
14
10
|
|
|
15
11
|
```ruby
|
|
16
12
|
require 'PulpMavenClient'
|
|
17
13
|
|
|
18
|
-
instance = PulpMavenClient::RepositoryVersion.new(
|
|
19
|
-
pulp_created: null,
|
|
20
|
-
number: null,
|
|
21
|
-
base_version: null,
|
|
22
|
-
content_summary: null)
|
|
14
|
+
instance = PulpMavenClient::RepositoryVersion.new(base_version: null)
|
|
23
15
|
```
|
|
24
16
|
|
|
25
17
|
|