pulp_file_client 0.3.0 → 1.0.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.
Files changed (77) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +23 -17
  3. data/docs/ContentFilesApi.md +5 -5
  4. data/docs/DistributionsFileApi.md +3 -3
  5. data/docs/{Export.md → ExportRead.md} +4 -4
  6. data/docs/ExportersFileExportsApi.md +16 -16
  7. data/docs/ExportersFilesystemApi.md +52 -52
  8. data/docs/{FileFileContent.md → FileFileContentRead.md} +2 -2
  9. data/docs/FileFileDistributionRead.md +29 -0
  10. data/docs/{FileFileFileSystemExporter.md → FileFileFilesystemExporter.md} +2 -2
  11. data/docs/FileFileFilesystemExporterRead.md +23 -0
  12. data/docs/FileFilePublicationRead.md +27 -0
  13. data/docs/FileFileRemote.md +7 -3
  14. data/docs/FileFileRemoteRead.md +43 -0
  15. data/docs/FileFileRepositoryRead.md +27 -0
  16. data/docs/InlineResponse200.md +1 -1
  17. data/docs/InlineResponse2001.md +1 -1
  18. data/docs/InlineResponse2002.md +1 -1
  19. data/docs/InlineResponse2003.md +1 -1
  20. data/docs/InlineResponse2004.md +1 -1
  21. data/docs/InlineResponse2005.md +1 -1
  22. data/docs/InlineResponse2006.md +1 -1
  23. data/docs/InlineResponse2007.md +1 -1
  24. data/docs/PublicationsFileApi.md +3 -3
  25. data/docs/RemotesFileApi.md +5 -5
  26. data/docs/RepositoriesFileApi.md +10 -10
  27. data/docs/RepositoriesFileVersionsApi.md +3 -3
  28. data/docs/RepositoryVersionRead.md +25 -0
  29. data/lib/pulp_file_client/api/content_files_api.rb +5 -5
  30. data/lib/pulp_file_client/api/distributions_file_api.rb +3 -3
  31. data/lib/pulp_file_client/api/exporters_file_exports_api.rb +27 -27
  32. data/lib/pulp_file_client/api/exporters_filesystem_api.rb +78 -78
  33. data/lib/pulp_file_client/api/publications_file_api.rb +3 -3
  34. data/lib/pulp_file_client/api/remotes_file_api.rb +6 -6
  35. data/lib/pulp_file_client/api/repositories_file_api.rb +15 -15
  36. data/lib/pulp_file_client/api/repositories_file_versions_api.rb +3 -3
  37. data/lib/pulp_file_client/configuration.rb +2 -2
  38. data/lib/pulp_file_client/models/{export.rb → export_read.rb} +4 -13
  39. data/lib/pulp_file_client/models/{file_file_content.rb → file_file_content_read.rb} +3 -3
  40. data/lib/pulp_file_client/models/file_file_distribution_read.rb +331 -0
  41. data/lib/pulp_file_client/models/{file_file_file_system_exporter.rb → file_file_filesystem_exporter.rb} +3 -3
  42. data/lib/pulp_file_client/models/file_file_filesystem_exporter_read.rb +284 -0
  43. data/lib/pulp_file_client/models/file_file_publication_read.rb +274 -0
  44. data/lib/pulp_file_client/models/file_file_remote.rb +56 -4
  45. data/lib/pulp_file_client/models/file_file_remote_read.rb +531 -0
  46. data/lib/pulp_file_client/models/file_file_repository_read.rb +294 -0
  47. data/lib/pulp_file_client/models/inline_response200.rb +1 -1
  48. data/lib/pulp_file_client/models/inline_response2001.rb +1 -1
  49. data/lib/pulp_file_client/models/inline_response2002.rb +1 -1
  50. data/lib/pulp_file_client/models/inline_response2003.rb +1 -1
  51. data/lib/pulp_file_client/models/inline_response2004.rb +1 -1
  52. data/lib/pulp_file_client/models/inline_response2005.rb +1 -1
  53. data/lib/pulp_file_client/models/inline_response2006.rb +1 -1
  54. data/lib/pulp_file_client/models/inline_response2007.rb +1 -1
  55. data/lib/pulp_file_client/models/repository_version_read.rb +244 -0
  56. data/lib/pulp_file_client/version.rb +1 -1
  57. data/lib/pulp_file_client.rb +9 -3
  58. data/spec/api/content_files_api_spec.rb +2 -2
  59. data/spec/api/distributions_file_api_spec.rb +1 -1
  60. data/spec/api/exporters_file_exports_api_spec.rb +6 -6
  61. data/spec/api/exporters_filesystem_api_spec.rb +20 -20
  62. data/spec/api/publications_file_api_spec.rb +1 -1
  63. data/spec/api/remotes_file_api_spec.rb +2 -2
  64. data/spec/api/repositories_file_api_spec.rb +6 -6
  65. data/spec/api/repositories_file_versions_api_spec.rb +1 -1
  66. data/spec/configuration_spec.rb +3 -3
  67. data/spec/models/{export_spec.rb → export_read_spec.rb} +6 -6
  68. data/spec/models/{file_file_content_spec.rb → file_file_content_read_spec.rb} +6 -6
  69. data/spec/models/file_file_distribution_read_spec.rb +77 -0
  70. data/spec/models/file_file_filesystem_exporter_read_spec.rb +59 -0
  71. data/spec/models/{file_file_file_system_exporter_spec.rb → file_file_filesystem_exporter_spec.rb} +6 -6
  72. data/spec/models/file_file_publication_read_spec.rb +71 -0
  73. data/spec/models/file_file_remote_read_spec.rb +123 -0
  74. data/spec/models/file_file_remote_spec.rb +12 -0
  75. data/spec/models/file_file_repository_read_spec.rb +71 -0
  76. data/spec/models/repository_version_read_spec.rb +65 -0
  77. metadata +38 -14
