pulp_file_client 1.1.0 → 1.2.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 +51 -37
- data/docs/ContentFilesApi.md +24 -24
- data/docs/ContentSummary.md +3 -3
- data/docs/ContentSummaryResponse.md +21 -0
- data/docs/DistributionsFileApi.md +108 -60
- data/docs/{Export.md → ExportResponse.md} +2 -2
- data/docs/ExportersFileExportsApi.md +34 -34
- data/docs/ExportersFilesystemApi.md +61 -61
- data/docs/FileFileContent.md +5 -17
- data/docs/FileFileContentResponse.md +35 -0
- data/docs/FileFileDistribution.md +1 -7
- data/docs/FileFileDistributionResponse.md +29 -0
- data/docs/FileFileFilesystemExporter.md +1 -5
- data/docs/FileFileFilesystemExporterResponse.md +23 -0
- data/docs/FileFilePublication.md +1 -7
- data/docs/FileFilePublicationResponse.md +27 -0
- data/docs/FileFileRemote.md +4 -10
- data/docs/FileFileRemoteResponse.md +43 -0
- data/docs/FileFileRepository.md +4 -10
- data/docs/FileFileRepositoryResponse.md +29 -0
- data/docs/InlineResponse200.md +3 -3
- data/docs/InlineResponse2001.md +3 -3
- data/docs/InlineResponse2002.md +3 -3
- data/docs/InlineResponse2003.md +3 -3
- data/docs/InlineResponse2004.md +3 -3
- data/docs/InlineResponse2005.md +3 -3
- data/docs/InlineResponse2006.md +3 -3
- data/docs/InlineResponse2007.md +3 -3
- data/docs/PatchedfileFileDistribution.md +23 -0
- data/docs/PatchedfileFileFilesystemExporter.md +19 -0
- data/docs/PatchedfileFileRemote.md +37 -0
- data/docs/PatchedfileFileRepository.md +21 -0
- data/docs/PolicyEnum.md +16 -0
- data/docs/PublicationsFileApi.md +40 -40
- data/docs/RemotesFileApi.md +125 -65
- data/docs/RepositoriesFileApi.md +97 -73
- data/docs/RepositoriesFileVersionsApi.md +94 -62
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/docs/RepositorySyncURL.md +1 -1
- data/docs/RepositoryVersion.md +1 -9
- data/docs/RepositoryVersionResponse.md +25 -0
- data/lib/pulp_file_client/api/content_files_api.rb +32 -36
- data/lib/pulp_file_client/api/distributions_file_api.rb +153 -90
- data/lib/pulp_file_client/api/exporters_file_exports_api.rb +55 -55
- data/lib/pulp_file_client/api/exporters_filesystem_api.rb +102 -102
- data/lib/pulp_file_client/api/publications_file_api.rb +59 -59
- data/lib/pulp_file_client/api/remotes_file_api.rb +181 -100
- data/lib/pulp_file_client/api/repositories_file_api.rb +145 -118
- data/lib/pulp_file_client/api/repositories_file_versions_api.rb +137 -92
- data/lib/pulp_file_client/api_client.rb +2 -2
- data/lib/pulp_file_client/api_error.rb +2 -2
- data/lib/pulp_file_client/configuration.rb +3 -3
- data/lib/pulp_file_client/models/async_operation_response.rb +3 -2
- data/lib/pulp_file_client/models/content_summary.rb +9 -15
- data/lib/pulp_file_client/models/content_summary_response.rb +240 -0
- data/lib/pulp_file_client/models/{export.rb → export_response.rb} +6 -5
- data/lib/pulp_file_client/models/file_file_content.rb +18 -185
- data/lib/pulp_file_client/models/file_file_content_response.rb +302 -0
- data/lib/pulp_file_client/models/file_file_distribution.rb +4 -85
- data/lib/pulp_file_client/models/file_file_distribution_response.rb +279 -0
- data/lib/pulp_file_client/models/file_file_filesystem_exporter.rb +4 -60
- data/lib/pulp_file_client/models/file_file_filesystem_exporter_response.rb +247 -0
- data/lib/pulp_file_client/models/file_file_publication.rb +4 -49
- data/lib/pulp_file_client/models/file_file_publication_response.rb +260 -0
- data/lib/pulp_file_client/models/file_file_remote.rb +7 -199
- data/lib/pulp_file_client/models/file_file_remote_response.rb +368 -0
- data/lib/pulp_file_client/models/file_file_repository.rb +18 -78
- data/lib/pulp_file_client/models/file_file_repository_response.rb +271 -0
- data/lib/pulp_file_client/models/inline_response200.rb +3 -13
- data/lib/pulp_file_client/models/inline_response2001.rb +3 -13
- data/lib/pulp_file_client/models/inline_response2002.rb +3 -13
- data/lib/pulp_file_client/models/inline_response2003.rb +3 -13
- data/lib/pulp_file_client/models/inline_response2004.rb +3 -13
- data/lib/pulp_file_client/models/inline_response2005.rb +3 -13
- data/lib/pulp_file_client/models/inline_response2006.rb +3 -13
- data/lib/pulp_file_client/models/inline_response2007.rb +3 -13
- data/lib/pulp_file_client/models/patchedfile_file_distribution.rb +240 -0
- data/lib/pulp_file_client/models/patchedfile_file_filesystem_exporter.rb +218 -0
- data/lib/pulp_file_client/models/patchedfile_file_remote.rb +329 -0
- data/lib/pulp_file_client/models/patchedfile_file_repository.rb +229 -0
- data/lib/pulp_file_client/models/policy_enum.rb +37 -0
- data/lib/pulp_file_client/models/publication_export.rb +3 -2
- data/lib/pulp_file_client/models/repository_add_remove_content.rb +5 -4
- data/lib/pulp_file_client/models/repository_sync_url.rb +3 -8
- data/lib/pulp_file_client/models/repository_version.rb +7 -43
- data/lib/pulp_file_client/models/repository_version_response.rb +246 -0
- data/lib/pulp_file_client/version.rb +3 -3
- data/lib/pulp_file_client.rb +16 -3
- data/pulp_file_client.gemspec +4 -4
- data/spec/api/content_files_api_spec.rb +10 -10
- data/spec/api/distributions_file_api_spec.rb +39 -18
- data/spec/api/exporters_file_exports_api_spec.rb +9 -9
- data/spec/api/exporters_filesystem_api_spec.rb +23 -23
- data/spec/api/publications_file_api_spec.rb +14 -14
- data/spec/api/remotes_file_api_spec.rb +48 -21
- data/spec/api/repositories_file_api_spec.rb +28 -19
- data/spec/api/repositories_file_versions_api_spec.rb +38 -23
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/async_operation_response_spec.rb +2 -2
- data/spec/models/content_summary_response_spec.rb +53 -0
- data/spec/models/content_summary_spec.rb +2 -2
- data/spec/models/{export_spec.rb → export_response_spec.rb} +8 -8
- data/spec/models/file_file_content_response_spec.rb +95 -0
- data/spec/models/file_file_content_spec.rb +4 -40
- data/spec/models/file_file_distribution_response_spec.rb +77 -0
- data/spec/models/file_file_distribution_spec.rb +2 -20
- data/spec/models/file_file_filesystem_exporter_response_spec.rb +59 -0
- data/spec/models/file_file_filesystem_exporter_spec.rb +2 -14
- data/spec/models/file_file_publication_response_spec.rb +71 -0
- data/spec/models/file_file_publication_spec.rb +2 -20
- data/spec/models/file_file_remote_response_spec.rb +119 -0
- data/spec/models/file_file_remote_spec.rb +2 -24
- data/spec/models/file_file_repository_response_spec.rb +77 -0
- data/spec/models/file_file_repository_spec.rb +5 -23
- data/spec/models/inline_response2001_spec.rb +2 -2
- data/spec/models/inline_response2002_spec.rb +2 -2
- data/spec/models/inline_response2003_spec.rb +2 -2
- data/spec/models/inline_response2004_spec.rb +2 -2
- data/spec/models/inline_response2005_spec.rb +2 -2
- data/spec/models/inline_response2006_spec.rb +2 -2
- data/spec/models/inline_response2007_spec.rb +2 -2
- data/spec/models/inline_response200_spec.rb +2 -2
- data/spec/models/patchedfile_file_distribution_spec.rb +59 -0
- data/spec/models/patchedfile_file_filesystem_exporter_spec.rb +47 -0
- data/spec/models/patchedfile_file_remote_spec.rb +101 -0
- data/spec/models/patchedfile_file_repository_spec.rb +53 -0
- data/spec/models/policy_enum_spec.rb +35 -0
- data/spec/models/publication_export_spec.rb +2 -2
- data/spec/models/repository_add_remove_content_spec.rb +2 -2
- data/spec/models/repository_sync_url_spec.rb +2 -2
- data/spec/models/repository_version_response_spec.rb +65 -0
- data/spec/models/repository_version_spec.rb +2 -26
- data/spec/spec_helper.rb +2 -2
- metadata +76 -24
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
|
-
|
7
|
+
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -34,10 +34,10 @@ describe 'ExportersFilesystemApi' do
|
|
34
34
|
|
35
35
|
# unit tests for create
|
36
36
|
# Create a file filesystem exporter
|
37
|
-
# FilesystemExporters export content from a publication to a path on the file system.
|
38
|
-
# @param
|
37
|
+
# FilesystemExporters export content from a publication to a path on the file system. WARNING: This feature is provided as a tech preview and may change in the future. Backwards compatibility is not guaranteed.
|
38
|
+
# @param file_file_filesystem_exporter
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [
|
40
|
+
# @return [FileFileFilesystemExporterResponse]
|
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,8 +46,8 @@ describe 'ExportersFilesystemApi' do
|
|
46
46
|
|
47
47
|
# unit tests for delete
|
48
48
|
# Delete a file filesystem exporter
|
49
|
-
# FilesystemExporters export content from a publication to a path on the file system.
|
50
|
-
# @param
|
49
|
+
# FilesystemExporters export content from a publication to a path on the file system. WARNING: This feature is provided as a tech preview and may change in the future. Backwards compatibility is not guaranteed.
|
50
|
+
# @param file_file_filesystem_exporter_href
|
51
51
|
# @param [Hash] opts the optional parameters
|
52
52
|
# @return [nil]
|
53
53
|
describe 'delete test' do
|
@@ -58,13 +58,13 @@ describe 'ExportersFilesystemApi' do
|
|
58
58
|
|
59
59
|
# unit tests for list
|
60
60
|
# List file filesystem exporters
|
61
|
-
# FilesystemExporters export content from a publication to a path on the file system.
|
61
|
+
# FilesystemExporters export content from a publication to a path on the file system. WARNING: This feature is provided as a tech preview and may change in the future. Backwards compatibility is not guaranteed.
|
62
62
|
# @param [Hash] opts the optional parameters
|
63
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
64
|
-
# @option opts [String] :name
|
65
|
-
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
66
63
|
# @option opts [Integer] :limit Number of results to return per page.
|
64
|
+
# @option opts [String] :name name
|
65
|
+
# @option opts [String] :name__in name__in
|
67
66
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
67
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
68
68
|
# @option opts [String] :fields A list of fields to include in the response.
|
69
69
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
70
70
|
# @return [InlineResponse2002]
|
@@ -75,12 +75,12 @@ describe 'ExportersFilesystemApi' do
|
|
75
75
|
end
|
76
76
|
|
77
77
|
# unit tests for partial_update
|
78
|
-
#
|
79
|
-
# FilesystemExporters export content from a publication to a path on the file system.
|
80
|
-
# @param
|
81
|
-
# @param
|
78
|
+
# Update a file filesystem exporter
|
79
|
+
# FilesystemExporters export content from a publication to a path on the file system. WARNING: This feature is provided as a tech preview and may change in the future. Backwards compatibility is not guaranteed.
|
80
|
+
# @param file_file_filesystem_exporter_href
|
81
|
+
# @param patchedfile_file_filesystem_exporter
|
82
82
|
# @param [Hash] opts the optional parameters
|
83
|
-
# @return [
|
83
|
+
# @return [FileFileFilesystemExporterResponse]
|
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
|
@@ -89,12 +89,12 @@ describe 'ExportersFilesystemApi' do
|
|
89
89
|
|
90
90
|
# unit tests for read
|
91
91
|
# Inspect a file filesystem exporter
|
92
|
-
# FilesystemExporters export content from a publication to a path on the file system.
|
93
|
-
# @param
|
92
|
+
# FilesystemExporters export content from a publication to a path on the file system. WARNING: This feature is provided as a tech preview and may change in the future. Backwards compatibility is not guaranteed.
|
93
|
+
# @param file_file_filesystem_exporter_href
|
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 [FileFileFilesystemExporterResponse]
|
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
|
@@ -103,11 +103,11 @@ describe 'ExportersFilesystemApi' do
|
|
103
103
|
|
104
104
|
# unit tests for update
|
105
105
|
# Update a file filesystem exporter
|
106
|
-
# FilesystemExporters export content from a publication to a path on the file system.
|
107
|
-
# @param
|
108
|
-
# @param
|
106
|
+
# FilesystemExporters export content from a publication to a path on the file system. WARNING: This feature is provided as a tech preview and may change in the future. Backwards compatibility is not guaranteed.
|
107
|
+
# @param file_file_filesystem_exporter_href
|
108
|
+
# @param file_file_filesystem_exporter
|
109
109
|
# @param [Hash] opts the optional parameters
|
110
|
-
# @return [
|
110
|
+
# @return [FileFileFilesystemExporterResponse]
|
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
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
|
-
|
7
|
+
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -35,7 +35,7 @@ describe 'PublicationsFileApi' do
|
|
35
35
|
# unit tests for create
|
36
36
|
# Create a file publication
|
37
37
|
# Trigger an asynchronous task to publish file content.
|
38
|
-
# @param
|
38
|
+
# @param file_file_publication
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
40
|
# @return [AsyncOperationResponse]
|
41
41
|
describe 'create test' do
|
@@ -47,7 +47,7 @@ describe 'PublicationsFileApi' do
|
|
47
47
|
# unit tests for delete
|
48
48
|
# Delete a file publication
|
49
49
|
# A FilePublication contains metadata about all the File Content in a particular File Repository Version. Once a FilePublication has been created, it can be hosted using the File Distribution API.
|
50
|
-
# @param
|
50
|
+
# @param file_file_publication_href
|
51
51
|
# @param [Hash] opts the optional parameters
|
52
52
|
# @return [nil]
|
53
53
|
describe 'delete test' do
|
@@ -60,16 +60,16 @@ describe 'PublicationsFileApi' do
|
|
60
60
|
# List file publications
|
61
61
|
# A FilePublication contains metadata about all the File Content in a particular File Repository Version. Once a FilePublication has been created, it can be hosted using the File Distribution API.
|
62
62
|
# @param [Hash] opts the optional parameters
|
63
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
64
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
65
|
-
# @option opts [String] :pulp_created__lt Filter results where pulp_created is less than value
|
66
|
-
# @option opts [String] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
67
|
-
# @option opts [String] :pulp_created__gt Filter results where pulp_created is greater than value
|
68
|
-
# @option opts [String] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
69
|
-
# @option opts [String] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
70
|
-
# @option opts [String] :pulp_created ISO 8601 formatted dates are supported
|
71
63
|
# @option opts [Integer] :limit Number of results to return per page.
|
72
64
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
65
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
66
|
+
# @option opts [String] :pulp_created pulp_created
|
67
|
+
# @option opts [String] :pulp_created__gt pulp_created__gt
|
68
|
+
# @option opts [String] :pulp_created__gte pulp_created__gte
|
69
|
+
# @option opts [String] :pulp_created__lt pulp_created__lt
|
70
|
+
# @option opts [String] :pulp_created__lte pulp_created__lte
|
71
|
+
# @option opts [String] :pulp_created__range pulp_created__range
|
72
|
+
# @option opts [String] :repository_version repository_version
|
73
73
|
# @option opts [String] :fields A list of fields to include in the response.
|
74
74
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
75
75
|
# @return [InlineResponse2004]
|
@@ -82,11 +82,11 @@ describe 'PublicationsFileApi' do
|
|
82
82
|
# unit tests for read
|
83
83
|
# Inspect a file publication
|
84
84
|
# A FilePublication contains metadata about all the File Content in a particular File Repository Version. Once a FilePublication has been created, it can be hosted using the File Distribution API.
|
85
|
-
# @param
|
85
|
+
# @param file_file_publication_href
|
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 [FileFilePublicationResponse]
|
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
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
|
-
|
7
|
+
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -35,9 +35,9 @@ describe 'RemotesFileApi' do
|
|
35
35
|
# unit tests for create
|
36
36
|
# Create a file remote
|
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
|
-
# @param
|
38
|
+
# @param file_file_remote
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [
|
40
|
+
# @return [FileFileRemoteResponse]
|
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
|
@@ -47,8 +47,17 @@ describe 'RemotesFileApi' do
|
|
47
47
|
# unit tests for delete
|
48
48
|
# Delete a file remote
|
49
49
|
# Trigger an asynchronous delete task
|
50
|
-
# @param
|
50
|
+
# @param file_file_remote_href
|
51
51
|
# @param [Hash] opts the optional parameters
|
52
|
+
# @option opts [String] :name name
|
53
|
+
# @option opts [String] :name__in name__in
|
54
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
55
|
+
# @option opts [String] :pulp_last_updated pulp_last_updated
|
56
|
+
# @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
|
57
|
+
# @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
|
58
|
+
# @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
|
59
|
+
# @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
|
60
|
+
# @option opts [String] :pulp_last_updated__range pulp_last_updated__range
|
52
61
|
# @return [AsyncOperationResponse]
|
53
62
|
describe 'delete test' do
|
54
63
|
it 'should work' do
|
@@ -60,17 +69,17 @@ describe 'RemotesFileApi' do
|
|
60
69
|
# List file remotes
|
61
70
|
# 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.
|
62
71
|
# @param [Hash] opts the optional parameters
|
63
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
64
|
-
# @option opts [String] :name
|
65
|
-
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
66
|
-
# @option opts [String] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
67
|
-
# @option opts [String] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
68
|
-
# @option opts [String] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
69
|
-
# @option opts [String] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
70
|
-
# @option opts [String] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
71
|
-
# @option opts [String] :pulp_last_updated ISO 8601 formatted dates are supported
|
72
72
|
# @option opts [Integer] :limit Number of results to return per page.
|
73
|
+
# @option opts [String] :name name
|
74
|
+
# @option opts [String] :name__in name__in
|
73
75
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
76
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
77
|
+
# @option opts [String] :pulp_last_updated pulp_last_updated
|
78
|
+
# @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
|
79
|
+
# @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
|
80
|
+
# @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
|
81
|
+
# @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
|
82
|
+
# @option opts [String] :pulp_last_updated__range pulp_last_updated__range
|
74
83
|
# @option opts [String] :fields A list of fields to include in the response.
|
75
84
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
76
85
|
# @return [InlineResponse2005]
|
@@ -81,11 +90,20 @@ describe 'RemotesFileApi' do
|
|
81
90
|
end
|
82
91
|
|
83
92
|
# unit tests for partial_update
|
84
|
-
#
|
93
|
+
# Update a file remote
|
85
94
|
# Trigger an asynchronous partial update task
|
86
|
-
# @param
|
87
|
-
# @param
|
95
|
+
# @param file_file_remote_href
|
96
|
+
# @param patchedfile_file_remote
|
88
97
|
# @param [Hash] opts the optional parameters
|
98
|
+
# @option opts [String] :name name
|
99
|
+
# @option opts [String] :name__in name__in
|
100
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
101
|
+
# @option opts [String] :pulp_last_updated pulp_last_updated
|
102
|
+
# @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
|
103
|
+
# @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
|
104
|
+
# @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
|
105
|
+
# @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
|
106
|
+
# @option opts [String] :pulp_last_updated__range pulp_last_updated__range
|
89
107
|
# @return [AsyncOperationResponse]
|
90
108
|
describe 'partial_update test' do
|
91
109
|
it 'should work' do
|
@@ -96,11 +114,11 @@ describe 'RemotesFileApi' do
|
|
96
114
|
# unit tests for read
|
97
115
|
# Inspect a file remote
|
98
116
|
# 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.
|
99
|
-
# @param
|
117
|
+
# @param file_file_remote_href
|
100
118
|
# @param [Hash] opts the optional parameters
|
101
119
|
# @option opts [String] :fields A list of fields to include in the response.
|
102
120
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
103
|
-
# @return [
|
121
|
+
# @return [FileFileRemoteResponse]
|
104
122
|
describe 'read test' do
|
105
123
|
it 'should work' do
|
106
124
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -110,9 +128,18 @@ describe 'RemotesFileApi' do
|
|
110
128
|
# unit tests for update
|
111
129
|
# Update a file remote
|
112
130
|
# Trigger an asynchronous update task
|
113
|
-
# @param
|
114
|
-
# @param
|
131
|
+
# @param file_file_remote_href
|
132
|
+
# @param file_file_remote
|
115
133
|
# @param [Hash] opts the optional parameters
|
134
|
+
# @option opts [String] :name name
|
135
|
+
# @option opts [String] :name__in name__in
|
136
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
137
|
+
# @option opts [String] :pulp_last_updated pulp_last_updated
|
138
|
+
# @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
|
139
|
+
# @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
|
140
|
+
# @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
|
141
|
+
# @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
|
142
|
+
# @option opts [String] :pulp_last_updated__range pulp_last_updated__range
|
116
143
|
# @return [AsyncOperationResponse]
|
117
144
|
describe 'update test' do
|
118
145
|
it 'should work' do
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
|
-
|
7
|
+
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -35,9 +35,9 @@ describe 'RepositoriesFileApi' do
|
|
35
35
|
# unit tests for create
|
36
36
|
# Create a file repository
|
37
37
|
# FileRepository represents a single file repository, to which content can be synced, added, or removed.
|
38
|
-
# @param
|
38
|
+
# @param file_file_repository
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [
|
40
|
+
# @return [FileFileRepositoryResponse]
|
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
|
@@ -47,8 +47,11 @@ describe 'RepositoriesFileApi' do
|
|
47
47
|
# unit tests for delete
|
48
48
|
# Delete a file repository
|
49
49
|
# Trigger an asynchronous delete task
|
50
|
-
# @param
|
50
|
+
# @param file_file_repository_href
|
51
51
|
# @param [Hash] opts the optional parameters
|
52
|
+
# @option opts [String] :name name
|
53
|
+
# @option opts [String] :name__in name__in
|
54
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
52
55
|
# @return [AsyncOperationResponse]
|
53
56
|
describe 'delete test' do
|
54
57
|
it 'should work' do
|
@@ -60,11 +63,11 @@ describe 'RepositoriesFileApi' do
|
|
60
63
|
# List file repositorys
|
61
64
|
# FileRepository represents a single file repository, to which content can be synced, added, or removed.
|
62
65
|
# @param [Hash] opts the optional parameters
|
63
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
64
|
-
# @option opts [String] :name
|
65
|
-
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
66
66
|
# @option opts [Integer] :limit Number of results to return per page.
|
67
|
+
# @option opts [String] :name name
|
68
|
+
# @option opts [String] :name__in name__in
|
67
69
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
70
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
68
71
|
# @option opts [String] :fields A list of fields to include in the response.
|
69
72
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
70
73
|
# @return [InlineResponse2006]
|
@@ -77,8 +80,8 @@ describe 'RepositoriesFileApi' do
|
|
77
80
|
# unit tests for modify
|
78
81
|
# Modify Repository Content
|
79
82
|
# Trigger an asynchronous task to create a new repository version.
|
80
|
-
# @param
|
81
|
-
# @param
|
83
|
+
# @param file_file_repository_href
|
84
|
+
# @param repository_add_remove_content
|
82
85
|
# @param [Hash] opts the optional parameters
|
83
86
|
# @return [AsyncOperationResponse]
|
84
87
|
describe 'modify test' do
|
@@ -88,11 +91,14 @@ describe 'RepositoriesFileApi' do
|
|
88
91
|
end
|
89
92
|
|
90
93
|
# unit tests for partial_update
|
91
|
-
#
|
94
|
+
# Update a file repository
|
92
95
|
# Trigger an asynchronous partial update task
|
93
|
-
# @param
|
94
|
-
# @param
|
96
|
+
# @param file_file_repository_href
|
97
|
+
# @param patchedfile_file_repository
|
95
98
|
# @param [Hash] opts the optional parameters
|
99
|
+
# @option opts [String] :name name
|
100
|
+
# @option opts [String] :name__in name__in
|
101
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
96
102
|
# @return [AsyncOperationResponse]
|
97
103
|
describe 'partial_update test' do
|
98
104
|
it 'should work' do
|
@@ -103,11 +109,11 @@ describe 'RepositoriesFileApi' do
|
|
103
109
|
# unit tests for read
|
104
110
|
# Inspect a file repository
|
105
111
|
# FileRepository represents a single file repository, to which content can be synced, added, or removed.
|
106
|
-
# @param
|
112
|
+
# @param file_file_repository_href
|
107
113
|
# @param [Hash] opts the optional parameters
|
108
114
|
# @option opts [String] :fields A list of fields to include in the response.
|
109
115
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
110
|
-
# @return [
|
116
|
+
# @return [FileFileRepositoryResponse]
|
111
117
|
describe 'read test' do
|
112
118
|
it 'should work' do
|
113
119
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -116,8 +122,8 @@ describe 'RepositoriesFileApi' do
|
|
116
122
|
|
117
123
|
# unit tests for sync
|
118
124
|
# Trigger an asynchronous task to sync file content.
|
119
|
-
# @param
|
120
|
-
# @param
|
125
|
+
# @param file_file_repository_href
|
126
|
+
# @param repository_sync_url
|
121
127
|
# @param [Hash] opts the optional parameters
|
122
128
|
# @return [AsyncOperationResponse]
|
123
129
|
describe 'sync test' do
|
@@ -129,9 +135,12 @@ describe 'RepositoriesFileApi' do
|
|
129
135
|
# unit tests for update
|
130
136
|
# Update a file repository
|
131
137
|
# Trigger an asynchronous update task
|
132
|
-
# @param
|
133
|
-
# @param
|
138
|
+
# @param file_file_repository_href
|
139
|
+
# @param file_file_repository
|
134
140
|
# @param [Hash] opts the optional parameters
|
141
|
+
# @option opts [String] :name name
|
142
|
+
# @option opts [String] :name__in name__in
|
143
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
135
144
|
# @return [AsyncOperationResponse]
|
136
145
|
describe 'update test' do
|
137
146
|
it 'should work' do
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
|
-
|
7
|
+
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -35,8 +35,23 @@ describe 'RepositoriesFileVersionsApi' do
|
|
35
35
|
# unit tests for delete
|
36
36
|
# Delete a repository version
|
37
37
|
# Trigger an asynchronous task to delete a repositroy version.
|
38
|
-
# @param
|
38
|
+
# @param file_file_repository_version_href
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
+
# @option opts [String] :content content
|
41
|
+
# @option opts [String] :content__in content__in
|
42
|
+
# @option opts [String] :number number
|
43
|
+
# @option opts [String] :number__gt number__gt
|
44
|
+
# @option opts [String] :number__gte number__gte
|
45
|
+
# @option opts [String] :number__lt number__lt
|
46
|
+
# @option opts [String] :number__lte number__lte
|
47
|
+
# @option opts [String] :number__range number__range
|
48
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
49
|
+
# @option opts [String] :pulp_created pulp_created
|
50
|
+
# @option opts [String] :pulp_created__gt pulp_created__gt
|
51
|
+
# @option opts [String] :pulp_created__gte pulp_created__gte
|
52
|
+
# @option opts [String] :pulp_created__lt pulp_created__lt
|
53
|
+
# @option opts [String] :pulp_created__lte pulp_created__lte
|
54
|
+
# @option opts [String] :pulp_created__range pulp_created__range
|
40
55
|
# @return [AsyncOperationResponse]
|
41
56
|
describe 'delete test' do
|
42
57
|
it 'should work' do
|
@@ -47,25 +62,25 @@ describe 'RepositoriesFileVersionsApi' do
|
|
47
62
|
# unit tests for list
|
48
63
|
# List repository versions
|
49
64
|
# FileRepositoryVersion represents a single file repository version.
|
50
|
-
# @param
|
65
|
+
# @param file_file_repository_href
|
51
66
|
# @param [Hash] opts the optional parameters
|
52
|
-
# @option opts [String] :
|
53
|
-
# @option opts [
|
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] :pulp_created ISO 8601 formatted dates are supported
|
65
|
-
# @option opts [String] :content Content Unit referenced by HREF
|
66
|
-
# @option opts [String] :content__in Content Unit referenced by HREF
|
67
|
+
# @option opts [String] :content content
|
68
|
+
# @option opts [String] :content__in content__in
|
67
69
|
# @option opts [Integer] :limit Number of results to return per page.
|
70
|
+
# @option opts [String] :number number
|
71
|
+
# @option opts [String] :number__gt number__gt
|
72
|
+
# @option opts [String] :number__gte number__gte
|
73
|
+
# @option opts [String] :number__lt number__lt
|
74
|
+
# @option opts [String] :number__lte number__lte
|
75
|
+
# @option opts [String] :number__range number__range
|
68
76
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
77
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
78
|
+
# @option opts [String] :pulp_created pulp_created
|
79
|
+
# @option opts [String] :pulp_created__gt pulp_created__gt
|
80
|
+
# @option opts [String] :pulp_created__gte pulp_created__gte
|
81
|
+
# @option opts [String] :pulp_created__lt pulp_created__lt
|
82
|
+
# @option opts [String] :pulp_created__lte pulp_created__lte
|
83
|
+
# @option opts [String] :pulp_created__range pulp_created__range
|
69
84
|
# @option opts [String] :fields A list of fields to include in the response.
|
70
85
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
71
86
|
# @return [InlineResponse2007]
|
@@ -78,11 +93,11 @@ describe 'RepositoriesFileVersionsApi' do
|
|
78
93
|
# unit tests for read
|
79
94
|
# Inspect a repository version
|
80
95
|
# FileRepositoryVersion represents a single file repository version.
|
81
|
-
# @param
|
96
|
+
# @param file_file_repository_version_href
|
82
97
|
# @param [Hash] opts the optional parameters
|
83
98
|
# @option opts [String] :fields A list of fields to include in the response.
|
84
99
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
85
|
-
# @return [
|
100
|
+
# @return [RepositoryVersionResponse]
|
86
101
|
describe 'read test' do
|
87
102
|
it 'should work' do
|
88
103
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -91,8 +106,8 @@ describe 'RepositoriesFileVersionsApi' do
|
|
91
106
|
|
92
107
|
# unit tests for repair
|
93
108
|
# Trigger an asynchronous task to repair a repositroy version.
|
94
|
-
# @param
|
95
|
-
# @param
|
109
|
+
# @param file_file_repository_version_href
|
110
|
+
# @param repository_version
|
96
111
|
# @param [Hash] opts the optional parameters
|
97
112
|
# @return [AsyncOperationResponse]
|
98
113
|
describe 'repair test' do
|
data/spec/api_client_spec.rb
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
|
-
|
7
|
+
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
data/spec/configuration_spec.rb
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
|
-
|
7
|
+
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
|
-
|
7
|
+
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -0,0 +1,53 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PulpFileClient::ContentSummaryResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'ContentSummaryResponse' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpFileClient::ContentSummaryResponse.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of ContentSummaryResponse' do
|
31
|
+
it 'should create an instance of ContentSummaryResponse' do
|
32
|
+
expect(@instance).to be_instance_of(PulpFileClient::ContentSummaryResponse)
|
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
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
|
-
|
7
|
+
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|