pulp_maven_client 0.10.0 → 0.11.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 +8 -5
- data/docs/ContentArtifactApi.md +28 -12
- data/docs/DistributionsMavenApi.md +52 -24
- data/docs/MavenMavenArtifactResponse.md +2 -0
- data/docs/MavenMavenRemoteResponse.md +1 -1
- data/docs/PulpMavenApi.md +10 -4
- data/docs/RemotesMavenApi.md +52 -24
- data/docs/RepositoriesMavenApi.md +60 -28
- data/docs/RepositoriesMavenVersionsApi.md +22 -10
- data/docs/RepositoryVersionResponse.md +3 -1
- data/lib/pulp_maven_client/api/content_artifact_api.rb +15 -0
- data/lib/pulp_maven_client/api/distributions_maven_api.rb +24 -0
- data/lib/pulp_maven_client/api/pulp_maven_api.rb +6 -0
- data/lib/pulp_maven_client/api/remotes_maven_api.rb +24 -0
- data/lib/pulp_maven_client/api/repositories_maven_api.rb +27 -0
- data/lib/pulp_maven_client/api/repositories_maven_versions_api.rb +15 -3
- data/lib/pulp_maven_client/models/maven_maven_artifact_response.rb +10 -1
- data/lib/pulp_maven_client/models/maven_maven_remote.rb +0 -15
- data/lib/pulp_maven_client/models/maven_maven_remote_response.rb +0 -15
- data/lib/pulp_maven_client/models/maven_maven_repository.rb +0 -15
- data/lib/pulp_maven_client/models/maven_maven_repository_response.rb +0 -15
- data/lib/pulp_maven_client/models/paginated_repository_version_response_list.rb +0 -2
- data/lib/pulp_maven_client/models/paginatedmaven_maven_artifact_response_list.rb +0 -2
- data/lib/pulp_maven_client/models/paginatedmaven_maven_distribution_response_list.rb +0 -2
- data/lib/pulp_maven_client/models/paginatedmaven_maven_remote_response_list.rb +0 -2
- data/lib/pulp_maven_client/models/paginatedmaven_maven_repository_response_list.rb +0 -2
- data/lib/pulp_maven_client/models/patchedmaven_maven_remote.rb +0 -15
- data/lib/pulp_maven_client/models/patchedmaven_maven_repository.rb +0 -15
- data/lib/pulp_maven_client/models/repository_version_response.rb +13 -4
- data/lib/pulp_maven_client/version.rb +1 -1
- data/pulp_maven_client.gemspec +0 -1
- data/spec/api/content_artifact_api_spec.rb +5 -0
- data/spec/api/distributions_maven_api_spec.rb +8 -0
- data/spec/api/pulp_maven_api_spec.rb +2 -0
- data/spec/api/remotes_maven_api_spec.rb +8 -0
- data/spec/api/repositories_maven_api_spec.rb +9 -0
- data/spec/api/repositories_maven_versions_api_spec.rb +5 -1
- data/spec/models/maven_maven_artifact_response_spec.rb +6 -0
- data/spec/models/repository_version_response_spec.rb +6 -0
- metadata +25 -45
@@ -123,10 +123,6 @@ module PulpMavenClient
|
|
123
123
|
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
124
124
|
end
|
125
125
|
|
126
|
-
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
127
|
-
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
128
|
-
end
|
129
|
-
|
130
126
|
invalid_properties
|
131
127
|
end
|
132
128
|
|
@@ -137,7 +133,6 @@ module PulpMavenClient
|
|
137
133
|
return false if @name.nil?
|
138
134
|
return false if @name.to_s.length < 1
|
139
135
|
return false if !@description.nil? && @description.to_s.length < 1
|
140
|
-
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
141
136
|
true
|
142
137
|
end
|
143
138
|
|
@@ -165,16 +160,6 @@ module PulpMavenClient
|
|
165
160
|
@description = description
|
166
161
|
end
|
167
162
|
|
168
|
-
# Custom attribute writer method with validation
|
169
|
-
# @param [Object] retain_repo_versions Value to be assigned
|
170
|
-
def retain_repo_versions=(retain_repo_versions)
|
171
|
-
if !retain_repo_versions.nil? && retain_repo_versions < 1
|
172
|
-
fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
|
173
|
-
end
|
174
|
-
|
175
|
-
@retain_repo_versions = retain_repo_versions
|
176
|
-
end
|
177
|
-
|
178
163
|
# Checks equality by comparing each attribute.
|
179
164
|
# @param [Object] Object to be compared
|
180
165
|
def ==(o)
|
@@ -166,10 +166,6 @@ module PulpMavenClient
|
|
166
166
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
167
167
|
end
|
168
168
|
|
169
|
-
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
170
|
-
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
171
|
-
end
|
172
|
-
|
173
169
|
invalid_properties
|
174
170
|
end
|
175
171
|
|
@@ -178,20 +174,9 @@ module PulpMavenClient
|
|
178
174
|
def valid?
|
179
175
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
180
176
|
return false if @name.nil?
|
181
|
-
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
182
177
|
true
|
183
178
|
end
|
184
179
|
|
185
|
-
# Custom attribute writer method with validation
|
186
|
-
# @param [Object] retain_repo_versions Value to be assigned
|
187
|
-
def retain_repo_versions=(retain_repo_versions)
|
188
|
-
if !retain_repo_versions.nil? && retain_repo_versions < 1
|
189
|
-
fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
|
190
|
-
end
|
191
|
-
|
192
|
-
@retain_repo_versions = retain_repo_versions
|
193
|
-
end
|
194
|
-
|
195
180
|
# Checks equality by comparing each attribute.
|
196
181
|
# @param [Object] Object to be compared
|
197
182
|
def ==(o)
|
@@ -329,10 +329,6 @@ module PulpMavenClient
|
|
329
329
|
invalid_properties.push('invalid value for "password", the character length must be great than or equal to 1.')
|
330
330
|
end
|
331
331
|
|
332
|
-
if !@download_concurrency.nil? && @download_concurrency < 1
|
333
|
-
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
334
|
-
end
|
335
|
-
|
336
332
|
if !@total_timeout.nil? && @total_timeout < 0.0
|
337
333
|
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
338
334
|
end
|
@@ -366,7 +362,6 @@ module PulpMavenClient
|
|
366
362
|
return false if !@proxy_password.nil? && @proxy_password.to_s.length < 1
|
367
363
|
return false if !@username.nil? && @username.to_s.length < 1
|
368
364
|
return false if !@password.nil? && @password.to_s.length < 1
|
369
|
-
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
370
365
|
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
371
366
|
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
372
367
|
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
@@ -482,16 +477,6 @@ module PulpMavenClient
|
|
482
477
|
@password = password
|
483
478
|
end
|
484
479
|
|
485
|
-
# Custom attribute writer method with validation
|
486
|
-
# @param [Object] download_concurrency Value to be assigned
|
487
|
-
def download_concurrency=(download_concurrency)
|
488
|
-
if !download_concurrency.nil? && download_concurrency < 1
|
489
|
-
fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
|
490
|
-
end
|
491
|
-
|
492
|
-
@download_concurrency = download_concurrency
|
493
|
-
end
|
494
|
-
|
495
480
|
# Custom attribute writer method with validation
|
496
481
|
# @param [Object] total_timeout Value to be assigned
|
497
482
|
def total_timeout=(total_timeout)
|
@@ -117,10 +117,6 @@ module PulpMavenClient
|
|
117
117
|
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
118
118
|
end
|
119
119
|
|
120
|
-
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
121
|
-
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
122
|
-
end
|
123
|
-
|
124
120
|
invalid_properties
|
125
121
|
end
|
126
122
|
|
@@ -130,7 +126,6 @@ module PulpMavenClient
|
|
130
126
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
131
127
|
return false if !@name.nil? && @name.to_s.length < 1
|
132
128
|
return false if !@description.nil? && @description.to_s.length < 1
|
133
|
-
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
134
129
|
true
|
135
130
|
end
|
136
131
|
|
@@ -158,16 +153,6 @@ module PulpMavenClient
|
|
158
153
|
@description = description
|
159
154
|
end
|
160
155
|
|
161
|
-
# Custom attribute writer method with validation
|
162
|
-
# @param [Object] retain_repo_versions Value to be assigned
|
163
|
-
def retain_repo_versions=(retain_repo_versions)
|
164
|
-
if !retain_repo_versions.nil? && retain_repo_versions < 1
|
165
|
-
fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
|
166
|
-
end
|
167
|
-
|
168
|
-
@retain_repo_versions = retain_repo_versions
|
169
|
-
end
|
170
|
-
|
171
156
|
# Checks equality by comparing each attribute.
|
172
157
|
# @param [Object] Object to be compared
|
173
158
|
def ==(o)
|
@@ -37,6 +37,8 @@ module PulpMavenClient
|
|
37
37
|
# Various count summaries of the content in the version and the HREF to view them.
|
38
38
|
attr_accessor :content_summary
|
39
39
|
|
40
|
+
attr_accessor :vuln_report
|
41
|
+
|
40
42
|
# Attribute mapping from ruby-style variable name to JSON key.
|
41
43
|
def self.attribute_map
|
42
44
|
{
|
@@ -47,7 +49,8 @@ module PulpMavenClient
|
|
47
49
|
:'number' => :'number',
|
48
50
|
:'repository' => :'repository',
|
49
51
|
:'base_version' => :'base_version',
|
50
|
-
:'content_summary' => :'content_summary'
|
52
|
+
:'content_summary' => :'content_summary',
|
53
|
+
:'vuln_report' => :'vuln_report'
|
51
54
|
}
|
52
55
|
end
|
53
56
|
|
@@ -66,7 +69,8 @@ module PulpMavenClient
|
|
66
69
|
:'number' => :'Integer',
|
67
70
|
:'repository' => :'String',
|
68
71
|
:'base_version' => :'String',
|
69
|
-
:'content_summary' => :'ContentSummaryResponse'
|
72
|
+
:'content_summary' => :'ContentSummaryResponse',
|
73
|
+
:'vuln_report' => :'String'
|
70
74
|
}
|
71
75
|
end
|
72
76
|
|
@@ -122,6 +126,10 @@ module PulpMavenClient
|
|
122
126
|
if attributes.key?(:'content_summary')
|
123
127
|
self.content_summary = attributes[:'content_summary']
|
124
128
|
end
|
129
|
+
|
130
|
+
if attributes.key?(:'vuln_report')
|
131
|
+
self.vuln_report = attributes[:'vuln_report']
|
132
|
+
end
|
125
133
|
end
|
126
134
|
|
127
135
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -151,7 +159,8 @@ module PulpMavenClient
|
|
151
159
|
number == o.number &&
|
152
160
|
repository == o.repository &&
|
153
161
|
base_version == o.base_version &&
|
154
|
-
content_summary == o.content_summary
|
162
|
+
content_summary == o.content_summary &&
|
163
|
+
vuln_report == o.vuln_report
|
155
164
|
end
|
156
165
|
|
157
166
|
# @see the `==` method
|
@@ -163,7 +172,7 @@ module PulpMavenClient
|
|
163
172
|
# Calculates hash code according to all attributes.
|
164
173
|
# @return [Integer] Hash code
|
165
174
|
def hash
|
166
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, number, repository, base_version, content_summary].hash
|
175
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, number, repository, base_version, content_summary, vuln_report].hash
|
167
176
|
end
|
168
177
|
|
169
178
|
# Builds the object from hash
|
data/pulp_maven_client.gemspec
CHANGED
@@ -28,7 +28,6 @@ Gem::Specification.new do |s|
|
|
28
28
|
s.required_ruby_version = ">= 2.7"
|
29
29
|
s.metadata = {}
|
30
30
|
|
31
|
-
s.add_runtime_dependency 'faraday-net_http', '>= 2.0', '< 3.1'
|
32
31
|
s.add_runtime_dependency 'faraday', '>= 1.0.1', '< 2.9'
|
33
32
|
s.add_runtime_dependency 'faraday-multipart'
|
34
33
|
s.add_runtime_dependency 'marcel'
|
@@ -37,6 +37,7 @@ describe 'ContentArtifactApi' do
|
|
37
37
|
# A ViewSet for MavenArtifact.
|
38
38
|
# @param maven_maven_artifact
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
40
41
|
# @return [MavenMavenArtifactResponse]
|
41
42
|
describe 'create test' do
|
42
43
|
it 'should work' do
|
@@ -48,6 +49,7 @@ describe 'ContentArtifactApi' do
|
|
48
49
|
# List maven artifacts
|
49
50
|
# A ViewSet for MavenArtifact.
|
50
51
|
# @param [Hash] opts the optional parameters
|
52
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
51
53
|
# @option opts [String] :artifact_id Filter results where artifact_id matches value
|
52
54
|
# @option opts [String] :filename Filter results where filename matches value
|
53
55
|
# @option opts [String] :group_id Filter results where group_id matches value
|
@@ -78,6 +80,7 @@ describe 'ContentArtifactApi' do
|
|
78
80
|
# A ViewSet for MavenArtifact.
|
79
81
|
# @param maven_maven_artifact_href
|
80
82
|
# @param [Hash] opts the optional parameters
|
83
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
81
84
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
82
85
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
83
86
|
# @return [MavenMavenArtifactResponse]
|
@@ -93,6 +96,7 @@ describe 'ContentArtifactApi' do
|
|
93
96
|
# @param maven_maven_artifact_href
|
94
97
|
# @param set_label
|
95
98
|
# @param [Hash] opts the optional parameters
|
99
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
96
100
|
# @return [SetLabelResponse]
|
97
101
|
describe 'set_label test' do
|
98
102
|
it 'should work' do
|
@@ -106,6 +110,7 @@ describe 'ContentArtifactApi' do
|
|
106
110
|
# @param maven_maven_artifact_href
|
107
111
|
# @param unset_label
|
108
112
|
# @param [Hash] opts the optional parameters
|
113
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
109
114
|
# @return [UnsetLabelResponse]
|
110
115
|
describe 'unset_label test' do
|
111
116
|
it 'should work' do
|
@@ -37,6 +37,7 @@ describe 'DistributionsMavenApi' do
|
|
37
37
|
# Trigger an asynchronous create task
|
38
38
|
# @param maven_maven_distribution
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
40
41
|
# @return [AsyncOperationResponse]
|
41
42
|
describe 'create test' do
|
42
43
|
it 'should work' do
|
@@ -49,6 +50,7 @@ describe 'DistributionsMavenApi' do
|
|
49
50
|
# Trigger an asynchronous delete task
|
50
51
|
# @param maven_maven_distribution_href
|
51
52
|
# @param [Hash] opts the optional parameters
|
53
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
52
54
|
# @return [AsyncOperationResponse]
|
53
55
|
describe 'delete test' do
|
54
56
|
it 'should work' do
|
@@ -60,6 +62,7 @@ describe 'DistributionsMavenApi' do
|
|
60
62
|
# List maven distributions
|
61
63
|
# ViewSet for Maven Distributions.
|
62
64
|
# @param [Hash] opts the optional parameters
|
65
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
63
66
|
# @option opts [String] :base_path Filter results where base_path matches value
|
64
67
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
65
68
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
@@ -100,6 +103,7 @@ describe 'DistributionsMavenApi' do
|
|
100
103
|
# @param maven_maven_distribution_href
|
101
104
|
# @param patchedmaven_maven_distribution
|
102
105
|
# @param [Hash] opts the optional parameters
|
106
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
103
107
|
# @return [AsyncOperationResponse]
|
104
108
|
describe 'partial_update test' do
|
105
109
|
it 'should work' do
|
@@ -112,6 +116,7 @@ describe 'DistributionsMavenApi' do
|
|
112
116
|
# ViewSet for Maven Distributions.
|
113
117
|
# @param maven_maven_distribution_href
|
114
118
|
# @param [Hash] opts the optional parameters
|
119
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
115
120
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
116
121
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
117
122
|
# @return [MavenMavenDistributionResponse]
|
@@ -127,6 +132,7 @@ describe 'DistributionsMavenApi' do
|
|
127
132
|
# @param maven_maven_distribution_href
|
128
133
|
# @param set_label
|
129
134
|
# @param [Hash] opts the optional parameters
|
135
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
130
136
|
# @return [SetLabelResponse]
|
131
137
|
describe 'set_label test' do
|
132
138
|
it 'should work' do
|
@@ -140,6 +146,7 @@ describe 'DistributionsMavenApi' do
|
|
140
146
|
# @param maven_maven_distribution_href
|
141
147
|
# @param unset_label
|
142
148
|
# @param [Hash] opts the optional parameters
|
149
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
143
150
|
# @return [UnsetLabelResponse]
|
144
151
|
describe 'unset_label test' do
|
145
152
|
it 'should work' do
|
@@ -153,6 +160,7 @@ describe 'DistributionsMavenApi' do
|
|
153
160
|
# @param maven_maven_distribution_href
|
154
161
|
# @param maven_maven_distribution
|
155
162
|
# @param [Hash] opts the optional parameters
|
163
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
156
164
|
# @return [AsyncOperationResponse]
|
157
165
|
describe 'update test' do
|
158
166
|
it 'should work' do
|
@@ -37,6 +37,7 @@ describe 'PulpMavenApi' do
|
|
37
37
|
# @param name
|
38
38
|
# @param path
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
40
41
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
41
42
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
42
43
|
# @return [nil]
|
@@ -51,6 +52,7 @@ describe 'PulpMavenApi' do
|
|
51
52
|
# @param name
|
52
53
|
# @param path
|
53
54
|
# @param [Hash] opts the optional parameters
|
55
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
54
56
|
# @return [nil]
|
55
57
|
describe 'put test' do
|
56
58
|
it 'should work' do
|
@@ -37,6 +37,7 @@ describe 'RemotesMavenApi' do
|
|
37
37
|
# A ViewSet for MavenRemote.
|
38
38
|
# @param maven_maven_remote
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
40
41
|
# @return [MavenMavenRemoteResponse]
|
41
42
|
describe 'create test' do
|
42
43
|
it 'should work' do
|
@@ -49,6 +50,7 @@ describe 'RemotesMavenApi' do
|
|
49
50
|
# Trigger an asynchronous delete task
|
50
51
|
# @param maven_maven_remote_href
|
51
52
|
# @param [Hash] opts the optional parameters
|
53
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
52
54
|
# @return [AsyncOperationResponse]
|
53
55
|
describe 'delete test' do
|
54
56
|
it 'should work' do
|
@@ -60,6 +62,7 @@ describe 'RemotesMavenApi' do
|
|
60
62
|
# List maven remotes
|
61
63
|
# A ViewSet for MavenRemote.
|
62
64
|
# @param [Hash] opts the optional parameters
|
65
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
63
66
|
# @option opts [Integer] :limit Number of results to return per page.
|
64
67
|
# @option opts [String] :name Filter results where name matches value
|
65
68
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -99,6 +102,7 @@ describe 'RemotesMavenApi' do
|
|
99
102
|
# @param maven_maven_remote_href
|
100
103
|
# @param patchedmaven_maven_remote
|
101
104
|
# @param [Hash] opts the optional parameters
|
105
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
102
106
|
# @return [AsyncOperationResponse]
|
103
107
|
describe 'partial_update test' do
|
104
108
|
it 'should work' do
|
@@ -111,6 +115,7 @@ describe 'RemotesMavenApi' do
|
|
111
115
|
# A ViewSet for MavenRemote.
|
112
116
|
# @param maven_maven_remote_href
|
113
117
|
# @param [Hash] opts the optional parameters
|
118
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
114
119
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
115
120
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
116
121
|
# @return [MavenMavenRemoteResponse]
|
@@ -126,6 +131,7 @@ describe 'RemotesMavenApi' do
|
|
126
131
|
# @param maven_maven_remote_href
|
127
132
|
# @param set_label
|
128
133
|
# @param [Hash] opts the optional parameters
|
134
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
129
135
|
# @return [SetLabelResponse]
|
130
136
|
describe 'set_label test' do
|
131
137
|
it 'should work' do
|
@@ -139,6 +145,7 @@ describe 'RemotesMavenApi' do
|
|
139
145
|
# @param maven_maven_remote_href
|
140
146
|
# @param unset_label
|
141
147
|
# @param [Hash] opts the optional parameters
|
148
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
142
149
|
# @return [UnsetLabelResponse]
|
143
150
|
describe 'unset_label test' do
|
144
151
|
it 'should work' do
|
@@ -152,6 +159,7 @@ describe 'RemotesMavenApi' do
|
|
152
159
|
# @param maven_maven_remote_href
|
153
160
|
# @param maven_maven_remote
|
154
161
|
# @param [Hash] opts the optional parameters
|
162
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
155
163
|
# @return [AsyncOperationResponse]
|
156
164
|
describe 'update test' do
|
157
165
|
it 'should work' do
|
@@ -38,6 +38,7 @@ describe 'RepositoriesMavenApi' do
|
|
38
38
|
# @param maven_maven_repository_href
|
39
39
|
# @param repository_add_cached_content
|
40
40
|
# @param [Hash] opts the optional parameters
|
41
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
41
42
|
# @return [AsyncOperationResponse]
|
42
43
|
describe 'add_cached_content test' do
|
43
44
|
it 'should work' do
|
@@ -50,6 +51,7 @@ describe 'RepositoriesMavenApi' do
|
|
50
51
|
# A ViewSet for MavenRemote.
|
51
52
|
# @param maven_maven_repository
|
52
53
|
# @param [Hash] opts the optional parameters
|
54
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
53
55
|
# @return [MavenMavenRepositoryResponse]
|
54
56
|
describe 'create test' do
|
55
57
|
it 'should work' do
|
@@ -62,6 +64,7 @@ describe 'RepositoriesMavenApi' do
|
|
62
64
|
# Trigger an asynchronous delete task
|
63
65
|
# @param maven_maven_repository_href
|
64
66
|
# @param [Hash] opts the optional parameters
|
67
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
65
68
|
# @return [AsyncOperationResponse]
|
66
69
|
describe 'delete test' do
|
67
70
|
it 'should work' do
|
@@ -73,6 +76,7 @@ describe 'RepositoriesMavenApi' do
|
|
73
76
|
# List maven repositorys
|
74
77
|
# A ViewSet for MavenRemote.
|
75
78
|
# @param [Hash] opts the optional parameters
|
79
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
76
80
|
# @option opts [String] :latest_with_content Content Unit referenced by HREF/PRN
|
77
81
|
# @option opts [Integer] :limit Number of results to return per page.
|
78
82
|
# @option opts [String] :name Filter results where name matches value
|
@@ -116,6 +120,7 @@ describe 'RepositoriesMavenApi' do
|
|
116
120
|
# @param maven_maven_repository_href
|
117
121
|
# @param patchedmaven_maven_repository
|
118
122
|
# @param [Hash] opts the optional parameters
|
123
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
119
124
|
# @return [AsyncOperationResponse]
|
120
125
|
describe 'partial_update test' do
|
121
126
|
it 'should work' do
|
@@ -128,6 +133,7 @@ describe 'RepositoriesMavenApi' do
|
|
128
133
|
# A ViewSet for MavenRemote.
|
129
134
|
# @param maven_maven_repository_href
|
130
135
|
# @param [Hash] opts the optional parameters
|
136
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
131
137
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
132
138
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
133
139
|
# @return [MavenMavenRepositoryResponse]
|
@@ -143,6 +149,7 @@ describe 'RepositoriesMavenApi' do
|
|
143
149
|
# @param maven_maven_repository_href
|
144
150
|
# @param set_label
|
145
151
|
# @param [Hash] opts the optional parameters
|
152
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
146
153
|
# @return [SetLabelResponse]
|
147
154
|
describe 'set_label test' do
|
148
155
|
it 'should work' do
|
@@ -156,6 +163,7 @@ describe 'RepositoriesMavenApi' do
|
|
156
163
|
# @param maven_maven_repository_href
|
157
164
|
# @param unset_label
|
158
165
|
# @param [Hash] opts the optional parameters
|
166
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
159
167
|
# @return [UnsetLabelResponse]
|
160
168
|
describe 'unset_label test' do
|
161
169
|
it 'should work' do
|
@@ -169,6 +177,7 @@ describe 'RepositoriesMavenApi' do
|
|
169
177
|
# @param maven_maven_repository_href
|
170
178
|
# @param maven_maven_repository
|
171
179
|
# @param [Hash] opts the optional parameters
|
180
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
172
181
|
# @return [AsyncOperationResponse]
|
173
182
|
describe 'update test' do
|
174
183
|
it 'should work' do
|
@@ -37,6 +37,7 @@ describe 'RepositoriesMavenVersionsApi' do
|
|
37
37
|
# Trigger an asynchronous task to delete a repository version.
|
38
38
|
# @param maven_maven_repository_version_href
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
40
41
|
# @return [AsyncOperationResponse]
|
41
42
|
describe 'delete test' do
|
42
43
|
it 'should work' do
|
@@ -49,6 +50,7 @@ describe 'RepositoriesMavenVersionsApi' do
|
|
49
50
|
# MavenRepositoryVersion represents a single Maven repository version.
|
50
51
|
# @param maven_maven_repository_href
|
51
52
|
# @param [Hash] opts the optional parameters
|
53
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
52
54
|
# @option opts [String] :content Content Unit referenced by HREF/PRN
|
53
55
|
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
54
56
|
# @option opts [Integer] :limit Number of results to return per page.
|
@@ -59,7 +61,7 @@ describe 'RepositoriesMavenVersionsApi' do
|
|
59
61
|
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
60
62
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
61
63
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
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)
|
64
|
+
# @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) * `content_ids` - Content ids * `-content_ids` - Content ids (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
63
65
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
64
66
|
# @option opts [Time] :pulp_created Filter results where pulp_created matches value
|
65
67
|
# @option opts [Time] :pulp_created__gt Filter results where pulp_created is greater than value
|
@@ -84,6 +86,7 @@ describe 'RepositoriesMavenVersionsApi' do
|
|
84
86
|
# MavenRepositoryVersion represents a single Maven repository version.
|
85
87
|
# @param maven_maven_repository_version_href
|
86
88
|
# @param [Hash] opts the optional parameters
|
89
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
87
90
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
88
91
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
89
92
|
# @return [RepositoryVersionResponse]
|
@@ -98,6 +101,7 @@ describe 'RepositoriesMavenVersionsApi' do
|
|
98
101
|
# @param maven_maven_repository_version_href
|
99
102
|
# @param repair
|
100
103
|
# @param [Hash] opts the optional parameters
|
104
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
101
105
|
# @return [AsyncOperationResponse]
|
102
106
|
describe 'repair test' do
|
103
107
|
it 'should work' do
|
@@ -57,6 +57,12 @@ describe PulpMavenClient::MavenMavenArtifactResponse do
|
|
57
57
|
end
|
58
58
|
end
|
59
59
|
|
60
|
+
describe 'test attribute "vuln_report"' do
|
61
|
+
it 'should work' do
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
60
66
|
describe 'test attribute "artifact"' do
|
61
67
|
it 'should work' do
|
62
68
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
@@ -75,4 +75,10 @@ describe PulpMavenClient::RepositoryVersionResponse do
|
|
75
75
|
end
|
76
76
|
end
|
77
77
|
|
78
|
+
describe 'test attribute "vuln_report"' do
|
79
|
+
it 'should work' do
|
80
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
78
84
|
end
|