@@ -0,0 +1,123 @@
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::FileFileRemoteRead
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'FileFileRemoteRead' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpFileClient::FileFileRemoteRead.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of FileFileRemoteRead' do
31
+ it 'should create an instance of FileFileRemoteRead' do
32
+ expect(@instance).to be_instance_of(PulpFileClient::FileFileRemoteRead)
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 "name"' 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 "url"' 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 "ca_cert"' 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
+ describe 'test attribute "client_cert"' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
71
+ describe 'test attribute "client_key"' do
72
+ it 'should work' do
73
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
+ end
75
+ end
76
+
77
+ describe 'test attribute "tls_validation"' do
78
+ it 'should work' do
79
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ end
81
+ end
82
+
83
+ describe 'test attribute "proxy_url"' do
84
+ it 'should work' do
85
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
86
+ end
87
+ end
88
+
89
+ describe 'test attribute "username"' do
90
+ it 'should work' do
91
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
+ end
93
+ end
94
+
95
+ describe 'test attribute "password"' do
96
+ it 'should work' do
97
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
98
+ end
99
+ end
100
+
101
+ describe 'test attribute "pulp_last_updated"' do
102
+ it 'should work' do
103
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
104
+ end
105
+ end
106
+
107
+ describe 'test attribute "download_concurrency"' do
108
+ it 'should work' do
109
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
110
+ end
111
+ end
112
+
113
+ describe 'test attribute "policy"' do
114
+ it 'should work' do
115
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
116
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["immediate", "on_demand", "streamed"])
117
+ # validator.allowable_values.each do |value|
118
+ # expect { @instance.policy = value }.not_to raise_error
119
+ # end
120
+ end
121
+ end
122
+
123
+ end
@@ -86,6 +86,18 @@ describe 'FileFileRemote' do
86
86
  end
87
87
  end
88
88
 
89
+ describe 'test attribute "username"' do
90
+ it 'should work' do
91
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
+ end
93
+ end
94
+
95
+ describe 'test attribute "password"' do
96
+ it 'should work' do
97
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
98
+ end
99
+ end
100
+
89
101
  describe 'test attribute "pulp_last_updated"' do
90
102
  it 'should work' do
