pulpcore_client 3.60.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 +11 -11
- 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 +42 -42
- 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 +156 -152
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)
|
@@ -4,15 +4,15 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**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]
|
8
7
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
9
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
10
|
-
**content_guard** | **String** | An optional content-guard. | [optional]
|
11
|
-
**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]
|
12
8
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
9
|
+
**content_guard** | **String** | An optional content-guard. | [optional]
|
13
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]
|
12
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
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]
|
15
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
16
|
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
17
17
|
|
18
18
|
## Code Sample
|
@@ -20,15 +20,15 @@ Name | Type | Description | Notes
|
|
20
20
|
```ruby
|
21
21
|
require 'PulpcoreClient'
|
22
22
|
|
23
|
-
instance = PulpcoreClient::ArtifactDistributionResponse.new(
|
24
|
-
pulp_labels: null,
|
25
|
-
pulp_href: null,
|
26
|
-
content_guard: null,
|
27
|
-
no_content_change_since: null,
|
23
|
+
instance = PulpcoreClient::ArtifactDistributionResponse.new(pulp_labels: null,
|
28
24
|
name: null,
|
25
|
+
content_guard: null,
|
29
26
|
base_path: null,
|
30
|
-
|
27
|
+
pulp_last_updated: null,
|
28
|
+
pulp_href: null,
|
29
|
+
no_content_change_since: null,
|
31
30
|
hidden: null,
|
31
|
+
pulp_created: null,
|
32
32
|
base_url: null)
|
33
33
|
```
|
34
34
|
|
@@ -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]
|
@@ -15,46 +15,46 @@ require 'date'
|
|
15
15
|
module PulpcoreClient
|
16
16
|
# A serializer for ArtifactDistribution.
|
17
17
|
class ArtifactDistributionResponse
|
18
|
-
# 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.
|
19
|
-
attr_accessor :pulp_last_updated
|
20
|
-
|
21
18
|
attr_accessor :pulp_labels
|
22
19
|
|
23
|
-
|
20
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
21
|
+
attr_accessor :name
|
24
22
|
|
25
23
|
# An optional content-guard.
|
26
24
|
attr_accessor :content_guard
|
27
25
|
|
28
|
-
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
29
|
-
attr_accessor :no_content_change_since
|
30
|
-
|
31
|
-
# A unique name. Ex, `rawhide` and `stable`.
|
32
|
-
attr_accessor :name
|
33
|
-
|
34
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\")
|
35
27
|
attr_accessor :base_path
|
36
28
|
|
37
|
-
# Timestamp of
|
38
|
-
attr_accessor :
|
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.
|
30
|
+
attr_accessor :pulp_last_updated
|
31
|
+
|
32
|
+
attr_accessor :pulp_href
|
33
|
+
|
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.
|
35
|
+
attr_accessor :no_content_change_since
|
39
36
|
|
40
37
|
# Whether this distribution should be shown in the content app.
|
41
38
|
attr_accessor :hidden
|
42
39
|
|
40
|
+
# Timestamp of creation.
|
41
|
+
attr_accessor :pulp_created
|
42
|
+
|
43
43
|
# The URL for accessing the publication as defined by this distribution.
|
44
44
|
attr_accessor :base_url
|
45
45
|
|
46
46
|
# Attribute mapping from ruby-style variable name to JSON key.
|
47
47
|
def self.attribute_map
|
48
48
|
{
|
49
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
50
49
|
:'pulp_labels' => :'pulp_labels',
|
51
|
-
:'pulp_href' => :'pulp_href',
|
52
|
-
:'content_guard' => :'content_guard',
|
53
|
-
:'no_content_change_since' => :'no_content_change_since',
|
54
50
|
:'name' => :'name',
|
51
|
+
:'content_guard' => :'content_guard',
|
55
52
|
:'base_path' => :'base_path',
|
56
|
-
:'
|
53
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
54
|
+
:'pulp_href' => :'pulp_href',
|
55
|
+
:'no_content_change_since' => :'no_content_change_since',
|
57
56
|
:'hidden' => :'hidden',
|
57
|
+
:'pulp_created' => :'pulp_created',
|
58
58
|
:'base_url' => :'base_url'
|
59
59
|
}
|
60
60
|
end
|
@@ -62,15 +62,15 @@ module PulpcoreClient
|
|
62
62
|
# Attribute type mapping.
|
63
63
|
def self.openapi_types
|
64
64
|
{
|
65
|
-
:'pulp_last_updated' => :'DateTime',
|
66
65
|
:'pulp_labels' => :'Hash<String, String>',
|
67
|
-
:'pulp_href' => :'String',
|
68
|
-
:'content_guard' => :'String',
|
69
|
-
:'no_content_change_since' => :'String',
|
70
66
|
:'name' => :'String',
|
67
|
+
:'content_guard' => :'String',
|
71
68
|
:'base_path' => :'String',
|
72
|
-
:'
|
69
|
+
:'pulp_last_updated' => :'DateTime',
|
70
|
+
:'pulp_href' => :'String',
|
71
|
+
:'no_content_change_since' => :'String',
|
73
72
|
:'hidden' => :'Boolean',
|
73
|
+
:'pulp_created' => :'DateTime',
|
74
74
|
:'base_url' => :'String'
|
75
75
|
}
|
76
76
|
end
|
@@ -97,38 +97,34 @@ module PulpcoreClient
|
|
97
97
|
h[k.to_sym] = v
|
98
98
|
}
|
99
99
|
|
100
|
-
if attributes.key?(:'pulp_last_updated')
|
101
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
102
|
-
end
|
103
|
-
|
104
100
|
if attributes.key?(:'pulp_labels')
|
105
101
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
106
102
|
self.pulp_labels = value
|
107
103
|
end
|
108
104
|
end
|
109
105
|
|
110
|
-
if attributes.key?(:'
|
111
|
-
self.
|
106
|
+
if attributes.key?(:'name')
|
107
|
+
self.name = attributes[:'name']
|
112
108
|
end
|
113
109
|
|
114
110
|
if attributes.key?(:'content_guard')
|
115
111
|
self.content_guard = attributes[:'content_guard']
|
116
112
|
end
|
117
113
|
|
118
|
-
if attributes.key?(:'
|
119
|
-
self.
|
114
|
+
if attributes.key?(:'base_path')
|
115
|
+
self.base_path = attributes[:'base_path']
|
120
116
|
end
|
121
117
|
|
122
|
-
if attributes.key?(:'
|
123
|
-
self.
|
118
|
+
if attributes.key?(:'pulp_last_updated')
|
119
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
124
120
|
end
|
125
121
|
|
126
|
-
if attributes.key?(:'
|
127
|
-
self.
|
122
|
+
if attributes.key?(:'pulp_href')
|
123
|
+
self.pulp_href = attributes[:'pulp_href']
|
128
124
|
end
|
129
125
|
|
130
|
-
if attributes.key?(:'
|
131
|
-
self.
|
126
|
+
if attributes.key?(:'no_content_change_since')
|
127
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
132
128
|
end
|
133
129
|
|
134
130
|
if attributes.key?(:'hidden')
|
@@ -137,6 +133,10 @@ module PulpcoreClient
|
|
137
133
|
self.hidden = false
|
138
134
|
end
|
139
135
|
|
136
|
+
if attributes.key?(:'pulp_created')
|
137
|
+
self.pulp_created = attributes[:'pulp_created']
|
138
|
+
end
|
139
|
+
|
140
140
|
if attributes.key?(:'base_url')
|
141
141
|
self.base_url = attributes[:'base_url']
|
142
142
|
end
|
@@ -170,15 +170,15 @@ module PulpcoreClient
|
|
170
170
|
def ==(o)
|
171
171
|
return true if self.equal?(o)
|
172
172
|
self.class == o.class &&
|
173
|
-
pulp_last_updated == o.pulp_last_updated &&
|
174
173
|
pulp_labels == o.pulp_labels &&
|
175
|
-
pulp_href == o.pulp_href &&
|
176
|
-
content_guard == o.content_guard &&
|
177
|
-
no_content_change_since == o.no_content_change_since &&
|
178
174
|
name == o.name &&
|
175
|
+
content_guard == o.content_guard &&
|
179
176
|
base_path == o.base_path &&
|
180
|
-
|
177
|
+
pulp_last_updated == o.pulp_last_updated &&
|
178
|
+
pulp_href == o.pulp_href &&
|
179
|
+
no_content_change_since == o.no_content_change_since &&
|
181
180
|
hidden == o.hidden &&
|
181
|
+
pulp_created == o.pulp_created &&
|
182
182
|
base_url == o.base_url
|
183
183
|
end
|
184
184
|
|
@@ -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
|
-
[
|
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
|
@@ -32,55 +32,55 @@ describe 'ArtifactDistributionResponse' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpcoreClient::ArtifactDistributionResponse)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "pulp_labels"' do
|
36
36
|
it 'should work' do
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
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
|
@@ -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-09-
|
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/exporters_filesystem_api_spec.rb
|
661
|
-
- spec/api/exporters_pulp_api_spec.rb
|
662
|
-
- spec/api/contentguards_composite_api_spec.rb
|
663
|
-
- spec/api/distributions_api_spec.rb
|
664
|
-
- spec/api/contentguards_api_spec.rb
|
662
|
+
- spec/api/groups_roles_api_spec.rb
|
665
663
|
- spec/api/exporters_pulp_exports_api_spec.rb
|
666
|
-
- spec/api/
|
664
|
+
- spec/api/livez_api_spec.rb
|
665
|
+
- spec/api/distributions_api_spec.rb
|
666
|
+
- spec/api/repair_api_spec.rb
|
667
|
+
- spec/api/repositories_api_spec.rb
|
668
|
+
- spec/api/exporters_filesystem_api_spec.rb
|
669
|
+
- spec/api/uploads_api_spec.rb
|
670
|
+
- spec/api/upstream_pulps_api_spec.rb
|
667
671
|
- spec/api/repository_versions_api_spec.rb
|
668
|
-
- spec/api/
|
672
|
+
- spec/api/importers_pulp_import_check_api_spec.rb
|
669
673
|
- spec/api/roles_api_spec.rb
|
670
|
-
- spec/api/
|
671
|
-
- spec/api/
|
672
|
-
- spec/api/
|
673
|
-
- spec/api/access_policies_api_spec.rb
|
674
|
-
- spec/api/task_groups_api_spec.rb
|
675
|
-
- spec/api/status_api_spec.rb
|
676
|
-
- spec/api/task_schedules_api_spec.rb
|
677
|
-
- spec/api/groups_roles_api_spec.rb
|
678
|
-
- spec/api/content_api_spec.rb
|
674
|
+
- spec/api/contentguards_header_api_spec.rb
|
675
|
+
- spec/api/workers_api_spec.rb
|
676
|
+
- spec/api/contentguards_composite_api_spec.rb
|
679
677
|
- spec/api/distributions_artifacts_api_spec.rb
|
680
|
-
- spec/api/
|
678
|
+
- spec/api/remotes_api_spec.rb
|
679
|
+
- spec/api/tasks_api_spec.rb
|
680
|
+
- spec/api/task_schedules_api_spec.rb
|
681
|
+
- spec/api/users_api_spec.rb
|
682
|
+
- spec/api/users_roles_api_spec.rb
|
683
|
+
- spec/api/orphans_api_spec.rb
|
681
684
|
- spec/api/signing_services_api_spec.rb
|
682
|
-
- spec/api/groups_api_spec.rb
|
683
685
|
- spec/api/artifacts_api_spec.rb
|
684
|
-
- spec/api/
|
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
|
685
690
|
- spec/api/groups_users_api_spec.rb
|
686
691
|
- spec/api/contentguards_content_redirect_api_spec.rb
|
687
|
-
- spec/api/
|
688
|
-
- spec/api/tasks_api_spec.rb
|
689
|
-
- spec/api/uploads_api_spec.rb
|
690
|
-
- spec/api/importers_pulp_import_check_api_spec.rb
|
691
|
-
- spec/api/orphans_cleanup_api_spec.rb
|
692
|
-
- spec/api/upstream_pulps_api_spec.rb
|
693
|
-
- spec/api/remotes_api_spec.rb
|
692
|
+
- spec/api/repositories_reclaim_space_api_spec.rb
|
694
693
|
- spec/api/domains_api_spec.rb
|
695
|
-
- spec/api/
|
696
|
-
- spec/api/
|
697
|
-
- spec/api/
|
698
|
-
- spec/api/
|
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
|
699
700
|
- spec/api/contentguards_rbac_api_spec.rb
|
701
|
+
- spec/api/exporters_filesystem_exports_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/
|
703
|
-
- spec/models/
|
704
|
-
- spec/models/
|
705
|
-
- spec/models/
|
706
|
-
- spec/models/
|
707
|
-
- spec/models/
|
708
|
-
- spec/models/
|
709
|
-
- spec/models/
|
710
|
-
- spec/models/
|
711
|
-
- spec/models/nested_role_response_spec.rb
|
712
|
-
- spec/models/paginated_domain_response_list_spec.rb
|
713
|
-
- spec/models/user_group_response_spec.rb
|
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
714
|
- spec/models/paginated_multiple_artifact_content_response_list_spec.rb
|
715
|
+
- spec/models/role_spec.rb
|
715
716
|
- spec/models/rbac_content_guard_spec.rb
|
716
|
-
- spec/models/
|
717
|
-
- spec/models/
|
718
|
-
- spec/models/
|
719
|
-
- spec/models/api_app_status_response_spec.rb
|
720
|
-
- spec/models/artifact_distribution_response_spec.rb
|
717
|
+
- spec/models/publication_response_spec.rb
|
718
|
+
- spec/models/composite_content_guard_spec.rb
|
719
|
+
- spec/models/reclaim_space_spec.rb
|
721
720
|
- spec/models/patched_composite_content_guard_spec.rb
|
722
|
-
- spec/models/
|
723
|
-
- spec/models/
|
724
|
-
- spec/models/
|
721
|
+
- spec/models/task_schedule_response_spec.rb
|
722
|
+
- spec/models/artifact_distribution_response_spec.rb
|
723
|
+
- spec/models/paginated_filesystem_export_response_list_spec.rb
|
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
|
735
|
+
- spec/models/nested_role_response_spec.rb
|
725
736
|
- spec/models/paginated_content_redirect_content_guard_response_list_spec.rb
|
726
|
-
- spec/models/
|
727
|
-
- spec/models/
|
728
|
-
- spec/models/
|
729
|
-
- spec/models/
|
730
|
-
- spec/models/
|
731
|
-
- spec/models/
|
737
|
+
- spec/models/worker_response_spec.rb
|
738
|
+
- spec/models/user_role_response_spec.rb
|
739
|
+
- spec/models/content_app_status_response_spec.rb
|
740
|
+
- spec/models/header_content_guard_spec.rb
|
741
|
+
- spec/models/paginated_group_response_list_spec.rb
|
742
|
+
- spec/models/patched_pulp_importer_spec.rb
|
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
|
732
748
|
- spec/models/repository_version_response_spec.rb
|
733
|
-
- spec/models/
|
734
|
-
- spec/models/
|
735
|
-
- spec/models/pulp_import_spec.rb
|
736
|
-
- spec/models/patched_content_redirect_content_guard_spec.rb
|
749
|
+
- spec/models/upload_spec.rb
|
750
|
+
- spec/models/remote_response_hidden_fields_spec.rb
|
737
751
|
- spec/models/content_guard_response_spec.rb
|
752
|
+
- spec/models/upload_response_spec.rb
|
753
|
+
- spec/models/content_redirect_content_guard_response_spec.rb
|
754
|
+
- spec/models/upload_chunk_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
|
738
760
|
- spec/models/paginated_signing_service_response_list_spec.rb
|
739
|
-
- spec/models/role_spec.rb
|
740
761
|
- spec/models/version_response_spec.rb
|
762
|
+
- spec/models/group_user_spec.rb
|
763
|
+
- spec/models/repair_spec.rb
|
741
764
|
- spec/models/patched_task_cancel_spec.rb
|
742
|
-
- spec/models/
|
743
|
-
- spec/models/
|
744
|
-
- spec/models/
|
745
|
-
- spec/models/
|
746
|
-
- spec/models/
|
747
|
-
- spec/models/
|
748
|
-
- spec/models/
|
749
|
-
- spec/models/
|
750
|
-
- spec/models/paginated_access_policy_response_list_spec.rb
|
751
|
-
- spec/models/object_roles_response_spec.rb
|
752
|
-
- spec/models/paginated_task_schedule_response_list_spec.rb
|
753
|
-
- spec/models/publication_response_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
|
754
773
|
- spec/models/paginated_import_response_list_spec.rb
|
755
|
-
- spec/models/
|
774
|
+
- spec/models/paginated_pulp_exporter_response_list_spec.rb
|
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
|
756
779
|
- spec/models/role_response_spec.rb
|
757
|
-
- spec/models/
|
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
|
789
|
+
- spec/models/states_enum_spec.rb
|
790
|
+
- spec/models/object_roles_response_spec.rb
|
791
|
+
- spec/models/upload_commit_spec.rb
|
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
|
758
796
|
- spec/models/paginated_pulp_export_response_list_spec.rb
|
759
|
-
- spec/models/
|
760
|
-
- spec/models/
|
761
|
-
- spec/models/async_operation_response_spec.rb
|
762
|
-
- spec/models/paginated_upload_response_list_spec.rb
|
763
|
-
- spec/models/content_summary_response_spec.rb
|
764
|
-
- spec/models/paginated_distribution_response_list_spec.rb
|
765
|
-
- spec/models/artifact_response_spec.rb
|
766
|
-
- spec/models/patched_rbac_content_guard_spec.rb
|
767
|
-
- spec/models/paginated_rbac_content_guard_response_list_spec.rb
|
768
|
-
- spec/models/paginated_repository_response_list_spec.rb
|
769
|
-
- spec/models/content_app_status_response_spec.rb
|
797
|
+
- spec/models/method_enum_spec.rb
|
798
|
+
- spec/models/pulp_exporter_spec.rb
|
770
799
|
- spec/models/group_role_spec.rb
|
771
|
-
- spec/models/
|
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
|
772
804
|
- spec/models/paginated_task_group_response_list_spec.rb
|
773
|
-
- spec/models/
|
774
|
-
- spec/models/
|
775
|
-
- spec/models/
|
776
|
-
- spec/models/
|
777
|
-
- spec/models/
|
778
|
-
- spec/models/
|
779
|
-
- spec/models/user_role_response_spec.rb
|
780
|
-
- spec/models/task_group_operation_response_spec.rb
|
781
|
-
- spec/models/upload_detail_response_spec.rb
|
782
|
-
- spec/models/upload_commit_spec.rb
|
783
|
-
- spec/models/patched_pulp_exporter_spec.rb
|
805
|
+
- spec/models/async_operation_response_spec.rb
|
806
|
+
- spec/models/filesystem_export_spec.rb
|
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
|
784
811
|
- spec/models/domain_spec.rb
|
785
|
-
- spec/models/
|
786
|
-
- spec/models/content_redirect_content_guard_spec.rb
|
787
|
-
- spec/models/user_role_spec.rb
|
812
|
+
- spec/models/paginated_composite_content_guard_response_list_spec.rb
|
788
813
|
- spec/models/user_response_spec.rb
|
789
|
-
- spec/models/
|
790
|
-
- spec/models/
|
791
|
-
- spec/models/group_user_response_spec.rb
|
792
|
-
- spec/models/evaluation_response_spec.rb
|
793
|
-
- spec/models/task_schedule_response_spec.rb
|
794
|
-
- spec/models/pulp_exporter_spec.rb
|
795
|
-
- spec/models/task_response_spec.rb
|
796
|
-
- spec/models/my_permissions_response_spec.rb
|
797
|
-
- spec/models/reclaim_space_spec.rb
|
798
|
-
- spec/models/profile_artifact_response_spec.rb
|
799
|
-
- spec/models/states_enum_spec.rb
|
800
|
-
- spec/models/worker_response_spec.rb
|
801
|
-
- spec/models/upload_chunk_response_spec.rb
|
802
|
-
- spec/models/header_content_guard_spec.rb
|
803
|
-
- spec/models/multiple_artifact_content_response_spec.rb
|
804
|
-
- spec/models/filesystem_exporter_spec.rb
|
805
|
-
- spec/models/group_role_response_spec.rb
|
806
|
-
- spec/models/patched_role_spec.rb
|
807
|
-
- spec/models/repair_spec.rb
|
814
|
+
- spec/models/user_group_response_spec.rb
|
815
|
+
- spec/models/task_group_operation_response_spec.rb
|
808
816
|
- spec/models/paginated_artifact_response_list_spec.rb
|
809
|
-
- spec/models/
|
810
|
-
- spec/models/
|
811
|
-
- spec/models/
|
812
|
-
- spec/models/
|
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
|
823
|
+
- spec/models/storage_class_enum_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
|
828
|
+
- spec/models/paginated_upload_response_list_spec.rb
|
829
|
+
- spec/models/patched_access_policy_spec.rb
|
830
|
+
- spec/models/distribution_response_spec.rb
|
813
831
|
- spec/models/pulp_exporter_response_spec.rb
|
814
|
-
- spec/models/nested_role_spec.rb
|
815
832
|
- spec/models/group_progress_report_response_spec.rb
|
816
|
-
- spec/models/
|
817
|
-
- spec/models/paginated_group_response_list_spec.rb
|
818
|
-
- spec/models/patched_domain_spec.rb
|
819
|
-
- spec/models/domain_response_spec.rb
|
820
|
-
- spec/models/purge_spec.rb
|
821
|
-
- spec/models/database_connection_response_spec.rb
|
822
|
-
- spec/models/header_content_guard_response_spec.rb
|
823
|
-
- spec/models/patched_group_spec.rb
|
824
|
-
- spec/models/composite_content_guard_response_spec.rb
|
825
|
-
- spec/models/paginated_worker_response_list_spec.rb
|
833
|
+
- spec/models/import_response_spec.rb
|
826
834
|
- spec/models/patched_user_spec.rb
|
827
|
-
- spec/models/
|
828
|
-
- spec/models/
|
829
|
-
- spec/models/
|
830
|
-
- spec/models/paginated_role_response_list_spec.rb
|
831
|
-
- spec/models/orphans_cleanup_spec.rb
|
832
|
-
- spec/models/filesystem_export_response_spec.rb
|
833
|
-
- spec/models/access_policy_response_spec.rb
|
834
|
-
- spec/models/upload_chunk_spec.rb
|
835
|
-
- spec/models/pulp_importer_spec.rb
|
836
|
-
- spec/models/paginated_content_guard_response_list_spec.rb
|
837
|
-
- spec/models/paginated_pulp_exporter_response_list_spec.rb
|
838
|
-
- spec/models/paginated_user_response_list_spec.rb
|
839
|
-
- spec/models/access_policy_spec.rb
|
840
|
-
- spec/models/paginated_filesystem_exporter_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
|
841
838
|
- spec/models/progress_report_response_spec.rb
|
839
|
+
- spec/models/paginated_upstream_pulp_response_list_spec.rb
|
840
|
+
- spec/models/artifact_spec.rb
|
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
|