pulp_maven_client 0.1.0b3.dev01565811772 → 0.1.0b3
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 +4 -4
- data/docs/ContentArtifactApi.md +12 -6
- data/docs/DistributionsMavenApi.md +12 -6
- data/docs/RemotesMavenApi.md +12 -6
- data/git_push.sh +10 -7
- data/lib/pulp_maven_client.rb +1 -1
- data/lib/pulp_maven_client/api/content_artifact_api.rb +13 -7
- data/lib/pulp_maven_client/api/distributions_maven_api.rb +13 -7
- data/lib/pulp_maven_client/api/remotes_maven_api.rb +13 -7
- data/lib/pulp_maven_client/api_client.rb +2 -2
- data/lib/pulp_maven_client/api_error.rb +1 -1
- data/lib/pulp_maven_client/configuration.rb +1 -1
- data/lib/pulp_maven_client/models/async_operation_response.rb +1 -1
- data/lib/pulp_maven_client/models/inline_response200.rb +1 -1
- data/lib/pulp_maven_client/models/inline_response2001.rb +1 -1
- data/lib/pulp_maven_client/models/inline_response2002.rb +1 -1
- data/lib/pulp_maven_client/models/maven_artifact.rb +1 -1
- data/lib/pulp_maven_client/models/maven_distribution.rb +1 -1
- data/lib/pulp_maven_client/models/maven_remote.rb +1 -1
- data/lib/pulp_maven_client/version.rb +2 -2
- data/pulp_maven_client.gemspec +1 -1
- data/spec/api/content_artifact_api_spec.rb +5 -3
- data/spec/api/distributions_maven_api_spec.rb +5 -3
- data/spec/api/remotes_maven_api_spec.rb +5 -3
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/inline_response2001_spec.rb +1 -1
- data/spec/models/inline_response2002_spec.rb +1 -1
- data/spec/models/inline_response200_spec.rb +1 -1
- data/spec/models/maven_artifact_spec.rb +1 -1
- data/spec/models/maven_distribution_spec.rb +1 -1
- data/spec/models/maven_remote_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 796e534251821e167625a4392688429349b85d2f58719cdeefd02942b2df3d9e
|
4
|
+
data.tar.gz: f0c531908558898a32125698bd06668a8825e3ea1d222266f73e43830c8cdf03
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3693c2910bf0446ff4bb0625c501198357d2b8b760b1820c6634ab861a565360247b0fa60cea81bcd7022c7afcd15860cd3ff2184b00be9c6ba85cbf8c485716
|
7
|
+
data.tar.gz: ba88653add2060ccfa99ad3d347c721ab5e73c2383ffa5553342b64be08bbd477508d11423d2baec02af93244742b03e0e85f8bae2b5a42ded832249dbbc1b64
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: v3
|
10
|
-
- Package version: 0.1.0b3
|
10
|
+
- Package version: 0.1.0b3
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
|
13
13
|
## Installation
|
@@ -23,16 +23,16 @@ gem build pulp_maven_client.gemspec
|
|
23
23
|
Then either install the gem locally:
|
24
24
|
|
25
25
|
```shell
|
26
|
-
gem install ./pulp_maven_client-0.1.0b3.
|
26
|
+
gem install ./pulp_maven_client-0.1.0b3.gem
|
27
27
|
```
|
28
28
|
|
29
|
-
(for development, run `gem install --dev ./pulp_maven_client-0.1.0b3.
|
29
|
+
(for development, run `gem install --dev ./pulp_maven_client-0.1.0b3.gem` to install the development dependencies)
|
30
30
|
|
31
31
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
32
32
|
|
33
33
|
Finally add this to the Gemfile:
|
34
34
|
|
35
|
-
gem 'pulp_maven_client', '~> 0.1.0b3
|
35
|
+
gem 'pulp_maven_client', '~> 0.1.0b3'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
data/docs/ContentArtifactApi.md
CHANGED
@@ -92,8 +92,9 @@ opts = {
|
|
92
92
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
93
93
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
94
94
|
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
95
|
-
|
96
|
-
|
95
|
+
limit: 56, # Integer | Number of results to return per page.
|
96
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
97
|
+
fields: 'fields_example' # String | A list of fields to include in the response.
|
97
98
|
}
|
98
99
|
|
99
100
|
begin
|
@@ -117,8 +118,9 @@ Name | Type | Description | Notes
|
|
117
118
|
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
118
119
|
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
119
120
|
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
120
|
-
**
|
121
|
-
**
|
121
|
+
**limit** | **Integer**| Number of results to return per page. | [optional]
|
122
|
+
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
123
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
122
124
|
|
123
125
|
### Return type
|
124
126
|
|
@@ -136,7 +138,7 @@ Name | Type | Description | Notes
|
|
136
138
|
|
137
139
|
## read
|
138
140
|
|
139
|
-
> MavenArtifact read(maven_artifact_href)
|
141
|
+
> MavenArtifact read(maven_artifact_href, opts)
|
140
142
|
|
141
143
|
Inspect a maven artifact
|
142
144
|
|
@@ -156,10 +158,13 @@ end
|
|
156
158
|
|
157
159
|
api_instance = PulpMavenClient::ContentArtifactApi.new
|
158
160
|
maven_artifact_href = 'maven_artifact_href_example' # String | URI of Maven Artifact. e.g.: /pulp/api/v3/content/maven/artifact/1/
|
161
|
+
opts = {
|
162
|
+
fields: 'fields_example' # String | A list of fields to include in the response.
|
163
|
+
}
|
159
164
|
|
160
165
|
begin
|
161
166
|
#Inspect a maven artifact
|
162
|
-
result = api_instance.read(maven_artifact_href)
|
167
|
+
result = api_instance.read(maven_artifact_href, opts)
|
163
168
|
p result
|
164
169
|
rescue PulpMavenClient::ApiError => e
|
165
170
|
puts "Exception when calling ContentArtifactApi->read: #{e}"
|
@@ -172,6 +177,7 @@ end
|
|
172
177
|
Name | Type | Description | Notes
|
173
178
|
------------- | ------------- | ------------- | -------------
|
174
179
|
**maven_artifact_href** | **String**| URI of Maven Artifact. e.g.: /pulp/api/v3/content/maven/artifact/1/ |
|
180
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
175
181
|
|
176
182
|
### Return type
|
177
183
|
|
@@ -147,8 +147,9 @@ opts = {
|
|
147
147
|
base_path__contains: 'base_path__contains_example', # String | Filter results where base_path contains value
|
148
148
|
base_path__icontains: 'base_path__icontains_example', # String | Filter results where base_path contains value
|
149
149
|
base_path__in: 'base_path__in_example', # String | Filter results where base_path is in a comma-separated list of values
|
150
|
-
|
151
|
-
|
150
|
+
limit: 56, # Integer | Number of results to return per page.
|
151
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
152
|
+
fields: 'fields_example' # String | A list of fields to include in the response.
|
152
153
|
}
|
153
154
|
|
154
155
|
begin
|
@@ -171,8 +172,9 @@ Name | Type | Description | Notes
|
|
171
172
|
**base_path__contains** | **String**| Filter results where base_path contains value | [optional]
|
172
173
|
**base_path__icontains** | **String**| Filter results where base_path contains value | [optional]
|
173
174
|
**base_path__in** | **String**| Filter results where base_path is in a comma-separated list of values | [optional]
|
174
|
-
**
|
175
|
-
**
|
175
|
+
**limit** | **Integer**| Number of results to return per page. | [optional]
|
176
|
+
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
177
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
176
178
|
|
177
179
|
### Return type
|
178
180
|
|
@@ -245,7 +247,7 @@ Name | Type | Description | Notes
|
|
245
247
|
|
246
248
|
## read
|
247
249
|
|
248
|
-
> MavenDistribution read(maven_distribution_href)
|
250
|
+
> MavenDistribution read(maven_distribution_href, opts)
|
249
251
|
|
250
252
|
Inspect a maven distribution
|
251
253
|
|
@@ -265,10 +267,13 @@ end
|
|
265
267
|
|
266
268
|
api_instance = PulpMavenClient::DistributionsMavenApi.new
|
267
269
|
maven_distribution_href = 'maven_distribution_href_example' # String | URI of Maven Distribution. e.g.: /pulp/api/v3/distributions/maven/maven/1/
|
270
|
+
opts = {
|
271
|
+
fields: 'fields_example' # String | A list of fields to include in the response.
|
272
|
+
}
|
268
273
|
|
269
274
|
begin
|
270
275
|
#Inspect a maven distribution
|
271
|
-
result = api_instance.read(maven_distribution_href)
|
276
|
+
result = api_instance.read(maven_distribution_href, opts)
|
272
277
|
p result
|
273
278
|
rescue PulpMavenClient::ApiError => e
|
274
279
|
puts "Exception when calling DistributionsMavenApi->read: #{e}"
|
@@ -281,6 +286,7 @@ end
|
|
281
286
|
Name | Type | Description | Notes
|
282
287
|
------------- | ------------- | ------------- | -------------
|
283
288
|
**maven_distribution_href** | **String**| URI of Maven Distribution. e.g.: /pulp/api/v3/distributions/maven/maven/1/ |
|
289
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
284
290
|
|
285
291
|
### Return type
|
286
292
|
|
data/docs/RemotesMavenApi.md
CHANGED
@@ -149,8 +149,9 @@ opts = {
|
|
149
149
|
_last_updated__gte: '_last_updated__gte_example', # String | Filter results where _last_updated is greater than or equal to value
|
150
150
|
_last_updated__range: '_last_updated__range_example', # String | Filter results where _last_updated is between two comma separated values
|
151
151
|
_last_updated: '_last_updated_example', # String | ISO 8601 formatted dates are supported
|
152
|
-
|
153
|
-
|
152
|
+
limit: 56, # Integer | Number of results to return per page.
|
153
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
154
|
+
fields: 'fields_example' # String | A list of fields to include in the response.
|
154
155
|
}
|
155
156
|
|
156
157
|
begin
|
@@ -175,8 +176,9 @@ Name | Type | Description | Notes
|
|
175
176
|
**_last_updated__gte** | **String**| Filter results where _last_updated is greater than or equal to value | [optional]
|
176
177
|
**_last_updated__range** | **String**| Filter results where _last_updated is between two comma separated values | [optional]
|
177
178
|
**_last_updated** | **String**| ISO 8601 formatted dates are supported | [optional]
|
178
|
-
**
|
179
|
-
**
|
179
|
+
**limit** | **Integer**| Number of results to return per page. | [optional]
|
180
|
+
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
181
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
180
182
|
|
181
183
|
### Return type
|
182
184
|
|
@@ -249,7 +251,7 @@ Name | Type | Description | Notes
|
|
249
251
|
|
250
252
|
## read
|
251
253
|
|
252
|
-
> MavenRemote read(maven_remote_href)
|
254
|
+
> MavenRemote read(maven_remote_href, opts)
|
253
255
|
|
254
256
|
Inspect a maven remote
|
255
257
|
|
@@ -269,10 +271,13 @@ end
|
|
269
271
|
|
270
272
|
api_instance = PulpMavenClient::RemotesMavenApi.new
|
271
273
|
maven_remote_href = 'maven_remote_href_example' # String | URI of Maven Remote. e.g.: /pulp/api/v3/remotes/maven/maven/1/
|
274
|
+
opts = {
|
275
|
+
fields: 'fields_example' # String | A list of fields to include in the response.
|
276
|
+
}
|
272
277
|
|
273
278
|
begin
|
274
279
|
#Inspect a maven remote
|
275
|
-
result = api_instance.read(maven_remote_href)
|
280
|
+
result = api_instance.read(maven_remote_href, opts)
|
276
281
|
p result
|
277
282
|
rescue PulpMavenClient::ApiError => e
|
278
283
|
puts "Exception when calling RemotesMavenApi->read: #{e}"
|
@@ -285,6 +290,7 @@ end
|
|
285
290
|
Name | Type | Description | Notes
|
286
291
|
------------- | ------------- | ------------- | -------------
|
287
292
|
**maven_remote_href** | **String**| URI of Maven Remote. e.g.: /pulp/api/v3/remotes/maven/maven/1/ |
|
293
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
288
294
|
|
289
295
|
### Return type
|
290
296
|
|
data/git_push.sh
CHANGED
@@ -1,14 +1,17 @@
|
|
1
1
|
#!/bin/sh
|
2
|
-
#
|
3
|
-
# Generated by: https://openapi-generator.tech
|
4
|
-
#
|
5
2
|
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
|
6
3
|
#
|
7
|
-
# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update"
|
4
|
+
# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update" "gitlab.com"
|
8
5
|
|
9
6
|
git_user_id=$1
|
10
7
|
git_repo_id=$2
|
11
8
|
release_note=$3
|
9
|
+
git_host=$4
|
10
|
+
|
11
|
+
if [ "$git_host" = "" ]; then
|
12
|
+
git_host="github.com"
|
13
|
+
echo "[INFO] No command line input provided. Set \$git_host to $git_host"
|
14
|
+
fi
|
12
15
|
|
13
16
|
if [ "$git_user_id" = "" ]; then
|
14
17
|
git_user_id="GIT_USER_ID"
|
@@ -40,9 +43,9 @@ if [ "$git_remote" = "" ]; then # git remote not defined
|
|
40
43
|
|
41
44
|
if [ "$GIT_TOKEN" = "" ]; then
|
42
45
|
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
|
43
|
-
git remote add origin https
|
46
|
+
git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
|
44
47
|
else
|
45
|
-
git remote add origin https://${git_user_id}:${GIT_TOKEN}
|
48
|
+
git remote add origin https://${git_user_id}:${GIT_TOKEN}@${git_host}/${git_user_id}/${git_repo_id}.git
|
46
49
|
fi
|
47
50
|
|
48
51
|
fi
|
@@ -50,6 +53,6 @@ fi
|
|
50
53
|
git pull origin master
|
51
54
|
|
52
55
|
# Pushes (Forces) the changes in the local repository up to the remote repository
|
53
|
-
echo "Git pushing to https
|
56
|
+
echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
|
54
57
|
git push origin master 2>&1 | grep -v 'To https'
|
55
58
|
|
data/lib/pulp_maven_client.rb
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.1.
|
9
|
+
OpenAPI Generator version: 4.1.3-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -93,8 +93,9 @@ module PulpMavenClient
|
|
93
93
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
94
94
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
95
95
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
96
|
-
# @option opts [Integer] :
|
97
|
-
# @option opts [Integer] :
|
96
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
97
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
98
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
98
99
|
# @return [InlineResponse200]
|
99
100
|
def list(opts = {})
|
100
101
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -111,8 +112,9 @@ module PulpMavenClient
|
|
111
112
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
112
113
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
113
114
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
114
|
-
# @option opts [Integer] :
|
115
|
-
# @option opts [Integer] :
|
115
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
116
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
117
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
116
118
|
# @return [Array<(InlineResponse200, Integer, Hash)>] InlineResponse200 data, response status code and response headers
|
117
119
|
def list_with_http_info(opts = {})
|
118
120
|
if @api_client.config.debugging
|
@@ -130,8 +132,9 @@ module PulpMavenClient
|
|
130
132
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
131
133
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
132
134
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
133
|
-
query_params[:'
|
134
|
-
query_params[:'
|
135
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
136
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
137
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
135
138
|
|
136
139
|
# header parameters
|
137
140
|
header_params = opts[:header_params] || {}
|
@@ -170,6 +173,7 @@ module PulpMavenClient
|
|
170
173
|
# A ViewSet for MavenArtifact.
|
171
174
|
# @param maven_artifact_href [String] URI of Maven Artifact. e.g.: /pulp/api/v3/content/maven/artifact/1/
|
172
175
|
# @param [Hash] opts the optional parameters
|
176
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
173
177
|
# @return [MavenArtifact]
|
174
178
|
def read(maven_artifact_href, opts = {})
|
175
179
|
data, _status_code, _headers = read_with_http_info(maven_artifact_href, opts)
|
@@ -180,6 +184,7 @@ module PulpMavenClient
|
|
180
184
|
# A ViewSet for MavenArtifact.
|
181
185
|
# @param maven_artifact_href [String] URI of Maven Artifact. e.g.: /pulp/api/v3/content/maven/artifact/1/
|
182
186
|
# @param [Hash] opts the optional parameters
|
187
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
183
188
|
# @return [Array<(MavenArtifact, Integer, Hash)>] MavenArtifact data, response status code and response headers
|
184
189
|
def read_with_http_info(maven_artifact_href, opts = {})
|
185
190
|
if @api_client.config.debugging
|
@@ -194,6 +199,7 @@ module PulpMavenClient
|
|
194
199
|
|
195
200
|
# query parameters
|
196
201
|
query_params = opts[:query_params] || {}
|
202
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
197
203
|
|
198
204
|
# header parameters
|
199
205
|
header_params = opts[:header_params] || {}
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.1.
|
9
|
+
OpenAPI Generator version: 4.1.3-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -154,8 +154,9 @@ module PulpMavenClient
|
|
154
154
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
155
155
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
156
156
|
# @option opts [String] :base_path__in Filter results where base_path is in a comma-separated list of values
|
157
|
-
# @option opts [Integer] :
|
158
|
-
# @option opts [Integer] :
|
157
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
158
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
159
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
159
160
|
# @return [InlineResponse2001]
|
160
161
|
def list(opts = {})
|
161
162
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -171,8 +172,9 @@ module PulpMavenClient
|
|
171
172
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
172
173
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
173
174
|
# @option opts [String] :base_path__in Filter results where base_path is in a comma-separated list of values
|
174
|
-
# @option opts [Integer] :
|
175
|
-
# @option opts [Integer] :
|
175
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
176
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
177
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
176
178
|
# @return [Array<(InlineResponse2001, Integer, Hash)>] InlineResponse2001 data, response status code and response headers
|
177
179
|
def list_with_http_info(opts = {})
|
178
180
|
if @api_client.config.debugging
|
@@ -189,8 +191,9 @@ module PulpMavenClient
|
|
189
191
|
query_params[:'base_path__contains'] = opts[:'base_path__contains'] if !opts[:'base_path__contains'].nil?
|
190
192
|
query_params[:'base_path__icontains'] = opts[:'base_path__icontains'] if !opts[:'base_path__icontains'].nil?
|
191
193
|
query_params[:'base_path__in'] = opts[:'base_path__in'] if !opts[:'base_path__in'].nil?
|
192
|
-
query_params[:'
|
193
|
-
query_params[:'
|
194
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
195
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
196
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
194
197
|
|
195
198
|
# header parameters
|
196
199
|
header_params = opts[:header_params] || {}
|
@@ -299,6 +302,7 @@ module PulpMavenClient
|
|
299
302
|
# ViewSet for Maven Distributions.
|
300
303
|
# @param maven_distribution_href [String] URI of Maven Distribution. e.g.: /pulp/api/v3/distributions/maven/maven/1/
|
301
304
|
# @param [Hash] opts the optional parameters
|
305
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
302
306
|
# @return [MavenDistribution]
|
303
307
|
def read(maven_distribution_href, opts = {})
|
304
308
|
data, _status_code, _headers = read_with_http_info(maven_distribution_href, opts)
|
@@ -309,6 +313,7 @@ module PulpMavenClient
|
|
309
313
|
# ViewSet for Maven Distributions.
|
310
314
|
# @param maven_distribution_href [String] URI of Maven Distribution. e.g.: /pulp/api/v3/distributions/maven/maven/1/
|
311
315
|
# @param [Hash] opts the optional parameters
|
316
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
312
317
|
# @return [Array<(MavenDistribution, Integer, Hash)>] MavenDistribution data, response status code and response headers
|
313
318
|
def read_with_http_info(maven_distribution_href, opts = {})
|
314
319
|
if @api_client.config.debugging
|
@@ -323,6 +328,7 @@ module PulpMavenClient
|
|
323
328
|
|
324
329
|
# query parameters
|
325
330
|
query_params = opts[:query_params] || {}
|
331
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
326
332
|
|
327
333
|
# header parameters
|
328
334
|
header_params = opts[:header_params] || {}
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.1.
|
9
|
+
OpenAPI Generator version: 4.1.3-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -156,8 +156,9 @@ module PulpMavenClient
|
|
156
156
|
# @option opts [String] :_last_updated__gte Filter results where _last_updated is greater than or equal to value
|
157
157
|
# @option opts [String] :_last_updated__range Filter results where _last_updated is between two comma separated values
|
158
158
|
# @option opts [String] :_last_updated ISO 8601 formatted dates are supported
|
159
|
-
# @option opts [Integer] :
|
160
|
-
# @option opts [Integer] :
|
159
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
160
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
161
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
161
162
|
# @return [InlineResponse2002]
|
162
163
|
def list(opts = {})
|
163
164
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -175,8 +176,9 @@ module PulpMavenClient
|
|
175
176
|
# @option opts [String] :_last_updated__gte Filter results where _last_updated is greater than or equal to value
|
176
177
|
# @option opts [String] :_last_updated__range Filter results where _last_updated is between two comma separated values
|
177
178
|
# @option opts [String] :_last_updated ISO 8601 formatted dates are supported
|
178
|
-
# @option opts [Integer] :
|
179
|
-
# @option opts [Integer] :
|
179
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
180
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
181
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
180
182
|
# @return [Array<(InlineResponse2002, Integer, Hash)>] InlineResponse2002 data, response status code and response headers
|
181
183
|
def list_with_http_info(opts = {})
|
182
184
|
if @api_client.config.debugging
|
@@ -195,8 +197,9 @@ module PulpMavenClient
|
|
195
197
|
query_params[:'_last_updated__gte'] = opts[:'_last_updated__gte'] if !opts[:'_last_updated__gte'].nil?
|
196
198
|
query_params[:'_last_updated__range'] = opts[:'_last_updated__range'] if !opts[:'_last_updated__range'].nil?
|
197
199
|
query_params[:'_last_updated'] = opts[:'_last_updated'] if !opts[:'_last_updated'].nil?
|
198
|
-
query_params[:'
|
199
|
-
query_params[:'
|
200
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
201
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
202
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
200
203
|
|
201
204
|
# header parameters
|
202
205
|
header_params = opts[:header_params] || {}
|
@@ -305,6 +308,7 @@ module PulpMavenClient
|
|
305
308
|
# A ViewSet for MavenRemote.
|
306
309
|
# @param maven_remote_href [String] URI of Maven Remote. e.g.: /pulp/api/v3/remotes/maven/maven/1/
|
307
310
|
# @param [Hash] opts the optional parameters
|
311
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
308
312
|
# @return [MavenRemote]
|
309
313
|
def read(maven_remote_href, opts = {})
|
310
314
|
data, _status_code, _headers = read_with_http_info(maven_remote_href, opts)
|
@@ -315,6 +319,7 @@ module PulpMavenClient
|
|
315
319
|
# A ViewSet for MavenRemote.
|
316
320
|
# @param maven_remote_href [String] URI of Maven Remote. e.g.: /pulp/api/v3/remotes/maven/maven/1/
|
317
321
|
# @param [Hash] opts the optional parameters
|
322
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
318
323
|
# @return [Array<(MavenRemote, Integer, Hash)>] MavenRemote data, response status code and response headers
|
319
324
|
def read_with_http_info(maven_remote_href, opts = {})
|
320
325
|
if @api_client.config.debugging
|
@@ -329,6 +334,7 @@ module PulpMavenClient
|
|
329
334
|
|
330
335
|
# query parameters
|
331
336
|
query_params = opts[:query_params] || {}
|
337
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
332
338
|
|
333
339
|
# header parameters
|
334
340
|
header_params = opts[:header_params] || {}
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.1.
|
9
|
+
OpenAPI Generator version: 4.1.3-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -49,7 +49,7 @@ module PulpMavenClient
|
|
49
49
|
ssl_options = {
|
50
50
|
:ca_file => @config.ssl_ca_file,
|
51
51
|
:verify => @config.ssl_verify,
|
52
|
-
:
|
52
|
+
:verify_mode => @config.ssl_verify_mode,
|
53
53
|
:client_cert => @config.ssl_client_cert,
|
54
54
|
:client_key => @config.ssl_client_key
|
55
55
|
}
|
@@ -6,10 +6,10 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.1.
|
9
|
+
OpenAPI Generator version: 4.1.3-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module PulpMavenClient
|
14
|
-
VERSION = '0.1.0b3
|
14
|
+
VERSION = '0.1.0b3'
|
15
15
|
end
|
data/pulp_maven_client.gemspec
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.1.
|
9
|
+
OpenAPI Generator version: 4.1.3-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -55,8 +55,9 @@ describe 'ContentArtifactApi' do
|
|
55
55
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
56
56
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
57
57
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
58
|
-
# @option opts [Integer] :
|
59
|
-
# @option opts [Integer] :
|
58
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
59
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
60
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
60
61
|
# @return [InlineResponse200]
|
61
62
|
describe 'list test' do
|
62
63
|
it 'should work' do
|
@@ -69,6 +70,7 @@ describe 'ContentArtifactApi' do
|
|
69
70
|
# A ViewSet for MavenArtifact.
|
70
71
|
# @param maven_artifact_href URI of Maven Artifact. e.g.: /pulp/api/v3/content/maven/artifact/1/
|
71
72
|
# @param [Hash] opts the optional parameters
|
73
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
72
74
|
# @return [MavenArtifact]
|
73
75
|
describe 'read test' do
|
74
76
|
it 'should work' do
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.1.
|
9
|
+
OpenAPI Generator version: 4.1.3-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -66,8 +66,9 @@ describe 'DistributionsMavenApi' do
|
|
66
66
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
67
67
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
68
68
|
# @option opts [String] :base_path__in Filter results where base_path is in a comma-separated list of values
|
69
|
-
# @option opts [Integer] :
|
70
|
-
# @option opts [Integer] :
|
69
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
70
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
71
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
71
72
|
# @return [InlineResponse2001]
|
72
73
|
describe 'list test' do
|
73
74
|
it 'should work' do
|
@@ -93,6 +94,7 @@ describe 'DistributionsMavenApi' do
|
|
93
94
|
# ViewSet for Maven Distributions.
|
94
95
|
# @param maven_distribution_href URI of Maven Distribution. e.g.: /pulp/api/v3/distributions/maven/maven/1/
|
95
96
|
# @param [Hash] opts the optional parameters
|
97
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
96
98
|
# @return [MavenDistribution]
|
97
99
|
describe 'read test' do
|
98
100
|
it 'should work' do
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.1.
|
9
|
+
OpenAPI Generator version: 4.1.3-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -68,8 +68,9 @@ describe 'RemotesMavenApi' do
|
|
68
68
|
# @option opts [String] :_last_updated__gte Filter results where _last_updated is greater than or equal to value
|
69
69
|
# @option opts [String] :_last_updated__range Filter results where _last_updated is between two comma separated values
|
70
70
|
# @option opts [String] :_last_updated ISO 8601 formatted dates are supported
|
71
|
-
# @option opts [Integer] :
|
72
|
-
# @option opts [Integer] :
|
71
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
72
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
73
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
73
74
|
# @return [InlineResponse2002]
|
74
75
|
describe 'list test' do
|
75
76
|
it 'should work' do
|
@@ -95,6 +96,7 @@ describe 'RemotesMavenApi' do
|
|
95
96
|
# A ViewSet for MavenRemote.
|
96
97
|
# @param maven_remote_href URI of Maven Remote. e.g.: /pulp/api/v3/remotes/maven/maven/1/
|
97
98
|
# @param [Hash] opts the optional parameters
|
99
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
98
100
|
# @return [MavenRemote]
|
99
101
|
describe 'read test' do
|
100
102
|
it 'should work' do
|
data/spec/api_client_spec.rb
CHANGED
data/spec/configuration_spec.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulp_maven_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0b3
|
4
|
+
version: 0.1.0b3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-09-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|