zest 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +16 -23
- data/docs/Artifact.md +1 -0
- data/docs/Distribution.md +3 -2
- data/docs/FileContent.md +1 -0
- data/docs/FilePublisher.md +1 -1
- data/docs/InlineResponse2009.md +1 -1
- data/docs/Publication.md +1 -2
- data/docs/PulpApi.md +212 -75
- data/docs/RepositorySyncURL.md +1 -1
- data/docs/RepositoryVersion.md +1 -6
- data/docs/Task.md +0 -1
- data/docs/Upload.md +11 -0
- data/docs/Worker.md +1 -1
- data/lib/zest.rb +1 -2
- data/lib/zest/api/pulp_api.rb +269 -125
- data/lib/zest/configuration.rb +1 -1
- data/lib/zest/models/artifact.rb +13 -4
- data/lib/zest/models/distribution.rb +34 -24
- data/lib/zest/models/file_content.rb +35 -1
- data/lib/zest/models/file_publisher.rb +8 -8
- data/lib/zest/models/inline_response_200_9.rb +1 -1
- data/lib/zest/models/publication.rb +8 -23
- data/lib/zest/models/repository_sync_url.rb +1 -1
- data/lib/zest/models/repository_version.rb +5 -55
- data/lib/zest/models/task.rb +1 -11
- data/lib/zest/models/{inline_response_200_10.rb → upload.rb} +47 -34
- data/lib/zest/models/worker.rb +10 -10
- data/lib/zest/version.rb +1 -1
- data/spec/api/pulp_api_spec.rb +60 -33
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/artifact_spec.rb +6 -0
- data/spec/models/distribution_spec.rb +12 -6
- data/spec/models/file_content_spec.rb +6 -0
- data/spec/models/file_publisher_spec.rb +1 -1
- data/spec/models/publication_spec.rb +1 -7
- data/spec/models/repository_version_spec.rb +0 -30
- data/spec/models/task_spec.rb +0 -6
- data/spec/models/{user_spec.rb → upload_spec.rb} +9 -9
- data/spec/models/worker_spec.rb +2 -2
- data/zest.gemspec +1 -1
- metadata +62 -66
- data/docs/InlineResponse20010.md +0 -11
- data/docs/User.md +0 -11
- data/lib/zest/models/user.rb +0 -284
- data/spec/models/inline_response_200_10_spec.rb +0 -60
@@ -25,24 +25,9 @@ module Zest
|
|
25
25
|
# A repository version whose content was used as the initial set of content for this repository version
|
26
26
|
attr_accessor :base_version
|
27
27
|
|
28
|
-
#
|
29
|
-
attr_accessor :content_hrefs
|
30
|
-
|
31
|
-
# A mapping of the types of content added in this version, and the HREF to view them.
|
32
|
-
attr_accessor :content_added_hrefs
|
33
|
-
|
34
|
-
# A mapping of the types of content removed from this version, and the HREF to view them.
|
35
|
-
attr_accessor :content_removed_hrefs
|
36
|
-
|
37
|
-
# A list of counts of each type of content in this version.
|
28
|
+
# Various count summaries of the content in the version and the HREF to view them.
|
38
29
|
attr_accessor :content_summary
|
39
30
|
|
40
|
-
# A list of counts of each type of content added in this version.
|
41
|
-
attr_accessor :content_added_summary
|
42
|
-
|
43
|
-
# A list of counts of each type of content removed in this version.
|
44
|
-
attr_accessor :content_removed_summary
|
45
|
-
|
46
31
|
|
47
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
48
33
|
def self.attribute_map
|
@@ -51,12 +36,7 @@ module Zest
|
|
51
36
|
:'_created' => :'_created',
|
52
37
|
:'number' => :'number',
|
53
38
|
:'base_version' => :'base_version',
|
54
|
-
:'
|
55
|
-
:'content_added_hrefs' => :'content_added_hrefs',
|
56
|
-
:'content_removed_hrefs' => :'content_removed_hrefs',
|
57
|
-
:'content_summary' => :'content_summary',
|
58
|
-
:'content_added_summary' => :'content_added_summary',
|
59
|
-
:'content_removed_summary' => :'content_removed_summary'
|
39
|
+
:'content_summary' => :'content_summary'
|
60
40
|
}
|
61
41
|
end
|
62
42
|
|
@@ -67,12 +47,7 @@ module Zest
|
|
67
47
|
:'_created' => :'DateTime',
|
68
48
|
:'number' => :'Integer',
|
69
49
|
:'base_version' => :'String',
|
70
|
-
:'
|
71
|
-
:'content_added_hrefs' => :'String',
|
72
|
-
:'content_removed_hrefs' => :'String',
|
73
|
-
:'content_summary' => :'String',
|
74
|
-
:'content_added_summary' => :'String',
|
75
|
-
:'content_removed_summary' => :'String'
|
50
|
+
:'content_summary' => :'String'
|
76
51
|
}
|
77
52
|
end
|
78
53
|
|
@@ -100,30 +75,10 @@ module Zest
|
|
100
75
|
self.base_version = attributes[:'base_version']
|
101
76
|
end
|
102
77
|
|
103
|
-
if attributes.has_key?(:'content_hrefs')
|
104
|
-
self.content_hrefs = attributes[:'content_hrefs']
|
105
|
-
end
|
106
|
-
|
107
|
-
if attributes.has_key?(:'content_added_hrefs')
|
108
|
-
self.content_added_hrefs = attributes[:'content_added_hrefs']
|
109
|
-
end
|
110
|
-
|
111
|
-
if attributes.has_key?(:'content_removed_hrefs')
|
112
|
-
self.content_removed_hrefs = attributes[:'content_removed_hrefs']
|
113
|
-
end
|
114
|
-
|
115
78
|
if attributes.has_key?(:'content_summary')
|
116
79
|
self.content_summary = attributes[:'content_summary']
|
117
80
|
end
|
118
81
|
|
119
|
-
if attributes.has_key?(:'content_added_summary')
|
120
|
-
self.content_added_summary = attributes[:'content_added_summary']
|
121
|
-
end
|
122
|
-
|
123
|
-
if attributes.has_key?(:'content_removed_summary')
|
124
|
-
self.content_removed_summary = attributes[:'content_removed_summary']
|
125
|
-
end
|
126
|
-
|
127
82
|
end
|
128
83
|
|
129
84
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -148,12 +103,7 @@ module Zest
|
|
148
103
|
_created == o._created &&
|
149
104
|
number == o.number &&
|
150
105
|
base_version == o.base_version &&
|
151
|
-
|
152
|
-
content_added_hrefs == o.content_added_hrefs &&
|
153
|
-
content_removed_hrefs == o.content_removed_hrefs &&
|
154
|
-
content_summary == o.content_summary &&
|
155
|
-
content_added_summary == o.content_added_summary &&
|
156
|
-
content_removed_summary == o.content_removed_summary
|
106
|
+
content_summary == o.content_summary
|
157
107
|
end
|
158
108
|
|
159
109
|
# @see the `==` method
|
@@ -165,7 +115,7 @@ module Zest
|
|
165
115
|
# Calculates hash code according to all attributes.
|
166
116
|
# @return [Fixnum] Hash code
|
167
117
|
def hash
|
168
|
-
[_href, _created, number, base_version,
|
118
|
+
[_href, _created, number, base_version, content_summary].hash
|
169
119
|
end
|
170
120
|
|
171
121
|
# Builds the object from hash
|
data/lib/zest/models/task.rb
CHANGED
@@ -20,9 +20,6 @@ module Zest
|
|
20
20
|
# Timestamp of creation.
|
21
21
|
attr_accessor :_created
|
22
22
|
|
23
|
-
# ID of the job in rq.
|
24
|
-
attr_accessor :job_id
|
25
|
-
|
26
23
|
# The current state of the task. The possible values include: 'waiting', 'skipped', 'running', 'completed', 'failed' and 'canceled'.
|
27
24
|
attr_accessor :state
|
28
25
|
|
@@ -61,7 +58,6 @@ module Zest
|
|
61
58
|
{
|
62
59
|
:'_href' => :'_href',
|
63
60
|
:'_created' => :'_created',
|
64
|
-
:'job_id' => :'job_id',
|
65
61
|
:'state' => :'state',
|
66
62
|
:'name' => :'name',
|
67
63
|
:'started_at' => :'started_at',
|
@@ -81,7 +77,6 @@ module Zest
|
|
81
77
|
{
|
82
78
|
:'_href' => :'String',
|
83
79
|
:'_created' => :'DateTime',
|
84
|
-
:'job_id' => :'String',
|
85
80
|
:'state' => :'String',
|
86
81
|
:'name' => :'String',
|
87
82
|
:'started_at' => :'DateTime',
|
@@ -112,10 +107,6 @@ module Zest
|
|
112
107
|
self._created = attributes[:'_created']
|
113
108
|
end
|
114
109
|
|
115
|
-
if attributes.has_key?(:'job_id')
|
116
|
-
self.job_id = attributes[:'job_id']
|
117
|
-
end
|
118
|
-
|
119
110
|
if attributes.has_key?(:'state')
|
120
111
|
self.state = attributes[:'state']
|
121
112
|
end
|
@@ -228,7 +219,6 @@ module Zest
|
|
228
219
|
self.class == o.class &&
|
229
220
|
_href == o._href &&
|
230
221
|
_created == o._created &&
|
231
|
-
job_id == o.job_id &&
|
232
222
|
state == o.state &&
|
233
223
|
name == o.name &&
|
234
224
|
started_at == o.started_at &&
|
@@ -251,7 +241,7 @@ module Zest
|
|
251
241
|
# Calculates hash code according to all attributes.
|
252
242
|
# @return [Fixnum] Hash code
|
253
243
|
def hash
|
254
|
-
[_href, _created,
|
244
|
+
[_href, _created, state, name, started_at, finished_at, non_fatal_errors, error, worker, parent, spawned_tasks, progress_reports, created_resources].hash
|
255
245
|
end
|
256
246
|
|
257
247
|
# Builds the object from hash
|
@@ -14,33 +14,33 @@ require 'date'
|
|
14
14
|
|
15
15
|
module Zest
|
16
16
|
|
17
|
-
class
|
18
|
-
attr_accessor :
|
17
|
+
class Upload
|
18
|
+
attr_accessor :_href
|
19
19
|
|
20
|
-
attr_accessor :
|
20
|
+
attr_accessor :file
|
21
21
|
|
22
|
-
attr_accessor :
|
22
|
+
attr_accessor :offset
|
23
23
|
|
24
|
-
attr_accessor :
|
24
|
+
attr_accessor :expires_at
|
25
25
|
|
26
26
|
|
27
27
|
# Attribute mapping from ruby-style variable name to JSON key.
|
28
28
|
def self.attribute_map
|
29
29
|
{
|
30
|
-
:'
|
31
|
-
:'
|
32
|
-
:'
|
33
|
-
:'
|
30
|
+
:'_href' => :'_href',
|
31
|
+
:'file' => :'file',
|
32
|
+
:'offset' => :'offset',
|
33
|
+
:'expires_at' => :'expires_at'
|
34
34
|
}
|
35
35
|
end
|
36
36
|
|
37
37
|
# Attribute type mapping.
|
38
38
|
def self.swagger_types
|
39
39
|
{
|
40
|
-
:'
|
41
|
-
:'
|
42
|
-
:'
|
43
|
-
:'
|
40
|
+
:'_href' => :'String',
|
41
|
+
:'file' => :'String',
|
42
|
+
:'offset' => :'Integer',
|
43
|
+
:'expires_at' => :'String'
|
44
44
|
}
|
45
45
|
end
|
46
46
|
|
@@ -52,22 +52,20 @@ module Zest
|
|
52
52
|
# convert string to symbol for hash key
|
53
53
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
54
54
|
|
55
|
-
if attributes.has_key?(:'
|
56
|
-
self.
|
55
|
+
if attributes.has_key?(:'_href')
|
56
|
+
self._href = attributes[:'_href']
|
57
57
|
end
|
58
58
|
|
59
|
-
if attributes.has_key?(:'
|
60
|
-
self.
|
59
|
+
if attributes.has_key?(:'file')
|
60
|
+
self.file = attributes[:'file']
|
61
61
|
end
|
62
62
|
|
63
|
-
if attributes.has_key?(:'
|
64
|
-
self.
|
63
|
+
if attributes.has_key?(:'offset')
|
64
|
+
self.offset = attributes[:'offset']
|
65
65
|
end
|
66
66
|
|
67
|
-
if attributes.has_key?(:'
|
68
|
-
|
69
|
-
self.results = value
|
70
|
-
end
|
67
|
+
if attributes.has_key?(:'expires_at')
|
68
|
+
self.expires_at = attributes[:'expires_at']
|
71
69
|
end
|
72
70
|
|
73
71
|
end
|
@@ -76,12 +74,12 @@ module Zest
|
|
76
74
|
# @return Array for valid properties with the reasons
|
77
75
|
def list_invalid_properties
|
78
76
|
invalid_properties = Array.new
|
79
|
-
if
|
80
|
-
invalid_properties.push("invalid value for '
|
77
|
+
if !@offset.nil? && @offset > 9223372036854775807
|
78
|
+
invalid_properties.push("invalid value for 'offset', must be smaller than or equal to 9223372036854775807.")
|
81
79
|
end
|
82
80
|
|
83
|
-
if
|
84
|
-
invalid_properties.push("invalid value for '
|
81
|
+
if !@offset.nil? && @offset < -9223372036854775808
|
82
|
+
invalid_properties.push("invalid value for 'offset', must be greater than or equal to -9223372036854775808.")
|
85
83
|
end
|
86
84
|
|
87
85
|
return invalid_properties
|
@@ -90,20 +88,35 @@ module Zest
|
|
90
88
|
# Check to see if the all the properties in the model are valid
|
91
89
|
# @return true if the model is valid
|
92
90
|
def valid?
|
93
|
-
return false if
|
94
|
-
return false if
|
91
|
+
return false if !@offset.nil? && @offset > 9223372036854775807
|
92
|
+
return false if !@offset.nil? && @offset < -9223372036854775808
|
95
93
|
return true
|
96
94
|
end
|
97
95
|
|
96
|
+
# Custom attribute writer method with validation
|
97
|
+
# @param [Object] offset Value to be assigned
|
98
|
+
def offset=(offset)
|
99
|
+
|
100
|
+
if !offset.nil? && offset > 9223372036854775807
|
101
|
+
fail ArgumentError, "invalid value for 'offset', must be smaller than or equal to 9223372036854775807."
|
102
|
+
end
|
103
|
+
|
104
|
+
if !offset.nil? && offset < -9223372036854775808
|
105
|
+
fail ArgumentError, "invalid value for 'offset', must be greater than or equal to -9223372036854775808."
|
106
|
+
end
|
107
|
+
|
108
|
+
@offset = offset
|
109
|
+
end
|
110
|
+
|
98
111
|
# Checks equality by comparing each attribute.
|
99
112
|
# @param [Object] Object to be compared
|
100
113
|
def ==(o)
|
101
114
|
return true if self.equal?(o)
|
102
115
|
self.class == o.class &&
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
116
|
+
_href == o._href &&
|
117
|
+
file == o.file &&
|
118
|
+
offset == o.offset &&
|
119
|
+
expires_at == o.expires_at
|
107
120
|
end
|
108
121
|
|
109
122
|
# @see the `==` method
|
@@ -115,7 +128,7 @@ module Zest
|
|
115
128
|
# Calculates hash code according to all attributes.
|
116
129
|
# @return [Fixnum] Hash code
|
117
130
|
def hash
|
118
|
-
[
|
131
|
+
[_href, file, offset, expires_at].hash
|
119
132
|
end
|
120
133
|
|
121
134
|
# Builds the object from hash
|
data/lib/zest/models/worker.rb
CHANGED
@@ -15,11 +15,11 @@ require 'date'
|
|
15
15
|
module Zest
|
16
16
|
|
17
17
|
class Worker
|
18
|
-
attr_accessor :_href
|
19
|
-
|
20
18
|
# Timestamp of creation.
|
21
19
|
attr_accessor :_created
|
22
20
|
|
21
|
+
attr_accessor :_href
|
22
|
+
|
23
23
|
# The name of the worker.
|
24
24
|
attr_accessor :name
|
25
25
|
|
@@ -36,8 +36,8 @@ module Zest
|
|
36
36
|
# Attribute mapping from ruby-style variable name to JSON key.
|
37
37
|
def self.attribute_map
|
38
38
|
{
|
39
|
-
:'_href' => :'_href',
|
40
39
|
:'_created' => :'_created',
|
40
|
+
:'_href' => :'_href',
|
41
41
|
:'name' => :'name',
|
42
42
|
:'last_heartbeat' => :'last_heartbeat',
|
43
43
|
:'online' => :'online',
|
@@ -48,8 +48,8 @@ module Zest
|
|
48
48
|
# Attribute type mapping.
|
49
49
|
def self.swagger_types
|
50
50
|
{
|
51
|
-
:'_href' => :'String',
|
52
51
|
:'_created' => :'DateTime',
|
52
|
+
:'_href' => :'String',
|
53
53
|
:'name' => :'String',
|
54
54
|
:'last_heartbeat' => :'DateTime',
|
55
55
|
:'online' => :'BOOLEAN',
|
@@ -65,14 +65,14 @@ module Zest
|
|
65
65
|
# convert string to symbol for hash key
|
66
66
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
67
67
|
|
68
|
-
if attributes.has_key?(:'_href')
|
69
|
-
self._href = attributes[:'_href']
|
70
|
-
end
|
71
|
-
|
72
68
|
if attributes.has_key?(:'_created')
|
73
69
|
self._created = attributes[:'_created']
|
74
70
|
end
|
75
71
|
|
72
|
+
if attributes.has_key?(:'_href')
|
73
|
+
self._href = attributes[:'_href']
|
74
|
+
end
|
75
|
+
|
76
76
|
if attributes.has_key?(:'name')
|
77
77
|
self.name = attributes[:'name']
|
78
78
|
end
|
@@ -125,8 +125,8 @@ module Zest
|
|
125
125
|
def ==(o)
|
126
126
|
return true if self.equal?(o)
|
127
127
|
self.class == o.class &&
|
128
|
-
_href == o._href &&
|
129
128
|
_created == o._created &&
|
129
|
+
_href == o._href &&
|
130
130
|
name == o.name &&
|
131
131
|
last_heartbeat == o.last_heartbeat &&
|
132
132
|
online == o.online &&
|
@@ -142,7 +142,7 @@ module Zest
|
|
142
142
|
# Calculates hash code according to all attributes.
|
143
143
|
# @return [Fixnum] Hash code
|
144
144
|
def hash
|
145
|
-
[
|
145
|
+
[_created, _href, name, last_heartbeat, online, missing].hash
|
146
146
|
end
|
147
147
|
|
148
148
|
# Builds the object from hash
|
data/lib/zest/version.rb
CHANGED
data/spec/api/pulp_api_spec.rb
CHANGED
@@ -35,15 +35,8 @@ describe 'PulpApi' do
|
|
35
35
|
# unit tests for artifacts_create
|
36
36
|
#
|
37
37
|
#
|
38
|
-
# @param
|
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.
|
38
|
+
# @param data
|
39
|
+
# @param [Hash] opts the optional parameters
|
47
40
|
# @return [Artifact]
|
48
41
|
describe 'artifacts_create test' do
|
49
42
|
it "should work" do
|
@@ -138,7 +131,7 @@ describe 'PulpApi' do
|
|
138
131
|
|
139
132
|
# unit tests for distributions_create
|
140
133
|
#
|
141
|
-
#
|
134
|
+
# Trigger an asynchronous create task
|
142
135
|
# @param data
|
143
136
|
# @param [Hash] opts the optional parameters
|
144
137
|
# @return [Distribution]
|
@@ -150,7 +143,7 @@ describe 'PulpApi' do
|
|
150
143
|
|
151
144
|
# unit tests for distributions_delete
|
152
145
|
#
|
153
|
-
#
|
146
|
+
# Provides read and list methods and also provides asynchronous CUD methods to dispatch tasks with reservation that lock all Distributions preventing race conditions during base_path checking.
|
154
147
|
# @param distribution_href URI of Distribution. e.g.: /pulp/api/v3/distributions/1/
|
155
148
|
# @param [Hash] opts the optional parameters
|
156
149
|
# @return [nil]
|
@@ -162,7 +155,7 @@ describe 'PulpApi' do
|
|
162
155
|
|
163
156
|
# unit tests for distributions_list
|
164
157
|
#
|
165
|
-
#
|
158
|
+
# Provides read and list methods and also provides asynchronous CUD methods to dispatch tasks with reservation that lock all Distributions preventing race conditions during base_path checking.
|
166
159
|
# @param [Hash] opts the optional parameters
|
167
160
|
# @option opts [String] :name
|
168
161
|
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
@@ -181,7 +174,7 @@ describe 'PulpApi' do
|
|
181
174
|
|
182
175
|
# unit tests for distributions_partial_update
|
183
176
|
#
|
184
|
-
#
|
177
|
+
# Trigger an asynchronous partial update task
|
185
178
|
# @param distribution_href URI of Distribution. e.g.: /pulp/api/v3/distributions/1/
|
186
179
|
# @param data
|
187
180
|
# @param [Hash] opts the optional parameters
|
@@ -194,7 +187,7 @@ describe 'PulpApi' do
|
|
194
187
|
|
195
188
|
# unit tests for distributions_read
|
196
189
|
#
|
197
|
-
#
|
190
|
+
# Provides read and list methods and also provides asynchronous CUD methods to dispatch tasks with reservation that lock all Distributions preventing race conditions during base_path checking.
|
198
191
|
# @param distribution_href URI of Distribution. e.g.: /pulp/api/v3/distributions/1/
|
199
192
|
# @param [Hash] opts the optional parameters
|
200
193
|
# @return [Distribution]
|
@@ -206,7 +199,7 @@ describe 'PulpApi' do
|
|
206
199
|
|
207
200
|
# unit tests for distributions_update
|
208
201
|
#
|
209
|
-
#
|
202
|
+
# Trigger an asynchronous update task
|
210
203
|
# @param distribution_href URI of Distribution. e.g.: /pulp/api/v3/distributions/1/
|
211
204
|
# @param data
|
212
205
|
# @param [Hash] opts the optional parameters
|
@@ -538,7 +531,7 @@ describe 'PulpApi' do
|
|
538
531
|
# unit tests for repositories_versions_create
|
539
532
|
#
|
540
533
|
# Trigger an asynchronous task to create a new repository version.
|
541
|
-
# @param
|
534
|
+
# @param repository_href URI of Repository. e.g.: /pulp/api/v3/repositories/1/
|
542
535
|
# @param data
|
543
536
|
# @param [Hash] opts the optional parameters
|
544
537
|
# @return [AsyncOperationResponse]
|
@@ -563,7 +556,7 @@ describe 'PulpApi' do
|
|
563
556
|
# unit tests for repositories_versions_list
|
564
557
|
#
|
565
558
|
#
|
566
|
-
# @param
|
559
|
+
# @param repository_href URI of Repository. e.g.: /pulp/api/v3/repositories/1/
|
567
560
|
# @param [Hash] opts the optional parameters
|
568
561
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
569
562
|
# @option opts [Float] :number
|
@@ -707,40 +700,74 @@ describe 'PulpApi' do
|
|
707
700
|
end
|
708
701
|
end
|
709
702
|
|
710
|
-
# unit tests for
|
703
|
+
# unit tests for uploads_create
|
711
704
|
#
|
705
|
+
# Handle POST requests.
|
706
|
+
# @param data
|
707
|
+
# @param [Hash] opts the optional parameters
|
708
|
+
# @return [Upload]
|
709
|
+
describe 'uploads_create test' do
|
710
|
+
it "should work" do
|
711
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
712
|
+
end
|
713
|
+
end
|
714
|
+
|
715
|
+
# unit tests for uploads_create_0
|
712
716
|
#
|
713
|
-
#
|
717
|
+
# Handle POST requests.
|
718
|
+
# @param upload_href URI of Upload. e.g.: /pulp/api/v3/uploads/1/
|
719
|
+
# @param data
|
714
720
|
# @param [Hash] opts the optional parameters
|
715
|
-
# @return [
|
716
|
-
describe '
|
721
|
+
# @return [Upload]
|
722
|
+
describe 'uploads_create_0 test' do
|
717
723
|
it "should work" do
|
718
724
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
719
725
|
end
|
720
726
|
end
|
721
727
|
|
722
|
-
# unit tests for
|
728
|
+
# unit tests for uploads_read
|
723
729
|
#
|
730
|
+
# Handle GET requests.
|
731
|
+
# @param [Hash] opts the optional parameters
|
732
|
+
# @return [Upload]
|
733
|
+
describe 'uploads_read test' do
|
734
|
+
it "should work" do
|
735
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
736
|
+
end
|
737
|
+
end
|
738
|
+
|
739
|
+
# unit tests for uploads_read_0
|
724
740
|
#
|
741
|
+
# Handle GET requests.
|
742
|
+
# @param upload_href URI of Upload. e.g.: /pulp/api/v3/uploads/1/
|
725
743
|
# @param [Hash] opts the optional parameters
|
726
|
-
# @
|
727
|
-
|
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
|
744
|
+
# @return [Upload]
|
745
|
+
describe 'uploads_read_0 test' do
|
732
746
|
it "should work" do
|
733
747
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
734
748
|
end
|
735
749
|
end
|
736
750
|
|
737
|
-
# unit tests for
|
751
|
+
# unit tests for uploads_update
|
738
752
|
#
|
753
|
+
# Handle PUT requests.
|
754
|
+
# @param data
|
755
|
+
# @param [Hash] opts the optional parameters
|
756
|
+
# @return [Upload]
|
757
|
+
describe 'uploads_update test' do
|
758
|
+
it "should work" do
|
759
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
760
|
+
end
|
761
|
+
end
|
762
|
+
|
763
|
+
# unit tests for uploads_update_0
|
739
764
|
#
|
740
|
-
#
|
765
|
+
# Handle PUT requests.
|
766
|
+
# @param upload_href URI of Upload. e.g.: /pulp/api/v3/uploads/1/
|
767
|
+
# @param data
|
741
768
|
# @param [Hash] opts the optional parameters
|
742
|
-
# @return [
|
743
|
-
describe '
|
769
|
+
# @return [Upload]
|
770
|
+
describe 'uploads_update_0 test' do
|
744
771
|
it "should work" do
|
745
772
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
746
773
|
end
|
@@ -762,7 +789,7 @@ describe 'PulpApi' do
|
|
762
789
|
# @option opts [String] :last_heartbeat ISO 8601 formatted dates are supported
|
763
790
|
# @option opts [Integer] :page A page number within the paginated result set.
|
764
791
|
# @option opts [Integer] :page_size Number of results to return per page.
|
765
|
-
# @return [
|
792
|
+
# @return [InlineResponse2009]
|
766
793
|
describe 'workers_list test' do
|
767
794
|
it "should work" do
|
768
795
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|