91
103
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -0,0 +1,71 @@
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::FileFileRepositoryRead
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'FileFileRepositoryRead' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpFileClient::FileFileRepositoryRead.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of FileFileRepositoryRead' do
31
+ it 'should create an instance of FileFileRepositoryRead' do
32
+ expect(@instance).to be_instance_of(PulpFileClient::FileFileRepositoryRead)
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 "versions_href"' 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 "latest_version_href"' 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 "name"' 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
+ describe 'test attribute "description"' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
71
+ end
@@ -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::RepositoryVersionRead
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'RepositoryVersionRead' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpFileClient::RepositoryVersionRead.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of RepositoryVersionRead' do
31
+ it 'should create an instance of RepositoryVersionRead' do
32
+ expect(@instance).to be_instance_of(PulpFileClient::RepositoryVersionRead)
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 "number"' 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 "base_version"' 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 "content_summary"' 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
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.3.0
4
+ version: 1.0.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-04-16 00:00:00.000000000 Z
11
+ date: 2020-05-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -78,15 +78,20 @@ files:
78
78
  - docs/ContentFilesApi.md
79
79
  - docs/ContentSummary.md
80
80
  - docs/DistributionsFileApi.md
81
- - docs/Export.md
81
+ - docs/ExportRead.md
82
82
  - docs/ExportersFileExportsApi.md
83
83
  - docs/ExportersFilesystemApi.md
84
- - docs/FileFileContent.md
84
+ - docs/FileFileContentRead.md
85
85
  - docs/FileFileDistribution.md
86
- - docs/FileFileFileSystemExporter.md
86
+ - docs/FileFileDistributionRead.md
87
+ - docs/FileFileFilesystemExporter.md
88
+ - docs/FileFileFilesystemExporterRead.md
87
89
  - docs/FileFilePublication.md
90
+ - docs/FileFilePublicationRead.md
88
91
  - docs/FileFileRemote.md
92
+ - docs/FileFileRemoteRead.md
89
93
  - docs/FileFileRepository.md
94
+ - docs/FileFileRepositoryRead.md
90
95
  - docs/InlineResponse200.md
91
96
  - docs/InlineResponse2001.md
92
97
  - docs/InlineResponse2002.md
@@ -103,6 +108,7 @@ files:
103
108
  - docs/RepositoryAddRemoveContent.md
104
109
  - docs/RepositorySyncURL.md
105
110
  - docs/RepositoryVersion.md
111
+ - docs/RepositoryVersionRead.md
106
112
  - git_push.sh
107
113
  - lib/pulp_file_client.rb
108
114
  - lib/pulp_file_client/api/content_files_api.rb
@@ -118,13 +124,18 @@ files:
118
124
  - lib/pulp_file_client/configuration.rb
119
125
  - lib/pulp_file_client/models/async_operation_response.rb
120
126
  - lib/pulp_file_client/models/content_summary.rb
121
- - lib/pulp_file_client/models/export.rb
122
- - lib/pulp_file_client/models/file_file_content.rb
127
+ - lib/pulp_file_client/models/export_read.rb
128
+ - lib/pulp_file_client/models/file_file_content_read.rb
123
129
  - lib/pulp_file_client/models/file_file_distribution.rb
124
- - lib/pulp_file_client/models/file_file_file_system_exporter.rb
130
+ - lib/pulp_file_client/models/file_file_distribution_read.rb
131
+ - lib/pulp_file_client/models/file_file_filesystem_exporter.rb
132
+ - lib/pulp_file_client/models/file_file_filesystem_exporter_read.rb
125
133
  - lib/pulp_file_client/models/file_file_publication.rb
134
+ - lib/pulp_file_client/models/file_file_publication_read.rb
126
135
  - lib/pulp_file_client/models/file_file_remote.rb
136
+ - lib/pulp_file_client/models/file_file_remote_read.rb
127
137
  - lib/pulp_file_client/models/file_file_repository.rb
138
+ - lib/pulp_file_client/models/file_file_repository_read.rb
128
139
  - lib/pulp_file_client/models/inline_response200.rb
129
140
  - lib/pulp_file_client/models/inline_response2001.rb
130
141
  - lib/pulp_file_client/models/inline_response2002.rb
@@ -137,6 +148,7 @@ files:
137
148
  - lib/pulp_file_client/models/repository_add_remove_content.rb
