pulpcore_client 3.15.9 → 3.16.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 +5 -4
- data/docs/ImportersPulpImportsApi.md +2 -2
- data/docs/RBACContentGuardResponse.md +2 -2
- data/docs/TaskGroupOperationResponse.md +17 -0
- data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +3 -3
- data/lib/pulpcore_client/api_client.rb +4 -1
- data/lib/pulpcore_client/configuration.rb +0 -1
- data/lib/pulpcore_client/models/rbac_content_guard_response.rb +8 -4
- data/lib/pulpcore_client/models/task_group_operation_response.rb +213 -0
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +1 -0
- data/pulpcore_client.gemspec +1 -1
- data/spec/api/importers_pulp_imports_api_spec.rb +1 -1
- data/spec/models/task_group_operation_response_spec.rb +41 -0
- metadata +103 -105
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 20873a097e82ac8784c66118d953d4573fe02d4dfa4cfffc0d65b3c4cd97948f
|
4
|
+
data.tar.gz: fc8547942bb1497a1c849278679fc7654b4e5516a576d8580bad35fcb5ae4279
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 17dcc3ace4da3e78d7b2441dc8f513e2c2a03be02867755b085e2bbb662476b6e82c65fb6ad014240f86cb2807275a0179094ba326c4f76c8523c50e2bb6b2f4
|
7
|
+
data.tar.gz: 5ed90af362e0b7b005f76552ca3dba187e47f9a2a0c0dc5bf711e53a3aab710a1ad0f7de505f90c14e2479221cd63968c7eba3e144d58b26e98517c3f9402dcb
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: v3
|
10
|
-
- Package version: 3.
|
10
|
+
- Package version: 3.16.0
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build pulpcore_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulpcore_client-3.
|
27
|
+
gem install ./pulpcore_client-3.16.0.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulpcore_client-3.
|
30
|
+
(for development, run `gem install --dev ./pulpcore_client-3.16.0.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'pulpcore_client', '~> 3.
|
36
|
+
gem 'pulpcore_client', '~> 3.16.0'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -269,6 +269,7 @@ Class | Method | HTTP request | Description
|
|
269
269
|
- [PulpcoreClient::SigningServiceResponse](docs/SigningServiceResponse.md)
|
270
270
|
- [PulpcoreClient::StatusResponse](docs/StatusResponse.md)
|
271
271
|
- [PulpcoreClient::StorageResponse](docs/StorageResponse.md)
|
272
|
+
- [PulpcoreClient::TaskGroupOperationResponse](docs/TaskGroupOperationResponse.md)
|
272
273
|
- [PulpcoreClient::TaskGroupResponse](docs/TaskGroupResponse.md)
|
273
274
|
- [PulpcoreClient::TaskResponse](docs/TaskResponse.md)
|
274
275
|
- [PulpcoreClient::Upload](docs/Upload.md)
|
@@ -13,7 +13,7 @@ Method | HTTP request | Description
|
|
13
13
|
|
14
14
|
## create
|
15
15
|
|
16
|
-
>
|
16
|
+
> TaskGroupOperationResponse create(pulp_importer_href, pulp_import)
|
17
17
|
|
18
18
|
Create a pulp import
|
19
19
|
|
@@ -54,7 +54,7 @@ Name | Type | Description | Notes
|
|
54
54
|
|
55
55
|
### Return type
|
56
56
|
|
57
|
-
[**
|
57
|
+
[**TaskGroupOperationResponse**](TaskGroupOperationResponse.md)
|
58
58
|
|
59
59
|
### Authorization
|
60
60
|
|
@@ -8,8 +8,8 @@ Name | Type | Description | Notes
|
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
9
|
**name** | **String** | The unique name. |
|
10
10
|
**description** | **String** | An optional description. | [optional]
|
11
|
-
**users** | **
|
12
|
-
**groups** | **
|
11
|
+
**users** | [**Array<GroupUserResponse>**](GroupUserResponse.md) | | [optional] [readonly]
|
12
|
+
**groups** | [**Array<GroupResponse>**](GroupResponse.md) | | [optional] [readonly]
|
13
13
|
|
14
14
|
## Code Sample
|
15
15
|
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# PulpcoreClient::TaskGroupOperationResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**task_group** | **String** | The href of the task group. |
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'PulpcoreClient'
|
13
|
+
|
14
|
+
instance = PulpcoreClient::TaskGroupOperationResponse.new(task_group: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -24,7 +24,7 @@ module PulpcoreClient
|
|
24
24
|
# @param pulp_importer_href [String]
|
25
25
|
# @param pulp_import [PulpImport]
|
26
26
|
# @param [Hash] opts the optional parameters
|
27
|
-
# @return [
|
27
|
+
# @return [TaskGroupOperationResponse]
|
28
28
|
def create(pulp_importer_href, pulp_import, opts = {})
|
29
29
|
data, _status_code, _headers = create_with_http_info(pulp_importer_href, pulp_import, opts)
|
30
30
|
data
|
@@ -35,7 +35,7 @@ module PulpcoreClient
|
|
35
35
|
# @param pulp_importer_href [String]
|
36
36
|
# @param pulp_import [PulpImport]
|
37
37
|
# @param [Hash] opts the optional parameters
|
38
|
-
# @return [Array<(
|
38
|
+
# @return [Array<(TaskGroupOperationResponse, Integer, Hash)>] TaskGroupOperationResponse data, response status code and response headers
|
39
39
|
def create_with_http_info(pulp_importer_href, pulp_import, opts = {})
|
40
40
|
if @api_client.config.debugging
|
41
41
|
@api_client.config.logger.debug 'Calling API: ImportersPulpImportsApi.create ...'
|
@@ -68,7 +68,7 @@ module PulpcoreClient
|
|
68
68
|
post_body = opts[:body] || @api_client.object_to_http_body(pulp_import)
|
69
69
|
|
70
70
|
# return_type
|
71
|
-
return_type = opts[:return_type] || '
|
71
|
+
return_type = opts[:return_type] || 'TaskGroupOperationResponse'
|
72
72
|
|
73
73
|
# auth_names
|
74
74
|
auth_names = opts[:auth_names] || ['basicAuth']
|
@@ -118,6 +118,9 @@ module PulpcoreClient
|
|
118
118
|
update_params_for_auth! header_params, query_params, opts[:auth_names]
|
119
119
|
|
120
120
|
req_opts = {
|
121
|
+
:method => http_method,
|
122
|
+
:headers => header_params,
|
123
|
+
:params => query_params,
|
121
124
|
:params_encoding => @config.params_encoding,
|
122
125
|
:timeout => @config.timeout,
|
123
126
|
:verbose => @config.debugging
|
@@ -125,13 +128,13 @@ module PulpcoreClient
|
|
125
128
|
|
126
129
|
if [:post, :patch, :put, :delete].include?(http_method)
|
127
130
|
req_body = build_request_body(header_params, form_params, opts[:body])
|
131
|
+
req_opts.update :body => req_body
|
128
132
|
if @config.debugging
|
129
133
|
@config.logger.debug "HTTP request body param ~BEGIN~\n#{req_body}\n~END~\n"
|
130
134
|
end
|
131
135
|
end
|
132
136
|
request.headers = header_params
|
133
137
|
request.body = req_body
|
134
|
-
request.options = OpenStruct.new(req_opts)
|
135
138
|
request.url url
|
136
139
|
request.params = query_params
|
137
140
|
download_file(request) if opts[:return_type] == 'File'
|
@@ -49,8 +49,8 @@ module PulpcoreClient
|
|
49
49
|
:'pulp_created' => :'DateTime',
|
50
50
|
:'name' => :'String',
|
51
51
|
:'description' => :'String',
|
52
|
-
:'users' => :'
|
53
|
-
:'groups' => :'
|
52
|
+
:'users' => :'Array<GroupUserResponse>',
|
53
|
+
:'groups' => :'Array<GroupResponse>'
|
54
54
|
}
|
55
55
|
end
|
56
56
|
|
@@ -93,11 +93,15 @@ module PulpcoreClient
|
|
93
93
|
end
|
94
94
|
|
95
95
|
if attributes.key?(:'users')
|
96
|
-
|
96
|
+
if (value = attributes[:'users']).is_a?(Array)
|
97
|
+
self.users = value
|
98
|
+
end
|
97
99
|
end
|
98
100
|
|
99
101
|
if attributes.key?(:'groups')
|
100
|
-
|
102
|
+
if (value = attributes[:'groups']).is_a?(Array)
|
103
|
+
self.groups = value
|
104
|
+
end
|
101
105
|
end
|
102
106
|
end
|
103
107
|
|
@@ -0,0 +1,213 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
|
15
|
+
module PulpcoreClient
|
16
|
+
# Serializer for asynchronous operations that return a task group.
|
17
|
+
class TaskGroupOperationResponse
|
18
|
+
# The href of the task group.
|
19
|
+
attr_accessor :task_group
|
20
|
+
|
21
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
22
|
+
def self.attribute_map
|
23
|
+
{
|
24
|
+
:'task_group' => :'task_group'
|
25
|
+
}
|
26
|
+
end
|
27
|
+
|
28
|
+
# Attribute type mapping.
|
29
|
+
def self.openapi_types
|
30
|
+
{
|
31
|
+
:'task_group' => :'String'
|
32
|
+
}
|
33
|
+
end
|
34
|
+
|
35
|
+
# List of attributes with nullable: true
|
36
|
+
def self.openapi_nullable
|
37
|
+
Set.new([
|
38
|
+
])
|
39
|
+
end
|
40
|
+
|
41
|
+
# Initializes the object
|
42
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
43
|
+
def initialize(attributes = {})
|
44
|
+
if (!attributes.is_a?(Hash))
|
45
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpcoreClient::TaskGroupOperationResponse` initialize method"
|
46
|
+
end
|
47
|
+
|
48
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
49
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
50
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
51
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpcoreClient::TaskGroupOperationResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
52
|
+
end
|
53
|
+
h[k.to_sym] = v
|
54
|
+
}
|
55
|
+
|
56
|
+
if attributes.key?(:'task_group')
|
57
|
+
self.task_group = attributes[:'task_group']
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
61
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
62
|
+
# @return Array for valid properties with the reasons
|
63
|
+
def list_invalid_properties
|
64
|
+
invalid_properties = Array.new
|
65
|
+
if @task_group.nil?
|
66
|
+
invalid_properties.push('invalid value for "task_group", task_group cannot be nil.')
|
67
|
+
end
|
68
|
+
|
69
|
+
invalid_properties
|
70
|
+
end
|
71
|
+
|
72
|
+
# Check to see if the all the properties in the model are valid
|
73
|
+
# @return true if the model is valid
|
74
|
+
def valid?
|
75
|
+
return false if @task_group.nil?
|
76
|
+
true
|
77
|
+
end
|
78
|
+
|
79
|
+
# Checks equality by comparing each attribute.
|
80
|
+
# @param [Object] Object to be compared
|
81
|
+
def ==(o)
|
82
|
+
return true if self.equal?(o)
|
83
|
+
self.class == o.class &&
|
84
|
+
task_group == o.task_group
|
85
|
+
end
|
86
|
+
|
87
|
+
# @see the `==` method
|
88
|
+
# @param [Object] Object to be compared
|
89
|
+
def eql?(o)
|
90
|
+
self == o
|
91
|
+
end
|
92
|
+
|
93
|
+
# Calculates hash code according to all attributes.
|
94
|
+
# @return [Integer] Hash code
|
95
|
+
def hash
|
96
|
+
[task_group].hash
|
97
|
+
end
|
98
|
+
|
99
|
+
# Builds the object from hash
|
100
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
101
|
+
# @return [Object] Returns the model itself
|
102
|
+
def self.build_from_hash(attributes)
|
103
|
+
new.build_from_hash(attributes)
|
104
|
+
end
|
105
|
+
|
106
|
+
# Builds the object from hash
|
107
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
108
|
+
# @return [Object] Returns the model itself
|
109
|
+
def build_from_hash(attributes)
|
110
|
+
return nil unless attributes.is_a?(Hash)
|
111
|
+
self.class.openapi_types.each_pair do |key, type|
|
112
|
+
if type =~ /\AArray<(.*)>/i
|
113
|
+
# check to ensure the input is an array given that the attribute
|
114
|
+
# is documented as an array but the input is not
|
115
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
116
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
117
|
+
end
|
118
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
119
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
120
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
121
|
+
end
|
122
|
+
|
123
|
+
self
|
124
|
+
end
|
125
|
+
|
126
|
+
# Deserializes the data based on type
|
127
|
+
# @param string type Data type
|
128
|
+
# @param string value Value to be deserialized
|
129
|
+
# @return [Object] Deserialized data
|
130
|
+
def _deserialize(type, value)
|
131
|
+
case type.to_sym
|
132
|
+
when :DateTime
|
133
|
+
DateTime.parse(value)
|
134
|
+
when :Date
|
135
|
+
Date.parse(value)
|
136
|
+
when :String
|
137
|
+
value.to_s
|
138
|
+
when :Integer
|
139
|
+
value.to_i
|
140
|
+
when :Float
|
141
|
+
value.to_f
|
142
|
+
when :Boolean
|
143
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
144
|
+
true
|
145
|
+
else
|
146
|
+
false
|
147
|
+
end
|
148
|
+
when :Object
|
149
|
+
# generic object (usually a Hash), return directly
|
150
|
+
value
|
151
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
152
|
+
inner_type = Regexp.last_match[:inner_type]
|
153
|
+
value.map { |v| _deserialize(inner_type, v) }
|
154
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
155
|
+
k_type = Regexp.last_match[:k_type]
|
156
|
+
v_type = Regexp.last_match[:v_type]
|
157
|
+
{}.tap do |hash|
|
158
|
+
value.each do |k, v|
|
159
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
160
|
+
end
|
161
|
+
end
|
162
|
+
else # model
|
163
|
+
PulpcoreClient.const_get(type).build_from_hash(value)
|
164
|
+
end
|
165
|
+
end
|
166
|
+
|
167
|
+
# Returns the string representation of the object
|
168
|
+
# @return [String] String presentation of the object
|
169
|
+
def to_s
|
170
|
+
to_hash.to_s
|
171
|
+
end
|
172
|
+
|
173
|
+
# to_body is an alias to to_hash (backward compatibility)
|
174
|
+
# @return [Hash] Returns the object in the form of hash
|
175
|
+
def to_body
|
176
|
+
to_hash
|
177
|
+
end
|
178
|
+
|
179
|
+
# Returns the object in the form of hash
|
180
|
+
# @return [Hash] Returns the object in the form of hash
|
181
|
+
def to_hash
|
182
|
+
hash = {}
|
183
|
+
self.class.attribute_map.each_pair do |attr, param|
|
184
|
+
value = self.send(attr)
|
185
|
+
if value.nil?
|
186
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
187
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
188
|
+
end
|
189
|
+
|
190
|
+
hash[param] = _to_hash(value)
|
191
|
+
end
|
192
|
+
hash
|
193
|
+
end
|
194
|
+
|
195
|
+
# Outputs non-array value in the form of hash
|
196
|
+
# For object, use to_hash. Otherwise, just return the value
|
197
|
+
# @param [Object] value Any valid value
|
198
|
+
# @return [Hash] Returns the value in the form of hash
|
199
|
+
def _to_hash(value)
|
200
|
+
if value.is_a?(Array)
|
201
|
+
value.compact.map { |v| _to_hash(v) }
|
202
|
+
elsif value.is_a?(Hash)
|
203
|
+
{}.tap do |hash|
|
204
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
205
|
+
end
|
206
|
+
elsif value.respond_to? :to_hash
|
207
|
+
value.to_hash
|
208
|
+
else
|
209
|
+
value
|
210
|
+
end
|
211
|
+
end
|
212
|
+
end
|
213
|
+
end
|
data/lib/pulpcore_client.rb
CHANGED
@@ -94,6 +94,7 @@ require 'pulpcore_client/models/repository_version_response'
|
|
94
94
|
require 'pulpcore_client/models/signing_service_response'
|
95
95
|
require 'pulpcore_client/models/status_response'
|
96
96
|
require 'pulpcore_client/models/storage_response'
|
97
|
+
require 'pulpcore_client/models/task_group_operation_response'
|
97
98
|
require 'pulpcore_client/models/task_group_response'
|
98
99
|
require 'pulpcore_client/models/task_response'
|
99
100
|
require 'pulpcore_client/models/upload'
|
data/pulpcore_client.gemspec
CHANGED
@@ -27,7 +27,7 @@ Gem::Specification.new do |s|
|
|
27
27
|
s.license = 'GPL-2.0+'
|
28
28
|
s.required_ruby_version = ">= 1.9"
|
29
29
|
|
30
|
-
s.add_runtime_dependency 'faraday', '
|
30
|
+
s.add_runtime_dependency 'faraday', '>= 0.14.0'
|
31
31
|
s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
|
32
32
|
|
33
33
|
s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
|
@@ -38,7 +38,7 @@ describe 'ImportersPulpImportsApi' do
|
|
38
38
|
# @param pulp_importer_href
|
39
39
|
# @param pulp_import
|
40
40
|
# @param [Hash] opts the optional parameters
|
41
|
-
# @return [
|
41
|
+
# @return [TaskGroupOperationResponse]
|
42
42
|
describe 'create test' do
|
43
43
|
it 'should work' do
|
44
44
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -0,0 +1,41 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PulpcoreClient::TaskGroupOperationResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'TaskGroupOperationResponse' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpcoreClient::TaskGroupOperationResponse.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of TaskGroupOperationResponse' do
|
31
|
+
it 'should create an instance of TaskGroupOperationResponse' do
|
32
|
+
expect(@instance).to be_instance_of(PulpcoreClient::TaskGroupOperationResponse)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "task_group"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
end
|
metadata
CHANGED
@@ -1,35 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulpcore_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.16.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-10-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '0.17'
|
20
|
-
- - "<"
|
17
|
+
- - ">="
|
21
18
|
- !ruby/object:Gem::Version
|
22
|
-
version:
|
19
|
+
version: 0.14.0
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
|
-
- - "
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: '0.17'
|
30
|
-
- - "<"
|
24
|
+
- - ">="
|
31
25
|
- !ruby/object:Gem::Version
|
32
|
-
version:
|
26
|
+
version: 0.14.0
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
28
|
name: json
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -182,6 +176,7 @@ files:
|
|
182
176
|
- docs/StatusApi.md
|
183
177
|
- docs/StatusResponse.md
|
184
178
|
- docs/StorageResponse.md
|
179
|
+
- docs/TaskGroupOperationResponse.md
|
185
180
|
- docs/TaskGroupResponse.md
|
186
181
|
- docs/TaskGroupsApi.md
|
187
182
|
- docs/TaskResponse.md
|
@@ -311,6 +306,7 @@ files:
|
|
311
306
|
- lib/pulpcore_client/models/signing_service_response.rb
|
312
307
|
- lib/pulpcore_client/models/status_response.rb
|
313
308
|
- lib/pulpcore_client/models/storage_response.rb
|
309
|
+
- lib/pulpcore_client/models/task_group_operation_response.rb
|
314
310
|
- lib/pulpcore_client/models/task_group_response.rb
|
315
311
|
- lib/pulpcore_client/models/task_response.rb
|
316
312
|
- lib/pulpcore_client/models/upload.rb
|
@@ -434,6 +430,7 @@ files:
|
|
434
430
|
- spec/models/signing_service_response_spec.rb
|
435
431
|
- spec/models/status_response_spec.rb
|
436
432
|
- spec/models/storage_response_spec.rb
|
433
|
+
- spec/models/task_group_operation_response_spec.rb
|
437
434
|
- spec/models/task_group_response_spec.rb
|
438
435
|
- spec/models/task_response_spec.rb
|
439
436
|
- spec/models/upload_chunk_response_spec.rb
|
@@ -471,125 +468,126 @@ signing_key:
|
|
471
468
|
specification_version: 4
|
472
469
|
summary: Pulp 3 API Ruby Gem
|
473
470
|
test_files:
|
474
|
-
- spec/api/
|
471
|
+
- spec/api/importers_pulp_import_check_api_spec.rb
|
472
|
+
- spec/api/content_api_spec.rb
|
473
|
+
- spec/api/access_policies_api_spec.rb
|
475
474
|
- spec/api/repositories_api_spec.rb
|
476
|
-
- spec/api/
|
477
|
-
- spec/api/status_api_spec.rb
|
478
|
-
- spec/api/importers_pulp_imports_api_spec.rb
|
479
|
-
- spec/api/orphans_cleanup_api_spec.rb
|
475
|
+
- spec/api/groups_model_permissions_api_spec.rb
|
480
476
|
- spec/api/exporters_pulp_exports_api_spec.rb
|
481
|
-
- spec/api/
|
482
|
-
- spec/api/
|
483
|
-
- spec/api/
|
484
|
-
- spec/api/
|
485
|
-
- spec/api/exporters_pulp_api_spec.rb
|
477
|
+
- spec/api/repository_versions_api_spec.rb
|
478
|
+
- spec/api/orphans_cleanup_api_spec.rb
|
479
|
+
- spec/api/repair_api_spec.rb
|
480
|
+
- spec/api/groups_api_spec.rb
|
486
481
|
- spec/api/orphans_api_spec.rb
|
487
|
-
- spec/api/
|
488
|
-
- spec/api/repositories_reclaim_space_api_spec.rb
|
482
|
+
- spec/api/exporters_pulp_api_spec.rb
|
489
483
|
- spec/api/importers_pulp_api_spec.rb
|
484
|
+
- spec/api/tasks_api_spec.rb
|
485
|
+
- spec/api/importers_pulp_imports_api_spec.rb
|
490
486
|
- spec/api/signing_services_api_spec.rb
|
491
|
-
- spec/api/access_policies_api_spec.rb
|
492
|
-
- spec/api/groups_api_spec.rb
|
493
|
-
- spec/api/content_api_spec.rb
|
494
|
-
- spec/api/importers_pulp_import_check_api_spec.rb
|
495
|
-
- spec/api/exporters_filesystem_exports_api_spec.rb
|
496
487
|
- spec/api/groups_users_api_spec.rb
|
497
|
-
- spec/api/
|
488
|
+
- spec/api/artifacts_api_spec.rb
|
498
489
|
- spec/api/groups_object_permissions_api_spec.rb
|
499
|
-
- spec/api/
|
500
|
-
- spec/api/
|
501
|
-
- spec/api/
|
490
|
+
- spec/api/contentguards_api_spec.rb
|
491
|
+
- spec/api/uploads_api_spec.rb
|
492
|
+
- spec/api/repositories_reclaim_space_api_spec.rb
|
493
|
+
- spec/api/exporters_filesystem_exports_api_spec.rb
|
494
|
+
- spec/api/status_api_spec.rb
|
495
|
+
- spec/api/contentguards_rbac_api_spec.rb
|
502
496
|
- spec/api/task_groups_api_spec.rb
|
503
497
|
- spec/api/workers_api_spec.rb
|
498
|
+
- spec/api/publications_api_spec.rb
|
499
|
+
- spec/api/users_api_spec.rb
|
500
|
+
- spec/api/exporters_filesystem_api_spec.rb
|
504
501
|
- spec/api_client_spec.rb
|
505
502
|
- spec/configuration_spec.rb
|
503
|
+
- spec/models/progress_report_response_spec.rb
|
504
|
+
- spec/models/group_progress_report_response_spec.rb
|
505
|
+
- spec/models/rbac_content_guard_spec.rb
|
506
|
+
- spec/models/paginated_import_response_list_spec.rb
|
507
|
+
- spec/models/worker_response_spec.rb
|
506
508
|
- spec/models/patched_filesystem_exporter_spec.rb
|
507
|
-
- spec/models/
|
508
|
-
- spec/models/paginated_repository_version_response_list_spec.rb
|
509
|
-
- spec/models/pulp_exporter_spec.rb
|
510
|
-
- spec/models/status_response_spec.rb
|
511
|
-
- spec/models/user_group_response_spec.rb
|
512
|
-
- spec/models/signing_service_response_spec.rb
|
509
|
+
- spec/models/paginated_access_policy_response_list_spec.rb
|
513
510
|
- spec/models/paginated_permission_response_list_spec.rb
|
514
|
-
- spec/models/
|
515
|
-
- spec/models/patched_task_cancel_spec.rb
|
516
|
-
- spec/models/paginated_pulp_exporter_response_list_spec.rb
|
517
|
-
- spec/models/access_policy_response_spec.rb
|
518
|
-
- spec/models/permission_response_spec.rb
|
519
|
-
- spec/models/paginated_worker_response_list_spec.rb
|
520
|
-
- spec/models/group_user_response_spec.rb
|
511
|
+
- spec/models/redis_connection_response_spec.rb
|
521
512
|
- spec/models/paginated_rbac_content_guard_response_list_spec.rb
|
522
|
-
- spec/models/
|
523
|
-
- spec/models/
|
524
|
-
- spec/models/paginated_filesystem_exporter_response_list_spec.rb
|
525
|
-
- spec/models/paginated_filesystem_export_response_list_spec.rb
|
526
|
-
- spec/models/filesystem_export_response_spec.rb
|
527
|
-
- spec/models/paginated_artifact_response_list_spec.rb
|
528
|
-
- spec/models/paginated_pulp_export_response_list_spec.rb
|
529
|
-
- spec/models/patched_pulp_exporter_spec.rb
|
530
|
-
- spec/models/progress_report_response_spec.rb
|
531
|
-
- spec/models/patched_access_policy_spec.rb
|
532
|
-
- spec/models/paginated_publication_response_list_spec.rb
|
533
|
-
- spec/models/worker_response_spec.rb
|
534
|
-
- spec/models/filesystem_export_spec.rb
|
513
|
+
- spec/models/signing_service_response_spec.rb
|
514
|
+
- spec/models/upload_chunk_spec.rb
|
535
515
|
- spec/models/rbac_content_guard_response_spec.rb
|
536
|
-
- spec/models/
|
537
|
-
- spec/models/paginated_group_response_list_spec.rb
|
538
|
-
- spec/models/pulp_importer_response_spec.rb
|
539
|
-
- spec/models/pulp_export_response_spec.rb
|
540
|
-
- spec/models/content_summary_response_spec.rb
|
541
|
-
- spec/models/group_response_spec.rb
|
542
|
-
- spec/models/task_group_response_spec.rb
|
516
|
+
- spec/models/group_user_response_spec.rb
|
543
517
|
- spec/models/group_user_spec.rb
|
544
|
-
- spec/models/
|
545
|
-
- spec/models/
|
546
|
-
- spec/models/
|
547
|
-
- spec/models/
|
548
|
-
- spec/models/
|
518
|
+
- spec/models/patched_group_spec.rb
|
519
|
+
- spec/models/async_operation_response_spec.rb
|
520
|
+
- spec/models/filesystem_export_spec.rb
|
521
|
+
- spec/models/repository_version_response_spec.rb
|
522
|
+
- spec/models/repository_response_spec.rb
|
523
|
+
- spec/models/paginated_repository_version_response_list_spec.rb
|
524
|
+
- spec/models/import_response_spec.rb
|
525
|
+
- spec/models/patched_pulp_importer_spec.rb
|
526
|
+
- spec/models/paginated_worker_response_list_spec.rb
|
549
527
|
- spec/models/paginated_content_guard_response_list_spec.rb
|
550
|
-
- spec/models/
|
528
|
+
- spec/models/user_response_spec.rb
|
551
529
|
- spec/models/content_app_status_response_spec.rb
|
552
|
-
- spec/models/
|
530
|
+
- spec/models/repair_spec.rb
|
531
|
+
- spec/models/content_summary_response_spec.rb
|
532
|
+
- spec/models/multiple_artifact_content_response_spec.rb
|
533
|
+
- spec/models/pulp_exporter_response_spec.rb
|
553
534
|
- spec/models/minimal_task_response_spec.rb
|
554
|
-
- spec/models/rbac_content_guard_spec.rb
|
555
|
-
- spec/models/artifact_spec.rb
|
556
535
|
- spec/models/pulp_import_spec.rb
|
557
|
-
- spec/models/
|
558
|
-
- spec/models/filesystem_exporter_response_spec.rb
|
559
|
-
- spec/models/multiple_artifact_content_response_spec.rb
|
560
|
-
- spec/models/pulp_importer_spec.rb
|
561
|
-
- spec/models/paginated_upload_response_list_spec.rb
|
562
|
-
- spec/models/pulp_import_check_response_spec.rb
|
563
|
-
- spec/models/group_spec.rb
|
564
|
-
- spec/models/paginated_task_group_response_list_spec.rb
|
565
|
-
- spec/models/paginated_access_policy_response_list_spec.rb
|
566
|
-
- spec/models/async_operation_response_spec.rb
|
567
|
-
- spec/models/import_response_spec.rb
|
568
|
-
- spec/models/patched_group_spec.rb
|
569
|
-
- spec/models/filesystem_exporter_spec.rb
|
536
|
+
- spec/models/upload_response_spec.rb
|
570
537
|
- spec/models/database_connection_response_spec.rb
|
571
|
-
- spec/models/
|
538
|
+
- spec/models/content_guard_response_spec.rb
|
539
|
+
- spec/models/group_spec.rb
|
540
|
+
- spec/models/artifact_spec.rb
|
541
|
+
- spec/models/paginated_group_response_list_spec.rb
|
542
|
+
- spec/models/patched_task_cancel_spec.rb
|
543
|
+
- spec/models/paginated_user_response_list_spec.rb
|
544
|
+
- spec/models/pulp_importer_spec.rb
|
545
|
+
- spec/models/status_response_spec.rb
|
546
|
+
- spec/models/evaluation_response_spec.rb
|
572
547
|
- spec/models/orphans_cleanup_spec.rb
|
573
|
-
- spec/models/
|
574
|
-
- spec/models/
|
575
|
-
- spec/models/
|
548
|
+
- spec/models/access_policy_response_spec.rb
|
549
|
+
- spec/models/task_group_response_spec.rb
|
550
|
+
- spec/models/paginated_publication_response_list_spec.rb
|
576
551
|
- spec/models/rbac_content_guard_permission_spec.rb
|
577
|
-
- spec/models/
|
552
|
+
- spec/models/filesystem_exporter_spec.rb
|
553
|
+
- spec/models/patched_pulp_exporter_spec.rb
|
554
|
+
- spec/models/reclaim_space_spec.rb
|
555
|
+
- spec/models/paginated_task_response_list_spec.rb
|
556
|
+
- spec/models/patched_rbac_content_guard_spec.rb
|
557
|
+
- spec/models/version_response_spec.rb
|
558
|
+
- spec/models/patched_access_policy_spec.rb
|
559
|
+
- spec/models/user_group_response_spec.rb
|
560
|
+
- spec/models/paginated_task_group_response_list_spec.rb
|
578
561
|
- spec/models/artifact_response_spec.rb
|
579
|
-
- spec/models/
|
580
|
-
- spec/models/repository_response_spec.rb
|
581
|
-
- spec/models/upload_chunk_spec.rb
|
582
|
-
- spec/models/access_policy_spec.rb
|
562
|
+
- spec/models/publication_response_spec.rb
|
583
563
|
- spec/models/storage_response_spec.rb
|
584
|
-
- spec/models/
|
585
|
-
- spec/models/
|
586
|
-
- spec/models/
|
587
|
-
- spec/models/
|
588
|
-
- spec/models/
|
589
|
-
- spec/models/
|
564
|
+
- spec/models/pulp_export_response_spec.rb
|
565
|
+
- spec/models/paginated_pulp_export_response_list_spec.rb
|
566
|
+
- spec/models/paginated_filesystem_export_response_list_spec.rb
|
567
|
+
- spec/models/upload_spec.rb
|
568
|
+
- spec/models/permission_response_spec.rb
|
569
|
+
- spec/models/filesystem_export_response_spec.rb
|
570
|
+
- spec/models/pulp_import_check_response_spec.rb
|
571
|
+
- spec/models/pulp_import_check_spec.rb
|
590
572
|
- spec/models/paginated_group_user_response_list_spec.rb
|
591
|
-
- spec/models/publication_response_spec.rb
|
592
573
|
- spec/models/upload_detail_response_spec.rb
|
593
|
-
- spec/models/
|
574
|
+
- spec/models/pulp_export_spec.rb
|
575
|
+
- spec/models/upload_chunk_response_spec.rb
|
576
|
+
- spec/models/pulp_exporter_spec.rb
|
577
|
+
- spec/models/paginated_artifact_response_list_spec.rb
|
578
|
+
- spec/models/task_response_spec.rb
|
579
|
+
- spec/models/access_policy_spec.rb
|
580
|
+
- spec/models/paginated_pulp_importer_response_list_spec.rb
|
581
|
+
- spec/models/upload_commit_spec.rb
|
582
|
+
- spec/models/paginated_multiple_artifact_content_response_list_spec.rb
|
583
|
+
- spec/models/pulp_importer_response_spec.rb
|
584
|
+
- spec/models/group_response_spec.rb
|
585
|
+
- spec/models/filesystem_exporter_response_spec.rb
|
586
|
+
- spec/models/paginated_repository_response_list_spec.rb
|
594
587
|
- spec/models/paginated_signing_service_response_list_spec.rb
|
588
|
+
- spec/models/method_enum_spec.rb
|
589
|
+
- spec/models/paginated_upload_response_list_spec.rb
|
590
|
+
- spec/models/paginated_filesystem_exporter_response_list_spec.rb
|
591
|
+
- spec/models/task_group_operation_response_spec.rb
|
592
|
+
- spec/models/paginated_pulp_exporter_response_list_spec.rb
|
595
593
|
- spec/spec_helper.rb
|