pulp_file_client 0.3.0 → 1.0.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 +23 -17
- data/docs/ContentFilesApi.md +5 -5
- data/docs/DistributionsFileApi.md +3 -3
- data/docs/{Export.md → ExportRead.md} +4 -4
- data/docs/ExportersFileExportsApi.md +16 -16
- data/docs/ExportersFilesystemApi.md +52 -52
- data/docs/{FileFileContent.md → FileFileContentRead.md} +2 -2
- data/docs/FileFileDistributionRead.md +29 -0
- data/docs/{FileFileFileSystemExporter.md → FileFileFilesystemExporter.md} +2 -2
- data/docs/FileFileFilesystemExporterRead.md +23 -0
- data/docs/FileFilePublicationRead.md +27 -0
- data/docs/FileFileRemote.md +7 -3
- data/docs/FileFileRemoteRead.md +43 -0
- data/docs/FileFileRepositoryRead.md +27 -0
- data/docs/InlineResponse200.md +1 -1
- data/docs/InlineResponse2001.md +1 -1
- data/docs/InlineResponse2002.md +1 -1
- 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 +1 -1
- data/docs/PublicationsFileApi.md +3 -3
- data/docs/RemotesFileApi.md +5 -5
- data/docs/RepositoriesFileApi.md +10 -10
- data/docs/RepositoriesFileVersionsApi.md +3 -3
- data/docs/RepositoryVersionRead.md +25 -0
- data/lib/pulp_file_client/api/content_files_api.rb +5 -5
- data/lib/pulp_file_client/api/distributions_file_api.rb +3 -3
- data/lib/pulp_file_client/api/exporters_file_exports_api.rb +27 -27
- data/lib/pulp_file_client/api/exporters_filesystem_api.rb +78 -78
- data/lib/pulp_file_client/api/publications_file_api.rb +3 -3
- data/lib/pulp_file_client/api/remotes_file_api.rb +6 -6
- data/lib/pulp_file_client/api/repositories_file_api.rb +15 -15
- data/lib/pulp_file_client/api/repositories_file_versions_api.rb +3 -3
- data/lib/pulp_file_client/configuration.rb +2 -2
- data/lib/pulp_file_client/models/{export.rb → export_read.rb} +4 -13
- data/lib/pulp_file_client/models/{file_file_content.rb → file_file_content_read.rb} +3 -3
- data/lib/pulp_file_client/models/file_file_distribution_read.rb +331 -0
- data/lib/pulp_file_client/models/{file_file_file_system_exporter.rb → file_file_filesystem_exporter.rb} +3 -3
- data/lib/pulp_file_client/models/file_file_filesystem_exporter_read.rb +284 -0
- data/lib/pulp_file_client/models/file_file_publication_read.rb +274 -0
- data/lib/pulp_file_client/models/file_file_remote.rb +56 -4
- data/lib/pulp_file_client/models/file_file_remote_read.rb +531 -0
- data/lib/pulp_file_client/models/file_file_repository_read.rb +294 -0
- 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 +1 -1
- data/lib/pulp_file_client/models/inline_response2004.rb +1 -1
- data/lib/pulp_file_client/models/inline_response2005.rb +1 -1
- data/lib/pulp_file_client/models/inline_response2006.rb +1 -1
- data/lib/pulp_file_client/models/inline_response2007.rb +1 -1
- data/lib/pulp_file_client/models/repository_version_read.rb +244 -0
- data/lib/pulp_file_client/version.rb +1 -1
- data/lib/pulp_file_client.rb +9 -3
- data/spec/api/content_files_api_spec.rb +2 -2
- data/spec/api/distributions_file_api_spec.rb +1 -1
- data/spec/api/exporters_file_exports_api_spec.rb +6 -6
- data/spec/api/exporters_filesystem_api_spec.rb +20 -20
- data/spec/api/publications_file_api_spec.rb +1 -1
- data/spec/api/remotes_file_api_spec.rb +2 -2
- data/spec/api/repositories_file_api_spec.rb +6 -6
- data/spec/api/repositories_file_versions_api_spec.rb +1 -1
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/{export_spec.rb → export_read_spec.rb} +6 -6
- data/spec/models/{file_file_content_spec.rb → file_file_content_read_spec.rb} +6 -6
- data/spec/models/file_file_distribution_read_spec.rb +77 -0
- data/spec/models/file_file_filesystem_exporter_read_spec.rb +59 -0
- data/spec/models/{file_file_file_system_exporter_spec.rb → file_file_filesystem_exporter_spec.rb} +6 -6
- data/spec/models/file_file_publication_read_spec.rb +71 -0
- data/spec/models/file_file_remote_read_spec.rb +123 -0
- data/spec/models/file_file_remote_spec.rb +12 -0
- data/spec/models/file_file_repository_read_spec.rb +71 -0
- data/spec/models/repository_version_read_spec.rb +65 -0
- metadata +38 -14
@@ -35,7 +35,7 @@ describe 'ExportersFileExportsApi' do
|
|
35
35
|
# unit tests for create
|
36
36
|
# Create an export
|
37
37
|
# Trigger an asynchronous task to export a file publication.
|
38
|
-
# @param
|
38
|
+
# @param file_filesystem_exporter_href URI of File Filesystem Exporter. e.g.: /pulp/api/v3/exporters/file/filesystem/1/
|
39
39
|
# @param data
|
40
40
|
# @param [Hash] opts the optional parameters
|
41
41
|
# @return [AsyncOperationResponse]
|
@@ -47,7 +47,7 @@ describe 'ExportersFileExportsApi' do
|
|
47
47
|
|
48
48
|
# unit tests for delete
|
49
49
|
# Delete an export
|
50
|
-
#
|
50
|
+
# FilesystemExports provide a history of previous exports.
|
51
51
|
# @param export_href URI of Export. e.g.: /pulp/api/v3/exporters/file/filesystem/1/exports/1/
|
52
52
|
# @param [Hash] opts the optional parameters
|
53
53
|
# @return [nil]
|
@@ -59,8 +59,8 @@ describe 'ExportersFileExportsApi' do
|
|
59
59
|
|
60
60
|
# unit tests for list
|
61
61
|
# List exports
|
62
|
-
#
|
63
|
-
# @param
|
62
|
+
# FilesystemExports provide a history of previous exports.
|
63
|
+
# @param file_filesystem_exporter_href URI of File Filesystem Exporter. e.g.: /pulp/api/v3/exporters/file/filesystem/1/
|
64
64
|
# @param [Hash] opts the optional parameters
|
65
65
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
66
66
|
# @option opts [Integer] :limit Number of results to return per page.
|
@@ -76,12 +76,12 @@ describe 'ExportersFileExportsApi' do
|
|
76
76
|
|
77
77
|
# unit tests for read
|
78
78
|
# Inspect an export
|
79
|
-
#
|
79
|
+
# FilesystemExports provide a history of previous exports.
|
80
80
|
# @param export_href URI of Export. e.g.: /pulp/api/v3/exporters/file/filesystem/1/exports/1/
|
81
81
|
# @param [Hash] opts the optional parameters
|
82
82
|
# @option opts [String] :fields A list of fields to include in the response.
|
83
83
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
84
|
-
# @return [
|
84
|
+
# @return [ExportRead]
|
85
85
|
describe 'read test' do
|
86
86
|
it 'should work' do
|
87
87
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -33,11 +33,11 @@ describe 'ExportersFilesystemApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for create
|
36
|
-
# Create a file
|
37
|
-
#
|
36
|
+
# Create a file filesystem exporter
|
37
|
+
# FilesystemExporters export content from a publication to a path on the file system.
|
38
38
|
# @param data
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [
|
40
|
+
# @return [FileFileFilesystemExporterRead]
|
41
41
|
describe 'create test' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -45,9 +45,9 @@ describe 'ExportersFilesystemApi' do
|
|
45
45
|
end
|
46
46
|
|
47
47
|
# unit tests for delete
|
48
|
-
# Delete a file
|
49
|
-
#
|
50
|
-
# @param
|
48
|
+
# Delete a file filesystem exporter
|
49
|
+
# FilesystemExporters export content from a publication to a path on the file system.
|
50
|
+
# @param file_filesystem_exporter_href URI of File Filesystem Exporter. e.g.: /pulp/api/v3/exporters/file/filesystem/1/
|
51
51
|
# @param [Hash] opts the optional parameters
|
52
52
|
# @return [nil]
|
53
53
|
describe 'delete test' do
|
@@ -57,8 +57,8 @@ describe 'ExportersFilesystemApi' do
|
|
57
57
|
end
|
58
58
|
|
59
59
|
# unit tests for list
|
60
|
-
# List file
|
61
|
-
#
|
60
|
+
# List file filesystem exporters
|
61
|
+
# FilesystemExporters export content from a publication to a path on the file system.
|
62
62
|
# @param [Hash] opts the optional parameters
|
63
63
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
64
64
|
# @option opts [String] :name
|
@@ -75,12 +75,12 @@ describe 'ExportersFilesystemApi' do
|
|
75
75
|
end
|
76
76
|
|
77
77
|
# unit tests for partial_update
|
78
|
-
# Partially update a file
|
79
|
-
#
|
80
|
-
# @param
|
78
|
+
# Partially update a file filesystem exporter
|
79
|
+
# FilesystemExporters export content from a publication to a path on the file system.
|
80
|
+
# @param file_filesystem_exporter_href URI of File Filesystem Exporter. e.g.: /pulp/api/v3/exporters/file/filesystem/1/
|
81
81
|
# @param data
|
82
82
|
# @param [Hash] opts the optional parameters
|
83
|
-
# @return [
|
83
|
+
# @return [FileFileFilesystemExporterRead]
|
84
84
|
describe 'partial_update test' do
|
85
85
|
it 'should work' do
|
86
86
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -88,13 +88,13 @@ describe 'ExportersFilesystemApi' do
|
|
88
88
|
end
|
89
89
|
|
90
90
|
# unit tests for read
|
91
|
-
# Inspect a file
|
92
|
-
#
|
93
|
-
# @param
|
91
|
+
# Inspect a file filesystem exporter
|
92
|
+
# FilesystemExporters export content from a publication to a path on the file system.
|
93
|
+
# @param file_filesystem_exporter_href URI of File Filesystem Exporter. e.g.: /pulp/api/v3/exporters/file/filesystem/1/
|
94
94
|
# @param [Hash] opts the optional parameters
|
95
95
|
# @option opts [String] :fields A list of fields to include in the response.
|
96
96
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
97
|
-
# @return [
|
97
|
+
# @return [FileFileFilesystemExporterRead]
|
98
98
|
describe 'read test' do
|
99
99
|
it 'should work' do
|
100
100
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -102,12 +102,12 @@ describe 'ExportersFilesystemApi' do
|
|
102
102
|
end
|
103
103
|
|
104
104
|
# unit tests for update
|
105
|
-
# Update a file
|
106
|
-
#
|
107
|
-
# @param
|
105
|
+
# Update a file filesystem exporter
|
106
|
+
# FilesystemExporters export content from a publication to a path on the file system.
|
107
|
+
# @param file_filesystem_exporter_href URI of File Filesystem Exporter. e.g.: /pulp/api/v3/exporters/file/filesystem/1/
|
108
108
|
# @param data
|
109
109
|
# @param [Hash] opts the optional parameters
|
110
|
-
# @return [
|
110
|
+
# @return [FileFileFilesystemExporterRead]
|
111
111
|
describe 'update test' do
|
112
112
|
it 'should work' do
|
113
113
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -86,7 +86,7 @@ describe 'PublicationsFileApi' do
|
|
86
86
|
# @param [Hash] opts the optional parameters
|
87
87
|
# @option opts [String] :fields A list of fields to include in the response.
|
88
88
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
89
|
-
# @return [
|
89
|
+
# @return [FileFilePublicationRead]
|
90
90
|
describe 'read test' do
|
91
91
|
it 'should work' do
|
92
92
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -37,7 +37,7 @@ describe 'RemotesFileApi' do
|
|
37
37
|
# FileRemote represents an external source of File Content. The target url of a FileRemote must contain a file manifest, which contains the metadata for all files at the source.
|
38
38
|
# @param data
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [
|
40
|
+
# @return [FileFileRemoteRead]
|
41
41
|
describe 'create test' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -100,7 +100,7 @@ describe 'RemotesFileApi' do
|
|
100
100
|
# @param [Hash] opts the optional parameters
|
101
101
|
# @option opts [String] :fields A list of fields to include in the response.
|
102
102
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
103
|
-
# @return [
|
103
|
+
# @return [FileFileRemoteRead]
|
104
104
|
describe 'read test' do
|
105
105
|
it 'should work' do
|
106
106
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -37,7 +37,7 @@ describe 'RepositoriesFileApi' do
|
|
37
37
|
# FileRepository represents a single file repository, to which content can be synced, added, or removed.
|
38
38
|
# @param data
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [
|
40
|
+
# @return [FileFileRepositoryRead]
|
41
41
|
describe 'create test' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -46,7 +46,7 @@ describe 'RepositoriesFileApi' do
|
|
46
46
|
|
47
47
|
# unit tests for delete
|
48
48
|
# Delete a file repository
|
49
|
-
# Trigger an asynchronous
|
49
|
+
# Trigger an asynchronous delete task
|
50
50
|
# @param file_repository_href URI of File Repository. e.g.: /pulp/api/v3/repositories/file/file/1/
|
51
51
|
# @param [Hash] opts the optional parameters
|
52
52
|
# @return [AsyncOperationResponse]
|
@@ -89,11 +89,11 @@ describe 'RepositoriesFileApi' do
|
|
89
89
|
|
90
90
|
# unit tests for partial_update
|
91
91
|
# Partially update a file repository
|
92
|
-
#
|
92
|
+
# Trigger an asynchronous partial update task
|
93
93
|
# @param file_repository_href URI of File Repository. e.g.: /pulp/api/v3/repositories/file/file/1/
|
94
94
|
# @param data
|
95
95
|
# @param [Hash] opts the optional parameters
|
96
|
-
# @return [
|
96
|
+
# @return [AsyncOperationResponse]
|
97
97
|
describe 'partial_update test' do
|
98
98
|
it 'should work' do
|
99
99
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -107,7 +107,7 @@ describe 'RepositoriesFileApi' do
|
|
107
107
|
# @param [Hash] opts the optional parameters
|
108
108
|
# @option opts [String] :fields A list of fields to include in the response.
|
109
109
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
110
|
-
# @return [
|
110
|
+
# @return [FileFileRepositoryRead]
|
111
111
|
describe 'read test' do
|
112
112
|
it 'should work' do
|
113
113
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -128,7 +128,7 @@ describe 'RepositoriesFileApi' do
|
|
128
128
|
|
129
129
|
# unit tests for update
|
130
130
|
# Update a file repository
|
131
|
-
# Trigger an asynchronous
|
131
|
+
# Trigger an asynchronous update task
|
132
132
|
# @param file_repository_href URI of File Repository. e.g.: /pulp/api/v3/repositories/file/file/1/
|
133
133
|
# @param data
|
134
134
|
# @param [Hash] opts the optional parameters
|
@@ -81,7 +81,7 @@ describe 'RepositoriesFileVersionsApi' do
|
|
81
81
|
# @param [Hash] opts the optional parameters
|
82
82
|
# @option opts [String] :fields A list of fields to include in the response.
|
83
83
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
84
|
-
# @return [
|
84
|
+
# @return [RepositoryVersionRead]
|
85
85
|
describe 'read test' do
|
86
86
|
it 'should work' do
|
87
87
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
data/spec/configuration_spec.rb
CHANGED
@@ -18,7 +18,7 @@ describe PulpFileClient::Configuration do
|
|
18
18
|
before(:each) do
|
19
19
|
# uncomment below to setup host and base_path
|
20
20
|
# require 'URI'
|
21
|
-
# uri = URI.parse("http://
|
21
|
+
# uri = URI.parse("http://pulp")
|
22
22
|
# PulpFileClient.configure do |c|
|
23
23
|
# c.host = uri.host
|
24
24
|
# c.base_path = uri.path
|
@@ -28,14 +28,14 @@ describe PulpFileClient::Configuration do
|
|
28
28
|
describe '#base_url' do
|
29
29
|
it 'should have the default value' do
|
30
30
|
# uncomment below to test default value of the base path
|
31
|
-
# expect(config.base_url).to eq("http://
|
31
|
+
# expect(config.base_url).to eq("http://pulp")
|
32
32
|
end
|
33
33
|
|
34
34
|
it 'should remove trailing slashes' do
|
35
35
|
[nil, '', '/', '//'].each do |base_path|
|
36
36
|
config.base_path = base_path
|
37
37
|
# uncomment below to test trailing slashes
|
38
|
-
# expect(config.base_url).to eq("http://
|
38
|
+
# expect(config.base_url).to eq("http://pulp")
|
39
39
|
end
|
40
40
|
end
|
41
41
|
end
|
@@ -14,22 +14,22 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for PulpFileClient::
|
17
|
+
# Unit tests for PulpFileClient::ExportRead
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe '
|
20
|
+
describe 'ExportRead' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance = PulpFileClient::
|
23
|
+
@instance = PulpFileClient::ExportRead.new
|
24
24
|
end
|
25
25
|
|
26
26
|
after do
|
27
27
|
# run after each test
|
28
28
|
end
|
29
29
|
|
30
|
-
describe 'test an instance of
|
31
|
-
it 'should create an instance of
|
32
|
-
expect(@instance).to be_instance_of(PulpFileClient::
|
30
|
+
describe 'test an instance of ExportRead' do
|
31
|
+
it 'should create an instance of ExportRead' do
|
32
|
+
expect(@instance).to be_instance_of(PulpFileClient::ExportRead)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
describe 'test attribute "pulp_href"' do
|
@@ -14,22 +14,22 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for PulpFileClient::
|
17
|
+
# Unit tests for PulpFileClient::FileFileContentRead
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe '
|
20
|
+
describe 'FileFileContentRead' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance = PulpFileClient::
|
23
|
+
@instance = PulpFileClient::FileFileContentRead.new
|
24
24
|
end
|
25
25
|
|
26
26
|
after do
|
27
27
|
# run after each test
|
28
28
|
end
|
29
29
|
|
30
|
-
describe 'test an instance of
|
31
|
-
it 'should create an instance of
|
32
|
-
expect(@instance).to be_instance_of(PulpFileClient::
|
30
|
+
describe 'test an instance of FileFileContentRead' do
|
31
|
+
it 'should create an instance of FileFileContentRead' do
|
32
|
+
expect(@instance).to be_instance_of(PulpFileClient::FileFileContentRead)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
describe 'test attribute "pulp_href"' do
|
@@ -0,0 +1,77 @@
|
|
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::FileFileDistributionRead
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'FileFileDistributionRead' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpFileClient::FileFileDistributionRead.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of FileFileDistributionRead' do
|
31
|
+
it 'should create an instance of FileFileDistributionRead' do
|
32
|
+
expect(@instance).to be_instance_of(PulpFileClient::FileFileDistributionRead)
|
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 "base_path"' 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_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 "content_guard"' 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 "name"' 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 "publication"' 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
|
+
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::FileFileFilesystemExporterRead
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'FileFileFilesystemExporterRead' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpFileClient::FileFileFilesystemExporterRead.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of FileFileFilesystemExporterRead' do
|
31
|
+
it 'should create an instance of FileFileFilesystemExporterRead' do
|
32
|
+
expect(@instance).to be_instance_of(PulpFileClient::FileFileFilesystemExporterRead)
|
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 "path"' 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/models/{file_file_file_system_exporter_spec.rb → file_file_filesystem_exporter_spec.rb}
RENAMED
@@ -14,22 +14,22 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for PulpFileClient::
|
17
|
+
# Unit tests for PulpFileClient::FileFileFilesystemExporter
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe '
|
20
|
+
describe 'FileFileFilesystemExporter' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance = PulpFileClient::
|
23
|
+
@instance = PulpFileClient::FileFileFilesystemExporter.new
|
24
24
|
end
|
25
25
|
|
26
26
|
after do
|
27
27
|
# run after each test
|
28
28
|
end
|
29
29
|
|
30
|
-
describe 'test an instance of
|
31
|
-
it 'should create an instance of
|
32
|
-
expect(@instance).to be_instance_of(PulpFileClient::
|
30
|
+
describe 'test an instance of FileFileFilesystemExporter' do
|
31
|
+
it 'should create an instance of FileFileFilesystemExporter' do
|
32
|
+
expect(@instance).to be_instance_of(PulpFileClient::FileFileFilesystemExporter)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
describe 'test attribute "pulp_href"' do
|
@@ -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::FileFilePublicationRead
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'FileFilePublicationRead' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpFileClient::FileFilePublicationRead.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of FileFilePublicationRead' do
|
31
|
+
it 'should create an instance of FileFilePublicationRead' do
|
32
|
+
expect(@instance).to be_instance_of(PulpFileClient::FileFilePublicationRead)
|
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 "repository_version"' 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 "repository"' 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 "distributions"' 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 "manifest"' 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
|