138
149
  - lib/pulp_file_client/models/repository_sync_url.rb
139
150
  - lib/pulp_file_client/models/repository_version.rb
151
+ - lib/pulp_file_client/models/repository_version_read.rb
140
152
  - lib/pulp_file_client/version.rb
141
153
  - pulp_file_client.gemspec
142
154
  - spec/api/content_files_api_spec.rb
@@ -151,12 +163,17 @@ files:
151
163
  - spec/configuration_spec.rb
152
164
  - spec/models/async_operation_response_spec.rb
153
165
  - spec/models/content_summary_spec.rb
154
- - spec/models/export_spec.rb
155
- - spec/models/file_file_content_spec.rb
166
+ - spec/models/export_read_spec.rb
167
+ - spec/models/file_file_content_read_spec.rb
168
+ - spec/models/file_file_distribution_read_spec.rb
156
169
  - spec/models/file_file_distribution_spec.rb
157
- - spec/models/file_file_file_system_exporter_spec.rb
170
+ - spec/models/file_file_filesystem_exporter_read_spec.rb
171
+ - spec/models/file_file_filesystem_exporter_spec.rb
172
+ - spec/models/file_file_publication_read_spec.rb
158
173
  - spec/models/file_file_publication_spec.rb
174
+ - spec/models/file_file_remote_read_spec.rb
159
175
  - spec/models/file_file_remote_spec.rb
176
+ - spec/models/file_file_repository_read_spec.rb
160
177
  - spec/models/file_file_repository_spec.rb
161
178
  - spec/models/inline_response2001_spec.rb
162
179
  - spec/models/inline_response2002_spec.rb
@@ -169,6 +186,7 @@ files:
169
186
  - spec/models/publication_export_spec.rb
170
187
  - spec/models/repository_add_remove_content_spec.rb
171
188
  - spec/models/repository_sync_url_spec.rb
189
+ - spec/models/repository_version_read_spec.rb
172
190
  - spec/models/repository_version_spec.rb
173
191
  - spec/spec_helper.rb
174
192
  homepage: https://openapi-generator.tech
@@ -206,24 +224,30 @@ test_files:
206
224
  - spec/api_client_spec.rb
207
225
  - spec/configuration_spec.rb
208
226
  - spec/models/file_file_distribution_spec.rb
227
+ - spec/models/file_file_repository_read_spec.rb
209
228
  - spec/models/repository_sync_url_spec.rb
210
229
  - spec/models/async_operation_response_spec.rb
211
230
  - spec/models/repository_add_remove_content_spec.rb
212
231
  - spec/models/inline_response2003_spec.rb
213
- - spec/models/file_file_file_system_exporter_spec.rb
214
- - spec/models/file_file_content_spec.rb
232
+ - spec/models/file_file_remote_read_spec.rb
233
+ - spec/models/file_file_publication_read_spec.rb
215
234
  - spec/models/inline_response2007_spec.rb
216
235
  - spec/models/repository_version_spec.rb
217
236
  - spec/models/inline_response2004_spec.rb
218
237
  - spec/models/inline_response2005_spec.rb
219
238
  - spec/models/inline_response2001_spec.rb
239
+ - spec/models/file_file_filesystem_exporter_spec.rb
240
+ - spec/models/file_file_content_read_spec.rb
220
241
  - spec/models/file_file_publication_spec.rb
221
242
  - spec/models/file_file_repository_spec.rb
222
243
  - spec/models/inline_response200_spec.rb
244
+ - spec/models/file_file_distribution_read_spec.rb
245
+ - spec/models/export_read_spec.rb
223
246
  - spec/models/publication_export_spec.rb
224
247
  - spec/models/inline_response2002_spec.rb
248
+ - spec/models/file_file_filesystem_exporter_read_spec.rb
225
249
  - spec/models/inline_response2006_spec.rb
226
250
  - spec/models/file_file_remote_spec.rb
227
251
  - spec/models/content_summary_spec.rb
228
- - spec/models/export_spec.rb
252
+ - spec/models/repository_version_read_spec.rb
229
253
  - spec/spec_helper.rb