pulpcore_client 3.4.1 → 3.5.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 +10 -15
- data/docs/{ArtifactRead.md → Artifact.md} +2 -2
- data/docs/ArtifactsApi.md +10 -10
- data/docs/ExportersCoreExportsApi.md +2 -2
- data/docs/ExportersPulpApi.md +8 -8
- data/docs/GroupProgressReport.md +25 -0
- data/docs/{ImportRead.md → Import.md} +2 -2
- data/docs/ImportersCoreImportsApi.md +2 -2
- data/docs/ImportersPulpApi.md +8 -8
- data/docs/InlineResponse200.md +1 -1
- data/docs/InlineResponse2001.md +1 -1
- data/docs/InlineResponse2002.md +1 -1
- data/docs/InlineResponse2003.md +1 -1
- data/docs/InlineResponse2004.md +1 -1
- data/docs/InlineResponse2005.md +1 -1
- data/docs/InlineResponse2006.md +1 -1
- data/docs/InlineResponse2007.md +1 -1
- data/docs/InlineResponse2008.md +1 -1
- data/docs/InlineResponse2009.md +1 -1
- data/docs/PulpExport.md +0 -8
- data/docs/{SigningServiceRead.md → SigningService.md} +2 -2
- data/docs/SigningServicesApi.md +2 -2
- data/docs/{TaskGroupRead.md → TaskGroup.md} +5 -3
- data/docs/TaskGroupsApi.md +2 -2
- data/docs/TasksApi.md +2 -2
- data/docs/{UploadDetailRead.md → UploadDetail.md} +2 -2
- data/docs/UploadsApi.md +4 -6
- data/docs/WorkersApi.md +4 -4
- data/lib/pulpcore_client/api/artifacts_api.rb +15 -15
- data/lib/pulpcore_client/api/exporters_core_exports_api.rb +3 -3
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +12 -12
- data/lib/pulpcore_client/api/importers_core_imports_api.rb +3 -3
- data/lib/pulpcore_client/api/importers_pulp_api.rb +12 -12
- data/lib/pulpcore_client/api/signing_services_api.rb +3 -3
- data/lib/pulpcore_client/api/task_groups_api.rb +3 -3
- data/lib/pulpcore_client/api/tasks_api.rb +3 -3
- data/lib/pulpcore_client/api/uploads_api.rb +6 -9
- data/lib/pulpcore_client/api/workers_api.rb +6 -6
- data/lib/pulpcore_client/models/{artifact_read.rb → artifact.rb} +3 -3
- data/lib/pulpcore_client/models/{pulp_importer_read.rb → group_progress_report.rb} +77 -46
- data/lib/pulpcore_client/models/{import_read.rb → import.rb} +3 -3
- data/lib/pulpcore_client/models/inline_response200.rb +1 -1
- 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 +1 -1
- data/lib/pulpcore_client/models/inline_response2006.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2007.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2008.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2009.rb +1 -1
- data/lib/pulpcore_client/models/pulp_export.rb +1 -62
- data/lib/pulpcore_client/models/{signing_service_read.rb → signing_service.rb} +3 -3
- data/lib/pulpcore_client/models/{task_group_read.rb → task_group.rb} +18 -7
- data/lib/pulpcore_client/models/{upload_detail_read.rb → upload_detail.rb} +3 -3
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +6 -11
- data/spec/api/artifacts_api_spec.rb +5 -5
- data/spec/api/exporters_core_exports_api_spec.rb +1 -1
- data/spec/api/exporters_pulp_api_spec.rb +4 -4
- data/spec/api/importers_core_imports_api_spec.rb +1 -1
- data/spec/api/importers_pulp_api_spec.rb +4 -4
- data/spec/api/signing_services_api_spec.rb +1 -1
- data/spec/api/task_groups_api_spec.rb +1 -1
- data/spec/api/tasks_api_spec.rb +1 -1
- data/spec/api/uploads_api_spec.rb +2 -3
- data/spec/api/workers_api_spec.rb +2 -2
- data/spec/models/{artifact_read_spec.rb → artifact_spec.rb} +6 -6
- data/spec/models/{pulp_exporter_read_spec.rb → group_progress_report_spec.rb} +11 -17
- data/spec/models/{import_read_spec.rb → import_spec.rb} +6 -6
- data/spec/models/pulp_export_spec.rb +0 -24
- data/spec/models/{signing_service_read_spec.rb → signing_service_spec.rb} +6 -6
- data/spec/models/{task_group_read_spec.rb → task_group_spec.rb} +12 -6
- data/spec/models/{upload_detail_read_spec.rb → upload_detail_spec.rb} +6 -6
- metadata +26 -46
- data/docs/PulpExportRead.md +0 -27
- data/docs/PulpExporterRead.md +0 -27
- data/docs/PulpImporterRead.md +0 -23
- data/docs/TaskRead.md +0 -43
- data/docs/UploadRead.md +0 -23
- data/docs/WorkerRead.md +0 -23
- data/lib/pulpcore_client/models/pulp_export_read.rb +0 -259
- data/lib/pulpcore_client/models/pulp_exporter_read.rb +0 -311
- data/lib/pulpcore_client/models/task_read.rb +0 -383
- data/lib/pulpcore_client/models/upload_read.rb +0 -241
- data/lib/pulpcore_client/models/worker_read.rb +0 -251
- data/spec/models/pulp_export_read_spec.rb +0 -71
- data/spec/models/pulp_importer_read_spec.rb +0 -59
- data/spec/models/task_read_spec.rb +0 -119
- data/spec/models/upload_read_spec.rb +0 -59
- data/spec/models/worker_read_spec.rb +0 -59
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
|
|
|
13
13
|
require 'date'
|
|
14
14
|
|
|
15
15
|
module PulpcoreClient
|
|
16
|
-
class
|
|
16
|
+
class UploadDetail
|
|
17
17
|
attr_accessor :pulp_href
|
|
18
18
|
|
|
19
19
|
# Timestamp of creation.
|
|
@@ -59,13 +59,13 @@ module PulpcoreClient
|
|
|
59
59
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
60
60
|
def initialize(attributes = {})
|
|
61
61
|
if (!attributes.is_a?(Hash))
|
|
62
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpcoreClient::
|
|
62
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpcoreClient::UploadDetail` initialize method"
|
|
63
63
|
end
|
|
64
64
|
|
|
65
65
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
66
66
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
67
67
|
if (!self.class.attribute_map.key?(k.to_sym))
|
|
68
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpcoreClient::
|
|
68
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpcoreClient::UploadDetail`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
69
69
|
end
|
|
70
70
|
h[k.to_sym] = v
|
|
71
71
|
}
|
data/lib/pulpcore_client.rb
CHANGED
|
@@ -17,11 +17,12 @@ require 'pulpcore_client/version'
|
|
|
17
17
|
require 'pulpcore_client/configuration'
|
|
18
18
|
|
|
19
19
|
# Models
|
|
20
|
-
require 'pulpcore_client/models/
|
|
20
|
+
require 'pulpcore_client/models/artifact'
|
|
21
21
|
require 'pulpcore_client/models/async_operation_response'
|
|
22
22
|
require 'pulpcore_client/models/content_app_status'
|
|
23
23
|
require 'pulpcore_client/models/database_connection'
|
|
24
|
-
require 'pulpcore_client/models/
|
|
24
|
+
require 'pulpcore_client/models/group_progress_report'
|
|
25
|
+
require 'pulpcore_client/models/import'
|
|
25
26
|
require 'pulpcore_client/models/inline_response200'
|
|
26
27
|
require 'pulpcore_client/models/inline_response2001'
|
|
27
28
|
require 'pulpcore_client/models/inline_response2002'
|
|
@@ -34,28 +35,22 @@ require 'pulpcore_client/models/inline_response2008'
|
|
|
34
35
|
require 'pulpcore_client/models/inline_response2009'
|
|
35
36
|
require 'pulpcore_client/models/progress_report'
|
|
36
37
|
require 'pulpcore_client/models/pulp_export'
|
|
37
|
-
require 'pulpcore_client/models/pulp_export_read'
|
|
38
38
|
require 'pulpcore_client/models/pulp_exporter'
|
|
39
|
-
require 'pulpcore_client/models/pulp_exporter_read'
|
|
40
39
|
require 'pulpcore_client/models/pulp_import'
|
|
41
40
|
require 'pulpcore_client/models/pulp_importer'
|
|
42
|
-
require 'pulpcore_client/models/pulp_importer_read'
|
|
43
41
|
require 'pulpcore_client/models/redis_connection'
|
|
44
|
-
require 'pulpcore_client/models/
|
|
42
|
+
require 'pulpcore_client/models/signing_service'
|
|
45
43
|
require 'pulpcore_client/models/status'
|
|
46
44
|
require 'pulpcore_client/models/storage'
|
|
47
45
|
require 'pulpcore_client/models/task'
|
|
48
46
|
require 'pulpcore_client/models/task_cancel'
|
|
49
|
-
require 'pulpcore_client/models/
|
|
50
|
-
require 'pulpcore_client/models/task_read'
|
|
47
|
+
require 'pulpcore_client/models/task_group'
|
|
51
48
|
require 'pulpcore_client/models/upload'
|
|
52
49
|
require 'pulpcore_client/models/upload_chunk'
|
|
53
50
|
require 'pulpcore_client/models/upload_commit'
|
|
54
|
-
require 'pulpcore_client/models/
|
|
55
|
-
require 'pulpcore_client/models/upload_read'
|
|
51
|
+
require 'pulpcore_client/models/upload_detail'
|
|
56
52
|
require 'pulpcore_client/models/version'
|
|
57
53
|
require 'pulpcore_client/models/worker'
|
|
58
|
-
require 'pulpcore_client/models/worker_read'
|
|
59
54
|
|
|
60
55
|
# APIs
|
|
61
56
|
require 'pulpcore_client/api/artifacts_api'
|
|
@@ -43,7 +43,7 @@ describe 'ArtifactsApi' do
|
|
|
43
43
|
# @option opts [String] :sha256 The SHA-256 checksum of the file if available.
|
|
44
44
|
# @option opts [String] :sha384 The SHA-384 checksum of the file if available.
|
|
45
45
|
# @option opts [String] :sha512 The SHA-512 checksum of the file if available.
|
|
46
|
-
# @return [
|
|
46
|
+
# @return [Artifact]
|
|
47
47
|
describe 'create test' do
|
|
48
48
|
it 'should work' do
|
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -66,13 +66,13 @@ describe 'ArtifactsApi' do
|
|
|
66
66
|
# List artifacts
|
|
67
67
|
# @param [Hash] opts the optional parameters
|
|
68
68
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
69
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
70
69
|
# @option opts [String] :md5 Filter results where md5 matches value
|
|
71
|
-
# @option opts [String] :sha1 Filter results where sha1 matches value
|
|
72
|
-
# @option opts [String] :sha224 Filter results where sha224 matches value
|
|
73
70
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
|
74
71
|
# @option opts [String] :sha384 Filter results where sha384 matches value
|
|
72
|
+
# @option opts [String] :sha1 Filter results where sha1 matches value
|
|
73
|
+
# @option opts [String] :sha224 Filter results where sha224 matches value
|
|
75
74
|
# @option opts [String] :sha512 Filter results where sha512 matches value
|
|
75
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
76
76
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
77
77
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
78
78
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
@@ -90,7 +90,7 @@ describe 'ArtifactsApi' do
|
|
|
90
90
|
# @param [Hash] opts the optional parameters
|
|
91
91
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
92
92
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
93
|
-
# @return [
|
|
93
|
+
# @return [Artifact]
|
|
94
94
|
describe 'read test' do
|
|
95
95
|
it 'should work' do
|
|
96
96
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -81,7 +81,7 @@ describe 'ExportersCoreExportsApi' do
|
|
|
81
81
|
# @param [Hash] opts the optional parameters
|
|
82
82
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
83
83
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
84
|
-
# @return [
|
|
84
|
+
# @return [PulpExport]
|
|
85
85
|
describe 'read test' do
|
|
86
86
|
it 'should work' do
|
|
87
87
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -37,7 +37,7 @@ describe 'ExportersPulpApi' do
|
|
|
37
37
|
# ViewSet for viewing PulpExporters.
|
|
38
38
|
# @param data
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
|
-
# @return [
|
|
40
|
+
# @return [PulpExporter]
|
|
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
|
|
@@ -80,7 +80,7 @@ describe 'ExportersPulpApi' do
|
|
|
80
80
|
# @param pulp_exporter_href URI of Pulp Exporter. e.g.: /pulp/api/v3/exporters/core/pulp/1/
|
|
81
81
|
# @param data
|
|
82
82
|
# @param [Hash] opts the optional parameters
|
|
83
|
-
# @return [
|
|
83
|
+
# @return [PulpExporter]
|
|
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
|
|
@@ -94,7 +94,7 @@ describe 'ExportersPulpApi' do
|
|
|
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 [PulpExporter]
|
|
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
|
|
@@ -107,7 +107,7 @@ describe 'ExportersPulpApi' do
|
|
|
107
107
|
# @param pulp_exporter_href URI of Pulp Exporter. e.g.: /pulp/api/v3/exporters/core/pulp/1/
|
|
108
108
|
# @param data
|
|
109
109
|
# @param [Hash] opts the optional parameters
|
|
110
|
-
# @return [
|
|
110
|
+
# @return [PulpExporter]
|
|
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
|
|
@@ -81,7 +81,7 @@ describe 'ImportersCoreImportsApi' do
|
|
|
81
81
|
# @param [Hash] opts the optional parameters
|
|
82
82
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
83
83
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
84
|
-
# @return [
|
|
84
|
+
# @return [Import]
|
|
85
85
|
describe 'read test' do
|
|
86
86
|
it 'should work' do
|
|
87
87
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -37,7 +37,7 @@ describe 'ImportersPulpApi' do
|
|
|
37
37
|
# ViewSet for PulpImporters.
|
|
38
38
|
# @param data
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
|
-
# @return [
|
|
40
|
+
# @return [PulpImporter]
|
|
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
|
|
@@ -80,7 +80,7 @@ describe 'ImportersPulpApi' do
|
|
|
80
80
|
# @param pulp_importer_href URI of Pulp Importer. e.g.: /pulp/api/v3/importers/core/pulp/1/
|
|
81
81
|
# @param data
|
|
82
82
|
# @param [Hash] opts the optional parameters
|
|
83
|
-
# @return [
|
|
83
|
+
# @return [PulpImporter]
|
|
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
|
|
@@ -94,7 +94,7 @@ describe 'ImportersPulpApi' do
|
|
|
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 [PulpImporter]
|
|
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
|
|
@@ -107,7 +107,7 @@ describe 'ImportersPulpApi' do
|
|
|
107
107
|
# @param pulp_importer_href URI of Pulp Importer. e.g.: /pulp/api/v3/importers/core/pulp/1/
|
|
108
108
|
# @param data
|
|
109
109
|
# @param [Hash] opts the optional parameters
|
|
110
|
-
# @return [
|
|
110
|
+
# @return [PulpImporter]
|
|
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
|
|
@@ -56,7 +56,7 @@ describe 'SigningServicesApi' do
|
|
|
56
56
|
# @param [Hash] opts the optional parameters
|
|
57
57
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
58
58
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
59
|
-
# @return [
|
|
59
|
+
# @return [SigningService]
|
|
60
60
|
describe 'read test' do
|
|
61
61
|
it 'should work' do
|
|
62
62
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -53,7 +53,7 @@ describe 'TaskGroupsApi' do
|
|
|
53
53
|
# @param [Hash] opts the optional parameters
|
|
54
54
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
55
55
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
56
|
-
# @return [
|
|
56
|
+
# @return [TaskGroup]
|
|
57
57
|
describe 'read test' do
|
|
58
58
|
it 'should work' do
|
|
59
59
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
data/spec/api/tasks_api_spec.rb
CHANGED
|
@@ -87,7 +87,7 @@ describe 'TasksApi' do
|
|
|
87
87
|
# @param [Hash] opts the optional parameters
|
|
88
88
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
89
89
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
90
|
-
# @return [
|
|
90
|
+
# @return [Task]
|
|
91
91
|
describe 'read test' do
|
|
92
92
|
it 'should work' do
|
|
93
93
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -50,7 +50,7 @@ describe 'UploadsApi' do
|
|
|
50
50
|
# View for chunked uploads.
|
|
51
51
|
# @param data
|
|
52
52
|
# @param [Hash] opts the optional parameters
|
|
53
|
-
# @return [
|
|
53
|
+
# @return [Upload]
|
|
54
54
|
describe 'create test' do
|
|
55
55
|
it 'should work' do
|
|
56
56
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -74,7 +74,6 @@ describe 'UploadsApi' do
|
|
|
74
74
|
# View for chunked uploads.
|
|
75
75
|
# @param [Hash] opts the optional parameters
|
|
76
76
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
77
|
-
# @option opts [String] :completed ISO 8601 formatted dates are supported
|
|
78
77
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
79
78
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
80
79
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
@@ -93,7 +92,7 @@ describe 'UploadsApi' do
|
|
|
93
92
|
# @param [Hash] opts the optional parameters
|
|
94
93
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
95
94
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
96
|
-
# @return [
|
|
95
|
+
# @return [UploadDetail]
|
|
97
96
|
describe 'read test' do
|
|
98
97
|
it 'should work' do
|
|
99
98
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -43,9 +43,9 @@ describe 'WorkersApi' do
|
|
|
43
43
|
# @option opts [String] :last_heartbeat__gt Filter results where last_heartbeat is greater than value
|
|
44
44
|
# @option opts [String] :last_heartbeat__gte Filter results where last_heartbeat is greater than or equal to value
|
|
45
45
|
# @option opts [String] :last_heartbeat__range Filter results where last_heartbeat is between two comma separated values
|
|
46
|
+
# @option opts [String] :last_heartbeat ISO 8601 formatted dates are supported
|
|
46
47
|
# @option opts [String] :online
|
|
47
48
|
# @option opts [String] :missing
|
|
48
|
-
# @option opts [String] :last_heartbeat ISO 8601 formatted dates are supported
|
|
49
49
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
50
50
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
51
51
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
@@ -63,7 +63,7 @@ describe 'WorkersApi' do
|
|
|
63
63
|
# @param [Hash] opts the optional parameters
|
|
64
64
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
65
65
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
66
|
-
# @return [
|
|
66
|
+
# @return [Worker]
|
|
67
67
|
describe 'read test' do
|
|
68
68
|
it 'should work' do
|
|
69
69
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -14,22 +14,22 @@ require 'spec_helper'
|
|
|
14
14
|
require 'json'
|
|
15
15
|
require 'date'
|
|
16
16
|
|
|
17
|
-
# Unit tests for PulpcoreClient::
|
|
17
|
+
# Unit tests for PulpcoreClient::Artifact
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe '
|
|
20
|
+
describe 'Artifact' do
|
|
21
21
|
before do
|
|
22
22
|
# run before each test
|
|
23
|
-
@instance = PulpcoreClient::
|
|
23
|
+
@instance = PulpcoreClient::Artifact.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(PulpcoreClient::
|
|
30
|
+
describe 'test an instance of Artifact' do
|
|
31
|
+
it 'should create an instance of Artifact' do
|
|
32
|
+
expect(@instance).to be_instance_of(PulpcoreClient::Artifact)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
describe 'test attribute "pulp_href"' do
|
|
@@ -14,55 +14,49 @@ require 'spec_helper'
|
|
|
14
14
|
require 'json'
|
|
15
15
|
require 'date'
|
|
16
16
|
|
|
17
|
-
# Unit tests for PulpcoreClient::
|
|
17
|
+
# Unit tests for PulpcoreClient::GroupProgressReport
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe '
|
|
20
|
+
describe 'GroupProgressReport' do
|
|
21
21
|
before do
|
|
22
22
|
# run before each test
|
|
23
|
-
@instance = PulpcoreClient::
|
|
23
|
+
@instance = PulpcoreClient::GroupProgressReport.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(PulpcoreClient::
|
|
30
|
+
describe 'test an instance of GroupProgressReport' do
|
|
31
|
+
it 'should create an instance of GroupProgressReport' do
|
|
32
|
+
expect(@instance).to be_instance_of(PulpcoreClient::GroupProgressReport)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
35
|
+
describe 'test attribute "message"' do
|
|
36
36
|
it 'should work' do
|
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
38
|
end
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
-
describe 'test attribute "
|
|
41
|
+
describe 'test attribute "code"' do
|
|
42
42
|
it 'should work' do
|
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
44
|
end
|
|
45
45
|
end
|
|
46
46
|
|
|
47
|
-
describe 'test attribute "
|
|
47
|
+
describe 'test attribute "total"' do
|
|
48
48
|
it 'should work' do
|
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
50
|
end
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
-
describe 'test attribute "
|
|
53
|
+
describe 'test attribute "done"' do
|
|
54
54
|
it 'should work' do
|
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
56
|
end
|
|
57
57
|
end
|
|
58
58
|
|
|
59
|
-
describe 'test attribute "
|
|
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 "last_export"' do
|
|
59
|
+
describe 'test attribute "suffix"' do
|
|
66
60
|
it 'should work' do
|
|
67
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
68
62
|
end
|
|
@@ -14,22 +14,22 @@ require 'spec_helper'
|
|
|
14
14
|
require 'json'
|
|
15
15
|
require 'date'
|
|
16
16
|
|
|
17
|
-
# Unit tests for PulpcoreClient::
|
|
17
|
+
# Unit tests for PulpcoreClient::Import
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe '
|
|
20
|
+
describe 'Import' do
|
|
21
21
|
before do
|
|
22
22
|
# run before each test
|
|
23
|
-
@instance = PulpcoreClient::
|
|
23
|
+
@instance = PulpcoreClient::Import.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(PulpcoreClient::
|
|
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
33
|
end
|
|
34
34
|
end
|
|
35
35
|
describe 'test attribute "pulp_href"' do
|
|
@@ -62,30 +62,6 @@ describe 'PulpExport' do
|
|
|
62
62
|
end
|
|
63
63
|
end
|
|
64
64
|
|
|
65
|
-
describe 'test attribute "full"' do
|
|
66
|
-
it 'should work' do
|
|
67
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
68
|
-
end
|
|
69
|
-
end
|
|
70
|
-
|
|
71
|
-
describe 'test attribute "dry_run"' do
|
|
72
|
-
it 'should work' do
|
|
73
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
74
|
-
end
|
|
75
|
-
end
|
|
76
|
-
|
|
77
|
-
describe 'test attribute "versions"' do
|
|
78
|
-
it 'should work' do
|
|
79
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
80
|
-
end
|
|
81
|
-
end
|
|
82
|
-
|
|
83
|
-
describe 'test attribute "chunk_size"' do
|
|
84
|
-
it 'should work' do
|
|
85
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
86
|
-
end
|
|
87
|
-
end
|
|
88
|
-
|
|
89
65
|
describe 'test attribute "output_file_info"' do
|
|
90
66
|
it 'should work' do
|
|
91
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -14,22 +14,22 @@ require 'spec_helper'
|
|
|
14
14
|
require 'json'
|
|
15
15
|
require 'date'
|
|
16
16
|
|
|
17
|
-
# Unit tests for PulpcoreClient::
|
|
17
|
+
# Unit tests for PulpcoreClient::SigningService
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe '
|
|
20
|
+
describe 'SigningService' do
|
|
21
21
|
before do
|
|
22
22
|
# run before each test
|
|
23
|
-
@instance = PulpcoreClient::
|
|
23
|
+
@instance = PulpcoreClient::SigningService.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(PulpcoreClient::
|
|
30
|
+
describe 'test an instance of SigningService' do
|
|
31
|
+
it 'should create an instance of SigningService' do
|
|
32
|
+
expect(@instance).to be_instance_of(PulpcoreClient::SigningService)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
describe 'test attribute "pulp_href"' do
|
|
@@ -14,22 +14,22 @@ require 'spec_helper'
|
|
|
14
14
|
require 'json'
|
|
15
15
|
require 'date'
|
|
16
16
|
|
|
17
|
-
# Unit tests for PulpcoreClient::
|
|
17
|
+
# Unit tests for PulpcoreClient::TaskGroup
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe '
|
|
20
|
+
describe 'TaskGroup' do
|
|
21
21
|
before do
|
|
22
22
|
# run before each test
|
|
23
|
-
@instance = PulpcoreClient::
|
|
23
|
+
@instance = PulpcoreClient::TaskGroup.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(PulpcoreClient::
|
|
30
|
+
describe 'test an instance of TaskGroup' do
|
|
31
|
+
it 'should create an instance of TaskGroup' do
|
|
32
|
+
expect(@instance).to be_instance_of(PulpcoreClient::TaskGroup)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
describe 'test attribute "pulp_href"' do
|
|
@@ -86,4 +86,10 @@ describe 'TaskGroupRead' do
|
|
|
86
86
|
end
|
|
87
87
|
end
|
|
88
88
|
|
|
89
|
+
describe 'test attribute "group_progress_reports"' 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
|
+
|
|
89
95
|
end
|
|
@@ -14,22 +14,22 @@ require 'spec_helper'
|
|
|
14
14
|
require 'json'
|
|
15
15
|
require 'date'
|
|
16
16
|
|
|
17
|
-
# Unit tests for PulpcoreClient::
|
|
17
|
+
# Unit tests for PulpcoreClient::UploadDetail
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe '
|
|
20
|
+
describe 'UploadDetail' do
|
|
21
21
|
before do
|
|
22
22
|
# run before each test
|
|
23
|
-
@instance = PulpcoreClient::
|
|
23
|
+
@instance = PulpcoreClient::UploadDetail.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(PulpcoreClient::
|
|
30
|
+
describe 'test an instance of UploadDetail' do
|
|
31
|
+
it 'should create an instance of UploadDetail' do
|
|
32
|
+
expect(@instance).to be_instance_of(PulpcoreClient::UploadDetail)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
describe 'test attribute "pulp_href"' do
|