pulpcore_client 3.0.0rc2 → 3.0.0rc3
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/Gemfile.lock +1 -1
- data/README.md +43 -37
- data/docs/ArtifactsApi.md +20 -20
- data/docs/ContentAppStatus.md +19 -0
- data/docs/DatabaseConnection.md +17 -0
- data/docs/OrphansApi.md +5 -5
- data/docs/ProgressReport.md +1 -3
- data/docs/RedisConnection.md +17 -0
- data/docs/RepositoriesApi.md +30 -278
- data/docs/RepositoriesVersionsApi.md +256 -0
- data/docs/RepositoryVersionCreate.md +2 -2
- data/docs/Status.md +27 -0
- data/docs/StatusApi.md +8 -7
- data/docs/TaskCancel.md +17 -0
- data/docs/TasksApi.md +71 -71
- data/docs/Upload.md +6 -8
- data/docs/UploadCommit.md +17 -0
- data/docs/UploadsApi.md +66 -106
- data/docs/Version.md +19 -0
- data/docs/WorkersApi.md +10 -10
- data/lib/pulpcore_client/api/artifacts_api.rb +47 -23
- data/lib/pulpcore_client/api/orphans_api.rb +6 -6
- data/lib/pulpcore_client/api/repositories_api.rb +38 -338
- data/lib/pulpcore_client/api/repositories_versions_api.rb +322 -0
- data/lib/pulpcore_client/api/status_api.rb +12 -10
- data/lib/pulpcore_client/api/tasks_api.rb +88 -88
- data/lib/pulpcore_client/api/uploads_api.rb +105 -154
- data/lib/pulpcore_client/api/workers_api.rb +12 -12
- data/lib/pulpcore_client/api_client.rb +1 -1
- data/lib/pulpcore_client/api_error.rb +1 -1
- data/lib/pulpcore_client/configuration.rb +1 -1
- data/lib/pulpcore_client/models/artifact.rb +91 -1
- data/lib/pulpcore_client/models/async_operation_response.rb +1 -1
- data/lib/pulpcore_client/models/content_app_status.rb +223 -0
- data/lib/pulpcore_client/models/database_connection.rb +203 -0
- 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/progress_report.rb +20 -15
- data/lib/pulpcore_client/models/redis_connection.rb +203 -0
- data/lib/pulpcore_client/models/repository.rb +16 -1
- data/lib/pulpcore_client/models/repository_version.rb +1 -1
- data/lib/pulpcore_client/models/repository_version_create.rb +3 -13
- data/lib/pulpcore_client/models/status.rb +283 -0
- data/lib/pulpcore_client/models/task.rb +1 -1
- data/lib/pulpcore_client/models/task_cancel.rb +221 -0
- data/lib/pulpcore_client/models/upload.rb +26 -52
- data/lib/pulpcore_client/models/upload_commit.rb +221 -0
- data/lib/pulpcore_client/models/version.rb +256 -0
- data/lib/pulpcore_client/models/worker.rb +2 -1
- data/lib/pulpcore_client/version.rb +2 -2
- data/lib/pulpcore_client.rb +9 -1
- data/pulpcore_client.gemspec +1 -1
- data/spec/api/artifacts_api_spec.rb +9 -9
- data/spec/api/orphans_api_spec.rb +3 -3
- data/spec/api/repositories_api_spec.rb +13 -76
- data/spec/api/repositories_versions_api_spec.rb +98 -0
- data/spec/api/status_api_spec.rb +4 -4
- data/spec/api/tasks_api_spec.rb +20 -20
- data/spec/api/uploads_api_spec.rb +32 -37
- data/spec/api/workers_api_spec.rb +5 -5
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/artifact_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/content_app_status_spec.rb +47 -0
- data/spec/models/database_connection_spec.rb +41 -0
- data/spec/models/inline_response2001_spec.rb +1 -1
- data/spec/models/inline_response2002_spec.rb +1 -1
- data/spec/models/inline_response2003_spec.rb +1 -1
- data/spec/models/inline_response2004_spec.rb +1 -1
- data/spec/models/inline_response2005_spec.rb +1 -1
- data/spec/models/inline_response200_spec.rb +1 -1
- data/spec/models/progress_report_spec.rb +1 -7
- data/spec/models/redis_connection_spec.rb +41 -0
- data/spec/models/repository_spec.rb +1 -1
- data/spec/models/repository_version_create_spec.rb +1 -1
- data/spec/models/repository_version_spec.rb +1 -1
- data/spec/models/status_spec.rb +71 -0
- data/spec/models/task_cancel_spec.rb +41 -0
- data/spec/models/task_spec.rb +1 -1
- data/spec/models/upload_commit_spec.rb +41 -0
- data/spec/models/upload_spec.rb +4 -10
- data/spec/models/version_spec.rb +47 -0
- data/spec/models/worker_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +34 -2
data/spec/api/status_api_spec.rb
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.0.
|
|
9
|
+
OpenAPI Generator version: 4.0.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -32,12 +32,12 @@ describe 'StatusApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# unit tests for
|
|
35
|
+
# unit tests for status_read
|
|
36
36
|
# Inspect status of Pulp
|
|
37
37
|
# Returns app information including the version of pulpcore and loaded pulp plugins, known workers, database connection status, and messaging connection status
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
|
39
|
-
# @return [
|
|
40
|
-
describe '
|
|
39
|
+
# @return [Status]
|
|
40
|
+
describe 'status_read test' do
|
|
41
41
|
it 'should work' do
|
|
42
42
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
43
|
end
|
data/spec/api/tasks_api_spec.rb
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.0.
|
|
9
|
+
OpenAPI Generator version: 4.0.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -32,31 +32,18 @@ describe 'TasksApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# unit tests for
|
|
36
|
-
# Cancel a task
|
|
37
|
-
# This operation cancels a task.
|
|
38
|
-
# @param task_href URI of Task. e.g.: /pulp/api/v3/tasks/1/
|
|
39
|
-
# @param data
|
|
40
|
-
# @param [Hash] opts the optional parameters
|
|
41
|
-
# @return [Task]
|
|
42
|
-
describe 'tasks_cancel 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 tasks_delete
|
|
35
|
+
# unit tests for delete
|
|
49
36
|
# Delete a task
|
|
50
37
|
# @param task_href URI of Task. e.g.: /pulp/api/v3/tasks/1/
|
|
51
38
|
# @param [Hash] opts the optional parameters
|
|
52
39
|
# @return [nil]
|
|
53
|
-
describe '
|
|
40
|
+
describe 'delete test' do
|
|
54
41
|
it 'should work' do
|
|
55
42
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
43
|
end
|
|
57
44
|
end
|
|
58
45
|
|
|
59
|
-
# unit tests for
|
|
46
|
+
# unit tests for list
|
|
60
47
|
# List tasks
|
|
61
48
|
# @param [Hash] opts the optional parameters
|
|
62
49
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
@@ -82,18 +69,31 @@ describe 'TasksApi' do
|
|
|
82
69
|
# @option opts [Integer] :page A page number within the paginated result set.
|
|
83
70
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
84
71
|
# @return [InlineResponse2003]
|
|
85
|
-
describe '
|
|
72
|
+
describe 'list test' do
|
|
86
73
|
it 'should work' do
|
|
87
74
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
88
75
|
end
|
|
89
76
|
end
|
|
90
77
|
|
|
91
|
-
# unit tests for
|
|
78
|
+
# unit tests for read
|
|
92
79
|
# Inspect a task
|
|
93
80
|
# @param task_href URI of Task. e.g.: /pulp/api/v3/tasks/1/
|
|
94
81
|
# @param [Hash] opts the optional parameters
|
|
95
82
|
# @return [Task]
|
|
96
|
-
describe '
|
|
83
|
+
describe 'read test' 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
|
+
# unit tests for tasks_cancel
|
|
90
|
+
# Cancel a task
|
|
91
|
+
# This operation cancels a task.
|
|
92
|
+
# @param task_href URI of Task. e.g.: /pulp/api/v3/tasks/1/
|
|
93
|
+
# @param data
|
|
94
|
+
# @param [Hash] opts the optional parameters
|
|
95
|
+
# @return [Task]
|
|
96
|
+
describe 'tasks_cancel test' do
|
|
97
97
|
it 'should work' do
|
|
98
98
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
99
99
|
end
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.0.
|
|
9
|
+
OpenAPI Generator version: 4.0.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -32,89 +32,84 @@ describe 'UploadsApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# unit tests for
|
|
36
|
-
#
|
|
37
|
-
#
|
|
38
|
-
# @param
|
|
35
|
+
# unit tests for commit
|
|
36
|
+
# Finish an Upload
|
|
37
|
+
# Commit the upload and mark it as completed.
|
|
38
|
+
# @param upload_href URI of Upload. e.g.: /pulp/api/v3/uploads/1/
|
|
39
|
+
# @param data
|
|
39
40
|
# @param [Hash] opts the optional parameters
|
|
40
41
|
# @return [Upload]
|
|
41
|
-
describe '
|
|
42
|
+
describe 'commit test' do
|
|
42
43
|
it 'should work' do
|
|
43
44
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
45
|
end
|
|
45
46
|
end
|
|
46
47
|
|
|
47
|
-
# unit tests for
|
|
48
|
-
# Create an
|
|
49
|
-
#
|
|
50
|
-
# @param
|
|
51
|
-
# @param md5 The expected MD5 checksum of the file.
|
|
48
|
+
# unit tests for create
|
|
49
|
+
# Create an upload
|
|
50
|
+
# View for chunked uploads.
|
|
51
|
+
# @param data
|
|
52
52
|
# @param [Hash] opts the optional parameters
|
|
53
53
|
# @return [Upload]
|
|
54
|
-
describe '
|
|
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
|
|
57
57
|
end
|
|
58
58
|
end
|
|
59
59
|
|
|
60
|
-
# unit tests for
|
|
60
|
+
# unit tests for delete
|
|
61
61
|
# Delete an upload
|
|
62
62
|
# View for chunked uploads.
|
|
63
63
|
# @param upload_href URI of Upload. e.g.: /pulp/api/v3/uploads/1/
|
|
64
64
|
# @param [Hash] opts the optional parameters
|
|
65
65
|
# @return [nil]
|
|
66
|
-
describe '
|
|
66
|
+
describe 'delete test' do
|
|
67
67
|
it 'should work' do
|
|
68
68
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
69
69
|
end
|
|
70
70
|
end
|
|
71
71
|
|
|
72
|
-
# unit tests for
|
|
73
|
-
# Finish an Upload
|
|
74
|
-
# Mark the Upload as \"complete\". The md5 checksum is used to validate the integrity of the upload.
|
|
75
|
-
# @param upload_href URI of Upload. e.g.: /pulp/api/v3/uploads/1/
|
|
76
|
-
# @param md5 The expected MD5 checksum of the file.
|
|
77
|
-
# @param [Hash] opts the optional parameters
|
|
78
|
-
# @return [Upload]
|
|
79
|
-
describe 'uploads_finish test' do
|
|
80
|
-
it 'should work' do
|
|
81
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
82
|
-
end
|
|
83
|
-
end
|
|
84
|
-
|
|
85
|
-
# unit tests for uploads_list
|
|
72
|
+
# unit tests for list
|
|
86
73
|
# List uploads
|
|
87
|
-
#
|
|
74
|
+
# View for chunked uploads.
|
|
88
75
|
# @param [Hash] opts the optional parameters
|
|
76
|
+
# @option opts [String] :completed__lt Filter results where completed is less than value
|
|
77
|
+
# @option opts [String] :completed__lte Filter results where completed is less than or equal to value
|
|
78
|
+
# @option opts [String] :completed__gt Filter results where completed is greater than value
|
|
79
|
+
# @option opts [String] :completed__gte Filter results where completed is greater than or equal to value
|
|
80
|
+
# @option opts [String] :completed__range Filter results where completed is between two comma separated values
|
|
81
|
+
# @option opts [String] :completed__isnull Filter results where completed has a null value
|
|
82
|
+
# @option opts [String] :completed ISO 8601 formatted dates are supported
|
|
89
83
|
# @option opts [Integer] :page A page number within the paginated result set.
|
|
90
84
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
91
85
|
# @return [InlineResponse2004]
|
|
92
|
-
describe '
|
|
86
|
+
describe 'list test' do
|
|
93
87
|
it 'should work' do
|
|
94
88
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
95
89
|
end
|
|
96
90
|
end
|
|
97
91
|
|
|
98
|
-
# unit tests for
|
|
92
|
+
# unit tests for read
|
|
99
93
|
# Inspect an upload
|
|
100
94
|
# View for chunked uploads.
|
|
101
95
|
# @param upload_href URI of Upload. e.g.: /pulp/api/v3/uploads/1/
|
|
102
96
|
# @param [Hash] opts the optional parameters
|
|
103
97
|
# @return [Upload]
|
|
104
|
-
describe '
|
|
98
|
+
describe 'read test' do
|
|
105
99
|
it 'should work' do
|
|
106
100
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
107
101
|
end
|
|
108
102
|
end
|
|
109
103
|
|
|
110
|
-
# unit tests for
|
|
111
|
-
#
|
|
112
|
-
#
|
|
104
|
+
# unit tests for update
|
|
105
|
+
# Upload a file chunk
|
|
106
|
+
# Upload a chunk for an upload.
|
|
113
107
|
# @param upload_href URI of Upload. e.g.: /pulp/api/v3/uploads/1/
|
|
114
|
-
# @param
|
|
108
|
+
# @param content_range The Content-Range header specifies the location of the file chunk within the file.
|
|
109
|
+
# @param file A chunk of the uploaded file.
|
|
115
110
|
# @param [Hash] opts the optional parameters
|
|
116
111
|
# @return [Upload]
|
|
117
|
-
describe '
|
|
112
|
+
describe 'update test' do
|
|
118
113
|
it 'should work' do
|
|
119
114
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
120
115
|
end
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.0.
|
|
9
|
+
OpenAPI Generator version: 4.0.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -32,7 +32,7 @@ describe 'WorkersApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# unit tests for
|
|
35
|
+
# unit tests for list
|
|
36
36
|
# List workers
|
|
37
37
|
# @param [Hash] opts the optional parameters
|
|
38
38
|
# @option opts [String] :name
|
|
@@ -48,18 +48,18 @@ describe 'WorkersApi' do
|
|
|
48
48
|
# @option opts [Integer] :page A page number within the paginated result set.
|
|
49
49
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
50
50
|
# @return [InlineResponse2005]
|
|
51
|
-
describe '
|
|
51
|
+
describe 'list test' do
|
|
52
52
|
it 'should work' do
|
|
53
53
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
54
54
|
end
|
|
55
55
|
end
|
|
56
56
|
|
|
57
|
-
# unit tests for
|
|
57
|
+
# unit tests for read
|
|
58
58
|
# Inspect a worker
|
|
59
59
|
# @param worker_href URI of Worker. e.g.: /pulp/api/v3/workers/1/
|
|
60
60
|
# @param [Hash] opts the optional parameters
|
|
61
61
|
# @return [Worker]
|
|
62
|
-
describe '
|
|
62
|
+
describe 'read test' do
|
|
63
63
|
it 'should work' do
|
|
64
64
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
65
65
|
end
|
data/spec/api_client_spec.rb
CHANGED
data/spec/configuration_spec.rb
CHANGED
|
@@ -0,0 +1,47 @@
|
|
|
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.0.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for PulpcoreClient::ContentAppStatus
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'ContentAppStatus' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = PulpcoreClient::ContentAppStatus.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of ContentAppStatus' do
|
|
31
|
+
it 'should create an instance of ContentAppStatus' do
|
|
32
|
+
expect(@instance).to be_instance_of(PulpcoreClient::ContentAppStatus)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "name"' 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 "last_heartbeat"' 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
|
+
end
|
|
@@ -0,0 +1,41 @@
|
|
|
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.0.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for PulpcoreClient::DatabaseConnection
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'DatabaseConnection' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = PulpcoreClient::DatabaseConnection.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of DatabaseConnection' do
|
|
31
|
+
it 'should create an instance of DatabaseConnection' do
|
|
32
|
+
expect(@instance).to be_instance_of(PulpcoreClient::DatabaseConnection)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "connected"' 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
|
+
end
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.0.
|
|
9
|
+
OpenAPI Generator version: 4.0.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -62,10 +62,4 @@ describe 'ProgressReport' do
|
|
|
62
62
|
end
|
|
63
63
|
end
|
|
64
64
|
|
|
65
|
-
describe 'test attribute "task"' 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
65
|
end
|
|
@@ -0,0 +1,41 @@
|
|
|
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.0.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for PulpcoreClient::RedisConnection
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'RedisConnection' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = PulpcoreClient::RedisConnection.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of RedisConnection' do
|
|
31
|
+
it 'should create an instance of RedisConnection' do
|
|
32
|
+
expect(@instance).to be_instance_of(PulpcoreClient::RedisConnection)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "connected"' 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
|
+
end
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Pulp 3 API
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: v3
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 4.0.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for PulpcoreClient::Status
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'Status' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = PulpcoreClient::Status.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of Status' do
|
|
31
|
+
it 'should create an instance of Status' do
|
|
32
|
+
expect(@instance).to be_instance_of(PulpcoreClient::Status)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "versions"' 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 "online_workers"' 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 "missing_workers"' 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 "online_content_apps"' do
|
|
54
|
+
it 'should work' do
|
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
describe 'test attribute "database_connection"' do
|
|
60
|
+
it 'should work' do
|
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
describe 'test attribute "redis_connection"' do
|
|
66
|
+
it 'should work' do
|
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
68
|
+
end
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
end
|
|
@@ -0,0 +1,41 @@
|
|
|
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.0.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for PulpcoreClient::TaskCancel
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'TaskCancel' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = PulpcoreClient::TaskCancel.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of TaskCancel' do
|
|
31
|
+
it 'should create an instance of TaskCancel' do
|
|
32
|
+
expect(@instance).to be_instance_of(PulpcoreClient::TaskCancel)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "state"' 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
|
+
end
|