pulpcore_client 3.0.1 → 3.1.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 +8 -4
- data/docs/InlineResponse2001.md +1 -1
- data/docs/InlineResponse2002.md +1 -1
- data/docs/InlineResponse2003.md +1 -1
- data/docs/InlineResponse2004.md +23 -0
- data/docs/SigningService.md +23 -0
- data/docs/SigningServicesApi.md +130 -0
- data/docs/TasksApi.md +2 -2
- data/docs/UploadsApi.md +2 -2
- data/docs/WorkersApi.md +2 -2
- data/lib/pulpcore_client/api/artifacts_api.rb +1 -1
- data/lib/pulpcore_client/api/orphans_api.rb +1 -1
- data/lib/pulpcore_client/api/signing_services_api.rb +158 -0
- data/lib/pulpcore_client/api/status_api.rb +1 -1
- data/lib/pulpcore_client/api/tasks_api.rb +4 -4
- data/lib/pulpcore_client/api/uploads_api.rb +4 -4
- data/lib/pulpcore_client/api/workers_api.rb +4 -4
- 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 +1 -1
- data/lib/pulpcore_client/models/async_operation_response.rb +1 -1
- data/lib/pulpcore_client/models/content_app_status.rb +1 -1
- data/lib/pulpcore_client/models/database_connection.rb +1 -1
- data/lib/pulpcore_client/models/inline_response200.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2001.rb +2 -2
- data/lib/pulpcore_client/models/inline_response2002.rb +2 -2
- data/lib/pulpcore_client/models/inline_response2003.rb +2 -2
- data/lib/pulpcore_client/models/inline_response2004.rb +247 -0
- data/lib/pulpcore_client/models/progress_report.rb +1 -1
- data/lib/pulpcore_client/models/redis_connection.rb +1 -1
- data/lib/pulpcore_client/models/signing_service.rb +284 -0
- data/lib/pulpcore_client/models/status.rb +1 -1
- data/lib/pulpcore_client/models/storage.rb +1 -1
- data/lib/pulpcore_client/models/task.rb +1 -1
- data/lib/pulpcore_client/models/task_cancel.rb +1 -1
- data/lib/pulpcore_client/models/upload.rb +1 -1
- data/lib/pulpcore_client/models/upload_chunk.rb +1 -1
- data/lib/pulpcore_client/models/upload_commit.rb +1 -1
- data/lib/pulpcore_client/models/upload_detail.rb +1 -1
- data/lib/pulpcore_client/models/version.rb +1 -1
- data/lib/pulpcore_client/models/worker.rb +1 -1
- data/lib/pulpcore_client/version.rb +2 -2
- data/lib/pulpcore_client.rb +4 -1
- data/pulpcore_client.gemspec +1 -1
- data/spec/api/artifacts_api_spec.rb +1 -1
- data/spec/api/orphans_api_spec.rb +1 -1
- data/spec/api/signing_services_api_spec.rb +64 -0
- data/spec/api/status_api_spec.rb +1 -1
- data/spec/api/tasks_api_spec.rb +2 -2
- data/spec/api/uploads_api_spec.rb +2 -2
- data/spec/api/workers_api_spec.rb +2 -2
- 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 +1 -1
- data/spec/models/database_connection_spec.rb +1 -1
- data/spec/models/inline_response2001_spec.rb +1 -1
- data/spec/models/inline_response2002_spec.rb +1 -1
- data/spec/models/inline_response2003_spec.rb +1 -1
- data/spec/models/inline_response2004_spec.rb +59 -0
- data/spec/models/inline_response200_spec.rb +1 -1
- data/spec/models/progress_report_spec.rb +1 -1
- data/spec/models/redis_connection_spec.rb +1 -1
- data/spec/models/signing_service_spec.rb +59 -0
- data/spec/models/status_spec.rb +1 -1
- data/spec/models/storage_spec.rb +1 -1
- data/spec/models/task_cancel_spec.rb +1 -1
- data/spec/models/task_spec.rb +1 -1
- data/spec/models/upload_chunk_spec.rb +1 -1
- data/spec/models/upload_commit_spec.rb +1 -1
- data/spec/models/upload_detail_spec.rb +1 -1
- data/spec/models/upload_spec.rb +1 -1
- data/spec/models/version_spec.rb +1 -1
- data/spec/models/worker_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +43 -32
@@ -6,10 +6,10 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.2.
|
9
|
+
OpenAPI Generator version: 4.2.2
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module PulpcoreClient
|
14
|
-
VERSION = '3.0
|
14
|
+
VERSION = '3.1.0'
|
15
15
|
end
|
data/lib/pulpcore_client.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.2.
|
9
|
+
OpenAPI Generator version: 4.2.2
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -25,8 +25,10 @@ require 'pulpcore_client/models/inline_response200'
|
|
25
25
|
require 'pulpcore_client/models/inline_response2001'
|
26
26
|
require 'pulpcore_client/models/inline_response2002'
|
27
27
|
require 'pulpcore_client/models/inline_response2003'
|
28
|
+
require 'pulpcore_client/models/inline_response2004'
|
28
29
|
require 'pulpcore_client/models/progress_report'
|
29
30
|
require 'pulpcore_client/models/redis_connection'
|
31
|
+
require 'pulpcore_client/models/signing_service'
|
30
32
|
require 'pulpcore_client/models/status'
|
31
33
|
require 'pulpcore_client/models/storage'
|
32
34
|
require 'pulpcore_client/models/task'
|
@@ -41,6 +43,7 @@ require 'pulpcore_client/models/worker'
|
|
41
43
|
# APIs
|
42
44
|
require 'pulpcore_client/api/artifacts_api'
|
43
45
|
require 'pulpcore_client/api/orphans_api'
|
46
|
+
require 'pulpcore_client/api/signing_services_api'
|
44
47
|
require 'pulpcore_client/api/status_api'
|
45
48
|
require 'pulpcore_client/api/tasks_api'
|
46
49
|
require 'pulpcore_client/api/uploads_api'
|
data/pulpcore_client.gemspec
CHANGED
@@ -0,0 +1,64 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.2.2
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for PulpcoreClient::SigningServicesApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'SigningServicesApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = PulpcoreClient::SigningServicesApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of SigningServicesApi' do
|
30
|
+
it 'should create an instance of SigningServicesApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(PulpcoreClient::SigningServicesApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for list
|
36
|
+
# List signing services
|
37
|
+
# A ViewSet that supports browsing of existing signing services.
|
38
|
+
# @param [Hash] opts the optional parameters
|
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 [InlineResponse2001]
|
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 signing service
|
52
|
+
# A ViewSet that supports browsing of existing signing services.
|
53
|
+
# @param signing_service_href URI of Signing Service. e.g.: /pulp/api/v3/signing-services/1/
|
54
|
+
# @param [Hash] opts the optional parameters
|
55
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
56
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
57
|
+
# @return [SigningService]
|
58
|
+
describe 'read test' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
end
|
data/spec/api/status_api_spec.rb
CHANGED
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.2.
|
9
|
+
OpenAPI Generator version: 4.2.2
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -72,7 +72,7 @@ describe 'TasksApi' do
|
|
72
72
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
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
|
-
# @return [
|
75
|
+
# @return [InlineResponse2002]
|
76
76
|
describe 'list test' do
|
77
77
|
it 'should work' do
|
78
78
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.2.
|
9
|
+
OpenAPI Generator version: 4.2.2
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -78,7 +78,7 @@ describe 'UploadsApi' do
|
|
78
78
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
79
79
|
# @option opts [String] :fields A list of fields to include in the response.
|
80
80
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
81
|
-
# @return [
|
81
|
+
# @return [InlineResponse2003]
|
82
82
|
describe 'list test' do
|
83
83
|
it 'should work' do
|
84
84
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.2.
|
9
|
+
OpenAPI Generator version: 4.2.2
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -49,7 +49,7 @@ describe 'WorkersApi' do
|
|
49
49
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
50
50
|
# @option opts [String] :fields A list of fields to include in the response.
|
51
51
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
52
|
-
# @return [
|
52
|
+
# @return [InlineResponse2004]
|
53
53
|
describe 'list test' do
|
54
54
|
it 'should work' do
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
data/spec/api_client_spec.rb
CHANGED
data/spec/configuration_spec.rb
CHANGED
@@ -0,0 +1,59 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.2.2
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PulpcoreClient::InlineResponse2004
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'InlineResponse2004' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpcoreClient::InlineResponse2004.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of InlineResponse2004' do
|
31
|
+
it 'should create an instance of InlineResponse2004' do
|
32
|
+
expect(@instance).to be_instance_of(PulpcoreClient::InlineResponse2004)
|
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
|
@@ -0,0 +1,59 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.2.2
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PulpcoreClient::SigningService
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'SigningService' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpcoreClient::SigningService.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
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
|
+
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 "name"' 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 "script"' 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
|
data/spec/models/status_spec.rb
CHANGED
data/spec/models/storage_spec.rb
CHANGED
data/spec/models/task_spec.rb
CHANGED
data/spec/models/upload_spec.rb
CHANGED
data/spec/models/version_spec.rb
CHANGED
data/spec/models/worker_spec.rb
CHANGED