pulp_file_client 3.114.2 → 3.115.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/docs/FileFileRepositoryResponse.md +3 -1
- data/docs/{RepositorySyncURL.md → FileRepositorySyncURL.md} +5 -3
- data/docs/RepositoriesFileApi.md +6 -6
- data/lib/pulp_file_client/api/repositories_file_api.rb +9 -9
- data/lib/pulp_file_client/models/file_file_repository_response.rb +15 -5
- data/lib/pulp_file_client/models/{repository_sync_url.rb → file_repository_sync_url.rb} +20 -8
- data/lib/pulp_file_client/version.rb +1 -1
- data/lib/pulp_file_client.rb +1 -1
- data/spec/api/repositories_file_api_spec.rb +1 -1
- data/spec/models/file_file_repository_response_spec.rb +6 -0
- data/spec/models/{repository_sync_url_spec.rb → file_repository_sync_url_spec.rb} +12 -6
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 48fa17ddc2a6337d108b78d3d5a8981d6dd1262f029243f6bbceb20e5a892f91
|
|
4
|
+
data.tar.gz: dd96129e23e34f3e9cfb6cc83b0c1adfd1bc9ea2465988ea093639b3cb8b30c0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '093bfae9e77af70a29cc32cbe47a977c4acb8d551e44323ce0b7bc758c0ad43e9a3c9b135a1da7a8d1462ccee58e87b4704ce7bb49bbee6cf79ac7c0c274640a'
|
|
7
|
+
data.tar.gz: eec0488c0e3c984909d91fd221536d1f33df8512b42d8df0c9cf4f4892a6e15cf88325a67bdfb1f20d8131c4edf7247fceb4bf55bd68843f6c2b38c37db6e980
|
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.115.0
|
|
11
11
|
- Generator version: 7.10.0
|
|
12
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
13
13
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
@@ -25,16 +25,16 @@ gem build pulp_file_client.gemspec
|
|
|
25
25
|
Then either install the gem locally:
|
|
26
26
|
|
|
27
27
|
```shell
|
|
28
|
-
gem install ./pulp_file_client-3.
|
|
28
|
+
gem install ./pulp_file_client-3.115.0.gem
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
(for development, run `gem install --dev ./pulp_file_client-3.
|
|
31
|
+
(for development, run `gem install --dev ./pulp_file_client-3.115.0.gem` to install the development dependencies)
|
|
32
32
|
|
|
33
33
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
34
34
|
|
|
35
35
|
Finally add this to the Gemfile:
|
|
36
36
|
|
|
37
|
-
gem 'pulp_file_client', '~> 3.
|
|
37
|
+
gem 'pulp_file_client', '~> 3.115.0'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
|
@@ -190,6 +190,7 @@ Class | Method | HTTP request | Description
|
|
|
190
190
|
- [PulpFileClient::FileFileRemoteResponse](docs/FileFileRemoteResponse.md)
|
|
191
191
|
- [PulpFileClient::FileFileRepository](docs/FileFileRepository.md)
|
|
192
192
|
- [PulpFileClient::FileFileRepositoryResponse](docs/FileFileRepositoryResponse.md)
|
|
193
|
+
- [PulpFileClient::FileRepositorySyncURL](docs/FileRepositorySyncURL.md)
|
|
193
194
|
- [PulpFileClient::MyPermissionsResponse](docs/MyPermissionsResponse.md)
|
|
194
195
|
- [PulpFileClient::NestedRole](docs/NestedRole.md)
|
|
195
196
|
- [PulpFileClient::NestedRoleResponse](docs/NestedRoleResponse.md)
|
|
@@ -212,7 +213,6 @@ Class | Method | HTTP request | Description
|
|
|
212
213
|
- [PulpFileClient::RemoteNetworkConfigResponse](docs/RemoteNetworkConfigResponse.md)
|
|
213
214
|
- [PulpFileClient::Repair](docs/Repair.md)
|
|
214
215
|
- [PulpFileClient::RepositoryAddRemoveContent](docs/RepositoryAddRemoveContent.md)
|
|
215
|
-
- [PulpFileClient::RepositorySyncURL](docs/RepositorySyncURL.md)
|
|
216
216
|
- [PulpFileClient::RepositoryVersionResponse](docs/RepositoryVersionResponse.md)
|
|
217
217
|
- [PulpFileClient::SetLabel](docs/SetLabel.md)
|
|
218
218
|
- [PulpFileClient::SetLabelResponse](docs/SetLabelResponse.md)
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
| **remote** | **String** | An optional remote to use by default when syncing. | [optional] |
|
|
19
19
|
| **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. | [optional][default to false] |
|
|
20
20
|
| **manifest** | **String** | Filename to use for manifest file containing metadata for all the files. | [optional][default to 'PULP_MANIFEST'] |
|
|
21
|
+
| **last_sync_details** | **Object** | | [optional] |
|
|
21
22
|
|
|
22
23
|
## Example
|
|
23
24
|
|
|
@@ -38,7 +39,8 @@ instance = PulpFileClient::FileFileRepositoryResponse.new(
|
|
|
38
39
|
retain_checkpoints: null,
|
|
39
40
|
remote: null,
|
|
40
41
|
autopublish: null,
|
|
41
|
-
manifest: null
|
|
42
|
+
manifest: null,
|
|
43
|
+
last_sync_details: null
|
|
42
44
|
)
|
|
43
45
|
```
|
|
44
46
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# PulpFileClient::
|
|
1
|
+
# PulpFileClient::FileRepositorySyncURL
|
|
2
2
|
|
|
3
3
|
## Properties
|
|
4
4
|
|
|
@@ -6,15 +6,17 @@
|
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **remote** | **String** | A remote to sync from. This will override a remote set on repository. | [optional] |
|
|
8
8
|
| **mirror** | **Boolean** | If ``True``, synchronization will remove all content that is not present in the remote repository. If ``False``, sync will be additive only. | [optional][default to false] |
|
|
9
|
+
| **optimize** | **Boolean** | Whether or not to optimize sync. | [optional][default to true] |
|
|
9
10
|
|
|
10
11
|
## Example
|
|
11
12
|
|
|
12
13
|
```ruby
|
|
13
14
|
require 'pulp_file_client'
|
|
14
15
|
|
|
15
|
-
instance = PulpFileClient::
|
|
16
|
+
instance = PulpFileClient::FileRepositorySyncURL.new(
|
|
16
17
|
remote: null,
|
|
17
|
-
mirror: null
|
|
18
|
+
mirror: null,
|
|
19
|
+
optimize: null
|
|
18
20
|
)
|
|
19
21
|
```
|
|
20
22
|
|
data/docs/RepositoriesFileApi.md
CHANGED
|
@@ -932,7 +932,7 @@ end
|
|
|
932
932
|
|
|
933
933
|
## sync
|
|
934
934
|
|
|
935
|
-
> <AsyncOperationResponse> sync(file_file_repository_href,
|
|
935
|
+
> <AsyncOperationResponse> sync(file_file_repository_href, file_repository_sync_url, opts)
|
|
936
936
|
|
|
937
937
|
Sync from a remote
|
|
938
938
|
|
|
@@ -952,14 +952,14 @@ end
|
|
|
952
952
|
|
|
953
953
|
api_instance = PulpFileClient::RepositoriesFileApi.new
|
|
954
954
|
file_file_repository_href = 'file_file_repository_href_example' # String |
|
|
955
|
-
|
|
955
|
+
file_repository_sync_url = PulpFileClient::FileRepositorySyncURL.new # FileRepositorySyncURL |
|
|
956
956
|
opts = {
|
|
957
957
|
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
958
958
|
}
|
|
959
959
|
|
|
960
960
|
begin
|
|
961
961
|
# Sync from a remote
|
|
962
|
-
result = api_instance.sync(file_file_repository_href,
|
|
962
|
+
result = api_instance.sync(file_file_repository_href, file_repository_sync_url, opts)
|
|
963
963
|
p result
|
|
964
964
|
rescue PulpFileClient::ApiError => e
|
|
965
965
|
puts "Error when calling RepositoriesFileApi->sync: #{e}"
|
|
@@ -970,12 +970,12 @@ end
|
|
|
970
970
|
|
|
971
971
|
This returns an Array which contains the response data, status code and headers.
|
|
972
972
|
|
|
973
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> sync_with_http_info(file_file_repository_href,
|
|
973
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> sync_with_http_info(file_file_repository_href, file_repository_sync_url, opts)
|
|
974
974
|
|
|
975
975
|
```ruby
|
|
976
976
|
begin
|
|
977
977
|
# Sync from a remote
|
|
978
|
-
data, status_code, headers = api_instance.sync_with_http_info(file_file_repository_href,
|
|
978
|
+
data, status_code, headers = api_instance.sync_with_http_info(file_file_repository_href, file_repository_sync_url, opts)
|
|
979
979
|
p status_code # => 2xx
|
|
980
980
|
p headers # => { ... }
|
|
981
981
|
p data # => <AsyncOperationResponse>
|
|
@@ -989,7 +989,7 @@ end
|
|
|
989
989
|
| Name | Type | Description | Notes |
|
|
990
990
|
| ---- | ---- | ----------- | ----- |
|
|
991
991
|
| **file_file_repository_href** | **String** | | |
|
|
992
|
-
| **
|
|
992
|
+
| **file_repository_sync_url** | [**FileRepositorySyncURL**](FileRepositorySyncURL.md) | | |
|
|
993
993
|
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
994
994
|
|
|
995
995
|
### Return type
|
|
@@ -938,23 +938,23 @@ module PulpFileClient
|
|
|
938
938
|
# Sync from a remote
|
|
939
939
|
# Trigger an asynchronous task to sync file content.
|
|
940
940
|
# @param file_file_repository_href [String]
|
|
941
|
-
# @param
|
|
941
|
+
# @param file_repository_sync_url [FileRepositorySyncURL]
|
|
942
942
|
# @param [Hash] opts the optional parameters
|
|
943
943
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
944
944
|
# @return [AsyncOperationResponse]
|
|
945
|
-
def sync(file_file_repository_href,
|
|
946
|
-
data, _status_code, _headers = sync_with_http_info(file_file_repository_href,
|
|
945
|
+
def sync(file_file_repository_href, file_repository_sync_url, opts = {})
|
|
946
|
+
data, _status_code, _headers = sync_with_http_info(file_file_repository_href, file_repository_sync_url, opts)
|
|
947
947
|
data
|
|
948
948
|
end
|
|
949
949
|
|
|
950
950
|
# Sync from a remote
|
|
951
951
|
# Trigger an asynchronous task to sync file content.
|
|
952
952
|
# @param file_file_repository_href [String]
|
|
953
|
-
# @param
|
|
953
|
+
# @param file_repository_sync_url [FileRepositorySyncURL]
|
|
954
954
|
# @param [Hash] opts the optional parameters
|
|
955
955
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
956
956
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
957
|
-
def sync_with_http_info(file_file_repository_href,
|
|
957
|
+
def sync_with_http_info(file_file_repository_href, file_repository_sync_url, opts = {})
|
|
958
958
|
if @api_client.config.debugging
|
|
959
959
|
@api_client.config.logger.debug 'Calling API: RepositoriesFileApi.sync ...'
|
|
960
960
|
end
|
|
@@ -962,9 +962,9 @@ module PulpFileClient
|
|
|
962
962
|
if @api_client.config.client_side_validation && file_file_repository_href.nil?
|
|
963
963
|
fail ArgumentError, "Missing the required parameter 'file_file_repository_href' when calling RepositoriesFileApi.sync"
|
|
964
964
|
end
|
|
965
|
-
# verify the required parameter '
|
|
966
|
-
if @api_client.config.client_side_validation &&
|
|
967
|
-
fail ArgumentError, "Missing the required parameter '
|
|
965
|
+
# verify the required parameter 'file_repository_sync_url' is set
|
|
966
|
+
if @api_client.config.client_side_validation && file_repository_sync_url.nil?
|
|
967
|
+
fail ArgumentError, "Missing the required parameter 'file_repository_sync_url' when calling RepositoriesFileApi.sync"
|
|
968
968
|
end
|
|
969
969
|
# resource path
|
|
970
970
|
local_var_path = '{file_file_repository_href}sync/'.sub('{' + 'file_file_repository_href' + '}', CGI.escape(file_file_repository_href.to_s).gsub('%2F', '/'))
|
|
@@ -987,7 +987,7 @@ module PulpFileClient
|
|
|
987
987
|
form_params = opts[:form_params] || {}
|
|
988
988
|
|
|
989
989
|
# http body (model)
|
|
990
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
990
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(file_repository_sync_url)
|
|
991
991
|
|
|
992
992
|
# return_type
|
|
993
993
|
return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
|
|
@@ -54,6 +54,8 @@ module PulpFileClient
|
|
|
54
54
|
# Filename to use for manifest file containing metadata for all the files.
|
|
55
55
|
attr_accessor :manifest
|
|
56
56
|
|
|
57
|
+
attr_accessor :last_sync_details
|
|
58
|
+
|
|
57
59
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
58
60
|
def self.attribute_map
|
|
59
61
|
{
|
|
@@ -70,7 +72,8 @@ module PulpFileClient
|
|
|
70
72
|
:'retain_checkpoints' => :'retain_checkpoints',
|
|
71
73
|
:'remote' => :'remote',
|
|
72
74
|
:'autopublish' => :'autopublish',
|
|
73
|
-
:'manifest' => :'manifest'
|
|
75
|
+
:'manifest' => :'manifest',
|
|
76
|
+
:'last_sync_details' => :'last_sync_details'
|
|
74
77
|
}
|
|
75
78
|
end
|
|
76
79
|
|
|
@@ -95,7 +98,8 @@ module PulpFileClient
|
|
|
95
98
|
:'retain_checkpoints' => :'Integer',
|
|
96
99
|
:'remote' => :'String',
|
|
97
100
|
:'autopublish' => :'Boolean',
|
|
98
|
-
:'manifest' => :'String'
|
|
101
|
+
:'manifest' => :'String',
|
|
102
|
+
:'last_sync_details' => :'Object'
|
|
99
103
|
}
|
|
100
104
|
end
|
|
101
105
|
|
|
@@ -106,7 +110,8 @@ module PulpFileClient
|
|
|
106
110
|
:'retain_repo_versions',
|
|
107
111
|
:'retain_checkpoints',
|
|
108
112
|
:'remote',
|
|
109
|
-
:'manifest'
|
|
113
|
+
:'manifest',
|
|
114
|
+
:'last_sync_details'
|
|
110
115
|
])
|
|
111
116
|
end
|
|
112
117
|
|
|
@@ -188,6 +193,10 @@ module PulpFileClient
|
|
|
188
193
|
else
|
|
189
194
|
self.manifest = 'PULP_MANIFEST'
|
|
190
195
|
end
|
|
196
|
+
|
|
197
|
+
if attributes.key?(:'last_sync_details')
|
|
198
|
+
self.last_sync_details = attributes[:'last_sync_details']
|
|
199
|
+
end
|
|
191
200
|
end
|
|
192
201
|
|
|
193
202
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -258,7 +267,8 @@ module PulpFileClient
|
|
|
258
267
|
retain_checkpoints == o.retain_checkpoints &&
|
|
259
268
|
remote == o.remote &&
|
|
260
269
|
autopublish == o.autopublish &&
|
|
261
|
-
manifest == o.manifest
|
|
270
|
+
manifest == o.manifest &&
|
|
271
|
+
last_sync_details == o.last_sync_details
|
|
262
272
|
end
|
|
263
273
|
|
|
264
274
|
# @see the `==` method
|
|
@@ -270,7 +280,7 @@ module PulpFileClient
|
|
|
270
280
|
# Calculates hash code according to all attributes.
|
|
271
281
|
# @return [Integer] Hash code
|
|
272
282
|
def hash
|
|
273
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, retain_checkpoints, remote, autopublish, manifest].hash
|
|
283
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, retain_checkpoints, remote, autopublish, manifest, last_sync_details].hash
|
|
274
284
|
end
|
|
275
285
|
|
|
276
286
|
# Builds the object from hash
|
|
@@ -14,19 +14,23 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PulpFileClient
|
|
17
|
-
#
|
|
18
|
-
class
|
|
17
|
+
# Serializer for File Repository Sync URL.
|
|
18
|
+
class FileRepositorySyncURL
|
|
19
19
|
# A remote to sync from. This will override a remote set on repository.
|
|
20
20
|
attr_accessor :remote
|
|
21
21
|
|
|
22
22
|
# If ``True``, synchronization will remove all content that is not present in the remote repository. If ``False``, sync will be additive only.
|
|
23
23
|
attr_accessor :mirror
|
|
24
24
|
|
|
25
|
+
# Whether or not to optimize sync.
|
|
26
|
+
attr_accessor :optimize
|
|
27
|
+
|
|
25
28
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
26
29
|
def self.attribute_map
|
|
27
30
|
{
|
|
28
31
|
:'remote' => :'remote',
|
|
29
|
-
:'mirror' => :'mirror'
|
|
32
|
+
:'mirror' => :'mirror',
|
|
33
|
+
:'optimize' => :'optimize'
|
|
30
34
|
}
|
|
31
35
|
end
|
|
32
36
|
|
|
@@ -39,7 +43,8 @@ module PulpFileClient
|
|
|
39
43
|
def self.openapi_types
|
|
40
44
|
{
|
|
41
45
|
:'remote' => :'String',
|
|
42
|
-
:'mirror' => :'Boolean'
|
|
46
|
+
:'mirror' => :'Boolean',
|
|
47
|
+
:'optimize' => :'Boolean'
|
|
43
48
|
}
|
|
44
49
|
end
|
|
45
50
|
|
|
@@ -53,13 +58,13 @@ module PulpFileClient
|
|
|
53
58
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
54
59
|
def initialize(attributes = {})
|
|
55
60
|
if (!attributes.is_a?(Hash))
|
|
56
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpFileClient::
|
|
61
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpFileClient::FileRepositorySyncURL` initialize method"
|
|
57
62
|
end
|
|
58
63
|
|
|
59
64
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
60
65
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
61
66
|
if (!self.class.attribute_map.key?(k.to_sym))
|
|
62
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpFileClient::
|
|
67
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpFileClient::FileRepositorySyncURL`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
63
68
|
end
|
|
64
69
|
h[k.to_sym] = v
|
|
65
70
|
}
|
|
@@ -73,6 +78,12 @@ module PulpFileClient
|
|
|
73
78
|
else
|
|
74
79
|
self.mirror = false
|
|
75
80
|
end
|
|
81
|
+
|
|
82
|
+
if attributes.key?(:'optimize')
|
|
83
|
+
self.optimize = attributes[:'optimize']
|
|
84
|
+
else
|
|
85
|
+
self.optimize = true
|
|
86
|
+
end
|
|
76
87
|
end
|
|
77
88
|
|
|
78
89
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -96,7 +107,8 @@ module PulpFileClient
|
|
|
96
107
|
return true if self.equal?(o)
|
|
97
108
|
self.class == o.class &&
|
|
98
109
|
remote == o.remote &&
|
|
99
|
-
mirror == o.mirror
|
|
110
|
+
mirror == o.mirror &&
|
|
111
|
+
optimize == o.optimize
|
|
100
112
|
end
|
|
101
113
|
|
|
102
114
|
# @see the `==` method
|
|
@@ -108,7 +120,7 @@ module PulpFileClient
|
|
|
108
120
|
# Calculates hash code according to all attributes.
|
|
109
121
|
# @return [Integer] Hash code
|
|
110
122
|
def hash
|
|
111
|
-
[remote, mirror].hash
|
|
123
|
+
[remote, mirror, optimize].hash
|
|
112
124
|
end
|
|
113
125
|
|
|
114
126
|
# Builds the object from hash
|
data/lib/pulp_file_client.rb
CHANGED
|
@@ -34,6 +34,7 @@ require 'pulp_file_client/models/file_file_remote'
|
|
|
34
34
|
require 'pulp_file_client/models/file_file_remote_response'
|
|
35
35
|
require 'pulp_file_client/models/file_file_repository'
|
|
36
36
|
require 'pulp_file_client/models/file_file_repository_response'
|
|
37
|
+
require 'pulp_file_client/models/file_repository_sync_url'
|
|
37
38
|
require 'pulp_file_client/models/my_permissions_response'
|
|
38
39
|
require 'pulp_file_client/models/nested_role'
|
|
39
40
|
require 'pulp_file_client/models/nested_role_response'
|
|
@@ -56,7 +57,6 @@ require 'pulp_file_client/models/remote_network_config'
|
|
|
56
57
|
require 'pulp_file_client/models/remote_network_config_response'
|
|
57
58
|
require 'pulp_file_client/models/repair'
|
|
58
59
|
require 'pulp_file_client/models/repository_add_remove_content'
|
|
59
|
-
require 'pulp_file_client/models/repository_sync_url'
|
|
60
60
|
require 'pulp_file_client/models/repository_version_response'
|
|
61
61
|
require 'pulp_file_client/models/set_label'
|
|
62
62
|
require 'pulp_file_client/models/set_label_response'
|
|
@@ -227,7 +227,7 @@ describe 'RepositoriesFileApi' do
|
|
|
227
227
|
# Sync from a remote
|
|
228
228
|
# Trigger an asynchronous task to sync file content.
|
|
229
229
|
# @param file_file_repository_href
|
|
230
|
-
# @param
|
|
230
|
+
# @param file_repository_sync_url
|
|
231
231
|
# @param [Hash] opts the optional parameters
|
|
232
232
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
233
233
|
# @return [AsyncOperationResponse]
|
|
@@ -111,4 +111,10 @@ describe PulpFileClient::FileFileRepositoryResponse do
|
|
|
111
111
|
end
|
|
112
112
|
end
|
|
113
113
|
|
|
114
|
+
describe 'test attribute "last_sync_details"' do
|
|
115
|
+
it 'should work' do
|
|
116
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
117
|
+
end
|
|
118
|
+
end
|
|
119
|
+
|
|
114
120
|
end
|
|
@@ -14,16 +14,16 @@ require 'spec_helper'
|
|
|
14
14
|
require 'json'
|
|
15
15
|
require 'date'
|
|
16
16
|
|
|
17
|
-
# Unit tests for PulpFileClient::
|
|
17
|
+
# Unit tests for PulpFileClient::FileRepositorySyncURL
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe PulpFileClient::
|
|
21
|
-
let(:instance) { PulpFileClient::
|
|
20
|
+
describe PulpFileClient::FileRepositorySyncURL do
|
|
21
|
+
let(:instance) { PulpFileClient::FileRepositorySyncURL.new }
|
|
22
22
|
|
|
23
|
-
describe 'test an instance of
|
|
24
|
-
it 'should create an instance of
|
|
23
|
+
describe 'test an instance of FileRepositorySyncURL' do
|
|
24
|
+
it 'should create an instance of FileRepositorySyncURL' do
|
|
25
25
|
# uncomment below to test the instance creation
|
|
26
|
-
#expect(instance).to be_instance_of(PulpFileClient::
|
|
26
|
+
#expect(instance).to be_instance_of(PulpFileClient::FileRepositorySyncURL)
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
@@ -39,4 +39,10 @@ describe PulpFileClient::RepositorySyncURL do
|
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
41
|
|
|
42
|
+
describe 'test attribute "optimize"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
42
48
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pulp_file_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.115.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: 2026-07-
|
|
11
|
+
date: 2026-07-21 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/FileFileRemoteResponse.md
|
|
109
109
|
- docs/FileFileRepository.md
|
|
110
110
|
- docs/FileFileRepositoryResponse.md
|
|
111
|
+
- docs/FileRepositorySyncURL.md
|
|
111
112
|
- docs/MyPermissionsResponse.md
|
|
112
113
|
- docs/NestedRole.md
|
|
113
114
|
- docs/NestedRoleResponse.md
|
|
@@ -135,7 +136,6 @@ files:
|
|
|
135
136
|
- docs/RepositoriesFileApi.md
|
|
136
137
|
- docs/RepositoriesFileVersionsApi.md
|
|
137
138
|
- docs/RepositoryAddRemoveContent.md
|
|
138
|
-
- docs/RepositorySyncURL.md
|
|
139
139
|
- docs/RepositoryVersionResponse.md
|
|
140
140
|
- docs/SetLabel.md
|
|
141
141
|
- docs/SetLabelResponse.md
|
|
@@ -171,6 +171,7 @@ files:
|
|
|
171
171
|
- lib/pulp_file_client/models/file_file_remote_response.rb
|
|
172
172
|
- lib/pulp_file_client/models/file_file_repository.rb
|
|
173
173
|
- lib/pulp_file_client/models/file_file_repository_response.rb
|
|
174
|
+
- lib/pulp_file_client/models/file_repository_sync_url.rb
|
|
174
175
|
- lib/pulp_file_client/models/my_permissions_response.rb
|
|
175
176
|
- lib/pulp_file_client/models/nested_role.rb
|
|
176
177
|
- lib/pulp_file_client/models/nested_role_response.rb
|
|
@@ -193,7 +194,6 @@ files:
|
|
|
193
194
|
- lib/pulp_file_client/models/remote_network_config_response.rb
|
|
194
195
|
- lib/pulp_file_client/models/repair.rb
|
|
195
196
|
- lib/pulp_file_client/models/repository_add_remove_content.rb
|
|
196
|
-
- lib/pulp_file_client/models/repository_sync_url.rb
|
|
197
197
|
- lib/pulp_file_client/models/repository_version_response.rb
|
|
198
198
|
- lib/pulp_file_client/models/set_label.rb
|
|
199
199
|
- lib/pulp_file_client/models/set_label_response.rb
|
|
@@ -227,6 +227,7 @@ files:
|
|
|
227
227
|
- spec/models/file_file_remote_spec.rb
|
|
228
228
|
- spec/models/file_file_repository_response_spec.rb
|
|
229
229
|
- spec/models/file_file_repository_spec.rb
|
|
230
|
+
- spec/models/file_repository_sync_url_spec.rb
|
|
230
231
|
- spec/models/my_permissions_response_spec.rb
|
|
231
232
|
- spec/models/nested_role_response_spec.rb
|
|
232
233
|
- spec/models/nested_role_spec.rb
|
|
@@ -249,7 +250,6 @@ files:
|
|
|
249
250
|
- spec/models/remote_network_config_spec.rb
|
|
250
251
|
- spec/models/repair_spec.rb
|
|
251
252
|
- spec/models/repository_add_remove_content_spec.rb
|
|
252
|
-
- spec/models/repository_sync_url_spec.rb
|
|
253
253
|
- spec/models/repository_version_response_spec.rb
|
|
254
254
|
- spec/models/set_label_response_spec.rb
|
|
255
255
|
- spec/models/set_label_spec.rb
|
|
@@ -324,11 +324,11 @@ test_files:
|
|
|
324
324
|
- spec/models/unset_label_response_spec.rb
|
|
325
325
|
- spec/models/nested_role_response_spec.rb
|
|
326
326
|
- spec/models/remote_network_config_response_spec.rb
|
|
327
|
+
- spec/models/file_repository_sync_url_spec.rb
|
|
327
328
|
- spec/models/file_file_repository_spec.rb
|
|
328
329
|
- spec/models/repository_version_response_spec.rb
|
|
329
330
|
- spec/models/set_label_response_spec.rb
|
|
330
331
|
- spec/models/patchedfile_file_repository_spec.rb
|
|
331
|
-
- spec/models/repository_sync_url_spec.rb
|
|
332
332
|
- spec/models/paginatedfile_file_remote_response_list_spec.rb
|
|
333
333
|
- spec/models/repository_add_remove_content_spec.rb
|
|
334
334
|
- spec/models/content_summary_response_spec.rb
|