pulpcore_client 3.2.1 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +37 -4
- data/docs/ArtifactsApi.md +2 -0
- data/docs/ExportersCoreExportsApi.md +243 -0
- data/docs/ExportersPulpApi.md +355 -0
- data/docs/Import.md +23 -0
- data/docs/ImportersCoreImportsApi.md +243 -0
- data/docs/ImportersPulpApi.md +355 -0
- 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 +23 -0
- data/docs/InlineResponse2006.md +23 -0
- data/docs/InlineResponse2007.md +23 -0
- data/docs/InlineResponse2008.md +23 -0
- data/docs/InlineResponse2009.md +23 -0
- data/docs/PulpExport.md +29 -0
- data/docs/PulpExporter.md +27 -0
- data/docs/PulpImport.md +17 -0
- data/docs/PulpImporter.md +23 -0
- data/docs/SigningServicesApi.md +6 -2
- data/docs/Task.md +6 -0
- data/docs/TaskGroup.md +29 -0
- data/docs/TaskGroupsApi.md +128 -0
- data/docs/TasksApi.md +10 -6
- data/docs/UploadsApi.md +4 -2
- data/docs/WorkersApi.md +4 -2
- data/lib/pulpcore_client/api/artifacts_api.rb +3 -0
- data/lib/pulpcore_client/api/exporters_core_exports_api.rb +297 -0
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +431 -0
- data/lib/pulpcore_client/api/importers_core_imports_api.rb +297 -0
- data/lib/pulpcore_client/api/importers_pulp_api.rb +431 -0
- data/lib/pulpcore_client/api/signing_services_api.rb +9 -3
- data/lib/pulpcore_client/api/task_groups_api.rb +157 -0
- data/lib/pulpcore_client/api/tasks_api.rb +15 -9
- data/lib/pulpcore_client/api/uploads_api.rb +6 -3
- data/lib/pulpcore_client/api/workers_api.rb +6 -3
- data/lib/pulpcore_client/models/import.rb +246 -0
- data/lib/pulpcore_client/models/inline_response2001.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2002.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2003.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2004.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2005.rb +247 -0
- data/lib/pulpcore_client/models/inline_response2006.rb +247 -0
- data/lib/pulpcore_client/models/inline_response2007.rb +247 -0
- data/lib/pulpcore_client/models/inline_response2008.rb +247 -0
- data/lib/pulpcore_client/models/inline_response2009.rb +247 -0
- data/lib/pulpcore_client/models/pulp_export.rb +310 -0
- data/lib/pulpcore_client/models/pulp_exporter.rb +310 -0
- data/lib/pulpcore_client/models/pulp_import.rb +231 -0
- data/lib/pulpcore_client/models/pulp_importer.rb +262 -0
- data/lib/pulpcore_client/models/task.rb +33 -1
- data/lib/pulpcore_client/models/task_group.rb +291 -0
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +16 -0
- data/spec/api/artifacts_api_spec.rb +1 -0
- data/spec/api/exporters_core_exports_api_spec.rb +91 -0
- data/spec/api/exporters_pulp_api_spec.rb +117 -0
- data/spec/api/importers_core_imports_api_spec.rb +91 -0
- data/spec/api/importers_pulp_api_spec.rb +117 -0
- data/spec/api/signing_services_api_spec.rb +3 -1
- data/spec/api/task_groups_api_spec.rb +63 -0
- data/spec/api/tasks_api_spec.rb +5 -3
- data/spec/api/uploads_api_spec.rb +2 -1
- data/spec/api/workers_api_spec.rb +2 -1
- data/spec/models/import_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_response2007_spec.rb +59 -0
- data/spec/models/inline_response2008_spec.rb +59 -0
- data/spec/models/inline_response2009_spec.rb +59 -0
- data/spec/models/pulp_export_spec.rb +77 -0
- data/spec/models/pulp_exporter_spec.rb +71 -0
- data/spec/models/pulp_import_spec.rb +41 -0
- data/spec/models/pulp_importer_spec.rb +59 -0
- data/spec/models/task_group_spec.rb +77 -0
- data/spec/models/task_spec.rb +18 -0
- metadata +66 -2
@@ -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.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for PulpcoreClient::ExportersCoreExportsApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'ExportersCoreExportsApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = PulpcoreClient::ExportersCoreExportsApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of ExportersCoreExportsApi' do
|
30
|
+
it 'should create an instance of ExportersCoreExportsApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(PulpcoreClient::ExportersCoreExportsApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for create
|
36
|
+
# Create a pulp export
|
37
|
+
# Trigger an asynchronous task to export a set of repositories
|
38
|
+
# @param exporter_pk
|
39
|
+
# @param data
|
40
|
+
# @param [Hash] opts the optional parameters
|
41
|
+
# @return [AsyncOperationResponse]
|
42
|
+
describe 'create test' do
|
43
|
+
it 'should work' do
|
44
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
# unit tests for delete
|
49
|
+
# Delete a pulp export
|
50
|
+
# ViewSet for viewing exports from a PulpExporter.
|
51
|
+
# @param pulp_export_href URI of Pulp Export. e.g.: /pulp/api/v3/exporters/core/pulp/1/exports/1/
|
52
|
+
# @param [Hash] opts the optional parameters
|
53
|
+
# @return [nil]
|
54
|
+
describe 'delete test' do
|
55
|
+
it 'should work' do
|
56
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
# unit tests for list
|
61
|
+
# List pulp exports
|
62
|
+
# ViewSet for viewing exports from a PulpExporter.
|
63
|
+
# @param exporter_pk
|
64
|
+
# @param [Hash] opts the optional parameters
|
65
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
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 [InlineResponse2002]
|
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 pulp export
|
79
|
+
# ViewSet for viewing exports from a PulpExporter.
|
80
|
+
# @param pulp_export_href URI of Pulp Export. e.g.: /pulp/api/v3/exporters/core/pulp/1/exports/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 [PulpExport]
|
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
|
@@ -0,0 +1,117 @@
|
|
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
|
+
|
16
|
+
# Unit tests for PulpcoreClient::ExportersPulpApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'ExportersPulpApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = PulpcoreClient::ExportersPulpApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of ExportersPulpApi' do
|
30
|
+
it 'should create an instance of ExportersPulpApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(PulpcoreClient::ExportersPulpApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for create
|
36
|
+
# Create a pulp exporter
|
37
|
+
# ViewSet for viewing PulpExporters.
|
38
|
+
# @param data
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [PulpExporter]
|
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 pulp exporter
|
49
|
+
# ViewSet for viewing PulpExporters.
|
50
|
+
# @param pulp_exporter_href URI of Pulp Exporter. e.g.: /pulp/api/v3/exporters/core/pulp/1/
|
51
|
+
# @param [Hash] opts the optional parameters
|
52
|
+
# @return [nil]
|
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 pulp exporters
|
61
|
+
# ViewSet for viewing PulpExporters.
|
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
|
+
# @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 [InlineResponse2001]
|
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 partial_update
|
78
|
+
# Partially update a pulp exporter
|
79
|
+
# ViewSet for viewing PulpExporters.
|
80
|
+
# @param pulp_exporter_href URI of Pulp Exporter. e.g.: /pulp/api/v3/exporters/core/pulp/1/
|
81
|
+
# @param data
|
82
|
+
# @param [Hash] opts the optional parameters
|
83
|
+
# @return [PulpExporter]
|
84
|
+
describe 'partial_update test' do
|
85
|
+
it 'should work' do
|
86
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
90
|
+
# unit tests for read
|
91
|
+
# Inspect a pulp exporter
|
92
|
+
# ViewSet for viewing PulpExporters.
|
93
|
+
# @param pulp_exporter_href URI of Pulp Exporter. e.g.: /pulp/api/v3/exporters/core/pulp/1/
|
94
|
+
# @param [Hash] opts the optional parameters
|
95
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
96
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
97
|
+
# @return [PulpExporter]
|
98
|
+
describe 'read test' do
|
99
|
+
it 'should work' do
|
100
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
101
|
+
end
|
102
|
+
end
|
103
|
+
|
104
|
+
# unit tests for update
|
105
|
+
# Update a pulp exporter
|
106
|
+
# ViewSet for viewing PulpExporters.
|
107
|
+
# @param pulp_exporter_href URI of Pulp Exporter. e.g.: /pulp/api/v3/exporters/core/pulp/1/
|
108
|
+
# @param data
|
109
|
+
# @param [Hash] opts the optional parameters
|
110
|
+
# @return [PulpExporter]
|
111
|
+
describe 'update test' do
|
112
|
+
it 'should work' do
|
113
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
114
|
+
end
|
115
|
+
end
|
116
|
+
|
117
|
+
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.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for PulpcoreClient::ImportersCoreImportsApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'ImportersCoreImportsApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = PulpcoreClient::ImportersCoreImportsApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of ImportersCoreImportsApi' do
|
30
|
+
it 'should create an instance of ImportersCoreImportsApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(PulpcoreClient::ImportersCoreImportsApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for create
|
36
|
+
# Create a pulp import
|
37
|
+
# Trigger an asynchronous task to import a Pulp export.
|
38
|
+
# @param importer_pk
|
39
|
+
# @param data
|
40
|
+
# @param [Hash] opts the optional parameters
|
41
|
+
# @return [AsyncOperationResponse]
|
42
|
+
describe 'create test' do
|
43
|
+
it 'should work' do
|
44
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
# unit tests for delete
|
49
|
+
# Delete a pulp import
|
50
|
+
# ViewSet for PulpImports.
|
51
|
+
# @param pulp_import_href URI of Pulp Import. e.g.: /pulp/api/v3/importers/core/pulp/1/imports/1/
|
52
|
+
# @param [Hash] opts the optional parameters
|
53
|
+
# @return [nil]
|
54
|
+
describe 'delete test' do
|
55
|
+
it 'should work' do
|
56
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
# unit tests for list
|
61
|
+
# List pulp imports
|
62
|
+
# ViewSet for PulpImports.
|
63
|
+
# @param importer_pk
|
64
|
+
# @param [Hash] opts the optional parameters
|
65
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
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 [InlineResponse2004]
|
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 pulp import
|
79
|
+
# ViewSet for PulpImports.
|
80
|
+
# @param pulp_import_href URI of Pulp Import. e.g.: /pulp/api/v3/importers/core/pulp/1/imports/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 [Import]
|
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
|
@@ -0,0 +1,117 @@
|
|
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
|
+
|
16
|
+
# Unit tests for PulpcoreClient::ImportersPulpApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'ImportersPulpApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = PulpcoreClient::ImportersPulpApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of ImportersPulpApi' do
|
30
|
+
it 'should create an instance of ImportersPulpApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(PulpcoreClient::ImportersPulpApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for create
|
36
|
+
# Create a pulp importer
|
37
|
+
# ViewSet for PulpImporters.
|
38
|
+
# @param data
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [PulpImporter]
|
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 pulp importer
|
49
|
+
# ViewSet for PulpImporters.
|
50
|
+
# @param pulp_importer_href URI of Pulp Importer. e.g.: /pulp/api/v3/importers/core/pulp/1/
|
51
|
+
# @param [Hash] opts the optional parameters
|
52
|
+
# @return [nil]
|
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 pulp importers
|
61
|
+
# ViewSet for PulpImporters.
|
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
|
+
# @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 [InlineResponse2003]
|
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 partial_update
|
78
|
+
# Partially update a pulp importer
|
79
|
+
# ViewSet for PulpImporters.
|
80
|
+
# @param pulp_importer_href URI of Pulp Importer. e.g.: /pulp/api/v3/importers/core/pulp/1/
|
81
|
+
# @param data
|
82
|
+
# @param [Hash] opts the optional parameters
|
83
|
+
# @return [PulpImporter]
|
84
|
+
describe 'partial_update test' do
|
85
|
+
it 'should work' do
|
86
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
90
|
+
# unit tests for read
|
91
|
+
# Inspect a pulp importer
|
92
|
+
# ViewSet for PulpImporters.
|
93
|
+
# @param pulp_importer_href URI of Pulp Importer. e.g.: /pulp/api/v3/importers/core/pulp/1/
|
94
|
+
# @param [Hash] opts the optional parameters
|
95
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
96
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
97
|
+
# @return [PulpImporter]
|
98
|
+
describe 'read test' do
|
99
|
+
it 'should work' do
|
100
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
101
|
+
end
|
102
|
+
end
|
103
|
+
|
104
|
+
# unit tests for update
|
105
|
+
# Update a pulp importer
|
106
|
+
# ViewSet for PulpImporters.
|
107
|
+
# @param pulp_importer_href URI of Pulp Importer. e.g.: /pulp/api/v3/importers/core/pulp/1/
|
108
|
+
# @param data
|
109
|
+
# @param [Hash] opts the optional parameters
|
110
|
+
# @return [PulpImporter]
|
111
|
+
describe 'update test' do
|
112
|
+
it 'should work' do
|
113
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
114
|
+
end
|
115
|
+
end
|
116
|
+
|
117
|
+
end
|
@@ -36,11 +36,13 @@ describe 'SigningServicesApi' do
|
|
36
36
|
# List signing services
|
37
37
|
# A ViewSet that supports browsing of existing signing services.
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
40
|
+
# @option opts [String] :name
|
39
41
|
# @option opts [Integer] :limit Number of results to return per page.
|
40
42
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
41
43
|
# @option opts [String] :fields A list of fields to include in the response.
|
42
44
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
43
|
-
# @return [
|
45
|
+
# @return [InlineResponse2005]
|
44
46
|
describe 'list test' do
|
45
47
|
it 'should work' do
|
46
48
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -0,0 +1,63 @@
|
|
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
|
+
|
16
|
+
# Unit tests for PulpcoreClient::TaskGroupsApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'TaskGroupsApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = PulpcoreClient::TaskGroupsApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of TaskGroupsApi' do
|
30
|
+
it 'should create an instance of TaskGroupsApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(PulpcoreClient::TaskGroupsApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for list
|
36
|
+
# List task groups
|
37
|
+
# @param [Hash] opts the optional parameters
|
38
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
39
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
40
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
41
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
42
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
43
|
+
# @return [InlineResponse2006]
|
44
|
+
describe 'list test' do
|
45
|
+
it 'should work' do
|
46
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
# unit tests for read
|
51
|
+
# Inspect a task group
|
52
|
+
# @param task_group_href URI of Task Group. e.g.: /pulp/api/v3/task-groups/1/
|
53
|
+
# @param [Hash] opts the optional parameters
|
54
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
55
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
56
|
+
# @return [TaskGroup]
|
57
|
+
describe 'read test' do
|
58
|
+
it 'should work' do
|
59
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
end
|
data/spec/api/tasks_api_spec.rb
CHANGED
@@ -47,11 +47,11 @@ describe 'TasksApi' do
|
|
47
47
|
# List tasks
|
48
48
|
# @param [Hash] opts the optional parameters
|
49
49
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
50
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
50
51
|
# @option opts [String] :state
|
51
52
|
# @option opts [String] :state__in Filter results where state is in a comma-separated list of values
|
52
53
|
# @option opts [String] :worker Foreign Key referenced by HREF
|
53
54
|
# @option opts [String] :worker__in Filter results where worker is in a comma-separated list of values
|
54
|
-
# @option opts [String] :name__contains Filter results where name contains value
|
55
55
|
# @option opts [String] :started_at__lt Filter results where started_at is less than value
|
56
56
|
# @option opts [String] :started_at__lte Filter results where started_at is less than or equal to value
|
57
57
|
# @option opts [String] :started_at__gt Filter results where started_at is greater than value
|
@@ -62,17 +62,19 @@ describe 'TasksApi' do
|
|
62
62
|
# @option opts [String] :finished_at__gt Filter results where finished_at is greater than value
|
63
63
|
# @option opts [String] :finished_at__gte Filter results where finished_at is greater than or equal to value
|
64
64
|
# @option opts [String] :finished_at__range Filter results where finished_at is between two comma separated values
|
65
|
+
# @option opts [String] :parent_task Foreign Key referenced by HREF
|
66
|
+
# @option opts [String] :child_tasks Foreign Key referenced by HREF
|
67
|
+
# @option opts [String] :task_group Foreign Key referenced by HREF
|
65
68
|
# @option opts [String] :reserved_resources_record
|
66
69
|
# @option opts [String] :created_resources
|
67
70
|
# @option opts [String] :name
|
68
71
|
# @option opts [String] :started_at ISO 8601 formatted dates are supported
|
69
72
|
# @option opts [String] :finished_at ISO 8601 formatted dates are supported
|
70
|
-
# @option opts [String] :parent Foreign Key referenced by HREF
|
71
73
|
# @option opts [Integer] :limit Number of results to return per page.
|
72
74
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
73
75
|
# @option opts [String] :fields A list of fields to include in the response.
|
74
76
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
75
|
-
# @return [
|
77
|
+
# @return [InlineResponse2007]
|
76
78
|
describe 'list test' do
|
77
79
|
it 'should work' do
|
78
80
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -73,12 +73,13 @@ describe 'UploadsApi' do
|
|
73
73
|
# List uploads
|
74
74
|
# View for chunked uploads.
|
75
75
|
# @param [Hash] opts the optional parameters
|
76
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
76
77
|
# @option opts [String] :completed ISO 8601 formatted dates are supported
|
77
78
|
# @option opts [Integer] :limit Number of results to return per page.
|
78
79
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
79
80
|
# @option opts [String] :fields A list of fields to include in the response.
|
80
81
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
81
|
-
# @return [
|
82
|
+
# @return [InlineResponse2008]
|
82
83
|
describe 'list test' do
|
83
84
|
it 'should work' do
|
84
85
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -35,6 +35,7 @@ describe 'WorkersApi' do
|
|
35
35
|
# unit tests for list
|
36
36
|
# List workers
|
37
37
|
# @param [Hash] opts the optional parameters
|
38
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
38
39
|
# @option opts [String] :name
|
39
40
|
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
40
41
|
# @option opts [String] :last_heartbeat__lt Filter results where last_heartbeat is less than value
|
@@ -49,7 +50,7 @@ describe 'WorkersApi' do
|
|
49
50
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
50
51
|
# @option opts [String] :fields A list of fields to include in the response.
|
51
52
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
52
|
-
# @return [
|
53
|
+
# @return [InlineResponse2009]
|
53
54
|
describe 'list test' do
|
54
55
|
it 'should work' do
|
55
56
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -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 PulpcoreClient::Import
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'Import' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpcoreClient::Import.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of Import' do
|
31
|
+
it 'should create an instance of Import' do
|
32
|
+
expect(@instance).to be_instance_of(PulpcoreClient::Import)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "pulp_href"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "pulp_created"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "task"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "params"' 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
|
@@ -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 PulpcoreClient::InlineResponse2005
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'InlineResponse2005' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpcoreClient::InlineResponse2005.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of InlineResponse2005' do
|
31
|
+
it 'should create an instance of InlineResponse2005' do
|
32
|
+
expect(@instance).to be_instance_of(PulpcoreClient::InlineResponse2005)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "count"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "_next"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "previous"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "results"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|