zest 0.0.1
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 +7 -0
- data/Gemfile +7 -0
- data/README.md +185 -0
- data/Rakefile +8 -0
- data/api.json +1 -0
- data/config.json +6 -0
- data/docs/Artifact.md +17 -0
- data/docs/AsyncOperationResponse.md +8 -0
- data/docs/Distribution.md +16 -0
- data/docs/FileContent.md +12 -0
- data/docs/FilePublisher.md +14 -0
- data/docs/FileRemote.md +23 -0
- data/docs/InlineResponse200.md +11 -0
- data/docs/InlineResponse2001.md +11 -0
- data/docs/InlineResponse20010.md +11 -0
- data/docs/InlineResponse2002.md +11 -0
- data/docs/InlineResponse2003.md +11 -0
- data/docs/InlineResponse2004.md +11 -0
- data/docs/InlineResponse2005.md +11 -0
- data/docs/InlineResponse2006.md +11 -0
- data/docs/InlineResponse2007.md +11 -0
- data/docs/InlineResponse2008.md +11 -0
- data/docs/InlineResponse2009.md +11 -0
- data/docs/ProgressReport.md +13 -0
- data/docs/Publication.md +13 -0
- data/docs/PulpApi.md +3056 -0
- data/docs/Repository.md +13 -0
- data/docs/RepositoryPublishURL.md +9 -0
- data/docs/RepositorySyncURL.md +9 -0
- data/docs/RepositoryVersion.md +17 -0
- data/docs/RepositoryVersionCreate.md +10 -0
- data/docs/Task.md +21 -0
- data/docs/User.md +11 -0
- data/docs/Worker.md +13 -0
- data/git_push.sh +55 -0
- data/katello_pulp_api-0.0.1.gem +0 -0
- data/katello_pulp_api.gemspec +46 -0
- data/lib/katello_pulp_api.rb +67 -0
- data/lib/katello_pulp_api/api/pulp_api.rb +3277 -0
- data/lib/katello_pulp_api/api_client.rb +389 -0
- data/lib/katello_pulp_api/api_error.rb +38 -0
- data/lib/katello_pulp_api/configuration.rb +209 -0
- data/lib/katello_pulp_api/models/artifact.rb +278 -0
- data/lib/katello_pulp_api/models/async_operation_response.rb +194 -0
- data/lib/katello_pulp_api/models/distribution.rb +350 -0
- data/lib/katello_pulp_api/models/file_content.rb +272 -0
- data/lib/katello_pulp_api/models/file_publisher.rb +306 -0
- data/lib/katello_pulp_api/models/file_remote.rb +452 -0
- data/lib/katello_pulp_api/models/inline_response_200.rb +227 -0
- data/lib/katello_pulp_api/models/inline_response_200_1.rb +227 -0
- data/lib/katello_pulp_api/models/inline_response_200_10.rb +227 -0
- data/lib/katello_pulp_api/models/inline_response_200_2.rb +227 -0
- data/lib/katello_pulp_api/models/inline_response_200_3.rb +227 -0
- data/lib/katello_pulp_api/models/inline_response_200_4.rb +227 -0
- data/lib/katello_pulp_api/models/inline_response_200_5.rb +227 -0
- data/lib/katello_pulp_api/models/inline_response_200_6.rb +227 -0
- data/lib/katello_pulp_api/models/inline_response_200_7.rb +227 -0
- data/lib/katello_pulp_api/models/inline_response_200_8.rb +227 -0
- data/lib/katello_pulp_api/models/inline_response_200_9.rb +227 -0
- data/lib/katello_pulp_api/models/progress_report.rb +271 -0
- data/lib/katello_pulp_api/models/publication.rb +249 -0
- data/lib/katello_pulp_api/models/repository.rb +260 -0
- data/lib/katello_pulp_api/models/repository_publish_url.rb +199 -0
- data/lib/katello_pulp_api/models/repository_sync_url.rb +206 -0
- data/lib/katello_pulp_api/models/repository_version.rb +277 -0
- data/lib/katello_pulp_api/models/repository_version_create.rb +223 -0
- data/lib/katello_pulp_api/models/task.rb +363 -0
- data/lib/katello_pulp_api/models/user.rb +284 -0
- data/lib/katello_pulp_api/models/worker.rb +254 -0
- data/lib/katello_pulp_api/version.rb +15 -0
- data/lib/zest.rb +67 -0
- data/lib/zest/api/pulp_api.rb +3277 -0
- data/lib/zest/api_client.rb +389 -0
- data/lib/zest/api_error.rb +38 -0
- data/lib/zest/configuration.rb +209 -0
- data/lib/zest/models/artifact.rb +278 -0
- data/lib/zest/models/async_operation_response.rb +194 -0
- data/lib/zest/models/distribution.rb +350 -0
- data/lib/zest/models/file_content.rb +272 -0
- data/lib/zest/models/file_publisher.rb +306 -0
- data/lib/zest/models/file_remote.rb +452 -0
- data/lib/zest/models/inline_response_200.rb +227 -0
- data/lib/zest/models/inline_response_200_1.rb +227 -0
- data/lib/zest/models/inline_response_200_10.rb +227 -0
- data/lib/zest/models/inline_response_200_2.rb +227 -0
- data/lib/zest/models/inline_response_200_3.rb +227 -0
- data/lib/zest/models/inline_response_200_4.rb +227 -0
- data/lib/zest/models/inline_response_200_5.rb +227 -0
- data/lib/zest/models/inline_response_200_6.rb +227 -0
- data/lib/zest/models/inline_response_200_7.rb +227 -0
- data/lib/zest/models/inline_response_200_8.rb +227 -0
- data/lib/zest/models/inline_response_200_9.rb +227 -0
- data/lib/zest/models/progress_report.rb +271 -0
- data/lib/zest/models/publication.rb +249 -0
- data/lib/zest/models/repository.rb +260 -0
- data/lib/zest/models/repository_publish_url.rb +199 -0
- data/lib/zest/models/repository_sync_url.rb +206 -0
- data/lib/zest/models/repository_version.rb +277 -0
- data/lib/zest/models/repository_version_create.rb +223 -0
- data/lib/zest/models/task.rb +363 -0
- data/lib/zest/models/user.rb +284 -0
- data/lib/zest/models/worker.rb +254 -0
- data/lib/zest/version.rb +15 -0
- data/spec/api/pulp_api_spec.rb +784 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/artifact_spec.rb +96 -0
- data/spec/models/async_operation_response_spec.rb +42 -0
- data/spec/models/distribution_spec.rb +90 -0
- data/spec/models/file_content_spec.rb +66 -0
- data/spec/models/file_publisher_spec.rb +78 -0
- data/spec/models/file_remote_spec.rb +136 -0
- data/spec/models/inline_response_200_10_spec.rb +60 -0
- data/spec/models/inline_response_200_1_spec.rb +60 -0
- data/spec/models/inline_response_200_2_spec.rb +60 -0
- data/spec/models/inline_response_200_3_spec.rb +60 -0
- data/spec/models/inline_response_200_4_spec.rb +60 -0
- data/spec/models/inline_response_200_5_spec.rb +60 -0
- data/spec/models/inline_response_200_6_spec.rb +60 -0
- data/spec/models/inline_response_200_7_spec.rb +60 -0
- data/spec/models/inline_response_200_8_spec.rb +60 -0
- data/spec/models/inline_response_200_9_spec.rb +60 -0
- data/spec/models/inline_response_200_spec.rb +60 -0
- data/spec/models/progress_report_spec.rb +72 -0
- data/spec/models/publication_spec.rb +72 -0
- data/spec/models/repository_publish_url_spec.rb +48 -0
- data/spec/models/repository_spec.rb +72 -0
- data/spec/models/repository_sync_url_spec.rb +48 -0
- data/spec/models/repository_version_create_spec.rb +54 -0
- data/spec/models/repository_version_spec.rb +96 -0
- data/spec/models/task_spec.rb +120 -0
- data/spec/models/user_spec.rb +60 -0
- data/spec/models/worker_spec.rb +72 -0
- data/spec/spec_helper.rb +111 -0
- data/zest.gemspec +46 -0
- metadata +391 -0
data/lib/zest/version.rb
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Pulp3 API
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: v3
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.3.1
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
module Zest
|
|
14
|
+
VERSION = "0.0.1"
|
|
15
|
+
end
|
|
@@ -0,0 +1,784 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Pulp3 API
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: v3
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.3.1
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
|
|
16
|
+
# Unit tests for KatelloPulpApi::PulpApi
|
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'PulpApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@instance = KatelloPulpApi::PulpApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of PulpApi' do
|
|
30
|
+
it 'should create an instance of PulpApi' do
|
|
31
|
+
expect(@instance).to be_instance_of(KatelloPulpApi::PulpApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for artifacts_create
|
|
36
|
+
#
|
|
37
|
+
#
|
|
38
|
+
# @param file The stored file.
|
|
39
|
+
# @param [Hash] opts the optional parameters
|
|
40
|
+
# @option opts [Integer] :size The size of the file in bytes.
|
|
41
|
+
# @option opts [String] :md5 The MD5 checksum of the file if available.
|
|
42
|
+
# @option opts [String] :sha1 The SHA-1 checksum of the file if available.
|
|
43
|
+
# @option opts [String] :sha224 The SHA-224 checksum of the file if available.
|
|
44
|
+
# @option opts [String] :sha256 The SHA-256 checksum of the file if available.
|
|
45
|
+
# @option opts [String] :sha384 The SHA-384 checksum of the file if available.
|
|
46
|
+
# @option opts [String] :sha512 The SHA-512 checksum of the file if available.
|
|
47
|
+
# @return [Artifact]
|
|
48
|
+
describe 'artifacts_create test' do
|
|
49
|
+
it "should work" do
|
|
50
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
# unit tests for artifacts_delete
|
|
55
|
+
#
|
|
56
|
+
# Remove Artifact only if it is not associated with any Content.
|
|
57
|
+
# @param artifact_href URI of Artifact. e.g.: /pulp/api/v3/artifacts/1/
|
|
58
|
+
# @param [Hash] opts the optional parameters
|
|
59
|
+
# @return [nil]
|
|
60
|
+
describe 'artifacts_delete test' do
|
|
61
|
+
it "should work" do
|
|
62
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
# unit tests for artifacts_list
|
|
67
|
+
#
|
|
68
|
+
#
|
|
69
|
+
# @param [Hash] opts the optional parameters
|
|
70
|
+
# @option opts [String] :md5 Filter results where md5 matches value
|
|
71
|
+
# @option opts [String] :sha1 Filter results where sha1 matches value
|
|
72
|
+
# @option opts [String] :sha224 Filter results where sha224 matches value
|
|
73
|
+
# @option opts [String] :sha256 Filter results where sha256 matches value
|
|
74
|
+
# @option opts [String] :sha384 Filter results where sha384 matches value
|
|
75
|
+
# @option opts [String] :sha512 Filter results where sha512 matches value
|
|
76
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
77
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
78
|
+
# @return [InlineResponse200]
|
|
79
|
+
describe 'artifacts_list test' do
|
|
80
|
+
it "should work" do
|
|
81
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
82
|
+
end
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
# unit tests for artifacts_read
|
|
86
|
+
#
|
|
87
|
+
#
|
|
88
|
+
# @param artifact_href URI of Artifact. e.g.: /pulp/api/v3/artifacts/1/
|
|
89
|
+
# @param [Hash] opts the optional parameters
|
|
90
|
+
# @return [Artifact]
|
|
91
|
+
describe 'artifacts_read test' do
|
|
92
|
+
it "should work" do
|
|
93
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
94
|
+
end
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
# unit tests for content_file_files_create
|
|
98
|
+
#
|
|
99
|
+
# Create a new FileContent from a request.
|
|
100
|
+
# @param data
|
|
101
|
+
# @param [Hash] opts the optional parameters
|
|
102
|
+
# @return [FileContent]
|
|
103
|
+
describe 'content_file_files_create test' do
|
|
104
|
+
it "should work" do
|
|
105
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
106
|
+
end
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
# unit tests for content_file_files_list
|
|
110
|
+
#
|
|
111
|
+
# ViewSet for FileContent.
|
|
112
|
+
# @param [Hash] opts the optional parameters
|
|
113
|
+
# @option opts [String] :relative_path Filter results where relative_path matches value
|
|
114
|
+
# @option opts [String] :digest Filter results where digest matches value
|
|
115
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
116
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
117
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
|
118
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
119
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
120
|
+
# @return [InlineResponse2001]
|
|
121
|
+
describe 'content_file_files_list test' do
|
|
122
|
+
it "should work" do
|
|
123
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
124
|
+
end
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
# unit tests for content_file_files_read
|
|
128
|
+
#
|
|
129
|
+
# ViewSet for FileContent.
|
|
130
|
+
# @param file_content_href URI of File Content. e.g.: /pulp/api/v3/content/file/files/1/
|
|
131
|
+
# @param [Hash] opts the optional parameters
|
|
132
|
+
# @return [FileContent]
|
|
133
|
+
describe 'content_file_files_read test' do
|
|
134
|
+
it "should work" do
|
|
135
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
136
|
+
end
|
|
137
|
+
end
|
|
138
|
+
|
|
139
|
+
# unit tests for distributions_create
|
|
140
|
+
#
|
|
141
|
+
#
|
|
142
|
+
# @param data
|
|
143
|
+
# @param [Hash] opts the optional parameters
|
|
144
|
+
# @return [Distribution]
|
|
145
|
+
describe 'distributions_create test' do
|
|
146
|
+
it "should work" do
|
|
147
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
148
|
+
end
|
|
149
|
+
end
|
|
150
|
+
|
|
151
|
+
# unit tests for distributions_delete
|
|
152
|
+
#
|
|
153
|
+
#
|
|
154
|
+
# @param distribution_href URI of Distribution. e.g.: /pulp/api/v3/distributions/1/
|
|
155
|
+
# @param [Hash] opts the optional parameters
|
|
156
|
+
# @return [nil]
|
|
157
|
+
describe 'distributions_delete test' do
|
|
158
|
+
it "should work" do
|
|
159
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
160
|
+
end
|
|
161
|
+
end
|
|
162
|
+
|
|
163
|
+
# unit tests for distributions_list
|
|
164
|
+
#
|
|
165
|
+
#
|
|
166
|
+
# @param [Hash] opts the optional parameters
|
|
167
|
+
# @option opts [String] :name
|
|
168
|
+
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
|
169
|
+
# @option opts [String] :base_path
|
|
170
|
+
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
|
171
|
+
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
|
172
|
+
# @option opts [String] :base_path__in Filter results where base_path is in a comma-separated list of values
|
|
173
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
174
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
175
|
+
# @return [InlineResponse2002]
|
|
176
|
+
describe 'distributions_list test' do
|
|
177
|
+
it "should work" do
|
|
178
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
179
|
+
end
|
|
180
|
+
end
|
|
181
|
+
|
|
182
|
+
# unit tests for distributions_partial_update
|
|
183
|
+
#
|
|
184
|
+
#
|
|
185
|
+
# @param distribution_href URI of Distribution. e.g.: /pulp/api/v3/distributions/1/
|
|
186
|
+
# @param data
|
|
187
|
+
# @param [Hash] opts the optional parameters
|
|
188
|
+
# @return [Distribution]
|
|
189
|
+
describe 'distributions_partial_update test' do
|
|
190
|
+
it "should work" do
|
|
191
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
192
|
+
end
|
|
193
|
+
end
|
|
194
|
+
|
|
195
|
+
# unit tests for distributions_read
|
|
196
|
+
#
|
|
197
|
+
#
|
|
198
|
+
# @param distribution_href URI of Distribution. e.g.: /pulp/api/v3/distributions/1/
|
|
199
|
+
# @param [Hash] opts the optional parameters
|
|
200
|
+
# @return [Distribution]
|
|
201
|
+
describe 'distributions_read test' do
|
|
202
|
+
it "should work" do
|
|
203
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
204
|
+
end
|
|
205
|
+
end
|
|
206
|
+
|
|
207
|
+
# unit tests for distributions_update
|
|
208
|
+
#
|
|
209
|
+
#
|
|
210
|
+
# @param distribution_href URI of Distribution. e.g.: /pulp/api/v3/distributions/1/
|
|
211
|
+
# @param data
|
|
212
|
+
# @param [Hash] opts the optional parameters
|
|
213
|
+
# @return [Distribution]
|
|
214
|
+
describe 'distributions_update test' do
|
|
215
|
+
it "should work" do
|
|
216
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
217
|
+
end
|
|
218
|
+
end
|
|
219
|
+
|
|
220
|
+
# unit tests for orphans_delete
|
|
221
|
+
#
|
|
222
|
+
# Cleans up all the Content and Artifact orphans in the system
|
|
223
|
+
# @param [Hash] opts the optional parameters
|
|
224
|
+
# @return [nil]
|
|
225
|
+
describe 'orphans_delete test' do
|
|
226
|
+
it "should work" do
|
|
227
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
228
|
+
end
|
|
229
|
+
end
|
|
230
|
+
|
|
231
|
+
# unit tests for publications_delete
|
|
232
|
+
#
|
|
233
|
+
#
|
|
234
|
+
# @param publication_href URI of Publication. e.g.: /pulp/api/v3/publications/1/
|
|
235
|
+
# @param [Hash] opts the optional parameters
|
|
236
|
+
# @return [nil]
|
|
237
|
+
describe 'publications_delete test' do
|
|
238
|
+
it "should work" do
|
|
239
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
240
|
+
end
|
|
241
|
+
end
|
|
242
|
+
|
|
243
|
+
# unit tests for publications_list
|
|
244
|
+
#
|
|
245
|
+
#
|
|
246
|
+
# @param [Hash] opts the optional parameters
|
|
247
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
248
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
249
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
250
|
+
# @return [InlineResponse2003]
|
|
251
|
+
describe 'publications_list test' do
|
|
252
|
+
it "should work" do
|
|
253
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
254
|
+
end
|
|
255
|
+
end
|
|
256
|
+
|
|
257
|
+
# unit tests for publications_read
|
|
258
|
+
#
|
|
259
|
+
#
|
|
260
|
+
# @param publication_href URI of Publication. e.g.: /pulp/api/v3/publications/1/
|
|
261
|
+
# @param [Hash] opts the optional parameters
|
|
262
|
+
# @return [Publication]
|
|
263
|
+
describe 'publications_read test' do
|
|
264
|
+
it "should work" do
|
|
265
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
266
|
+
end
|
|
267
|
+
end
|
|
268
|
+
|
|
269
|
+
# unit tests for publishers_file_file_create
|
|
270
|
+
#
|
|
271
|
+
# ViewSet for File Publishers.
|
|
272
|
+
# @param data
|
|
273
|
+
# @param [Hash] opts the optional parameters
|
|
274
|
+
# @return [FilePublisher]
|
|
275
|
+
describe 'publishers_file_file_create test' do
|
|
276
|
+
it "should work" do
|
|
277
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
278
|
+
end
|
|
279
|
+
end
|
|
280
|
+
|
|
281
|
+
# unit tests for publishers_file_file_delete
|
|
282
|
+
#
|
|
283
|
+
# Trigger an asynchronous delete task
|
|
284
|
+
# @param file_publisher_href URI of File Publisher. e.g.: /pulp/api/v3/publishers/file/file/1/
|
|
285
|
+
# @param [Hash] opts the optional parameters
|
|
286
|
+
# @return [AsyncOperationResponse]
|
|
287
|
+
describe 'publishers_file_file_delete test' do
|
|
288
|
+
it "should work" do
|
|
289
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
290
|
+
end
|
|
291
|
+
end
|
|
292
|
+
|
|
293
|
+
# unit tests for publishers_file_file_list
|
|
294
|
+
#
|
|
295
|
+
# ViewSet for File Publishers.
|
|
296
|
+
# @param [Hash] opts the optional parameters
|
|
297
|
+
# @option opts [String] :name
|
|
298
|
+
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
|
299
|
+
# @option opts [String] :_last_updated__lt Filter results where _last_updated is less than value
|
|
300
|
+
# @option opts [String] :_last_updated__lte Filter results where _last_updated is less than or equal to value
|
|
301
|
+
# @option opts [String] :_last_updated__gt Filter results where _last_updated is greater than value
|
|
302
|
+
# @option opts [String] :_last_updated__gte Filter results where _last_updated is greater than or equal to value
|
|
303
|
+
# @option opts [String] :_last_updated__range Filter results where _last_updated is between two comma separated values
|
|
304
|
+
# @option opts [String] :_last_updated ISO 8601 formatted dates are supported
|
|
305
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
306
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
307
|
+
# @return [InlineResponse2004]
|
|
308
|
+
describe 'publishers_file_file_list test' do
|
|
309
|
+
it "should work" do
|
|
310
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
311
|
+
end
|
|
312
|
+
end
|
|
313
|
+
|
|
314
|
+
# unit tests for publishers_file_file_partial_update
|
|
315
|
+
#
|
|
316
|
+
# Trigger an asynchronous partial update task
|
|
317
|
+
# @param file_publisher_href URI of File Publisher. e.g.: /pulp/api/v3/publishers/file/file/1/
|
|
318
|
+
# @param data
|
|
319
|
+
# @param [Hash] opts the optional parameters
|
|
320
|
+
# @return [AsyncOperationResponse]
|
|
321
|
+
describe 'publishers_file_file_partial_update test' do
|
|
322
|
+
it "should work" do
|
|
323
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
324
|
+
end
|
|
325
|
+
end
|
|
326
|
+
|
|
327
|
+
# unit tests for publishers_file_file_publish
|
|
328
|
+
#
|
|
329
|
+
# Trigger an asynchronous task to publish file content.
|
|
330
|
+
# @param file_publisher_href URI of File Publisher. e.g.: /pulp/api/v3/publishers/file/file/1/
|
|
331
|
+
# @param data
|
|
332
|
+
# @param [Hash] opts the optional parameters
|
|
333
|
+
# @return [AsyncOperationResponse]
|
|
334
|
+
describe 'publishers_file_file_publish test' do
|
|
335
|
+
it "should work" do
|
|
336
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
337
|
+
end
|
|
338
|
+
end
|
|
339
|
+
|
|
340
|
+
# unit tests for publishers_file_file_read
|
|
341
|
+
#
|
|
342
|
+
# ViewSet for File Publishers.
|
|
343
|
+
# @param file_publisher_href URI of File Publisher. e.g.: /pulp/api/v3/publishers/file/file/1/
|
|
344
|
+
# @param [Hash] opts the optional parameters
|
|
345
|
+
# @return [FilePublisher]
|
|
346
|
+
describe 'publishers_file_file_read test' do
|
|
347
|
+
it "should work" do
|
|
348
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
349
|
+
end
|
|
350
|
+
end
|
|
351
|
+
|
|
352
|
+
# unit tests for publishers_file_file_update
|
|
353
|
+
#
|
|
354
|
+
# Trigger an asynchronous update task
|
|
355
|
+
# @param file_publisher_href URI of File Publisher. e.g.: /pulp/api/v3/publishers/file/file/1/
|
|
356
|
+
# @param data
|
|
357
|
+
# @param [Hash] opts the optional parameters
|
|
358
|
+
# @return [AsyncOperationResponse]
|
|
359
|
+
describe 'publishers_file_file_update test' do
|
|
360
|
+
it "should work" do
|
|
361
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
362
|
+
end
|
|
363
|
+
end
|
|
364
|
+
|
|
365
|
+
# unit tests for remotes_file_file_create
|
|
366
|
+
#
|
|
367
|
+
# ViewSet for File Remotes.
|
|
368
|
+
# @param data
|
|
369
|
+
# @param [Hash] opts the optional parameters
|
|
370
|
+
# @return [FileRemote]
|
|
371
|
+
describe 'remotes_file_file_create test' do
|
|
372
|
+
it "should work" do
|
|
373
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
374
|
+
end
|
|
375
|
+
end
|
|
376
|
+
|
|
377
|
+
# unit tests for remotes_file_file_delete
|
|
378
|
+
#
|
|
379
|
+
# Trigger an asynchronous delete task
|
|
380
|
+
# @param file_remote_href URI of File Remote. e.g.: /pulp/api/v3/remotes/file/file/1/
|
|
381
|
+
# @param [Hash] opts the optional parameters
|
|
382
|
+
# @return [AsyncOperationResponse]
|
|
383
|
+
describe 'remotes_file_file_delete test' do
|
|
384
|
+
it "should work" do
|
|
385
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
386
|
+
end
|
|
387
|
+
end
|
|
388
|
+
|
|
389
|
+
# unit tests for remotes_file_file_list
|
|
390
|
+
#
|
|
391
|
+
# ViewSet for File Remotes.
|
|
392
|
+
# @param [Hash] opts the optional parameters
|
|
393
|
+
# @option opts [String] :name
|
|
394
|
+
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
|
395
|
+
# @option opts [String] :_last_updated__lt Filter results where _last_updated is less than value
|
|
396
|
+
# @option opts [String] :_last_updated__lte Filter results where _last_updated is less than or equal to value
|
|
397
|
+
# @option opts [String] :_last_updated__gt Filter results where _last_updated is greater than value
|
|
398
|
+
# @option opts [String] :_last_updated__gte Filter results where _last_updated is greater than or equal to value
|
|
399
|
+
# @option opts [String] :_last_updated__range Filter results where _last_updated is between two comma separated values
|
|
400
|
+
# @option opts [String] :_last_updated ISO 8601 formatted dates are supported
|
|
401
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
402
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
403
|
+
# @return [InlineResponse2005]
|
|
404
|
+
describe 'remotes_file_file_list test' do
|
|
405
|
+
it "should work" do
|
|
406
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
407
|
+
end
|
|
408
|
+
end
|
|
409
|
+
|
|
410
|
+
# unit tests for remotes_file_file_partial_update
|
|
411
|
+
#
|
|
412
|
+
# Trigger an asynchronous partial update task
|
|
413
|
+
# @param file_remote_href URI of File Remote. e.g.: /pulp/api/v3/remotes/file/file/1/
|
|
414
|
+
# @param data
|
|
415
|
+
# @param [Hash] opts the optional parameters
|
|
416
|
+
# @return [AsyncOperationResponse]
|
|
417
|
+
describe 'remotes_file_file_partial_update test' do
|
|
418
|
+
it "should work" do
|
|
419
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
420
|
+
end
|
|
421
|
+
end
|
|
422
|
+
|
|
423
|
+
# unit tests for remotes_file_file_read
|
|
424
|
+
#
|
|
425
|
+
# ViewSet for File Remotes.
|
|
426
|
+
# @param file_remote_href URI of File Remote. e.g.: /pulp/api/v3/remotes/file/file/1/
|
|
427
|
+
# @param [Hash] opts the optional parameters
|
|
428
|
+
# @return [FileRemote]
|
|
429
|
+
describe 'remotes_file_file_read test' do
|
|
430
|
+
it "should work" do
|
|
431
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
432
|
+
end
|
|
433
|
+
end
|
|
434
|
+
|
|
435
|
+
# unit tests for remotes_file_file_sync
|
|
436
|
+
#
|
|
437
|
+
# Trigger an asynchronous task to sync file content.
|
|
438
|
+
# @param file_remote_href URI of File Remote. e.g.: /pulp/api/v3/remotes/file/file/1/
|
|
439
|
+
# @param data
|
|
440
|
+
# @param [Hash] opts the optional parameters
|
|
441
|
+
# @return [AsyncOperationResponse]
|
|
442
|
+
describe 'remotes_file_file_sync test' do
|
|
443
|
+
it "should work" do
|
|
444
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
445
|
+
end
|
|
446
|
+
end
|
|
447
|
+
|
|
448
|
+
# unit tests for remotes_file_file_update
|
|
449
|
+
#
|
|
450
|
+
# Trigger an asynchronous update task
|
|
451
|
+
# @param file_remote_href URI of File Remote. e.g.: /pulp/api/v3/remotes/file/file/1/
|
|
452
|
+
# @param data
|
|
453
|
+
# @param [Hash] opts the optional parameters
|
|
454
|
+
# @return [AsyncOperationResponse]
|
|
455
|
+
describe 'remotes_file_file_update test' do
|
|
456
|
+
it "should work" do
|
|
457
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
458
|
+
end
|
|
459
|
+
end
|
|
460
|
+
|
|
461
|
+
# unit tests for repositories_create
|
|
462
|
+
#
|
|
463
|
+
#
|
|
464
|
+
# @param data
|
|
465
|
+
# @param [Hash] opts the optional parameters
|
|
466
|
+
# @return [Repository]
|
|
467
|
+
describe 'repositories_create test' do
|
|
468
|
+
it "should work" do
|
|
469
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
470
|
+
end
|
|
471
|
+
end
|
|
472
|
+
|
|
473
|
+
# unit tests for repositories_delete
|
|
474
|
+
#
|
|
475
|
+
# Trigger an asynchronous task to delete a repository.
|
|
476
|
+
# @param repository_href URI of Repository. e.g.: /pulp/api/v3/repositories/1/
|
|
477
|
+
# @param [Hash] opts the optional parameters
|
|
478
|
+
# @return [AsyncOperationResponse]
|
|
479
|
+
describe 'repositories_delete test' do
|
|
480
|
+
it "should work" do
|
|
481
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
482
|
+
end
|
|
483
|
+
end
|
|
484
|
+
|
|
485
|
+
# unit tests for repositories_list
|
|
486
|
+
#
|
|
487
|
+
#
|
|
488
|
+
# @param [Hash] opts the optional parameters
|
|
489
|
+
# @option opts [String] :name
|
|
490
|
+
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
|
491
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
492
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
493
|
+
# @return [InlineResponse2006]
|
|
494
|
+
describe 'repositories_list test' do
|
|
495
|
+
it "should work" do
|
|
496
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
497
|
+
end
|
|
498
|
+
end
|
|
499
|
+
|
|
500
|
+
# unit tests for repositories_partial_update
|
|
501
|
+
#
|
|
502
|
+
#
|
|
503
|
+
# @param repository_href URI of Repository. e.g.: /pulp/api/v3/repositories/1/
|
|
504
|
+
# @param data
|
|
505
|
+
# @param [Hash] opts the optional parameters
|
|
506
|
+
# @return [Repository]
|
|
507
|
+
describe 'repositories_partial_update test' do
|
|
508
|
+
it "should work" do
|
|
509
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
510
|
+
end
|
|
511
|
+
end
|
|
512
|
+
|
|
513
|
+
# unit tests for repositories_read
|
|
514
|
+
#
|
|
515
|
+
#
|
|
516
|
+
# @param repository_href URI of Repository. e.g.: /pulp/api/v3/repositories/1/
|
|
517
|
+
# @param [Hash] opts the optional parameters
|
|
518
|
+
# @return [Repository]
|
|
519
|
+
describe 'repositories_read test' do
|
|
520
|
+
it "should work" do
|
|
521
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
522
|
+
end
|
|
523
|
+
end
|
|
524
|
+
|
|
525
|
+
# unit tests for repositories_update
|
|
526
|
+
#
|
|
527
|
+
# Trigger an asynchronous task to updatea repository.
|
|
528
|
+
# @param repository_href URI of Repository. e.g.: /pulp/api/v3/repositories/1/
|
|
529
|
+
# @param data
|
|
530
|
+
# @param [Hash] opts the optional parameters
|
|
531
|
+
# @return [AsyncOperationResponse]
|
|
532
|
+
describe 'repositories_update test' do
|
|
533
|
+
it "should work" do
|
|
534
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
535
|
+
end
|
|
536
|
+
end
|
|
537
|
+
|
|
538
|
+
# unit tests for repositories_versions_create
|
|
539
|
+
#
|
|
540
|
+
# Trigger an asynchronous task to create a new repository version.
|
|
541
|
+
# @param repository_pk
|
|
542
|
+
# @param data
|
|
543
|
+
# @param [Hash] opts the optional parameters
|
|
544
|
+
# @return [AsyncOperationResponse]
|
|
545
|
+
describe 'repositories_versions_create test' do
|
|
546
|
+
it "should work" do
|
|
547
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
548
|
+
end
|
|
549
|
+
end
|
|
550
|
+
|
|
551
|
+
# unit tests for repositories_versions_delete
|
|
552
|
+
#
|
|
553
|
+
# Trigger an asynchronous task to delete a repositroy version.
|
|
554
|
+
# @param repository_version_href URI of Repository Version. e.g.: /pulp/api/v3/repositories/1/versions/1/
|
|
555
|
+
# @param [Hash] opts the optional parameters
|
|
556
|
+
# @return [AsyncOperationResponse]
|
|
557
|
+
describe 'repositories_versions_delete test' do
|
|
558
|
+
it "should work" do
|
|
559
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
560
|
+
end
|
|
561
|
+
end
|
|
562
|
+
|
|
563
|
+
# unit tests for repositories_versions_list
|
|
564
|
+
#
|
|
565
|
+
#
|
|
566
|
+
# @param repository_pk
|
|
567
|
+
# @param [Hash] opts the optional parameters
|
|
568
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
569
|
+
# @option opts [Float] :number
|
|
570
|
+
# @option opts [Float] :number__lt Filter results where number is less than value
|
|
571
|
+
# @option opts [Float] :number__lte Filter results where number is less than or equal to value
|
|
572
|
+
# @option opts [Float] :number__gt Filter results where number is greater than value
|
|
573
|
+
# @option opts [Float] :number__gte Filter results where number is greater than or equal to value
|
|
574
|
+
# @option opts [Float] :number__range Filter results where number is between two comma separated values
|
|
575
|
+
# @option opts [String] :_created__lt Filter results where _created is less than value
|
|
576
|
+
# @option opts [String] :_created__lte Filter results where _created is less than or equal to value
|
|
577
|
+
# @option opts [String] :_created__gt Filter results where _created is greater than value
|
|
578
|
+
# @option opts [String] :_created__gte Filter results where _created is greater than or equal to value
|
|
579
|
+
# @option opts [String] :_created__range Filter results where _created is between two comma separated values
|
|
580
|
+
# @option opts [String] :content Content Unit referenced by HREF
|
|
581
|
+
# @option opts [String] :_created ISO 8601 formatted dates are supported
|
|
582
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
583
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
584
|
+
# @return [InlineResponse2007]
|
|
585
|
+
describe 'repositories_versions_list test' do
|
|
586
|
+
it "should work" do
|
|
587
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
588
|
+
end
|
|
589
|
+
end
|
|
590
|
+
|
|
591
|
+
# unit tests for repositories_versions_partial_update
|
|
592
|
+
#
|
|
593
|
+
#
|
|
594
|
+
# @param repository_version_href URI of Repository Version. e.g.: /pulp/api/v3/repositories/1/versions/1/
|
|
595
|
+
# @param data
|
|
596
|
+
# @param [Hash] opts the optional parameters
|
|
597
|
+
# @return [RepositoryVersion]
|
|
598
|
+
describe 'repositories_versions_partial_update test' do
|
|
599
|
+
it "should work" do
|
|
600
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
601
|
+
end
|
|
602
|
+
end
|
|
603
|
+
|
|
604
|
+
# unit tests for repositories_versions_read
|
|
605
|
+
#
|
|
606
|
+
#
|
|
607
|
+
# @param repository_version_href URI of Repository Version. e.g.: /pulp/api/v3/repositories/1/versions/1/
|
|
608
|
+
# @param [Hash] opts the optional parameters
|
|
609
|
+
# @return [RepositoryVersion]
|
|
610
|
+
describe 'repositories_versions_read test' do
|
|
611
|
+
it "should work" do
|
|
612
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
613
|
+
end
|
|
614
|
+
end
|
|
615
|
+
|
|
616
|
+
# unit tests for repositories_versions_update
|
|
617
|
+
#
|
|
618
|
+
#
|
|
619
|
+
# @param repository_version_href URI of Repository Version. e.g.: /pulp/api/v3/repositories/1/versions/1/
|
|
620
|
+
# @param data
|
|
621
|
+
# @param [Hash] opts the optional parameters
|
|
622
|
+
# @return [RepositoryVersion]
|
|
623
|
+
describe 'repositories_versions_update test' do
|
|
624
|
+
it "should work" do
|
|
625
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
626
|
+
end
|
|
627
|
+
end
|
|
628
|
+
|
|
629
|
+
# unit tests for status_list
|
|
630
|
+
#
|
|
631
|
+
# Returns app information including the version of pulpcore and loaded pulp plugins, known workers, database connection status, and messaging connection status
|
|
632
|
+
# @param [Hash] opts the optional parameters
|
|
633
|
+
# @return [nil]
|
|
634
|
+
describe 'status_list test' do
|
|
635
|
+
it "should work" do
|
|
636
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
637
|
+
end
|
|
638
|
+
end
|
|
639
|
+
|
|
640
|
+
# unit tests for tasks_cancel
|
|
641
|
+
#
|
|
642
|
+
#
|
|
643
|
+
# @param task_href URI of Task. e.g.: /pulp/api/v3/tasks/1/
|
|
644
|
+
# @param data
|
|
645
|
+
# @param [Hash] opts the optional parameters
|
|
646
|
+
# @return [Task]
|
|
647
|
+
describe 'tasks_cancel test' do
|
|
648
|
+
it "should work" do
|
|
649
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
650
|
+
end
|
|
651
|
+
end
|
|
652
|
+
|
|
653
|
+
# unit tests for tasks_delete
|
|
654
|
+
#
|
|
655
|
+
#
|
|
656
|
+
# @param task_href URI of Task. e.g.: /pulp/api/v3/tasks/1/
|
|
657
|
+
# @param [Hash] opts the optional parameters
|
|
658
|
+
# @return [nil]
|
|
659
|
+
describe 'tasks_delete test' do
|
|
660
|
+
it "should work" do
|
|
661
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
662
|
+
end
|
|
663
|
+
end
|
|
664
|
+
|
|
665
|
+
# unit tests for tasks_list
|
|
666
|
+
#
|
|
667
|
+
#
|
|
668
|
+
# @param [Hash] opts the optional parameters
|
|
669
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
670
|
+
# @option opts [String] :state
|
|
671
|
+
# @option opts [String] :state__in Filter results where state is in a comma-separated list of values
|
|
672
|
+
# @option opts [String] :worker Foreign Key referenced by HREF
|
|
673
|
+
# @option opts [String] :worker__in Filter results where worker is in a comma-separated list of values
|
|
674
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
|
675
|
+
# @option opts [String] :started_at__lt Filter results where started_at is less than value
|
|
676
|
+
# @option opts [String] :started_at__lte Filter results where started_at is less than or equal to value
|
|
677
|
+
# @option opts [String] :started_at__gt Filter results where started_at is greater than value
|
|
678
|
+
# @option opts [String] :started_at__gte Filter results where started_at is greater than or equal to value
|
|
679
|
+
# @option opts [String] :started_at__range Filter results where started_at is between two comma separated values
|
|
680
|
+
# @option opts [String] :finished_at__lt Filter results where finished_at is less than value
|
|
681
|
+
# @option opts [String] :finished_at__lte Filter results where finished_at is less than or equal to value
|
|
682
|
+
# @option opts [String] :finished_at__gt Filter results where finished_at is greater than value
|
|
683
|
+
# @option opts [String] :finished_at__gte Filter results where finished_at is greater than or equal to value
|
|
684
|
+
# @option opts [String] :finished_at__range Filter results where finished_at is between two comma separated values
|
|
685
|
+
# @option opts [String] :parent Foreign Key referenced by HREF
|
|
686
|
+
# @option opts [String] :name
|
|
687
|
+
# @option opts [String] :started_at ISO 8601 formatted dates are supported
|
|
688
|
+
# @option opts [String] :finished_at ISO 8601 formatted dates are supported
|
|
689
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
690
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
691
|
+
# @return [InlineResponse2008]
|
|
692
|
+
describe 'tasks_list test' do
|
|
693
|
+
it "should work" do
|
|
694
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
695
|
+
end
|
|
696
|
+
end
|
|
697
|
+
|
|
698
|
+
# unit tests for tasks_read
|
|
699
|
+
#
|
|
700
|
+
#
|
|
701
|
+
# @param task_href URI of Task. e.g.: /pulp/api/v3/tasks/1/
|
|
702
|
+
# @param [Hash] opts the optional parameters
|
|
703
|
+
# @return [Task]
|
|
704
|
+
describe 'tasks_read test' do
|
|
705
|
+
it "should work" do
|
|
706
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
707
|
+
end
|
|
708
|
+
end
|
|
709
|
+
|
|
710
|
+
# unit tests for users_delete
|
|
711
|
+
#
|
|
712
|
+
#
|
|
713
|
+
# @param user_href URI of User. e.g.: /pulp/api/v3/users/1/
|
|
714
|
+
# @param [Hash] opts the optional parameters
|
|
715
|
+
# @return [nil]
|
|
716
|
+
describe 'users_delete test' do
|
|
717
|
+
it "should work" do
|
|
718
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
719
|
+
end
|
|
720
|
+
end
|
|
721
|
+
|
|
722
|
+
# unit tests for users_list
|
|
723
|
+
#
|
|
724
|
+
#
|
|
725
|
+
# @param [Hash] opts the optional parameters
|
|
726
|
+
# @option opts [String] :username
|
|
727
|
+
# @option opts [String] :username__in Filter results where username is in a comma-separated list of values
|
|
728
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
729
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
730
|
+
# @return [InlineResponse2009]
|
|
731
|
+
describe 'users_list test' do
|
|
732
|
+
it "should work" do
|
|
733
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
734
|
+
end
|
|
735
|
+
end
|
|
736
|
+
|
|
737
|
+
# unit tests for users_read
|
|
738
|
+
#
|
|
739
|
+
#
|
|
740
|
+
# @param user_href URI of User. e.g.: /pulp/api/v3/users/1/
|
|
741
|
+
# @param [Hash] opts the optional parameters
|
|
742
|
+
# @return [User]
|
|
743
|
+
describe 'users_read test' do
|
|
744
|
+
it "should work" do
|
|
745
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
746
|
+
end
|
|
747
|
+
end
|
|
748
|
+
|
|
749
|
+
# unit tests for workers_list
|
|
750
|
+
#
|
|
751
|
+
#
|
|
752
|
+
# @param [Hash] opts the optional parameters
|
|
753
|
+
# @option opts [String] :name
|
|
754
|
+
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
|
755
|
+
# @option opts [String] :last_heartbeat__lt Filter results where last_heartbeat is less than value
|
|
756
|
+
# @option opts [String] :last_heartbeat__lte Filter results where last_heartbeat is less than or equal to value
|
|
757
|
+
# @option opts [String] :last_heartbeat__gt Filter results where last_heartbeat is greater than value
|
|
758
|
+
# @option opts [String] :last_heartbeat__gte Filter results where last_heartbeat is greater than or equal to value
|
|
759
|
+
# @option opts [String] :last_heartbeat__range Filter results where last_heartbeat is between two comma separated values
|
|
760
|
+
# @option opts [String] :online
|
|
761
|
+
# @option opts [String] :missing
|
|
762
|
+
# @option opts [String] :last_heartbeat ISO 8601 formatted dates are supported
|
|
763
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
764
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
765
|
+
# @return [InlineResponse20010]
|
|
766
|
+
describe 'workers_list test' do
|
|
767
|
+
it "should work" do
|
|
768
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
769
|
+
end
|
|
770
|
+
end
|
|
771
|
+
|
|
772
|
+
# unit tests for workers_read
|
|
773
|
+
#
|
|
774
|
+
#
|
|
775
|
+
# @param worker_href URI of Worker. e.g.: /pulp/api/v3/workers/1/
|
|
776
|
+
# @param [Hash] opts the optional parameters
|
|
777
|
+
# @return [Worker]
|
|
778
|
+
describe 'workers_read test' do
|
|
779
|
+
it "should work" do
|
|
780
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
781
|
+
end
|
|
782
|
+
end
|
|
783
|
+
|
|
784
|
+
end
|