pulpcore_client 3.59.0 → 3.61.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -4
- data/docs/ArtifactDistributionResponse.md +13 -13
- data/docs/DomainBackendMigrator.md +19 -0
- data/docs/DomainsApi.md +54 -0
- data/lib/pulpcore_client/api/domains_api.rb +64 -0
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +60 -60
- data/lib/pulpcore_client/models/domain_backend_migrator.rb +228 -0
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +1 -0
- data/spec/api/domains_api_spec.rb +12 -0
- data/spec/models/artifact_distribution_response_spec.rb +9 -9
- data/spec/models/domain_backend_migrator_spec.rb +47 -0
- metadata +159 -155
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea6d38c31a33a3f40cf924ab3a9baef06c495ee5bee20aef0e5e9de1bbc8b2be
|
4
|
+
data.tar.gz: 6cf98c912a58ab6ce2fefabc7c09d50ae8c97aacea5c1d873273e66c80b59bee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a10e18b1c01a1eebc064e2d42f2b49dc13a823a9b81ca9e6ca430ca8962e67e8791d9a60b49efb13494d1f40f950cd4fbd7743871bcb7eed48fb8238b6f4ce8b
|
7
|
+
data.tar.gz: 8c311bdbffa212124f40cac8391d14a234fc048fb70ef703bda78134058e95215878f7cac2001f8d3d782912ea480163179b8e997219c2ff9b39929a33cc30cf
|
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.61.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.61.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.61.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.61.0'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -159,6 +159,7 @@ Class | Method | HTTP request | Description
|
|
159
159
|
*PulpcoreClient::DomainsApi* | [**create**](docs/DomainsApi.md#create) | **POST** /pulp/api/v3/domains/ | Create a domain
|
160
160
|
*PulpcoreClient::DomainsApi* | [**delete**](docs/DomainsApi.md#delete) | **DELETE** {domain_href} | Delete a domain
|
161
161
|
*PulpcoreClient::DomainsApi* | [**list**](docs/DomainsApi.md#list) | **GET** /pulp/api/v3/domains/ | List domains
|
162
|
+
*PulpcoreClient::DomainsApi* | [**migrate**](docs/DomainsApi.md#migrate) | **POST** /pulp/api/v3/domains/migrate/ | Migrate storage backend
|
162
163
|
*PulpcoreClient::DomainsApi* | [**partial_update**](docs/DomainsApi.md#partial_update) | **PATCH** {domain_href} | Update a domain
|
163
164
|
*PulpcoreClient::DomainsApi* | [**read**](docs/DomainsApi.md#read) | **GET** {domain_href} | Inspect a domain
|
164
165
|
*PulpcoreClient::DomainsApi* | [**update**](docs/DomainsApi.md#update) | **PUT** {domain_href} | Update a domain
|
@@ -302,6 +303,7 @@ Class | Method | HTTP request | Description
|
|
302
303
|
- [PulpcoreClient::DatabaseConnectionResponse](docs/DatabaseConnectionResponse.md)
|
303
304
|
- [PulpcoreClient::DistributionResponse](docs/DistributionResponse.md)
|
304
305
|
- [PulpcoreClient::Domain](docs/Domain.md)
|
306
|
+
- [PulpcoreClient::DomainBackendMigrator](docs/DomainBackendMigrator.md)
|
305
307
|
- [PulpcoreClient::DomainResponse](docs/DomainResponse.md)
|
306
308
|
- [PulpcoreClient::EvaluationResponse](docs/EvaluationResponse.md)
|
307
309
|
- [PulpcoreClient::FilesystemExport](docs/FilesystemExport.md)
|
@@ -5,15 +5,15 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
8
|
-
**
|
9
|
-
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
10
|
-
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
11
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
12
|
-
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
8
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
13
9
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
10
|
+
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
14
11
|
**pulp_last_updated** | **DateTime** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly]
|
15
|
-
**
|
12
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
16
13
|
**no_content_change_since** | **String** | Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes. | [optional] [readonly]
|
14
|
+
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
15
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
16
|
+
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
17
17
|
|
18
18
|
## Code Sample
|
19
19
|
|
@@ -21,15 +21,15 @@ Name | Type | Description | Notes
|
|
21
21
|
require 'PulpcoreClient'
|
22
22
|
|
23
23
|
instance = PulpcoreClient::ArtifactDistributionResponse.new(pulp_labels: null,
|
24
|
-
|
25
|
-
base_path: null,
|
26
|
-
base_url: null,
|
27
|
-
pulp_created: null,
|
28
|
-
hidden: null,
|
24
|
+
name: null,
|
29
25
|
content_guard: null,
|
26
|
+
base_path: null,
|
30
27
|
pulp_last_updated: null,
|
31
|
-
|
32
|
-
no_content_change_since: null
|
28
|
+
pulp_href: null,
|
29
|
+
no_content_change_since: null,
|
30
|
+
hidden: null,
|
31
|
+
pulp_created: null,
|
32
|
+
base_url: null)
|
33
33
|
```
|
34
34
|
|
35
35
|
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# PulpcoreClient::DomainBackendMigrator
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**storage_class** | [**StorageClassEnum**](StorageClassEnum.md) | The new backend storage class to migrate to. * `pulpcore.app.models.storage.FileSystem` - Use local filesystem as storage * `storages.backends.s3boto3.S3Boto3Storage` - Use Amazon S3 as storage * `storages.backends.azure_storage.AzureStorage` - Use Azure Blob as storage |
|
8
|
+
**storage_settings** | [**Object**](.md) | The settings for the new storage class to migrate to. |
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'PulpcoreClient'
|
14
|
+
|
15
|
+
instance = PulpcoreClient::DomainBackendMigrator.new(storage_class: null,
|
16
|
+
storage_settings: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
data/docs/DomainsApi.md
CHANGED
@@ -7,6 +7,7 @@ Method | HTTP request | Description
|
|
7
7
|
[**create**](DomainsApi.md#create) | **POST** /pulp/api/v3/domains/ | Create a domain
|
8
8
|
[**delete**](DomainsApi.md#delete) | **DELETE** {domain_href} | Delete a domain
|
9
9
|
[**list**](DomainsApi.md#list) | **GET** /pulp/api/v3/domains/ | List domains
|
10
|
+
[**migrate**](DomainsApi.md#migrate) | **POST** /pulp/api/v3/domains/migrate/ | Migrate storage backend
|
10
11
|
[**partial_update**](DomainsApi.md#partial_update) | **PATCH** {domain_href} | Update a domain
|
11
12
|
[**read**](DomainsApi.md#read) | **GET** {domain_href} | Inspect a domain
|
12
13
|
[**update**](DomainsApi.md#update) | **PUT** {domain_href} | Update a domain
|
@@ -206,6 +207,59 @@ Name | Type | Description | Notes
|
|
206
207
|
- **Accept**: application/json
|
207
208
|
|
208
209
|
|
210
|
+
## migrate
|
211
|
+
|
212
|
+
> AsyncOperationResponse migrate(domain_backend_migrator)
|
213
|
+
|
214
|
+
Migrate storage backend
|
215
|
+
|
216
|
+
Migrate the domain's storage backend to a new one. Launches a background task to copy the domain's artifacts over to the supplied storage backend. Then updates the domain's storage settings to the new storage backend. This task does not delete the stored files of the artifacts from the previous backend. **IMPORTANT** This task will block all other tasks within the domain until the migration is completed, essentially putting the domain into a read only state. Content will still be served from the old storage backend until the migration has completed, so don't remove the old backend until then. Note, this endpoint is not allowed on the default domain. This feature is in Tech Preview and is subject to future change and thus not guaranteed to be backwards compatible.
|
217
|
+
|
218
|
+
### Example
|
219
|
+
|
220
|
+
```ruby
|
221
|
+
# load the gem
|
222
|
+
require 'pulpcore_client'
|
223
|
+
# setup authorization
|
224
|
+
PulpcoreClient.configure do |config|
|
225
|
+
# Configure HTTP basic authorization: basicAuth
|
226
|
+
config.username = 'YOUR USERNAME'
|
227
|
+
config.password = 'YOUR PASSWORD'
|
228
|
+
end
|
229
|
+
|
230
|
+
api_instance = PulpcoreClient::DomainsApi.new
|
231
|
+
domain_backend_migrator = PulpcoreClient::DomainBackendMigrator.new # DomainBackendMigrator |
|
232
|
+
|
233
|
+
begin
|
234
|
+
#Migrate storage backend
|
235
|
+
result = api_instance.migrate(domain_backend_migrator)
|
236
|
+
p result
|
237
|
+
rescue PulpcoreClient::ApiError => e
|
238
|
+
puts "Exception when calling DomainsApi->migrate: #{e}"
|
239
|
+
end
|
240
|
+
```
|
241
|
+
|
242
|
+
### Parameters
|
243
|
+
|
244
|
+
|
245
|
+
Name | Type | Description | Notes
|
246
|
+
------------- | ------------- | ------------- | -------------
|
247
|
+
**domain_backend_migrator** | [**DomainBackendMigrator**](DomainBackendMigrator.md)| |
|
248
|
+
|
249
|
+
### Return type
|
250
|
+
|
251
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
252
|
+
|
253
|
+
### Authorization
|
254
|
+
|
255
|
+
[basicAuth](../README.md#basicAuth)
|
256
|
+
|
257
|
+
### HTTP request headers
|
258
|
+
|
259
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
260
|
+
- **Accept**: application/json
|
261
|
+
|
262
|
+
|
209
263
|
## partial_update
|
210
264
|
|
211
265
|
> AsyncOperationResponse partial_update(domain_href, patched_domain)
|
@@ -256,6 +256,70 @@ module PulpcoreClient
|
|
256
256
|
return data, status_code, headers
|
257
257
|
end
|
258
258
|
|
259
|
+
# Migrate storage backend
|
260
|
+
# Migrate the domain's storage backend to a new one. Launches a background task to copy the domain's artifacts over to the supplied storage backend. Then updates the domain's storage settings to the new storage backend. This task does not delete the stored files of the artifacts from the previous backend. **IMPORTANT** This task will block all other tasks within the domain until the migration is completed, essentially putting the domain into a read only state. Content will still be served from the old storage backend until the migration has completed, so don't remove the old backend until then. Note, this endpoint is not allowed on the default domain. This feature is in Tech Preview and is subject to future change and thus not guaranteed to be backwards compatible.
|
261
|
+
# @param domain_backend_migrator [DomainBackendMigrator]
|
262
|
+
# @param [Hash] opts the optional parameters
|
263
|
+
# @return [AsyncOperationResponse]
|
264
|
+
def migrate(domain_backend_migrator, opts = {})
|
265
|
+
data, _status_code, _headers = migrate_with_http_info(domain_backend_migrator, opts)
|
266
|
+
data
|
267
|
+
end
|
268
|
+
|
269
|
+
# Migrate storage backend
|
270
|
+
# Migrate the domain's storage backend to a new one. Launches a background task to copy the domain's artifacts over to the supplied storage backend. Then updates the domain's storage settings to the new storage backend. This task does not delete the stored files of the artifacts from the previous backend. **IMPORTANT** This task will block all other tasks within the domain until the migration is completed, essentially putting the domain into a read only state. Content will still be served from the old storage backend until the migration has completed, so don't remove the old backend until then. Note, this endpoint is not allowed on the default domain. This feature is in Tech Preview and is subject to future change and thus not guaranteed to be backwards compatible.
|
271
|
+
# @param domain_backend_migrator [DomainBackendMigrator]
|
272
|
+
# @param [Hash] opts the optional parameters
|
273
|
+
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
274
|
+
def migrate_with_http_info(domain_backend_migrator, opts = {})
|
275
|
+
if @api_client.config.debugging
|
276
|
+
@api_client.config.logger.debug 'Calling API: DomainsApi.migrate ...'
|
277
|
+
end
|
278
|
+
# verify the required parameter 'domain_backend_migrator' is set
|
279
|
+
if @api_client.config.client_side_validation && domain_backend_migrator.nil?
|
280
|
+
fail ArgumentError, "Missing the required parameter 'domain_backend_migrator' when calling DomainsApi.migrate"
|
281
|
+
end
|
282
|
+
# resource path
|
283
|
+
local_var_path = '/pulp/api/v3/domains/migrate/'
|
284
|
+
|
285
|
+
# query parameters
|
286
|
+
query_params = opts[:query_params] || {}
|
287
|
+
|
288
|
+
# header parameters
|
289
|
+
header_params = opts[:header_params] || {}
|
290
|
+
# HTTP header 'Accept' (if needed)
|
291
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
292
|
+
# HTTP header 'Content-Type'
|
293
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
294
|
+
|
295
|
+
# form parameters
|
296
|
+
form_params = opts[:form_params] || {}
|
297
|
+
|
298
|
+
# http body (model)
|
299
|
+
post_body = opts[:body] || @api_client.object_to_http_body(domain_backend_migrator)
|
300
|
+
|
301
|
+
# return_type
|
302
|
+
return_type = opts[:return_type] || 'AsyncOperationResponse'
|
303
|
+
|
304
|
+
# auth_names
|
305
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
306
|
+
|
307
|
+
new_options = opts.merge(
|
308
|
+
:header_params => header_params,
|
309
|
+
:query_params => query_params,
|
310
|
+
:form_params => form_params,
|
311
|
+
:body => post_body,
|
312
|
+
:auth_names => auth_names,
|
313
|
+
:return_type => return_type
|
314
|
+
)
|
315
|
+
|
316
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
317
|
+
if @api_client.config.debugging
|
318
|
+
@api_client.config.logger.debug "API called: DomainsApi#migrate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
319
|
+
end
|
320
|
+
return data, status_code, headers
|
321
|
+
end
|
322
|
+
|
259
323
|
# Update a domain
|
260
324
|
# Trigger an asynchronous partial update task
|
261
325
|
# @param domain_href [String]
|
@@ -17,45 +17,45 @@ module PulpcoreClient
|
|
17
17
|
class ArtifactDistributionResponse
|
18
18
|
attr_accessor :pulp_labels
|
19
19
|
|
20
|
-
|
21
|
-
|
22
|
-
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
23
|
-
attr_accessor :base_path
|
24
|
-
|
25
|
-
# The URL for accessing the publication as defined by this distribution.
|
26
|
-
attr_accessor :base_url
|
27
|
-
|
28
|
-
# Timestamp of creation.
|
29
|
-
attr_accessor :pulp_created
|
30
|
-
|
31
|
-
# Whether this distribution should be shown in the content app.
|
32
|
-
attr_accessor :hidden
|
20
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
21
|
+
attr_accessor :name
|
33
22
|
|
34
23
|
# An optional content-guard.
|
35
24
|
attr_accessor :content_guard
|
36
25
|
|
26
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
27
|
+
attr_accessor :base_path
|
28
|
+
|
37
29
|
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
38
30
|
attr_accessor :pulp_last_updated
|
39
31
|
|
40
|
-
|
41
|
-
attr_accessor :name
|
32
|
+
attr_accessor :pulp_href
|
42
33
|
|
43
34
|
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
44
35
|
attr_accessor :no_content_change_since
|
45
36
|
|
37
|
+
# Whether this distribution should be shown in the content app.
|
38
|
+
attr_accessor :hidden
|
39
|
+
|
40
|
+
# Timestamp of creation.
|
41
|
+
attr_accessor :pulp_created
|
42
|
+
|
43
|
+
# The URL for accessing the publication as defined by this distribution.
|
44
|
+
attr_accessor :base_url
|
45
|
+
|
46
46
|
# Attribute mapping from ruby-style variable name to JSON key.
|
47
47
|
def self.attribute_map
|
48
48
|
{
|
49
49
|
:'pulp_labels' => :'pulp_labels',
|
50
|
-
:'
|
51
|
-
:'base_path' => :'base_path',
|
52
|
-
:'base_url' => :'base_url',
|
53
|
-
:'pulp_created' => :'pulp_created',
|
54
|
-
:'hidden' => :'hidden',
|
50
|
+
:'name' => :'name',
|
55
51
|
:'content_guard' => :'content_guard',
|
52
|
+
:'base_path' => :'base_path',
|
56
53
|
:'pulp_last_updated' => :'pulp_last_updated',
|
57
|
-
:'
|
58
|
-
:'no_content_change_since' => :'no_content_change_since'
|
54
|
+
:'pulp_href' => :'pulp_href',
|
55
|
+
:'no_content_change_since' => :'no_content_change_since',
|
56
|
+
:'hidden' => :'hidden',
|
57
|
+
:'pulp_created' => :'pulp_created',
|
58
|
+
:'base_url' => :'base_url'
|
59
59
|
}
|
60
60
|
end
|
61
61
|
|
@@ -63,15 +63,15 @@ module PulpcoreClient
|
|
63
63
|
def self.openapi_types
|
64
64
|
{
|
65
65
|
:'pulp_labels' => :'Hash<String, String>',
|
66
|
-
:'
|
67
|
-
:'base_path' => :'String',
|
68
|
-
:'base_url' => :'String',
|
69
|
-
:'pulp_created' => :'DateTime',
|
70
|
-
:'hidden' => :'Boolean',
|
66
|
+
:'name' => :'String',
|
71
67
|
:'content_guard' => :'String',
|
68
|
+
:'base_path' => :'String',
|
72
69
|
:'pulp_last_updated' => :'DateTime',
|
73
|
-
:'
|
74
|
-
:'no_content_change_since' => :'String'
|
70
|
+
:'pulp_href' => :'String',
|
71
|
+
:'no_content_change_since' => :'String',
|
72
|
+
:'hidden' => :'Boolean',
|
73
|
+
:'pulp_created' => :'DateTime',
|
74
|
+
:'base_url' => :'String'
|
75
75
|
}
|
76
76
|
end
|
77
77
|
|
@@ -103,20 +103,28 @@ module PulpcoreClient
|
|
103
103
|
end
|
104
104
|
end
|
105
105
|
|
106
|
-
if attributes.key?(:'
|
107
|
-
self.
|
106
|
+
if attributes.key?(:'name')
|
107
|
+
self.name = attributes[:'name']
|
108
|
+
end
|
109
|
+
|
110
|
+
if attributes.key?(:'content_guard')
|
111
|
+
self.content_guard = attributes[:'content_guard']
|
108
112
|
end
|
109
113
|
|
110
114
|
if attributes.key?(:'base_path')
|
111
115
|
self.base_path = attributes[:'base_path']
|
112
116
|
end
|
113
117
|
|
114
|
-
if attributes.key?(:'
|
115
|
-
self.
|
118
|
+
if attributes.key?(:'pulp_last_updated')
|
119
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
116
120
|
end
|
117
121
|
|
118
|
-
if attributes.key?(:'
|
119
|
-
self.
|
122
|
+
if attributes.key?(:'pulp_href')
|
123
|
+
self.pulp_href = attributes[:'pulp_href']
|
124
|
+
end
|
125
|
+
|
126
|
+
if attributes.key?(:'no_content_change_since')
|
127
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
120
128
|
end
|
121
129
|
|
122
130
|
if attributes.key?(:'hidden')
|
@@ -125,20 +133,12 @@ module PulpcoreClient
|
|
125
133
|
self.hidden = false
|
126
134
|
end
|
127
135
|
|
128
|
-
if attributes.key?(:'
|
129
|
-
self.
|
130
|
-
end
|
131
|
-
|
132
|
-
if attributes.key?(:'pulp_last_updated')
|
133
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
134
|
-
end
|
135
|
-
|
136
|
-
if attributes.key?(:'name')
|
137
|
-
self.name = attributes[:'name']
|
136
|
+
if attributes.key?(:'pulp_created')
|
137
|
+
self.pulp_created = attributes[:'pulp_created']
|
138
138
|
end
|
139
139
|
|
140
|
-
if attributes.key?(:'
|
141
|
-
self.
|
140
|
+
if attributes.key?(:'base_url')
|
141
|
+
self.base_url = attributes[:'base_url']
|
142
142
|
end
|
143
143
|
end
|
144
144
|
|
@@ -146,22 +146,22 @@ module PulpcoreClient
|
|
146
146
|
# @return Array for valid properties with the reasons
|
147
147
|
def list_invalid_properties
|
148
148
|
invalid_properties = Array.new
|
149
|
-
if @base_path.nil?
|
150
|
-
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
151
|
-
end
|
152
|
-
|
153
149
|
if @name.nil?
|
154
150
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
155
151
|
end
|
156
152
|
|
153
|
+
if @base_path.nil?
|
154
|
+
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
155
|
+
end
|
156
|
+
|
157
157
|
invalid_properties
|
158
158
|
end
|
159
159
|
|
160
160
|
# Check to see if the all the properties in the model are valid
|
161
161
|
# @return true if the model is valid
|
162
162
|
def valid?
|
163
|
-
return false if @base_path.nil?
|
164
163
|
return false if @name.nil?
|
164
|
+
return false if @base_path.nil?
|
165
165
|
true
|
166
166
|
end
|
167
167
|
|
@@ -171,15 +171,15 @@ module PulpcoreClient
|
|
171
171
|
return true if self.equal?(o)
|
172
172
|
self.class == o.class &&
|
173
173
|
pulp_labels == o.pulp_labels &&
|
174
|
-
|
175
|
-
base_path == o.base_path &&
|
176
|
-
base_url == o.base_url &&
|
177
|
-
pulp_created == o.pulp_created &&
|
178
|
-
hidden == o.hidden &&
|
174
|
+
name == o.name &&
|
179
175
|
content_guard == o.content_guard &&
|
176
|
+
base_path == o.base_path &&
|
180
177
|
pulp_last_updated == o.pulp_last_updated &&
|
181
|
-
|
182
|
-
no_content_change_since == o.no_content_change_since
|
178
|
+
pulp_href == o.pulp_href &&
|
179
|
+
no_content_change_since == o.no_content_change_since &&
|
180
|
+
hidden == o.hidden &&
|
181
|
+
pulp_created == o.pulp_created &&
|
182
|
+
base_url == o.base_url
|
183
183
|
end
|
184
184
|
|
185
185
|
# @see the `==` method
|
@@ -191,7 +191,7 @@ module PulpcoreClient
|
|
191
191
|
# Calculates hash code according to all attributes.
|
192
192
|
# @return [Integer] Hash code
|
193
193
|
def hash
|
194
|
-
[pulp_labels,
|
194
|
+
[pulp_labels, name, content_guard, base_path, pulp_last_updated, pulp_href, no_content_change_since, hidden, pulp_created, base_url].hash
|
195
195
|
end
|
196
196
|
|
197
197
|
# Builds the object from hash
|
@@ -0,0 +1,228 @@
|
|
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
|
+
# Special serializer for performing a storage backend migration on a Domain.
|
17
|
+
class DomainBackendMigrator
|
18
|
+
# The new backend storage class to migrate to. * `pulpcore.app.models.storage.FileSystem` - Use local filesystem as storage * `storages.backends.s3boto3.S3Boto3Storage` - Use Amazon S3 as storage * `storages.backends.azure_storage.AzureStorage` - Use Azure Blob as storage
|
19
|
+
attr_accessor :storage_class
|
20
|
+
|
21
|
+
# The settings for the new storage class to migrate to.
|
22
|
+
attr_accessor :storage_settings
|
23
|
+
|
24
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
25
|
+
def self.attribute_map
|
26
|
+
{
|
27
|
+
:'storage_class' => :'storage_class',
|
28
|
+
:'storage_settings' => :'storage_settings'
|
29
|
+
}
|
30
|
+
end
|
31
|
+
|
32
|
+
# Attribute type mapping.
|
33
|
+
def self.openapi_types
|
34
|
+
{
|
35
|
+
:'storage_class' => :'StorageClassEnum',
|
36
|
+
:'storage_settings' => :'Object'
|
37
|
+
}
|
38
|
+
end
|
39
|
+
|
40
|
+
# List of attributes with nullable: true
|
41
|
+
def self.openapi_nullable
|
42
|
+
Set.new([
|
43
|
+
])
|
44
|
+
end
|
45
|
+
|
46
|
+
# Initializes the object
|
47
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
48
|
+
def initialize(attributes = {})
|
49
|
+
if (!attributes.is_a?(Hash))
|
50
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpcoreClient::DomainBackendMigrator` initialize method"
|
51
|
+
end
|
52
|
+
|
53
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
54
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
55
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
56
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpcoreClient::DomainBackendMigrator`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
57
|
+
end
|
58
|
+
h[k.to_sym] = v
|
59
|
+
}
|
60
|
+
|
61
|
+
if attributes.key?(:'storage_class')
|
62
|
+
self.storage_class = attributes[:'storage_class']
|
63
|
+
end
|
64
|
+
|
65
|
+
if attributes.key?(:'storage_settings')
|
66
|
+
self.storage_settings = attributes[:'storage_settings']
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
71
|
+
# @return Array for valid properties with the reasons
|
72
|
+
def list_invalid_properties
|
73
|
+
invalid_properties = Array.new
|
74
|
+
if @storage_class.nil?
|
75
|
+
invalid_properties.push('invalid value for "storage_class", storage_class cannot be nil.')
|
76
|
+
end
|
77
|
+
|
78
|
+
if @storage_settings.nil?
|
79
|
+
invalid_properties.push('invalid value for "storage_settings", storage_settings cannot be nil.')
|
80
|
+
end
|
81
|
+
|
82
|
+
invalid_properties
|
83
|
+
end
|
84
|
+
|
85
|
+
# Check to see if the all the properties in the model are valid
|
86
|
+
# @return true if the model is valid
|
87
|
+
def valid?
|
88
|
+
return false if @storage_class.nil?
|
89
|
+
return false if @storage_settings.nil?
|
90
|
+
true
|
91
|
+
end
|
92
|
+
|
93
|
+
# Checks equality by comparing each attribute.
|
94
|
+
# @param [Object] Object to be compared
|
95
|
+
def ==(o)
|
96
|
+
return true if self.equal?(o)
|
97
|
+
self.class == o.class &&
|
98
|
+
storage_class == o.storage_class &&
|
99
|
+
storage_settings == o.storage_settings
|
100
|
+
end
|
101
|
+
|
102
|
+
# @see the `==` method
|
103
|
+
# @param [Object] Object to be compared
|
104
|
+
def eql?(o)
|
105
|
+
self == o
|
106
|
+
end
|
107
|
+
|
108
|
+
# Calculates hash code according to all attributes.
|
109
|
+
# @return [Integer] Hash code
|
110
|
+
def hash
|
111
|
+
[storage_class, storage_settings].hash
|
112
|
+
end
|
113
|
+
|
114
|
+
# Builds the object from hash
|
115
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
116
|
+
# @return [Object] Returns the model itself
|
117
|
+
def self.build_from_hash(attributes)
|
118
|
+
new.build_from_hash(attributes)
|
119
|
+
end
|
120
|
+
|
121
|
+
# Builds the object from hash
|
122
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
123
|
+
# @return [Object] Returns the model itself
|
124
|
+
def build_from_hash(attributes)
|
125
|
+
return nil unless attributes.is_a?(Hash)
|
126
|
+
self.class.openapi_types.each_pair do |key, type|
|
127
|
+
if type =~ /\AArray<(.*)>/i
|
128
|
+
# check to ensure the input is an array given that the attribute
|
129
|
+
# is documented as an array but the input is not
|
130
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
131
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
132
|
+
end
|
133
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
134
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
135
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
136
|
+
end
|
137
|
+
|
138
|
+
self
|
139
|
+
end
|
140
|
+
|
141
|
+
# Deserializes the data based on type
|
142
|
+
# @param string type Data type
|
143
|
+
# @param string value Value to be deserialized
|
144
|
+
# @return [Object] Deserialized data
|
145
|
+
def _deserialize(type, value)
|
146
|
+
case type.to_sym
|
147
|
+
when :DateTime
|
148
|
+
DateTime.parse(value)
|
149
|
+
when :Date
|
150
|
+
Date.parse(value)
|
151
|
+
when :String
|
152
|
+
value.to_s
|
153
|
+
when :Integer
|
154
|
+
value.to_i
|
155
|
+
when :Float
|
156
|
+
value.to_f
|
157
|
+
when :Boolean
|
158
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
159
|
+
true
|
160
|
+
else
|
161
|
+
false
|
162
|
+
end
|
163
|
+
when :Object
|
164
|
+
# generic object (usually a Hash), return directly
|
165
|
+
value
|
166
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
167
|
+
inner_type = Regexp.last_match[:inner_type]
|
168
|
+
value.map { |v| _deserialize(inner_type, v) }
|
169
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
170
|
+
k_type = Regexp.last_match[:k_type]
|
171
|
+
v_type = Regexp.last_match[:v_type]
|
172
|
+
{}.tap do |hash|
|
173
|
+
value.each do |k, v|
|
174
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
175
|
+
end
|
176
|
+
end
|
177
|
+
else # model
|
178
|
+
PulpcoreClient.const_get(type).build_from_hash(value)
|
179
|
+
end
|
180
|
+
end
|
181
|
+
|
182
|
+
# Returns the string representation of the object
|
183
|
+
# @return [String] String presentation of the object
|
184
|
+
def to_s
|
185
|
+
to_hash.to_s
|
186
|
+
end
|
187
|
+
|
188
|
+
# to_body is an alias to to_hash (backward compatibility)
|
189
|
+
# @return [Hash] Returns the object in the form of hash
|
190
|
+
def to_body
|
191
|
+
to_hash
|
192
|
+
end
|
193
|
+
|
194
|
+
# Returns the object in the form of hash
|
195
|
+
# @return [Hash] Returns the object in the form of hash
|
196
|
+
def to_hash
|
197
|
+
hash = {}
|
198
|
+
self.class.attribute_map.each_pair do |attr, param|
|
199
|
+
value = self.send(attr)
|
200
|
+
if value.nil?
|
201
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
202
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
203
|
+
end
|
204
|
+
|
205
|
+
hash[param] = _to_hash(value)
|
206
|
+
end
|
207
|
+
hash
|
208
|
+
end
|
209
|
+
|
210
|
+
# Outputs non-array value in the form of hash
|
211
|
+
# For object, use to_hash. Otherwise, just return the value
|
212
|
+
# @param [Object] value Any valid value
|
213
|
+
# @return [Hash] Returns the value in the form of hash
|
214
|
+
def _to_hash(value)
|
215
|
+
if value.is_a?(Array)
|
216
|
+
value.compact.map { |v| _to_hash(v) }
|
217
|
+
elsif value.is_a?(Hash)
|
218
|
+
{}.tap do |hash|
|
219
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
220
|
+
end
|
221
|
+
elsif value.respond_to? :to_hash
|
222
|
+
value.to_hash
|
223
|
+
else
|
224
|
+
value
|
225
|
+
end
|
226
|
+
end
|
227
|
+
end
|
228
|
+
end
|
data/lib/pulpcore_client.rb
CHANGED
@@ -35,6 +35,7 @@ require 'pulpcore_client/models/content_summary_response'
|
|
35
35
|
require 'pulpcore_client/models/database_connection_response'
|
36
36
|
require 'pulpcore_client/models/distribution_response'
|
37
37
|
require 'pulpcore_client/models/domain'
|
38
|
+
require 'pulpcore_client/models/domain_backend_migrator'
|
38
39
|
require 'pulpcore_client/models/domain_response'
|
39
40
|
require 'pulpcore_client/models/evaluation_response'
|
40
41
|
require 'pulpcore_client/models/filesystem_export'
|
@@ -84,6 +84,18 @@ describe 'DomainsApi' do
|
|
84
84
|
end
|
85
85
|
end
|
86
86
|
|
87
|
+
# unit tests for migrate
|
88
|
+
# Migrate storage backend
|
89
|
+
# Migrate the domain's storage backend to a new one. Launches a background task to copy the domain's artifacts over to the supplied storage backend. Then updates the domain's storage settings to the new storage backend. This task does not delete the stored files of the artifacts from the previous backend. **IMPORTANT** This task will block all other tasks within the domain until the migration is completed, essentially putting the domain into a read only state. Content will still be served from the old storage backend until the migration has completed, so don't remove the old backend until then. Note, this endpoint is not allowed on the default domain. This feature is in Tech Preview and is subject to future change and thus not guaranteed to be backwards compatible.
|
90
|
+
# @param domain_backend_migrator
|
91
|
+
# @param [Hash] opts the optional parameters
|
92
|
+
# @return [AsyncOperationResponse]
|
93
|
+
describe 'migrate test' do
|
94
|
+
it 'should work' do
|
95
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
87
99
|
# unit tests for partial_update
|
88
100
|
# Update a domain
|
89
101
|
# Trigger an asynchronous partial update task
|
@@ -38,55 +38,55 @@ describe 'ArtifactDistributionResponse' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "
|
41
|
+
describe 'test attribute "name"' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
describe 'test attribute "
|
47
|
+
describe 'test attribute "content_guard"' do
|
48
48
|
it 'should work' do
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
-
describe 'test attribute "
|
53
|
+
describe 'test attribute "base_path"' do
|
54
54
|
it 'should work' do
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
-
describe 'test attribute "
|
59
|
+
describe 'test attribute "pulp_last_updated"' do
|
60
60
|
it 'should work' do
|
61
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
-
describe 'test attribute "
|
65
|
+
describe 'test attribute "pulp_href"' do
|
66
66
|
it 'should work' do
|
67
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
68
|
end
|
69
69
|
end
|
70
70
|
|
71
|
-
describe 'test attribute "
|
71
|
+
describe 'test attribute "no_content_change_since"' do
|
72
72
|
it 'should work' do
|
73
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
74
|
end
|
75
75
|
end
|
76
76
|
|
77
|
-
describe 'test attribute "
|
77
|
+
describe 'test attribute "hidden"' do
|
78
78
|
it 'should work' do
|
79
79
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
80
|
end
|
81
81
|
end
|
82
82
|
|
83
|
-
describe 'test attribute "
|
83
|
+
describe 'test attribute "pulp_created"' do
|
84
84
|
it 'should work' do
|
85
85
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
86
86
|
end
|
87
87
|
end
|
88
88
|
|
89
|
-
describe 'test attribute "
|
89
|
+
describe 'test attribute "base_url"' do
|
90
90
|
it 'should work' do
|
91
91
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
92
|
end
|
@@ -0,0 +1,47 @@
|
|
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::DomainBackendMigrator
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'DomainBackendMigrator' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpcoreClient::DomainBackendMigrator.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of DomainBackendMigrator' do
|
31
|
+
it 'should create an instance of DomainBackendMigrator' do
|
32
|
+
expect(@instance).to be_instance_of(PulpcoreClient::DomainBackendMigrator)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "storage_class"' 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
|
+
describe 'test attribute "storage_settings"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulpcore_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.61.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: 2024-
|
11
|
+
date: 2024-09-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -108,6 +108,7 @@ files:
|
|
108
108
|
- docs/DistributionsApi.md
|
109
109
|
- docs/DistributionsArtifactsApi.md
|
110
110
|
- docs/Domain.md
|
111
|
+
- docs/DomainBackendMigrator.md
|
111
112
|
- docs/DomainResponse.md
|
112
113
|
- docs/DomainsApi.md
|
113
114
|
- docs/EvaluationResponse.md
|
@@ -324,6 +325,7 @@ files:
|
|
324
325
|
- lib/pulpcore_client/models/database_connection_response.rb
|
325
326
|
- lib/pulpcore_client/models/distribution_response.rb
|
326
327
|
- lib/pulpcore_client/models/domain.rb
|
328
|
+
- lib/pulpcore_client/models/domain_backend_migrator.rb
|
327
329
|
- lib/pulpcore_client/models/domain_response.rb
|
328
330
|
- lib/pulpcore_client/models/evaluation_response.rb
|
329
331
|
- lib/pulpcore_client/models/filesystem_export.rb
|
@@ -508,6 +510,7 @@ files:
|
|
508
510
|
- spec/models/content_summary_response_spec.rb
|
509
511
|
- spec/models/database_connection_response_spec.rb
|
510
512
|
- spec/models/distribution_response_spec.rb
|
513
|
+
- spec/models/domain_backend_migrator_spec.rb
|
511
514
|
- spec/models/domain_response_spec.rb
|
512
515
|
- spec/models/domain_spec.rb
|
513
516
|
- spec/models/evaluation_response_spec.rb
|
@@ -656,187 +659,188 @@ signing_key:
|
|
656
659
|
specification_version: 4
|
657
660
|
summary: Pulp 3 API Ruby Gem
|
658
661
|
test_files:
|
659
|
-
- spec/api/
|
660
|
-
- spec/api/
|
661
|
-
- spec/api/
|
662
|
-
- spec/api/
|
663
|
-
- spec/api/
|
664
|
-
- spec/api/uploads_api_spec.rb
|
665
|
-
- spec/api/task_schedules_api_spec.rb
|
662
|
+
- spec/api/groups_roles_api_spec.rb
|
663
|
+
- spec/api/exporters_pulp_exports_api_spec.rb
|
664
|
+
- spec/api/livez_api_spec.rb
|
665
|
+
- spec/api/distributions_api_spec.rb
|
666
|
+
- spec/api/repair_api_spec.rb
|
666
667
|
- spec/api/repositories_api_spec.rb
|
667
|
-
- spec/api/
|
668
|
-
- spec/api/
|
668
|
+
- spec/api/exporters_filesystem_api_spec.rb
|
669
|
+
- spec/api/uploads_api_spec.rb
|
669
670
|
- spec/api/upstream_pulps_api_spec.rb
|
670
|
-
- spec/api/
|
671
|
-
- spec/api/
|
672
|
-
- spec/api/
|
671
|
+
- spec/api/repository_versions_api_spec.rb
|
672
|
+
- spec/api/importers_pulp_import_check_api_spec.rb
|
673
|
+
- spec/api/roles_api_spec.rb
|
673
674
|
- spec/api/contentguards_header_api_spec.rb
|
674
|
-
- spec/api/
|
675
|
-
- spec/api/
|
676
|
-
- spec/api/domains_api_spec.rb
|
677
|
-
- spec/api/publications_api_spec.rb
|
678
|
-
- spec/api/artifacts_api_spec.rb
|
679
|
-
- spec/api/livez_api_spec.rb
|
680
|
-
- spec/api/exporters_pulp_exports_api_spec.rb
|
675
|
+
- spec/api/workers_api_spec.rb
|
676
|
+
- spec/api/contentguards_composite_api_spec.rb
|
681
677
|
- spec/api/distributions_artifacts_api_spec.rb
|
682
|
-
- spec/api/
|
683
|
-
- spec/api/
|
678
|
+
- spec/api/remotes_api_spec.rb
|
679
|
+
- spec/api/tasks_api_spec.rb
|
680
|
+
- spec/api/task_schedules_api_spec.rb
|
684
681
|
- spec/api/users_api_spec.rb
|
685
|
-
- spec/api/
|
686
|
-
- spec/api/
|
687
|
-
- spec/api/
|
682
|
+
- spec/api/users_roles_api_spec.rb
|
683
|
+
- spec/api/orphans_api_spec.rb
|
684
|
+
- spec/api/signing_services_api_spec.rb
|
685
|
+
- spec/api/artifacts_api_spec.rb
|
686
|
+
- spec/api/publications_api_spec.rb
|
687
|
+
- spec/api/access_policies_api_spec.rb
|
688
|
+
- spec/api/content_api_spec.rb
|
689
|
+
- spec/api/status_api_spec.rb
|
690
|
+
- spec/api/groups_users_api_spec.rb
|
688
691
|
- spec/api/contentguards_content_redirect_api_spec.rb
|
692
|
+
- spec/api/repositories_reclaim_space_api_spec.rb
|
693
|
+
- spec/api/domains_api_spec.rb
|
694
|
+
- spec/api/task_groups_api_spec.rb
|
695
|
+
- spec/api/exporters_pulp_api_spec.rb
|
696
|
+
- spec/api/groups_api_spec.rb
|
697
|
+
- spec/api/importers_pulp_imports_api_spec.rb
|
698
|
+
- spec/api/importers_pulp_api_spec.rb
|
699
|
+
- spec/api/orphans_cleanup_api_spec.rb
|
689
700
|
- spec/api/contentguards_rbac_api_spec.rb
|
690
|
-
- spec/api/contentguards_composite_api_spec.rb
|
691
|
-
- spec/api/exporters_filesystem_api_spec.rb
|
692
701
|
- spec/api/exporters_filesystem_exports_api_spec.rb
|
693
|
-
- spec/api/
|
694
|
-
- spec/api/groups_users_api_spec.rb
|
695
|
-
- spec/api/repository_versions_api_spec.rb
|
696
|
-
- spec/api/access_policies_api_spec.rb
|
697
|
-
- spec/api/orphans_api_spec.rb
|
698
|
-
- spec/api/importers_pulp_import_check_api_spec.rb
|
699
|
-
- spec/api/groups_roles_api_spec.rb
|
702
|
+
- spec/api/contentguards_api_spec.rb
|
700
703
|
- spec/api_client_spec.rb
|
701
704
|
- spec/configuration_spec.rb
|
702
|
-
- spec/models/
|
705
|
+
- spec/models/pulp_import_check_response_spec.rb
|
706
|
+
- spec/models/composite_content_guard_response_spec.rb
|
707
|
+
- spec/models/domain_backend_migrator_spec.rb
|
708
|
+
- spec/models/group_user_response_spec.rb
|
709
|
+
- spec/models/remote_response_spec.rb
|
710
|
+
- spec/models/paginated_access_policy_response_list_spec.rb
|
711
|
+
- spec/models/task_group_response_spec.rb
|
712
|
+
- spec/models/upload_detail_response_spec.rb
|
713
|
+
- spec/models/filesystem_exporter_spec.rb
|
714
|
+
- spec/models/paginated_multiple_artifact_content_response_list_spec.rb
|
715
|
+
- spec/models/role_spec.rb
|
716
|
+
- spec/models/rbac_content_guard_spec.rb
|
717
|
+
- spec/models/publication_response_spec.rb
|
703
718
|
- spec/models/composite_content_guard_spec.rb
|
704
|
-
- spec/models/user_role_spec.rb
|
705
|
-
- spec/models/paginated_user_role_response_list_spec.rb
|
706
|
-
- spec/models/nested_role_spec.rb
|
707
|
-
- spec/models/patched_filesystem_exporter_spec.rb
|
708
719
|
- spec/models/reclaim_space_spec.rb
|
709
|
-
- spec/models/
|
710
|
-
- spec/models/
|
711
|
-
- spec/models/
|
712
|
-
- spec/models/user_group_spec.rb
|
713
|
-
- spec/models/content_summary_response_spec.rb
|
714
|
-
- spec/models/patched_pulp_exporter_spec.rb
|
715
|
-
- spec/models/access_policy_response_spec.rb
|
716
|
-
- spec/models/method_enum_spec.rb
|
717
|
-
- spec/models/content_redirect_content_guard_spec.rb
|
718
|
-
- spec/models/paginated_repository_version_response_list_spec.rb
|
719
|
-
- spec/models/paginated_domain_response_list_spec.rb
|
720
|
+
- spec/models/patched_composite_content_guard_spec.rb
|
721
|
+
- spec/models/task_schedule_response_spec.rb
|
722
|
+
- spec/models/artifact_distribution_response_spec.rb
|
720
723
|
- spec/models/paginated_filesystem_export_response_list_spec.rb
|
721
|
-
- spec/models/
|
722
|
-
- spec/models/
|
723
|
-
- spec/models/
|
724
|
+
- spec/models/upstream_pulp_spec.rb
|
725
|
+
- spec/models/api_app_status_response_spec.rb
|
726
|
+
- spec/models/patched_pulp_exporter_spec.rb
|
727
|
+
- spec/models/patched_header_content_guard_spec.rb
|
728
|
+
- spec/models/content_summary_response_spec.rb
|
729
|
+
- spec/models/paginated_task_response_list_spec.rb
|
730
|
+
- spec/models/signing_service_response_spec.rb
|
731
|
+
- spec/models/paginated_distribution_response_list_spec.rb
|
732
|
+
- spec/models/paginated_group_role_response_list_spec.rb
|
733
|
+
- spec/models/paginated_task_schedule_response_list_spec.rb
|
734
|
+
- spec/models/pulp_export_spec.rb
|
724
735
|
- spec/models/nested_role_response_spec.rb
|
725
|
-
- spec/models/
|
726
|
-
- spec/models/
|
727
|
-
- spec/models/
|
728
|
-
- spec/models/
|
729
|
-
- spec/models/patched_task_cancel_spec.rb
|
730
|
-
- spec/models/repository_response_spec.rb
|
731
|
-
- spec/models/pulp_export_response_spec.rb
|
732
|
-
- spec/models/repository_version_response_spec.rb
|
733
|
-
- spec/models/pulp_import_check_response_spec.rb
|
734
|
-
- spec/models/patched_upstream_pulp_spec.rb
|
735
|
-
- spec/models/my_permissions_response_spec.rb
|
736
|
-
- spec/models/role_spec.rb
|
737
|
-
- spec/models/group_user_spec.rb
|
738
|
-
- spec/models/paginated_artifact_response_list_spec.rb
|
739
|
-
- spec/models/domain_response_spec.rb
|
740
|
-
- spec/models/paginated_repository_response_list_spec.rb
|
741
|
-
- spec/models/user_spec.rb
|
736
|
+
- spec/models/paginated_content_redirect_content_guard_response_list_spec.rb
|
737
|
+
- spec/models/worker_response_spec.rb
|
738
|
+
- spec/models/user_role_response_spec.rb
|
739
|
+
- spec/models/content_app_status_response_spec.rb
|
742
740
|
- spec/models/header_content_guard_spec.rb
|
743
|
-
- spec/models/
|
744
|
-
- spec/models/upload_chunk_response_spec.rb
|
745
|
-
- spec/models/paginated_pulp_importer_response_list_spec.rb
|
746
|
-
- spec/models/paginated_remote_response_list_spec.rb
|
747
|
-
- spec/models/orphans_cleanup_spec.rb
|
748
|
-
- spec/models/patched_composite_content_guard_spec.rb
|
749
|
-
- spec/models/paginated_artifact_distribution_response_list_spec.rb
|
750
|
-
- spec/models/minimal_task_response_spec.rb
|
751
|
-
- spec/models/upstream_pulp_response_spec.rb
|
752
|
-
- spec/models/paginated_group_role_response_list_spec.rb
|
741
|
+
- spec/models/paginated_group_response_list_spec.rb
|
753
742
|
- spec/models/patched_pulp_importer_spec.rb
|
754
|
-
- spec/models/
|
755
|
-
- spec/models/
|
756
|
-
- spec/models/
|
757
|
-
- spec/models/
|
743
|
+
- spec/models/paginated_group_user_response_list_spec.rb
|
744
|
+
- spec/models/task_response_spec.rb
|
745
|
+
- spec/models/patched_upstream_pulp_spec.rb
|
746
|
+
- spec/models/domain_response_spec.rb
|
747
|
+
- spec/models/paginated_repository_version_response_list_spec.rb
|
748
|
+
- spec/models/repository_version_response_spec.rb
|
749
|
+
- spec/models/upload_spec.rb
|
758
750
|
- spec/models/remote_response_hidden_fields_spec.rb
|
759
|
-
- spec/models/
|
760
|
-
- spec/models/
|
761
|
-
- spec/models/content_app_status_response_spec.rb
|
762
|
-
- spec/models/worker_response_spec.rb
|
763
|
-
- spec/models/paginated_pulp_export_response_list_spec.rb
|
764
|
-
- spec/models/pulp_exporter_response_spec.rb
|
765
|
-
- spec/models/patched_access_policy_spec.rb
|
766
|
-
- spec/models/storage_response_spec.rb
|
767
|
-
- spec/models/paginated_pulp_exporter_response_list_spec.rb
|
768
|
-
- spec/models/async_operation_response_spec.rb
|
769
|
-
- spec/models/group_user_response_spec.rb
|
751
|
+
- spec/models/content_guard_response_spec.rb
|
752
|
+
- spec/models/upload_response_spec.rb
|
770
753
|
- spec/models/content_redirect_content_guard_response_spec.rb
|
771
754
|
- spec/models/upload_chunk_spec.rb
|
772
|
-
- spec/models/
|
773
|
-
- spec/models/
|
774
|
-
- spec/models/
|
775
|
-
- spec/models/
|
776
|
-
- spec/models/
|
777
|
-
- spec/models/
|
778
|
-
- spec/models/group_role_response_spec.rb
|
779
|
-
- spec/models/upstream_pulp_spec.rb
|
780
|
-
- spec/models/group_progress_report_response_spec.rb
|
781
|
-
- spec/models/user_role_response_spec.rb
|
782
|
-
- spec/models/paginated_group_user_response_list_spec.rb
|
783
|
-
- spec/models/paginated_publication_response_list_spec.rb
|
784
|
-
- spec/models/domain_spec.rb
|
785
|
-
- spec/models/status_response_spec.rb
|
755
|
+
- spec/models/storage_response_spec.rb
|
756
|
+
- spec/models/patched_domain_spec.rb
|
757
|
+
- spec/models/minimal_task_response_spec.rb
|
758
|
+
- spec/models/my_permissions_response_spec.rb
|
759
|
+
- spec/models/paginated_domain_response_list_spec.rb
|
760
|
+
- spec/models/paginated_signing_service_response_list_spec.rb
|
786
761
|
- spec/models/version_response_spec.rb
|
787
|
-
- spec/models/
|
788
|
-
- spec/models/
|
789
|
-
- spec/models/
|
790
|
-
- spec/models/
|
791
|
-
- spec/models/
|
762
|
+
- spec/models/group_user_spec.rb
|
763
|
+
- spec/models/repair_spec.rb
|
764
|
+
- spec/models/patched_task_cancel_spec.rb
|
765
|
+
- spec/models/paginated_rbac_content_guard_response_list_spec.rb
|
766
|
+
- spec/models/patched_filesystem_exporter_spec.rb
|
767
|
+
- spec/models/paginated_user_role_response_list_spec.rb
|
768
|
+
- spec/models/patched_content_redirect_content_guard_spec.rb
|
769
|
+
- spec/models/group_role_response_spec.rb
|
770
|
+
- spec/models/evaluation_response_spec.rb
|
771
|
+
- spec/models/patched_rbac_content_guard_spec.rb
|
772
|
+
- spec/models/filesystem_export_response_spec.rb
|
792
773
|
- spec/models/paginated_import_response_list_spec.rb
|
793
|
-
- spec/models/
|
794
|
-
- spec/models/group_spec.rb
|
795
|
-
- spec/models/patched_header_content_guard_spec.rb
|
796
|
-
- spec/models/paginated_group_response_list_spec.rb
|
797
|
-
- spec/models/pulp_import_spec.rb
|
798
|
-
- spec/models/api_app_status_response_spec.rb
|
799
|
-
- spec/models/publication_response_spec.rb
|
774
|
+
- spec/models/paginated_pulp_exporter_response_list_spec.rb
|
800
775
|
- spec/models/multiple_artifact_content_response_spec.rb
|
776
|
+
- spec/models/user_spec.rb
|
777
|
+
- spec/models/artifact_response_spec.rb
|
778
|
+
- spec/models/profile_artifact_response_spec.rb
|
779
|
+
- spec/models/role_response_spec.rb
|
780
|
+
- spec/models/pulp_importer_spec.rb
|
781
|
+
- spec/models/patched_group_spec.rb
|
782
|
+
- spec/models/status_response_spec.rb
|
783
|
+
- spec/models/paginated_remote_response_list_spec.rb
|
784
|
+
- spec/models/content_redirect_content_guard_spec.rb
|
785
|
+
- spec/models/upstream_pulp_response_spec.rb
|
786
|
+
- spec/models/database_connection_response_spec.rb
|
787
|
+
- spec/models/policy_enum_spec.rb
|
788
|
+
- spec/models/pulp_import_check_spec.rb
|
801
789
|
- spec/models/states_enum_spec.rb
|
790
|
+
- spec/models/object_roles_response_spec.rb
|
802
791
|
- spec/models/upload_commit_spec.rb
|
803
|
-
- spec/models/
|
804
|
-
- spec/models/
|
805
|
-
- spec/models/
|
806
|
-
- spec/models/
|
807
|
-
- spec/models/
|
808
|
-
- spec/models/
|
809
|
-
- spec/models/
|
810
|
-
- spec/models/
|
792
|
+
- spec/models/pulp_importer_response_spec.rb
|
793
|
+
- spec/models/paginated_user_response_list_spec.rb
|
794
|
+
- spec/models/purge_spec.rb
|
795
|
+
- spec/models/paginated_content_guard_response_list_spec.rb
|
796
|
+
- spec/models/paginated_pulp_export_response_list_spec.rb
|
797
|
+
- spec/models/method_enum_spec.rb
|
798
|
+
- spec/models/pulp_exporter_spec.rb
|
799
|
+
- spec/models/group_role_spec.rb
|
800
|
+
- spec/models/content_settings_response_spec.rb
|
801
|
+
- spec/models/paginated_header_content_guard_response_list_spec.rb
|
802
|
+
- spec/models/paginated_filesystem_exporter_response_list_spec.rb
|
803
|
+
- spec/models/paginated_publication_response_list_spec.rb
|
804
|
+
- spec/models/paginated_task_group_response_list_spec.rb
|
805
|
+
- spec/models/async_operation_response_spec.rb
|
811
806
|
- spec/models/filesystem_export_spec.rb
|
812
|
-
- spec/models/
|
813
|
-
- spec/models/
|
814
|
-
- spec/models/
|
807
|
+
- spec/models/access_policy_response_spec.rb
|
808
|
+
- spec/models/nested_role_spec.rb
|
809
|
+
- spec/models/orphans_cleanup_spec.rb
|
810
|
+
- spec/models/paginated_pulp_importer_response_list_spec.rb
|
811
|
+
- spec/models/domain_spec.rb
|
812
|
+
- spec/models/paginated_composite_content_guard_response_list_spec.rb
|
813
|
+
- spec/models/user_response_spec.rb
|
814
|
+
- spec/models/user_group_response_spec.rb
|
815
815
|
- spec/models/task_group_operation_response_spec.rb
|
816
|
-
- spec/models/
|
817
|
-
- spec/models/
|
818
|
-
- spec/models/
|
819
|
-
- spec/models/
|
820
|
-
- spec/models/
|
821
|
-
- spec/models/
|
816
|
+
- spec/models/paginated_artifact_response_list_spec.rb
|
817
|
+
- spec/models/repository_response_spec.rb
|
818
|
+
- spec/models/header_content_guard_response_spec.rb
|
819
|
+
- spec/models/rbac_content_guard_response_spec.rb
|
820
|
+
- spec/models/filesystem_exporter_response_spec.rb
|
821
|
+
- spec/models/paginated_repository_response_list_spec.rb
|
822
|
+
- spec/models/user_role_spec.rb
|
822
823
|
- spec/models/storage_class_enum_spec.rb
|
823
|
-
- spec/models/
|
824
|
-
- spec/models/
|
825
|
-
- spec/models/
|
826
|
-
- spec/models/
|
827
|
-
- spec/models/artifact_response_spec.rb
|
828
|
-
- spec/models/upload_spec.rb
|
824
|
+
- spec/models/group_spec.rb
|
825
|
+
- spec/models/pulp_export_response_spec.rb
|
826
|
+
- spec/models/access_policy_spec.rb
|
827
|
+
- spec/models/paginated_artifact_distribution_response_list_spec.rb
|
829
828
|
- spec/models/paginated_upload_response_list_spec.rb
|
829
|
+
- spec/models/patched_access_policy_spec.rb
|
830
|
+
- spec/models/distribution_response_spec.rb
|
831
|
+
- spec/models/pulp_exporter_response_spec.rb
|
832
|
+
- spec/models/group_progress_report_response_spec.rb
|
833
|
+
- spec/models/import_response_spec.rb
|
830
834
|
- spec/models/patched_user_spec.rb
|
831
|
-
- spec/models/
|
832
|
-
- spec/models/
|
833
|
-
- spec/models/
|
834
|
-
- spec/models/
|
835
|
-
- spec/models/
|
836
|
-
- spec/models/paginated_user_response_list_spec.rb
|
835
|
+
- spec/models/upload_chunk_response_spec.rb
|
836
|
+
- spec/models/redis_connection_response_spec.rb
|
837
|
+
- spec/models/group_response_spec.rb
|
838
|
+
- spec/models/progress_report_response_spec.rb
|
839
|
+
- spec/models/paginated_upstream_pulp_response_list_spec.rb
|
837
840
|
- spec/models/artifact_spec.rb
|
838
|
-
- spec/models/
|
839
|
-
- spec/models/
|
840
|
-
- spec/models/
|
841
|
-
- spec/models/
|
841
|
+
- spec/models/patched_role_spec.rb
|
842
|
+
- spec/models/paginated_worker_response_list_spec.rb
|
843
|
+
- spec/models/pulp_import_spec.rb
|
844
|
+
- spec/models/user_group_spec.rb
|
845
|
+
- spec/models/paginated_role_response_list_spec.rb
|
842
846
|
- spec/spec_helper.rb
|