pulp_file_client 1.8.2 → 1.9.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 +21 -15
- data/docs/AcsFileApi.md +416 -0
- data/docs/ContentFilesApi.md +1 -1
- data/docs/DistributionsFileApi.md +1 -1
- data/docs/FileFileAlternateContentSource.md +23 -0
- data/docs/FileFileAlternateContentSourceResponse.md +27 -0
- data/docs/FileFileRepository.md +3 -3
- data/docs/FileFileRepositoryResponse.md +3 -3
- data/docs/PaginatedfileFileAlternateContentSourceResponseList.md +23 -0
- data/docs/PatchedfileFileAlternateContentSource.md +23 -0
- data/docs/PatchedfileFileRepository.md +3 -3
- data/docs/PublicationsFileApi.md +1 -1
- data/docs/RemotesFileApi.md +1 -1
- data/docs/RepositoriesFileApi.md +1 -1
- data/docs/RepositoriesFileVersionsApi.md +1 -1
- data/lib/pulp_file_client/api/acs_file_api.rb +508 -0
- data/lib/pulp_file_client/configuration.rb +2 -2
- data/lib/pulp_file_client/models/file_file_alternate_content_source.rb +251 -0
- data/lib/pulp_file_client/models/file_file_alternate_content_source_response.rb +270 -0
- data/lib/pulp_file_client/models/file_file_repository.rb +17 -16
- data/lib/pulp_file_client/models/file_file_repository_response.rb +17 -16
- data/lib/pulp_file_client/models/paginatedfile_file_alternate_content_source_response_list.rb +237 -0
- data/lib/pulp_file_client/models/patchedfile_file_alternate_content_source.rb +241 -0
- data/lib/pulp_file_client/models/patchedfile_file_repository.rb +17 -16
- data/lib/pulp_file_client/version.rb +1 -1
- data/lib/pulp_file_client.rb +5 -0
- data/spec/api/acs_file_api_spec.rb +132 -0
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/file_file_alternate_content_source_response_spec.rb +71 -0
- data/spec/models/file_file_alternate_content_source_spec.rb +59 -0
- data/spec/models/file_file_repository_response_spec.rb +1 -1
- data/spec/models/file_file_repository_spec.rb +1 -1
- data/spec/models/paginatedfile_file_alternate_content_source_response_list_spec.rb +59 -0
- data/spec/models/patchedfile_file_alternate_content_source_spec.rb +59 -0
- data/spec/models/patchedfile_file_repository_spec.rb +1 -1
- metadata +45 -25
@@ -0,0 +1,59 @@
|
|
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 PulpFileClient::PaginatedfileFileAlternateContentSourceResponseList
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'PaginatedfileFileAlternateContentSourceResponseList' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpFileClient::PaginatedfileFileAlternateContentSourceResponseList.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of PaginatedfileFileAlternateContentSourceResponseList' do
|
31
|
+
it 'should create an instance of PaginatedfileFileAlternateContentSourceResponseList' do
|
32
|
+
expect(@instance).to be_instance_of(PulpFileClient::PaginatedfileFileAlternateContentSourceResponseList)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "count"' 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 "_next"' 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
|
+
describe 'test attribute "previous"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "results"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
@@ -0,0 +1,59 @@
|
|
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 PulpFileClient::PatchedfileFileAlternateContentSource
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'PatchedfileFileAlternateContentSource' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpFileClient::PatchedfileFileAlternateContentSource.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of PatchedfileFileAlternateContentSource' do
|
31
|
+
it 'should create an instance of PatchedfileFileAlternateContentSource' do
|
32
|
+
expect(@instance).to be_instance_of(PulpFileClient::PatchedfileFileAlternateContentSource)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "name"' 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 "last_refreshed"' 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
|
+
describe 'test attribute "paths"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "remote"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
@@ -50,7 +50,7 @@ describe 'PatchedfileFileRepository' do
|
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
-
describe 'test attribute "
|
53
|
+
describe 'test attribute "retain_repo_versions"' 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
|
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: 1.
|
4
|
+
version: 1.9.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: 2021-
|
11
|
+
date: 2021-08-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -74,11 +74,14 @@ files:
|
|
74
74
|
- Gemfile
|
75
75
|
- README.md
|
76
76
|
- Rakefile
|
77
|
+
- docs/AcsFileApi.md
|
77
78
|
- docs/AsyncOperationResponse.md
|
78
79
|
- docs/ContentFilesApi.md
|
79
80
|
- docs/ContentSummary.md
|
80
81
|
- docs/ContentSummaryResponse.md
|
81
82
|
- docs/DistributionsFileApi.md
|
83
|
+
- docs/FileFileAlternateContentSource.md
|
84
|
+
- docs/FileFileAlternateContentSourceResponse.md
|
82
85
|
- docs/FileFileContent.md
|
83
86
|
- docs/FileFileContentResponse.md
|
84
87
|
- docs/FileFileDistribution.md
|
@@ -90,11 +93,13 @@ files:
|
|
90
93
|
- docs/FileFileRepository.md
|
91
94
|
- docs/FileFileRepositoryResponse.md
|
92
95
|
- docs/PaginatedRepositoryVersionResponseList.md
|
96
|
+
- docs/PaginatedfileFileAlternateContentSourceResponseList.md
|
93
97
|
- docs/PaginatedfileFileContentResponseList.md
|
94
98
|
- docs/PaginatedfileFileDistributionResponseList.md
|
95
99
|
- docs/PaginatedfileFilePublicationResponseList.md
|
96
100
|
- docs/PaginatedfileFileRemoteResponseList.md
|
97
101
|
- docs/PaginatedfileFileRepositoryResponseList.md
|
102
|
+
- docs/PatchedfileFileAlternateContentSource.md
|
98
103
|
- docs/PatchedfileFileDistribution.md
|
99
104
|
- docs/PatchedfileFileRemote.md
|
100
105
|
- docs/PatchedfileFileRepository.md
|
@@ -109,6 +114,7 @@ files:
|
|
109
114
|
- docs/RepositoryVersionResponse.md
|
110
115
|
- git_push.sh
|
111
116
|
- lib/pulp_file_client.rb
|
117
|
+
- lib/pulp_file_client/api/acs_file_api.rb
|
112
118
|
- lib/pulp_file_client/api/content_files_api.rb
|
113
119
|
- lib/pulp_file_client/api/distributions_file_api.rb
|
114
120
|
- lib/pulp_file_client/api/publications_file_api.rb
|
@@ -121,6 +127,8 @@ files:
|
|
121
127
|
- lib/pulp_file_client/models/async_operation_response.rb
|
122
128
|
- lib/pulp_file_client/models/content_summary.rb
|
123
129
|
- lib/pulp_file_client/models/content_summary_response.rb
|
130
|
+
- lib/pulp_file_client/models/file_file_alternate_content_source.rb
|
131
|
+
- lib/pulp_file_client/models/file_file_alternate_content_source_response.rb
|
124
132
|
- lib/pulp_file_client/models/file_file_content.rb
|
125
133
|
- lib/pulp_file_client/models/file_file_content_response.rb
|
126
134
|
- lib/pulp_file_client/models/file_file_distribution.rb
|
@@ -132,11 +140,13 @@ files:
|
|
132
140
|
- lib/pulp_file_client/models/file_file_repository.rb
|
133
141
|
- lib/pulp_file_client/models/file_file_repository_response.rb
|
134
142
|
- lib/pulp_file_client/models/paginated_repository_version_response_list.rb
|
143
|
+
- lib/pulp_file_client/models/paginatedfile_file_alternate_content_source_response_list.rb
|
135
144
|
- lib/pulp_file_client/models/paginatedfile_file_content_response_list.rb
|
136
145
|
- lib/pulp_file_client/models/paginatedfile_file_distribution_response_list.rb
|
137
146
|
- lib/pulp_file_client/models/paginatedfile_file_publication_response_list.rb
|
138
147
|
- lib/pulp_file_client/models/paginatedfile_file_remote_response_list.rb
|
139
148
|
- lib/pulp_file_client/models/paginatedfile_file_repository_response_list.rb
|
149
|
+
- lib/pulp_file_client/models/patchedfile_file_alternate_content_source.rb
|
140
150
|
- lib/pulp_file_client/models/patchedfile_file_distribution.rb
|
141
151
|
- lib/pulp_file_client/models/patchedfile_file_remote.rb
|
142
152
|
- lib/pulp_file_client/models/patchedfile_file_repository.rb
|
@@ -147,6 +157,7 @@ files:
|
|
147
157
|
- lib/pulp_file_client/models/repository_version_response.rb
|
148
158
|
- lib/pulp_file_client/version.rb
|
149
159
|
- pulp_file_client.gemspec
|
160
|
+
- spec/api/acs_file_api_spec.rb
|
150
161
|
- spec/api/content_files_api_spec.rb
|
151
162
|
- spec/api/distributions_file_api_spec.rb
|
152
163
|
- spec/api/publications_file_api_spec.rb
|
@@ -158,6 +169,8 @@ files:
|
|
158
169
|
- spec/models/async_operation_response_spec.rb
|
159
170
|
- spec/models/content_summary_response_spec.rb
|
160
171
|
- spec/models/content_summary_spec.rb
|
172
|
+
- spec/models/file_file_alternate_content_source_response_spec.rb
|
173
|
+
- spec/models/file_file_alternate_content_source_spec.rb
|
161
174
|
- spec/models/file_file_content_response_spec.rb
|
162
175
|
- spec/models/file_file_content_spec.rb
|
163
176
|
- spec/models/file_file_distribution_response_spec.rb
|
@@ -169,11 +182,13 @@ files:
|
|
169
182
|
- spec/models/file_file_repository_response_spec.rb
|
170
183
|
- spec/models/file_file_repository_spec.rb
|
171
184
|
- spec/models/paginated_repository_version_response_list_spec.rb
|
185
|
+
- spec/models/paginatedfile_file_alternate_content_source_response_list_spec.rb
|
172
186
|
- spec/models/paginatedfile_file_content_response_list_spec.rb
|
173
187
|
- spec/models/paginatedfile_file_distribution_response_list_spec.rb
|
174
188
|
- spec/models/paginatedfile_file_publication_response_list_spec.rb
|
175
189
|
- spec/models/paginatedfile_file_remote_response_list_spec.rb
|
176
190
|
- spec/models/paginatedfile_file_repository_response_list_spec.rb
|
191
|
+
- spec/models/patchedfile_file_alternate_content_source_spec.rb
|
177
192
|
- spec/models/patchedfile_file_distribution_spec.rb
|
178
193
|
- spec/models/patchedfile_file_remote_spec.rb
|
179
194
|
- spec/models/patchedfile_file_repository_spec.rb
|
@@ -207,39 +222,44 @@ signing_key:
|
|
207
222
|
specification_version: 4
|
208
223
|
summary: Pulp 3 API Ruby Gem
|
209
224
|
test_files:
|
210
|
-
- spec/api/repositories_file_api_spec.rb
|
211
|
-
- spec/api/repositories_file_versions_api_spec.rb
|
212
225
|
- spec/api/content_files_api_spec.rb
|
226
|
+
- spec/api/repositories_file_versions_api_spec.rb
|
213
227
|
- spec/api/remotes_file_api_spec.rb
|
214
|
-
- spec/api/distributions_file_api_spec.rb
|
215
228
|
- spec/api/publications_file_api_spec.rb
|
229
|
+
- spec/api/repositories_file_api_spec.rb
|
230
|
+
- spec/api/acs_file_api_spec.rb
|
231
|
+
- spec/api/distributions_file_api_spec.rb
|
216
232
|
- spec/api_client_spec.rb
|
217
233
|
- spec/configuration_spec.rb
|
218
|
-
- spec/models/
|
219
|
-
- spec/models/
|
234
|
+
- spec/models/patchedfile_file_remote_spec.rb
|
235
|
+
- spec/models/paginatedfile_file_content_response_list_spec.rb
|
236
|
+
- spec/models/patchedfile_file_alternate_content_source_spec.rb
|
220
237
|
- spec/models/file_file_distribution_response_spec.rb
|
221
|
-
- spec/models/
|
222
|
-
- spec/models/
|
223
|
-
- spec/models/file_file_content_response_spec.rb
|
224
|
-
- spec/models/content_summary_response_spec.rb
|
225
|
-
- spec/models/paginated_repository_version_response_list_spec.rb
|
238
|
+
- spec/models/patchedfile_file_repository_spec.rb
|
239
|
+
- spec/models/file_file_publication_response_spec.rb
|
226
240
|
- spec/models/repository_version_spec.rb
|
227
|
-
- spec/models/
|
241
|
+
- spec/models/file_file_content_spec.rb
|
228
242
|
- spec/models/policy_enum_spec.rb
|
229
|
-
- spec/models/file_file_repository_spec.rb
|
230
|
-
- spec/models/patchedfile_file_remote_spec.rb
|
231
|
-
- spec/models/paginatedfile_file_repository_response_list_spec.rb
|
232
243
|
- spec/models/repository_version_response_spec.rb
|
233
|
-
- spec/models/file_file_remote_response_spec.rb
|
234
|
-
- spec/models/patchedfile_file_distribution_spec.rb
|
235
|
-
- spec/models/file_file_publication_response_spec.rb
|
236
244
|
- spec/models/repository_sync_url_spec.rb
|
237
|
-
- spec/models/
|
238
|
-
- spec/models/
|
239
|
-
- spec/models/
|
240
|
-
- spec/models/
|
241
|
-
- spec/models/
|
245
|
+
- spec/models/content_summary_response_spec.rb
|
246
|
+
- spec/models/async_operation_response_spec.rb
|
247
|
+
- spec/models/paginated_repository_version_response_list_spec.rb
|
248
|
+
- spec/models/paginatedfile_file_repository_response_list_spec.rb
|
249
|
+
- spec/models/paginatedfile_file_remote_response_list_spec.rb
|
250
|
+
- spec/models/content_summary_spec.rb
|
242
251
|
- spec/models/paginatedfile_file_publication_response_list_spec.rb
|
252
|
+
- spec/models/file_file_repository_response_spec.rb
|
253
|
+
- spec/models/file_file_repository_spec.rb
|
254
|
+
- spec/models/file_file_alternate_content_source_response_spec.rb
|
255
|
+
- spec/models/file_file_remote_spec.rb
|
256
|
+
- spec/models/file_file_alternate_content_source_spec.rb
|
243
257
|
- spec/models/file_file_distribution_spec.rb
|
244
|
-
- spec/models/
|
258
|
+
- spec/models/file_file_publication_spec.rb
|
259
|
+
- spec/models/paginatedfile_file_alternate_content_source_response_list_spec.rb
|
260
|
+
- spec/models/paginatedfile_file_distribution_response_list_spec.rb
|
261
|
+
- spec/models/patchedfile_file_distribution_spec.rb
|
262
|
+
- spec/models/repository_add_remove_content_spec.rb
|
263
|
+
- spec/models/file_file_remote_response_spec.rb
|
264
|
+
- spec/models/file_file_content_response_spec.rb
|
245
265
|
- spec/spec_helper.rb
|