pulp_file_client 0.1.0b4 → 0.1.0rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +35 -9
- data/docs/ContentFilesApi.md +2 -2
- data/docs/ContentSummary.md +21 -0
- data/docs/DistributionsFileApi.md +8 -8
- data/docs/FileExportersFileApi.md +408 -0
- data/docs/{FileContent.md → FileFileContent.md} +2 -6
- data/docs/{FileDistribution.md → FileFileDistribution.md} +2 -2
- data/docs/FileFileFileSystemExporter.md +23 -0
- data/docs/{FilePublication.md → FileFilePublication.md} +2 -2
- data/docs/{FileRemote.md → FileFileRemote.md} +10 -14
- data/docs/FileFileRepository.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 +23 -0
- data/docs/InlineResponse2005.md +23 -0
- data/docs/InlineResponse2006.md +23 -0
- data/docs/PublicationExport.md +17 -0
- data/docs/PublicationsFileApi.md +9 -9
- data/docs/RemotesFileApi.md +12 -67
- data/docs/RepositoriesFileApi.md +464 -0
- data/docs/RepositoriesFileVersionsApi.md +214 -0
- data/docs/RepositoryAddRemoveContent.md +21 -0
- data/docs/RepositorySyncURL.md +2 -2
- data/docs/RepositoryVersion.md +25 -0
- data/lib/pulp_file_client/api/content_files_api.rb +4 -4
- data/lib/pulp_file_client/api/distributions_file_api.rb +10 -10
- data/lib/pulp_file_client/api/file_exporters_file_api.rb +496 -0
- data/lib/pulp_file_client/api/publications_file_api.rb +15 -15
- data/lib/pulp_file_client/api/remotes_file_api.rb +16 -84
- data/lib/pulp_file_client/api/repositories_file_api.rb +566 -0
- data/lib/pulp_file_client/api/repositories_file_versions_api.rb +268 -0
- 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 +12 -2
- data/lib/pulp_file_client/models/content_summary.rb +246 -0
- data/lib/pulp_file_client/models/{file_content.rb → file_file_content.rb} +16 -26
- data/lib/pulp_file_client/models/{file_distribution.rb → file_file_distribution.rb} +17 -23
- data/lib/pulp_file_client/models/file_file_file_system_exporter.rb +284 -0
- data/lib/pulp_file_client/models/{file_publication.rb → file_file_publication.rb} +16 -5
- data/lib/pulp_file_client/models/{file_remote.rb → file_file_remote.rb} +69 -105
- data/lib/pulp_file_client/models/file_file_repository.rb +294 -0
- data/lib/pulp_file_client/models/inline_response200.rb +15 -3
- data/lib/pulp_file_client/models/inline_response2001.rb +15 -3
- data/lib/pulp_file_client/models/inline_response2002.rb +15 -3
- data/lib/pulp_file_client/models/inline_response2003.rb +15 -3
- data/lib/pulp_file_client/models/inline_response2004.rb +247 -0
- data/lib/pulp_file_client/models/inline_response2005.rb +247 -0
- data/lib/pulp_file_client/models/inline_response2006.rb +247 -0
- data/lib/pulp_file_client/models/publication_export.rb +212 -0
- data/lib/pulp_file_client/models/repository_add_remove_content.rb +231 -0
- data/lib/pulp_file_client/models/repository_sync_url.rb +22 -12
- data/lib/pulp_file_client/models/repository_version.rb +244 -0
- data/lib/pulp_file_client/version.rb +2 -2
- data/lib/pulp_file_client.rb +17 -5
- data/pulp_file_client.gemspec +1 -1
- data/spec/api/content_files_api_spec.rb +2 -2
- data/spec/api/distributions_file_api_spec.rb +2 -2
- data/spec/api/file_exporters_file_api_spec.rb +128 -0
- data/spec/api/publications_file_api_spec.rb +6 -6
- data/spec/api/remotes_file_api_spec.rb +4 -16
- data/spec/api/repositories_file_api_spec.rb +140 -0
- data/spec/api/repositories_file_versions_api_spec.rb +91 -0
- 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 +53 -0
- data/spec/models/{file_content_spec.rb → file_file_content_spec.rb} +7 -19
- data/spec/models/{file_distribution_spec.rb → file_file_distribution_spec.rb} +7 -7
- data/spec/models/file_file_file_system_exporter_spec.rb +59 -0
- data/spec/models/{file_publication_spec.rb → file_file_publication_spec.rb} +7 -7
- data/spec/models/{file_remote_spec.rb → file_file_remote_spec.rb} +11 -23
- data/spec/models/file_file_repository_spec.rb +71 -0
- 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 +59 -0
- data/spec/models/inline_response2005_spec.rb +59 -0
- data/spec/models/inline_response2006_spec.rb +59 -0
- data/spec/models/inline_response200_spec.rb +1 -1
- data/spec/models/publication_export_spec.rb +41 -0
- data/spec/models/repository_add_remove_content_spec.rb +53 -0
- data/spec/models/repository_sync_url_spec.rb +2 -2
- data/spec/models/repository_version_spec.rb +65 -0
- data/spec/spec_helper.rb +1 -1
- metadata +66 -18
@@ -0,0 +1,140 @@
|
|
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.2-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for PulpFileClient::RepositoriesFileApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'RepositoriesFileApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = PulpFileClient::RepositoriesFileApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of RepositoriesFileApi' do
|
30
|
+
it 'should create an instance of RepositoriesFileApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(PulpFileClient::RepositoriesFileApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for create
|
36
|
+
# Create a file repository
|
37
|
+
# FileRepository represents a single file repository, to which content can be synced, added, or removed.
|
38
|
+
# @param data
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [FileFileRepository]
|
41
|
+
describe 'create test' 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
|
+
# unit tests for delete
|
48
|
+
# Delete a file repository
|
49
|
+
# Trigger an asynchronous task to delete a repository.
|
50
|
+
# @param file_repository_href URI of File Repository. e.g.: /pulp/api/v3/repositories/file/file/1/
|
51
|
+
# @param [Hash] opts the optional parameters
|
52
|
+
# @return [AsyncOperationResponse]
|
53
|
+
describe 'delete test' 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
|
+
# unit tests for list
|
60
|
+
# List file repositorys
|
61
|
+
# FileRepository represents a single file repository, to which content can be synced, added, or removed.
|
62
|
+
# @param [Hash] opts the optional parameters
|
63
|
+
# @option opts [String] :name
|
64
|
+
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
65
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
66
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
67
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
68
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
69
|
+
# @return [InlineResponse2005]
|
70
|
+
describe 'list test' do
|
71
|
+
it 'should work' do
|
72
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
# unit tests for modify
|
77
|
+
# Trigger an asynchronous task to create a new repository version.
|
78
|
+
# @param file_repository_href URI of File Repository. e.g.: /pulp/api/v3/repositories/file/file/1/
|
79
|
+
# @param data
|
80
|
+
# @param [Hash] opts the optional parameters
|
81
|
+
# @return [AsyncOperationResponse]
|
82
|
+
describe 'modify test' do
|
83
|
+
it 'should work' do
|
84
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
# unit tests for partial_update
|
89
|
+
# Partially update a file repository
|
90
|
+
# FileRepository represents a single file repository, to which content can be synced, added, or removed.
|
91
|
+
# @param file_repository_href URI of File Repository. e.g.: /pulp/api/v3/repositories/file/file/1/
|
92
|
+
# @param data
|
93
|
+
# @param [Hash] opts the optional parameters
|
94
|
+
# @return [FileFileRepository]
|
95
|
+
describe 'partial_update test' 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
|
+
# unit tests for read
|
102
|
+
# Inspect a file repository
|
103
|
+
# FileRepository represents a single file repository, to which content can be synced, added, or removed.
|
104
|
+
# @param file_repository_href URI of File Repository. e.g.: /pulp/api/v3/repositories/file/file/1/
|
105
|
+
# @param [Hash] opts the optional parameters
|
106
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
107
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
108
|
+
# @return [FileFileRepository]
|
109
|
+
describe 'read test' do
|
110
|
+
it 'should work' do
|
111
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
112
|
+
end
|
113
|
+
end
|
114
|
+
|
115
|
+
# unit tests for sync
|
116
|
+
# Trigger an asynchronous task to sync file content.
|
117
|
+
# @param file_repository_href URI of File Repository. e.g.: /pulp/api/v3/repositories/file/file/1/
|
118
|
+
# @param data
|
119
|
+
# @param [Hash] opts the optional parameters
|
120
|
+
# @return [AsyncOperationResponse]
|
121
|
+
describe 'sync test' do
|
122
|
+
it 'should work' do
|
123
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
124
|
+
end
|
125
|
+
end
|
126
|
+
|
127
|
+
# unit tests for update
|
128
|
+
# Update a file repository
|
129
|
+
# Trigger an asynchronous task to update a repository.
|
130
|
+
# @param file_repository_href URI of File Repository. e.g.: /pulp/api/v3/repositories/file/file/1/
|
131
|
+
# @param data
|
132
|
+
# @param [Hash] opts the optional parameters
|
133
|
+
# @return [AsyncOperationResponse]
|
134
|
+
describe 'update test' do
|
135
|
+
it 'should work' do
|
136
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
137
|
+
end
|
138
|
+
end
|
139
|
+
|
140
|
+
end
|
@@ -0,0 +1,91 @@
|
|
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.2-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for PulpFileClient::RepositoriesFileVersionsApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'RepositoriesFileVersionsApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = PulpFileClient::RepositoriesFileVersionsApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of RepositoriesFileVersionsApi' do
|
30
|
+
it 'should create an instance of RepositoriesFileVersionsApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(PulpFileClient::RepositoriesFileVersionsApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for delete
|
36
|
+
# Delete a repository version
|
37
|
+
# Trigger an asynchronous task to delete a repositroy version.
|
38
|
+
# @param file_repository_version_href URI of Repository Version. e.g.: /pulp/api/v3/repositories/file/file/1/versions/1/
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [AsyncOperationResponse]
|
41
|
+
describe 'delete test' 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
|
+
# unit tests for list
|
48
|
+
# List repository versions
|
49
|
+
# FileRepositoryVersion represents a single file repository version.
|
50
|
+
# @param file_file_repository_href URI of File Repository. e.g.: /pulp/api/v3/repositories/file/file/1/
|
51
|
+
# @param [Hash] opts the optional parameters
|
52
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
53
|
+
# @option opts [Float] :number
|
54
|
+
# @option opts [Float] :number__lt Filter results where number is less than value
|
55
|
+
# @option opts [Float] :number__lte Filter results where number is less than or equal to value
|
56
|
+
# @option opts [Float] :number__gt Filter results where number is greater than value
|
57
|
+
# @option opts [Float] :number__gte Filter results where number is greater than or equal to value
|
58
|
+
# @option opts [Float] :number__range Filter results where number is between two comma separated values
|
59
|
+
# @option opts [String] :pulp_created__lt Filter results where pulp_created is less than value
|
60
|
+
# @option opts [String] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
61
|
+
# @option opts [String] :pulp_created__gt Filter results where pulp_created is greater than value
|
62
|
+
# @option opts [String] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
63
|
+
# @option opts [String] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
64
|
+
# @option opts [String] :content Content Unit referenced by HREF
|
65
|
+
# @option opts [String] :pulp_created ISO 8601 formatted dates are supported
|
66
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
67
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
68
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
69
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
70
|
+
# @return [InlineResponse2006]
|
71
|
+
describe 'list test' 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
|
+
# unit tests for read
|
78
|
+
# Inspect a repository version
|
79
|
+
# FileRepositoryVersion represents a single file repository version.
|
80
|
+
# @param file_repository_version_href URI of Repository Version. e.g.: /pulp/api/v3/repositories/file/file/1/versions/1/
|
81
|
+
# @param [Hash] opts the optional parameters
|
82
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
83
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
84
|
+
# @return [RepositoryVersion]
|
85
|
+
describe 'read test' do
|
86
|
+
it 'should work' do
|
87
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
88
|
+
end
|
89
|
+
end
|
90
|
+
|
91
|
+
end
|
data/spec/api_client_spec.rb
CHANGED
data/spec/configuration_spec.rb
CHANGED
@@ -0,0 +1,53 @@
|
|
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.2-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PulpFileClient::ContentSummary
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'ContentSummary' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpFileClient::ContentSummary.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of ContentSummary' do
|
31
|
+
it 'should create an instance of ContentSummary' do
|
32
|
+
expect(@instance).to be_instance_of(PulpFileClient::ContentSummary)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "added"' 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 "removed"' 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 "present"' 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
|
+
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.2-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -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::FileFileContent
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe '
|
20
|
+
describe 'FileFileContent' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance = PulpFileClient::
|
23
|
+
@instance = PulpFileClient::FileFileContent.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 FileFileContent' do
|
31
|
+
it 'should create an instance of FileFileContent' do
|
32
|
+
expect(@instance).to be_instance_of(PulpFileClient::FileFileContent)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
describe 'test attribute "pulp_href"' do
|
@@ -56,18 +56,6 @@ describe 'FileContent' do
|
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
-
describe 'test attribute "file"' 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 "repository"' 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
59
|
describe 'test attribute "md5"' do
|
72
60
|
it 'should work' do
|
73
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -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.2-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -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::FileFileDistribution
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe '
|
20
|
+
describe 'FileFileDistribution' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance = PulpFileClient::
|
23
|
+
@instance = PulpFileClient::FileFileDistribution.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 FileFileDistribution' do
|
31
|
+
it 'should create an instance of FileFileDistribution' do
|
32
|
+
expect(@instance).to be_instance_of(PulpFileClient::FileFileDistribution)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
describe 'test attribute "pulp_href"' do
|
@@ -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.2-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PulpFileClient::FileFileFileSystemExporter
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'FileFileFileSystemExporter' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpFileClient::FileFileFileSystemExporter.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
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
|
+
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 "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 "name"' 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
|
@@ -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.2-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -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::FileFilePublication
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe '
|
20
|
+
describe 'FileFilePublication' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance = PulpFileClient::
|
23
|
+
@instance = PulpFileClient::FileFilePublication.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 FileFilePublication' do
|
31
|
+
it 'should create an instance of FileFilePublication' do
|
32
|
+
expect(@instance).to be_instance_of(PulpFileClient::FileFilePublication)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
describe 'test attribute "pulp_href"' do
|
@@ -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.2-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -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::FileFileRemote
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe '
|
20
|
+
describe 'FileFileRemote' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance = PulpFileClient::
|
23
|
+
@instance = PulpFileClient::FileFileRemote.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 FileFileRemote' do
|
31
|
+
it 'should create an instance of FileFileRemote' do
|
32
|
+
expect(@instance).to be_instance_of(PulpFileClient::FileFileRemote)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
describe 'test attribute "pulp_href"' do
|
@@ -56,25 +56,25 @@ describe 'FileRemote' do
|
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
-
describe 'test attribute "
|
59
|
+
describe 'test attribute "ca_cert"' do
|
60
60
|
it 'should work' do
|
61
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
-
describe 'test attribute "
|
65
|
+
describe 'test attribute "client_cert"' do
|
66
66
|
it 'should work' do
|
67
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
68
|
end
|
69
69
|
end
|
70
70
|
|
71
|
-
describe 'test attribute "
|
71
|
+
describe 'test attribute "client_key"' do
|
72
72
|
it 'should work' do
|
73
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
74
|
end
|
75
75
|
end
|
76
76
|
|
77
|
-
describe 'test attribute "
|
77
|
+
describe 'test attribute "tls_validation"' do
|
78
78
|
it 'should work' do
|
79
79
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
80
|
end
|
@@ -86,18 +86,6 @@ describe 'FileRemote' 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
|
-
|
101
89
|
describe 'test attribute "pulp_last_updated"' do
|
102
90
|
it 'should work' do
|
103
91
|
# 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.2-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PulpFileClient::FileFileRepository
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'FileFileRepository' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpFileClient::FileFileRepository.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of FileFileRepository' do
|
31
|
+
it 'should create an instance of FileFileRepository' do
|
32
|
+
expect(@instance).to be_instance_of(PulpFileClient::FileFileRepository)
|
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
|