pulp_maven_client 0.8.1 → 0.8.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/docs/ContentArtifactApi.md +11 -9
- data/docs/DistributionsMavenApi.md +5 -3
- data/docs/MavenMavenArtifactResponse.md +2 -0
- data/docs/MavenMavenDistributionResponse.md +4 -0
- data/docs/MavenMavenRemoteResponse.md +2 -0
- data/docs/MavenMavenRepositoryResponse.md +2 -0
- data/docs/PulpMavenApi.md +1 -1
- data/docs/RemotesMavenApi.md +5 -3
- data/docs/RepositoriesMavenApi.md +9 -7
- data/docs/RepositoriesMavenVersionsApi.md +9 -7
- data/docs/RepositoryVersionResponse.md +2 -0
- data/lib/pulp_maven_client/api/content_artifact_api.rb +11 -8
- data/lib/pulp_maven_client/api/distributions_maven_api.rb +5 -2
- data/lib/pulp_maven_client/api/remotes_maven_api.rb +5 -2
- data/lib/pulp_maven_client/api/repositories_maven_api.rb +9 -6
- data/lib/pulp_maven_client/api/repositories_maven_versions_api.rb +10 -7
- data/lib/pulp_maven_client/configuration.rb +2 -2
- data/lib/pulp_maven_client/models/maven_maven_artifact_response.rb +11 -1
- data/lib/pulp_maven_client/models/maven_maven_distribution_response.rb +21 -1
- data/lib/pulp_maven_client/models/maven_maven_remote_response.rb +11 -1
- data/lib/pulp_maven_client/models/maven_maven_repository_response.rb +11 -1
- data/lib/pulp_maven_client/models/repository_version_response.rb +12 -2
- data/lib/pulp_maven_client/version.rb +1 -1
- data/spec/api/content_artifact_api_spec.rb +5 -4
- data/spec/api/distributions_maven_api_spec.rb +2 -1
- data/spec/api/remotes_maven_api_spec.rb +2 -1
- data/spec/api/repositories_maven_api_spec.rb +4 -3
- data/spec/api/repositories_maven_versions_api_spec.rb +4 -3
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/maven_maven_artifact_response_spec.rb +6 -0
- data/spec/models/maven_maven_distribution_response_spec.rb +12 -0
- data/spec/models/maven_maven_remote_response_spec.rb +6 -0
- data/spec/models/maven_maven_repository_response_spec.rb +6 -0
- data/spec/models/repository_version_response_spec.rb +6 -0
- metadata +38 -38
@@ -218,7 +218,7 @@ module PulpMavenClient
|
|
218
218
|
# List maven repositorys
|
219
219
|
# A ViewSet for MavenRemote.
|
220
220
|
# @param [Hash] opts the optional parameters
|
221
|
-
# @option opts [String] :latest_with_content Content Unit referenced by HREF
|
221
|
+
# @option opts [String] :latest_with_content Content Unit referenced by HREF/PRN
|
222
222
|
# @option opts [Integer] :limit Number of results to return per page.
|
223
223
|
# @option opts [String] :name Filter results where name matches value
|
224
224
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -231,10 +231,11 @@ module PulpMavenClient
|
|
231
231
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
232
232
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
233
233
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
234
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
234
235
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
235
236
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
236
237
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
237
|
-
# @option opts [String] :q
|
238
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
238
239
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
239
240
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
240
241
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
@@ -244,7 +245,7 @@ module PulpMavenClient
|
|
244
245
|
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
245
246
|
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
246
247
|
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
247
|
-
# @option opts [String] :with_content Content Unit referenced by HREF
|
248
|
+
# @option opts [String] :with_content Content Unit referenced by HREF/PRN
|
248
249
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
249
250
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
250
251
|
# @return [PaginatedmavenMavenRepositoryResponseList]
|
@@ -256,7 +257,7 @@ module PulpMavenClient
|
|
256
257
|
# List maven repositorys
|
257
258
|
# A ViewSet for MavenRemote.
|
258
259
|
# @param [Hash] opts the optional parameters
|
259
|
-
# @option opts [String] :latest_with_content Content Unit referenced by HREF
|
260
|
+
# @option opts [String] :latest_with_content Content Unit referenced by HREF/PRN
|
260
261
|
# @option opts [Integer] :limit Number of results to return per page.
|
261
262
|
# @option opts [String] :name Filter results where name matches value
|
262
263
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -269,10 +270,11 @@ module PulpMavenClient
|
|
269
270
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
270
271
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
271
272
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
273
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
272
274
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
273
275
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
274
276
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
275
|
-
# @option opts [String] :q
|
277
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
276
278
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
277
279
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
278
280
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
@@ -282,7 +284,7 @@ module PulpMavenClient
|
|
282
284
|
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
283
285
|
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
284
286
|
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
285
|
-
# @option opts [String] :with_content Content Unit referenced by HREF
|
287
|
+
# @option opts [String] :with_content Content Unit referenced by HREF/PRN
|
286
288
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
287
289
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
288
290
|
# @return [Array<(PaginatedmavenMavenRepositoryResponseList, Integer, Hash)>] PaginatedmavenMavenRepositoryResponseList data, response status code and response headers
|
@@ -312,6 +314,7 @@ module PulpMavenClient
|
|
312
314
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
313
315
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
314
316
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
317
|
+
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
315
318
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
316
319
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
317
320
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
@@ -85,8 +85,8 @@ module PulpMavenClient
|
|
85
85
|
# MavenRepositoryVersion represents a single Maven repository version.
|
86
86
|
# @param maven_maven_repository_href [String]
|
87
87
|
# @param [Hash] opts the optional parameters
|
88
|
-
# @option opts [String] :content Content Unit referenced by HREF
|
89
|
-
# @option opts [String] :content__in
|
88
|
+
# @option opts [String] :content Content Unit referenced by HREF/PRN
|
89
|
+
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
90
90
|
# @option opts [Integer] :limit Number of results to return per page.
|
91
91
|
# @option opts [Integer] :number Filter results where number matches value
|
92
92
|
# @option opts [Integer] :number__gt Filter results where number is greater than value
|
@@ -96,6 +96,7 @@ module PulpMavenClient
|
|
96
96
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
97
97
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
98
98
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
99
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
99
100
|
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
100
101
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
101
102
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
@@ -103,7 +104,7 @@ module PulpMavenClient
|
|
103
104
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
104
105
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
105
106
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
106
|
-
# @option opts [String] :q
|
107
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
107
108
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
108
109
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
109
110
|
# @return [PaginatedRepositoryVersionResponseList]
|
@@ -116,8 +117,8 @@ module PulpMavenClient
|
|
116
117
|
# MavenRepositoryVersion represents a single Maven repository version.
|
117
118
|
# @param maven_maven_repository_href [String]
|
118
119
|
# @param [Hash] opts the optional parameters
|
119
|
-
# @option opts [String] :content Content Unit referenced by HREF
|
120
|
-
# @option opts [String] :content__in
|
120
|
+
# @option opts [String] :content Content Unit referenced by HREF/PRN
|
121
|
+
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
121
122
|
# @option opts [Integer] :limit Number of results to return per page.
|
122
123
|
# @option opts [Integer] :number Filter results where number matches value
|
123
124
|
# @option opts [Integer] :number__gt Filter results where number is greater than value
|
@@ -127,6 +128,7 @@ module PulpMavenClient
|
|
127
128
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
128
129
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
129
130
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
131
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
130
132
|
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
131
133
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
132
134
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
@@ -134,7 +136,7 @@ module PulpMavenClient
|
|
134
136
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
135
137
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
136
138
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
137
|
-
# @option opts [String] :q
|
139
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
138
140
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
139
141
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
140
142
|
# @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
|
@@ -156,7 +158,7 @@ module PulpMavenClient
|
|
156
158
|
# query parameters
|
157
159
|
query_params = opts[:query_params] || {}
|
158
160
|
query_params[:'content'] = opts[:'content'] if !opts[:'content'].nil?
|
159
|
-
query_params[:'content__in'] = opts[:'content__in'] if !opts[:'content__in'].nil?
|
161
|
+
query_params[:'content__in'] = @api_client.build_collection_param(opts[:'content__in'], :csv) if !opts[:'content__in'].nil?
|
160
162
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
161
163
|
query_params[:'number'] = opts[:'number'] if !opts[:'number'].nil?
|
162
164
|
query_params[:'number__gt'] = opts[:'number__gt'] if !opts[:'number__gt'].nil?
|
@@ -166,6 +168,7 @@ module PulpMavenClient
|
|
166
168
|
query_params[:'number__range'] = @api_client.build_collection_param(opts[:'number__range'], :csv) if !opts[:'number__range'].nil?
|
167
169
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
168
170
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
171
|
+
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
169
172
|
query_params[:'pulp_created'] = opts[:'pulp_created'] if !opts[:'pulp_created'].nil?
|
170
173
|
query_params[:'pulp_created__gt'] = opts[:'pulp_created__gt'] if !opts[:'pulp_created__gt'].nil?
|
171
174
|
query_params[:'pulp_created__gte'] = opts[:'pulp_created__gte'] if !opts[:'pulp_created__gte'].nil?
|
@@ -128,7 +128,7 @@ module PulpMavenClient
|
|
128
128
|
|
129
129
|
def initialize
|
130
130
|
@scheme = 'http'
|
131
|
-
@host = '
|
131
|
+
@host = 'localhost'
|
132
132
|
@base_path = ''
|
133
133
|
@api_key = {}
|
134
134
|
@api_key_prefix = {}
|
@@ -210,7 +210,7 @@ module PulpMavenClient
|
|
210
210
|
def server_settings
|
211
211
|
[
|
212
212
|
{
|
213
|
-
url: "http://
|
213
|
+
url: "http://localhost:24817/",
|
214
214
|
description: "No description provided",
|
215
215
|
}
|
216
216
|
]
|
@@ -17,6 +17,9 @@ module PulpMavenClient
|
|
17
17
|
class MavenMavenArtifactResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
@@ -42,6 +45,7 @@ module PulpMavenClient
|
|
42
45
|
def self.attribute_map
|
43
46
|
{
|
44
47
|
:'pulp_href' => :'pulp_href',
|
48
|
+
:'prn' => :'prn',
|
45
49
|
:'pulp_created' => :'pulp_created',
|
46
50
|
:'pulp_last_updated' => :'pulp_last_updated',
|
47
51
|
:'artifact' => :'artifact',
|
@@ -56,6 +60,7 @@ module PulpMavenClient
|
|
56
60
|
def self.openapi_types
|
57
61
|
{
|
58
62
|
:'pulp_href' => :'String',
|
63
|
+
:'prn' => :'String',
|
59
64
|
:'pulp_created' => :'DateTime',
|
60
65
|
:'pulp_last_updated' => :'DateTime',
|
61
66
|
:'artifact' => :'String',
|
@@ -91,6 +96,10 @@ module PulpMavenClient
|
|
91
96
|
self.pulp_href = attributes[:'pulp_href']
|
92
97
|
end
|
93
98
|
|
99
|
+
if attributes.key?(:'prn')
|
100
|
+
self.prn = attributes[:'prn']
|
101
|
+
end
|
102
|
+
|
94
103
|
if attributes.key?(:'pulp_created')
|
95
104
|
self.pulp_created = attributes[:'pulp_created']
|
96
105
|
end
|
@@ -144,6 +153,7 @@ module PulpMavenClient
|
|
144
153
|
return true if self.equal?(o)
|
145
154
|
self.class == o.class &&
|
146
155
|
pulp_href == o.pulp_href &&
|
156
|
+
prn == o.prn &&
|
147
157
|
pulp_created == o.pulp_created &&
|
148
158
|
pulp_last_updated == o.pulp_last_updated &&
|
149
159
|
artifact == o.artifact &&
|
@@ -162,7 +172,7 @@ module PulpMavenClient
|
|
162
172
|
# Calculates hash code according to all attributes.
|
163
173
|
# @return [Integer] Hash code
|
164
174
|
def hash
|
165
|
-
[pulp_href, pulp_created, pulp_last_updated, artifact, group_id, artifact_id, version, filename].hash
|
175
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, artifact, group_id, artifact_id, version, filename].hash
|
166
176
|
end
|
167
177
|
|
168
178
|
# Builds the object from hash
|
@@ -17,6 +17,9 @@ module PulpMavenClient
|
|
17
17
|
class MavenMavenDistributionResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
@@ -32,6 +35,9 @@ module PulpMavenClient
|
|
32
35
|
# An optional content-guard.
|
33
36
|
attr_accessor :content_guard
|
34
37
|
|
38
|
+
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
39
|
+
attr_accessor :no_content_change_since
|
40
|
+
|
35
41
|
# Whether this distribution should be shown in the content app.
|
36
42
|
attr_accessor :hidden
|
37
43
|
|
@@ -50,11 +56,13 @@ module PulpMavenClient
|
|
50
56
|
def self.attribute_map
|
51
57
|
{
|
52
58
|
:'pulp_href' => :'pulp_href',
|
59
|
+
:'prn' => :'prn',
|
53
60
|
:'pulp_created' => :'pulp_created',
|
54
61
|
:'pulp_last_updated' => :'pulp_last_updated',
|
55
62
|
:'base_path' => :'base_path',
|
56
63
|
:'base_url' => :'base_url',
|
57
64
|
:'content_guard' => :'content_guard',
|
65
|
+
:'no_content_change_since' => :'no_content_change_since',
|
58
66
|
:'hidden' => :'hidden',
|
59
67
|
:'pulp_labels' => :'pulp_labels',
|
60
68
|
:'name' => :'name',
|
@@ -67,11 +75,13 @@ module PulpMavenClient
|
|
67
75
|
def self.openapi_types
|
68
76
|
{
|
69
77
|
:'pulp_href' => :'String',
|
78
|
+
:'prn' => :'String',
|
70
79
|
:'pulp_created' => :'DateTime',
|
71
80
|
:'pulp_last_updated' => :'DateTime',
|
72
81
|
:'base_path' => :'String',
|
73
82
|
:'base_url' => :'String',
|
74
83
|
:'content_guard' => :'String',
|
84
|
+
:'no_content_change_since' => :'String',
|
75
85
|
:'hidden' => :'Boolean',
|
76
86
|
:'pulp_labels' => :'Hash<String, String>',
|
77
87
|
:'name' => :'String',
|
@@ -108,6 +118,10 @@ module PulpMavenClient
|
|
108
118
|
self.pulp_href = attributes[:'pulp_href']
|
109
119
|
end
|
110
120
|
|
121
|
+
if attributes.key?(:'prn')
|
122
|
+
self.prn = attributes[:'prn']
|
123
|
+
end
|
124
|
+
|
111
125
|
if attributes.key?(:'pulp_created')
|
112
126
|
self.pulp_created = attributes[:'pulp_created']
|
113
127
|
end
|
@@ -128,6 +142,10 @@ module PulpMavenClient
|
|
128
142
|
self.content_guard = attributes[:'content_guard']
|
129
143
|
end
|
130
144
|
|
145
|
+
if attributes.key?(:'no_content_change_since')
|
146
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
147
|
+
end
|
148
|
+
|
131
149
|
if attributes.key?(:'hidden')
|
132
150
|
self.hidden = attributes[:'hidden']
|
133
151
|
else
|
@@ -182,11 +200,13 @@ module PulpMavenClient
|
|
182
200
|
return true if self.equal?(o)
|
183
201
|
self.class == o.class &&
|
184
202
|
pulp_href == o.pulp_href &&
|
203
|
+
prn == o.prn &&
|
185
204
|
pulp_created == o.pulp_created &&
|
186
205
|
pulp_last_updated == o.pulp_last_updated &&
|
187
206
|
base_path == o.base_path &&
|
188
207
|
base_url == o.base_url &&
|
189
208
|
content_guard == o.content_guard &&
|
209
|
+
no_content_change_since == o.no_content_change_since &&
|
190
210
|
hidden == o.hidden &&
|
191
211
|
pulp_labels == o.pulp_labels &&
|
192
212
|
name == o.name &&
|
@@ -203,7 +223,7 @@ module PulpMavenClient
|
|
203
223
|
# Calculates hash code according to all attributes.
|
204
224
|
# @return [Integer] Hash code
|
205
225
|
def hash
|
206
|
-
[pulp_href, pulp_created, pulp_last_updated, base_path, base_url, content_guard, hidden, pulp_labels, name, repository, remote].hash
|
226
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, base_path, base_url, content_guard, no_content_change_since, hidden, pulp_labels, name, repository, remote].hash
|
207
227
|
end
|
208
228
|
|
209
229
|
# Builds the object from hash
|
@@ -17,6 +17,9 @@ module PulpMavenClient
|
|
17
17
|
class MavenMavenRemoteResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
@@ -77,6 +80,7 @@ module PulpMavenClient
|
|
77
80
|
def self.attribute_map
|
78
81
|
{
|
79
82
|
:'pulp_href' => :'pulp_href',
|
83
|
+
:'prn' => :'prn',
|
80
84
|
:'pulp_created' => :'pulp_created',
|
81
85
|
:'pulp_last_updated' => :'pulp_last_updated',
|
82
86
|
:'name' => :'name',
|
@@ -103,6 +107,7 @@ module PulpMavenClient
|
|
103
107
|
def self.openapi_types
|
104
108
|
{
|
105
109
|
:'pulp_href' => :'String',
|
110
|
+
:'prn' => :'String',
|
106
111
|
:'pulp_created' => :'DateTime',
|
107
112
|
:'pulp_last_updated' => :'DateTime',
|
108
113
|
:'name' => :'String',
|
@@ -160,6 +165,10 @@ module PulpMavenClient
|
|
160
165
|
self.pulp_href = attributes[:'pulp_href']
|
161
166
|
end
|
162
167
|
|
168
|
+
if attributes.key?(:'prn')
|
169
|
+
self.prn = attributes[:'prn']
|
170
|
+
end
|
171
|
+
|
163
172
|
if attributes.key?(:'pulp_created')
|
164
173
|
self.pulp_created = attributes[:'pulp_created']
|
165
174
|
end
|
@@ -347,6 +356,7 @@ module PulpMavenClient
|
|
347
356
|
return true if self.equal?(o)
|
348
357
|
self.class == o.class &&
|
349
358
|
pulp_href == o.pulp_href &&
|
359
|
+
prn == o.prn &&
|
350
360
|
pulp_created == o.pulp_created &&
|
351
361
|
pulp_last_updated == o.pulp_last_updated &&
|
352
362
|
name == o.name &&
|
@@ -377,7 +387,7 @@ module PulpMavenClient
|
|
377
387
|
# Calculates hash code according to all attributes.
|
378
388
|
# @return [Integer] Hash code
|
379
389
|
def hash
|
380
|
-
[pulp_href, pulp_created, pulp_last_updated, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, hidden_fields].hash
|
390
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, hidden_fields].hash
|
381
391
|
end
|
382
392
|
|
383
393
|
# Builds the object from hash
|
@@ -17,6 +17,9 @@ module PulpMavenClient
|
|
17
17
|
class MavenMavenRepositoryResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
@@ -45,6 +48,7 @@ module PulpMavenClient
|
|
45
48
|
def self.attribute_map
|
46
49
|
{
|
47
50
|
:'pulp_href' => :'pulp_href',
|
51
|
+
:'prn' => :'prn',
|
48
52
|
:'pulp_created' => :'pulp_created',
|
49
53
|
:'pulp_last_updated' => :'pulp_last_updated',
|
50
54
|
:'versions_href' => :'versions_href',
|
@@ -61,6 +65,7 @@ module PulpMavenClient
|
|
61
65
|
def self.openapi_types
|
62
66
|
{
|
63
67
|
:'pulp_href' => :'String',
|
68
|
+
:'prn' => :'String',
|
64
69
|
:'pulp_created' => :'DateTime',
|
65
70
|
:'pulp_last_updated' => :'DateTime',
|
66
71
|
:'versions_href' => :'String',
|
@@ -101,6 +106,10 @@ module PulpMavenClient
|
|
101
106
|
self.pulp_href = attributes[:'pulp_href']
|
102
107
|
end
|
103
108
|
|
109
|
+
if attributes.key?(:'prn')
|
110
|
+
self.prn = attributes[:'prn']
|
111
|
+
end
|
112
|
+
|
104
113
|
if attributes.key?(:'pulp_created')
|
105
114
|
self.pulp_created = attributes[:'pulp_created']
|
106
115
|
end
|
@@ -179,6 +188,7 @@ module PulpMavenClient
|
|
179
188
|
return true if self.equal?(o)
|
180
189
|
self.class == o.class &&
|
181
190
|
pulp_href == o.pulp_href &&
|
191
|
+
prn == o.prn &&
|
182
192
|
pulp_created == o.pulp_created &&
|
183
193
|
pulp_last_updated == o.pulp_last_updated &&
|
184
194
|
versions_href == o.versions_href &&
|
@@ -199,7 +209,7 @@ module PulpMavenClient
|
|
199
209
|
# Calculates hash code according to all attributes.
|
200
210
|
# @return [Integer] Hash code
|
201
211
|
def hash
|
202
|
-
[pulp_href, pulp_created, pulp_last_updated, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote].hash
|
212
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote].hash
|
203
213
|
end
|
204
214
|
|
205
215
|
# Builds the object from hash
|
@@ -13,10 +13,13 @@ OpenAPI Generator version: 4.3.1
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpMavenClient
|
16
|
-
# Base serializer for use with
|
16
|
+
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the ``ref_name`` attribute in the ModelSerializers's ``Meta`` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
|
17
17
|
class RepositoryVersionResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
@@ -37,6 +40,7 @@ module PulpMavenClient
|
|
37
40
|
def self.attribute_map
|
38
41
|
{
|
39
42
|
:'pulp_href' => :'pulp_href',
|
43
|
+
:'prn' => :'prn',
|
40
44
|
:'pulp_created' => :'pulp_created',
|
41
45
|
:'pulp_last_updated' => :'pulp_last_updated',
|
42
46
|
:'number' => :'number',
|
@@ -50,6 +54,7 @@ module PulpMavenClient
|
|
50
54
|
def self.openapi_types
|
51
55
|
{
|
52
56
|
:'pulp_href' => :'String',
|
57
|
+
:'prn' => :'String',
|
53
58
|
:'pulp_created' => :'DateTime',
|
54
59
|
:'pulp_last_updated' => :'DateTime',
|
55
60
|
:'number' => :'Integer',
|
@@ -84,6 +89,10 @@ module PulpMavenClient
|
|
84
89
|
self.pulp_href = attributes[:'pulp_href']
|
85
90
|
end
|
86
91
|
|
92
|
+
if attributes.key?(:'prn')
|
93
|
+
self.prn = attributes[:'prn']
|
94
|
+
end
|
95
|
+
|
87
96
|
if attributes.key?(:'pulp_created')
|
88
97
|
self.pulp_created = attributes[:'pulp_created']
|
89
98
|
end
|
@@ -128,6 +137,7 @@ module PulpMavenClient
|
|
128
137
|
return true if self.equal?(o)
|
129
138
|
self.class == o.class &&
|
130
139
|
pulp_href == o.pulp_href &&
|
140
|
+
prn == o.prn &&
|
131
141
|
pulp_created == o.pulp_created &&
|
132
142
|
pulp_last_updated == o.pulp_last_updated &&
|
133
143
|
number == o.number &&
|
@@ -145,7 +155,7 @@ module PulpMavenClient
|
|
145
155
|
# Calculates hash code according to all attributes.
|
146
156
|
# @return [Integer] Hash code
|
147
157
|
def hash
|
148
|
-
[pulp_href, pulp_created, pulp_last_updated, number, repository, base_version, content_summary].hash
|
158
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, number, repository, base_version, content_summary].hash
|
149
159
|
end
|
150
160
|
|
151
161
|
# Builds the object from hash
|
@@ -55,12 +55,13 @@ describe 'ContentArtifactApi' do
|
|
55
55
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
56
56
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `group_id` - Group id * `-group_id` - Group id (descending) * `artifact_id` - Artifact id * `-artifact_id` - Artifact id (descending) * `version` - Version * `-version` - Version (descending) * `filename` - Filename * `-filename` - Filename (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
57
57
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
58
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
58
59
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
59
60
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
60
|
-
# @option opts [String] :q
|
61
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
62
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
63
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
61
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
62
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
63
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
64
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
|
64
65
|
# @option opts [String] :version Filter results where version matches value
|
65
66
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
66
67
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
@@ -76,10 +76,11 @@ describe 'DistributionsMavenApi' do
|
|
76
76
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
77
77
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
78
78
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
79
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
79
80
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
80
81
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
81
82
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
82
|
-
# @option opts [String] :q
|
83
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
83
84
|
# @option opts [String] :repository Filter results where repository matches value
|
84
85
|
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
85
86
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
@@ -72,6 +72,7 @@ describe 'RemotesMavenApi' do
|
|
72
72
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
73
73
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
74
74
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
75
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
75
76
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
76
77
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
77
78
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
@@ -81,7 +82,7 @@ describe 'RemotesMavenApi' do
|
|
81
82
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
82
83
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
83
84
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
84
|
-
# @option opts [String] :q
|
85
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
85
86
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
86
87
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
87
88
|
# @return [PaginatedmavenMavenRemoteResponseList]
|
@@ -73,7 +73,7 @@ describe 'RepositoriesMavenApi' do
|
|
73
73
|
# List maven repositorys
|
74
74
|
# A ViewSet for MavenRemote.
|
75
75
|
# @param [Hash] opts the optional parameters
|
76
|
-
# @option opts [String] :latest_with_content Content Unit referenced by HREF
|
76
|
+
# @option opts [String] :latest_with_content Content Unit referenced by HREF/PRN
|
77
77
|
# @option opts [Integer] :limit Number of results to return per page.
|
78
78
|
# @option opts [String] :name Filter results where name matches value
|
79
79
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -86,10 +86,11 @@ describe 'RepositoriesMavenApi' do
|
|
86
86
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
87
87
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
88
88
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
89
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
89
90
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
90
91
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
91
92
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
92
|
-
# @option opts [String] :q
|
93
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
93
94
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
94
95
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
95
96
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
@@ -99,7 +100,7 @@ describe 'RepositoriesMavenApi' do
|
|
99
100
|
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
100
101
|
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
101
102
|
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
102
|
-
# @option opts [String] :with_content Content Unit referenced by HREF
|
103
|
+
# @option opts [String] :with_content Content Unit referenced by HREF/PRN
|
103
104
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
104
105
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
105
106
|
# @return [PaginatedmavenMavenRepositoryResponseList]
|
@@ -49,8 +49,8 @@ describe 'RepositoriesMavenVersionsApi' do
|
|
49
49
|
# MavenRepositoryVersion represents a single Maven repository version.
|
50
50
|
# @param maven_maven_repository_href
|
51
51
|
# @param [Hash] opts the optional parameters
|
52
|
-
# @option opts [String] :content Content Unit referenced by HREF
|
53
|
-
# @option opts [String] :content__in
|
52
|
+
# @option opts [String] :content Content Unit referenced by HREF/PRN
|
53
|
+
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
54
54
|
# @option opts [Integer] :limit Number of results to return per page.
|
55
55
|
# @option opts [Integer] :number Filter results where number matches value
|
56
56
|
# @option opts [Integer] :number__gt Filter results where number is greater than value
|
@@ -60,6 +60,7 @@ describe 'RepositoriesMavenVersionsApi' do
|
|
60
60
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
61
61
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
62
62
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
63
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
63
64
|
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
64
65
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
65
66
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
@@ -67,7 +68,7 @@ describe 'RepositoriesMavenVersionsApi' do
|
|
67
68
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
68
69
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
69
70
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
70
|
-
# @option opts [String] :q
|
71
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
71
72
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
72
73
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
73
74
|
# @return [PaginatedRepositoryVersionResponseList]
|
data/spec/configuration_spec.rb
CHANGED
@@ -18,7 +18,7 @@ describe PulpMavenClient::Configuration do
|
|
18
18
|
before(:each) do
|
19
19
|
# uncomment below to setup host and base_path
|
20
20
|
# require 'URI'
|
21
|
-
# uri = URI.parse("http://
|
21
|
+
# uri = URI.parse("http://localhost:24817")
|
22
22
|
# PulpMavenClient.configure do |c|
|
23
23
|
# c.host = uri.host
|
24
24
|
# c.base_path = uri.path
|
@@ -28,14 +28,14 @@ describe PulpMavenClient::Configuration do
|
|
28
28
|
describe '#base_url' do
|
29
29
|
it 'should have the default value' do
|
30
30
|
# uncomment below to test default value of the base path
|
31
|
-
# expect(config.base_url).to eq("http://
|
31
|
+
# expect(config.base_url).to eq("http://localhost:24817")
|
32
32
|
end
|
33
33
|
|
34
34
|
it 'should remove trailing slashes' do
|
35
35
|
[nil, '', '/', '//'].each do |base_path|
|
36
36
|
config.base_path = base_path
|
37
37
|
# uncomment below to test trailing slashes
|
38
|
-
# expect(config.base_url).to eq("http://
|
38
|
+
# expect(config.base_url).to eq("http://localhost:24817")
|
39
39
|
end
|
40
40
|
end
|
41
41
|
end
|