pulp_file_client 0.2.0 → 0.3.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 +17 -11
- data/docs/ContentFilesApi.md +2 -0
- data/docs/DistributionsFileApi.md +2 -0
- data/docs/Export.md +25 -0
- data/docs/ExportersFileExportsApi.md +243 -0
- data/docs/{FileExportersFileApi.md → ExportersFilesystemApi.md} +29 -82
- data/docs/FileFileFileSystemExporter.md +3 -3
- data/docs/InlineResponse2003.md +1 -1
- data/docs/InlineResponse2004.md +1 -1
- data/docs/InlineResponse2005.md +1 -1
- data/docs/InlineResponse2006.md +1 -1
- data/docs/InlineResponse2007.md +23 -0
- data/docs/PublicationsFileApi.md +2 -2
- data/docs/RemotesFileApi.md +4 -2
- data/docs/RepositoriesFileApi.md +4 -2
- data/docs/RepositoriesFileVersionsApi.md +57 -2
- data/lib/pulp_file_client/api/content_files_api.rb +4 -1
- data/lib/pulp_file_client/api/distributions_file_api.rb +4 -1
- data/lib/pulp_file_client/api/exporters_file_exports_api.rb +297 -0
- data/lib/pulp_file_client/api/{file_exporters_file_api.rb → exporters_filesystem_api.rb} +34 -99
- data/lib/pulp_file_client/api/publications_file_api.rb +4 -4
- data/lib/pulp_file_client/api/remotes_file_api.rb +7 -4
- data/lib/pulp_file_client/api/repositories_file_api.rb +7 -4
- data/lib/pulp_file_client/api/repositories_file_versions_api.rb +72 -4
- data/lib/pulp_file_client/api_client.rb +1 -1
- data/lib/pulp_file_client/api_error.rb +1 -1
- data/lib/pulp_file_client/configuration.rb +1 -1
- data/lib/pulp_file_client/models/async_operation_response.rb +1 -1
- data/lib/pulp_file_client/models/content_summary.rb +1 -1
- data/lib/pulp_file_client/models/export.rb +258 -0
- data/lib/pulp_file_client/models/file_file_content.rb +1 -1
- data/lib/pulp_file_client/models/file_file_distribution.rb +1 -1
- data/lib/pulp_file_client/models/file_file_file_system_exporter.rb +39 -39
- data/lib/pulp_file_client/models/file_file_publication.rb +1 -1
- data/lib/pulp_file_client/models/file_file_remote.rb +1 -1
- data/lib/pulp_file_client/models/file_file_repository.rb +1 -1
- data/lib/pulp_file_client/models/inline_response200.rb +1 -1
- data/lib/pulp_file_client/models/inline_response2001.rb +1 -1
- data/lib/pulp_file_client/models/inline_response2002.rb +1 -1
- data/lib/pulp_file_client/models/inline_response2003.rb +2 -2
- data/lib/pulp_file_client/models/inline_response2004.rb +2 -2
- data/lib/pulp_file_client/models/inline_response2005.rb +2 -2
- data/lib/pulp_file_client/models/inline_response2006.rb +2 -2
- data/lib/pulp_file_client/models/inline_response2007.rb +247 -0
- data/lib/pulp_file_client/models/publication_export.rb +1 -1
- data/lib/pulp_file_client/models/repository_add_remove_content.rb +1 -1
- data/lib/pulp_file_client/models/repository_sync_url.rb +1 -1
- data/lib/pulp_file_client/models/repository_version.rb +1 -1
- data/lib/pulp_file_client/version.rb +2 -2
- data/lib/pulp_file_client.rb +5 -2
- data/pulp_file_client.gemspec +1 -1
- data/spec/api/content_files_api_spec.rb +2 -1
- data/spec/api/distributions_file_api_spec.rb +2 -1
- data/spec/api/exporters_file_exports_api_spec.rb +91 -0
- data/spec/api/{file_exporters_file_api_spec.rb → exporters_filesystem_api_spec.rb} +12 -23
- data/spec/api/publications_file_api_spec.rb +2 -2
- data/spec/api/remotes_file_api_spec.rb +3 -2
- data/spec/api/repositories_file_api_spec.rb +3 -2
- data/spec/api/repositories_file_versions_api_spec.rb +14 -2
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/content_summary_spec.rb +1 -1
- data/spec/models/export_spec.rb +65 -0
- data/spec/models/file_file_content_spec.rb +1 -1
- data/spec/models/file_file_distribution_spec.rb +1 -1
- data/spec/models/file_file_file_system_exporter_spec.rb +3 -3
- data/spec/models/file_file_publication_spec.rb +1 -1
- data/spec/models/file_file_remote_spec.rb +1 -1
- data/spec/models/file_file_repository_spec.rb +1 -1
- data/spec/models/inline_response2001_spec.rb +1 -1
- data/spec/models/inline_response2002_spec.rb +1 -1
- data/spec/models/inline_response2003_spec.rb +1 -1
- data/spec/models/inline_response2004_spec.rb +1 -1
- data/spec/models/inline_response2005_spec.rb +1 -1
- data/spec/models/inline_response2006_spec.rb +1 -1
- data/spec/models/inline_response2007_spec.rb +59 -0
- data/spec/models/inline_response200_spec.rb +1 -1
- data/spec/models/publication_export_spec.rb +1 -1
- data/spec/models/repository_add_remove_content_spec.rb +1 -1
- data/spec/models/repository_sync_url_spec.rb +1 -1
- data/spec/models/repository_version_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +18 -6
data/spec/api_client_spec.rb
CHANGED
data/spec/configuration_spec.rb
CHANGED
@@ -0,0 +1,65 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PulpFileClient::Export
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'Export' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpFileClient::Export.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of Export' do
|
31
|
+
it 'should create an instance of Export' do
|
32
|
+
expect(@instance).to be_instance_of(PulpFileClient::Export)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "pulp_href"' 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 "pulp_created"' 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 "task"' 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 "exported_resources"' 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
|
+
describe 'test attribute "params"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.2.
|
9
|
+
OpenAPI Generator version: 4.2.3
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -44,13 +44,13 @@ describe 'FileFileFileSystemExporter' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
describe 'test attribute "
|
47
|
+
describe 'test attribute "name"' 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 "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
|
@@ -0,0 +1,59 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PulpFileClient::InlineResponse2007
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'InlineResponse2007' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpFileClient::InlineResponse2007.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of InlineResponse2007' do
|
31
|
+
it 'should create an instance of InlineResponse2007' do
|
32
|
+
expect(@instance).to be_instance_of(PulpFileClient::InlineResponse2007)
|
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
|
data/spec/spec_helper.rb
CHANGED
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: 0.
|
4
|
+
version: 0.3.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: 2020-
|
11
|
+
date: 2020-04-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -78,7 +78,9 @@ files:
|
|
78
78
|
- docs/ContentFilesApi.md
|
79
79
|
- docs/ContentSummary.md
|
80
80
|
- docs/DistributionsFileApi.md
|
81
|
-
- docs/
|
81
|
+
- docs/Export.md
|
82
|
+
- docs/ExportersFileExportsApi.md
|
83
|
+
- docs/ExportersFilesystemApi.md
|
82
84
|
- docs/FileFileContent.md
|
83
85
|
- docs/FileFileDistribution.md
|
84
86
|
- docs/FileFileFileSystemExporter.md
|
@@ -92,6 +94,7 @@ files:
|
|
92
94
|
- docs/InlineResponse2004.md
|
93
95
|
- docs/InlineResponse2005.md
|
94
96
|
- docs/InlineResponse2006.md
|
97
|
+
- docs/InlineResponse2007.md
|
95
98
|
- docs/PublicationExport.md
|
96
99
|
- docs/PublicationsFileApi.md
|
97
100
|
- docs/RemotesFileApi.md
|
@@ -104,7 +107,8 @@ files:
|
|
104
107
|
- lib/pulp_file_client.rb
|
105
108
|
- lib/pulp_file_client/api/content_files_api.rb
|
106
109
|
- lib/pulp_file_client/api/distributions_file_api.rb
|
107
|
-
- lib/pulp_file_client/api/
|
110
|
+
- lib/pulp_file_client/api/exporters_file_exports_api.rb
|
111
|
+
- lib/pulp_file_client/api/exporters_filesystem_api.rb
|
108
112
|
- lib/pulp_file_client/api/publications_file_api.rb
|
109
113
|
- lib/pulp_file_client/api/remotes_file_api.rb
|
110
114
|
- lib/pulp_file_client/api/repositories_file_api.rb
|
@@ -114,6 +118,7 @@ files:
|
|
114
118
|
- lib/pulp_file_client/configuration.rb
|
115
119
|
- lib/pulp_file_client/models/async_operation_response.rb
|
116
120
|
- lib/pulp_file_client/models/content_summary.rb
|
121
|
+
- lib/pulp_file_client/models/export.rb
|
117
122
|
- lib/pulp_file_client/models/file_file_content.rb
|
118
123
|
- lib/pulp_file_client/models/file_file_distribution.rb
|
119
124
|
- lib/pulp_file_client/models/file_file_file_system_exporter.rb
|
@@ -127,6 +132,7 @@ files:
|
|
127
132
|
- lib/pulp_file_client/models/inline_response2004.rb
|
128
133
|
- lib/pulp_file_client/models/inline_response2005.rb
|
129
134
|
- lib/pulp_file_client/models/inline_response2006.rb
|
135
|
+
- lib/pulp_file_client/models/inline_response2007.rb
|
130
136
|
- lib/pulp_file_client/models/publication_export.rb
|
131
137
|
- lib/pulp_file_client/models/repository_add_remove_content.rb
|
132
138
|
- lib/pulp_file_client/models/repository_sync_url.rb
|
@@ -135,7 +141,8 @@ files:
|
|
135
141
|
- pulp_file_client.gemspec
|
136
142
|
- spec/api/content_files_api_spec.rb
|
137
143
|
- spec/api/distributions_file_api_spec.rb
|
138
|
-
- spec/api/
|
144
|
+
- spec/api/exporters_file_exports_api_spec.rb
|
145
|
+
- spec/api/exporters_filesystem_api_spec.rb
|
139
146
|
- spec/api/publications_file_api_spec.rb
|
140
147
|
- spec/api/remotes_file_api_spec.rb
|
141
148
|
- spec/api/repositories_file_api_spec.rb
|
@@ -144,6 +151,7 @@ files:
|
|
144
151
|
- spec/configuration_spec.rb
|
145
152
|
- spec/models/async_operation_response_spec.rb
|
146
153
|
- spec/models/content_summary_spec.rb
|
154
|
+
- spec/models/export_spec.rb
|
147
155
|
- spec/models/file_file_content_spec.rb
|
148
156
|
- spec/models/file_file_distribution_spec.rb
|
149
157
|
- spec/models/file_file_file_system_exporter_spec.rb
|
@@ -156,6 +164,7 @@ files:
|
|
156
164
|
- spec/models/inline_response2004_spec.rb
|
157
165
|
- spec/models/inline_response2005_spec.rb
|
158
166
|
- spec/models/inline_response2006_spec.rb
|
167
|
+
- spec/models/inline_response2007_spec.rb
|
159
168
|
- spec/models/inline_response200_spec.rb
|
160
169
|
- spec/models/publication_export_spec.rb
|
161
170
|
- spec/models/repository_add_remove_content_spec.rb
|
@@ -188,8 +197,9 @@ summary: Pulp 3 API Ruby Gem
|
|
188
197
|
test_files:
|
189
198
|
- spec/api/remotes_file_api_spec.rb
|
190
199
|
- spec/api/repositories_file_versions_api_spec.rb
|
200
|
+
- spec/api/exporters_file_exports_api_spec.rb
|
201
|
+
- spec/api/exporters_filesystem_api_spec.rb
|
191
202
|
- spec/api/distributions_file_api_spec.rb
|
192
|
-
- spec/api/file_exporters_file_api_spec.rb
|
193
203
|
- spec/api/content_files_api_spec.rb
|
194
204
|
- spec/api/repositories_file_api_spec.rb
|
195
205
|
- spec/api/publications_file_api_spec.rb
|
@@ -202,6 +212,7 @@ test_files:
|
|
202
212
|
- spec/models/inline_response2003_spec.rb
|
203
213
|
- spec/models/file_file_file_system_exporter_spec.rb
|
204
214
|
- spec/models/file_file_content_spec.rb
|
215
|
+
- spec/models/inline_response2007_spec.rb
|
205
216
|
- spec/models/repository_version_spec.rb
|
206
217
|
- spec/models/inline_response2004_spec.rb
|
207
218
|
- spec/models/inline_response2005_spec.rb
|
@@ -214,4 +225,5 @@ test_files:
|
|
214
225
|
- spec/models/inline_response2006_spec.rb
|
215
226
|
- spec/models/file_file_remote_spec.rb
|
216
227
|
- spec/models/content_summary_spec.rb
|
228
|
+
- spec/models/export_spec.rb
|
217
229
|
- spec/spec_helper.rb
|