pulpcore_client 3.0.0rc7 → 3.0.0rc8
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 +7 -22
- data/docs/ArtifactsApi.md +4 -4
- data/docs/InlineResponse2001.md +1 -1
- data/docs/InlineResponse2002.md +1 -1
- data/docs/InlineResponse2003.md +1 -1
- data/docs/Status.md +3 -1
- data/docs/Storage.md +21 -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 +11 -7
- data/lib/pulpcore_client/api/orphans_api.rb +1 -1
- 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 +18 -2
- data/lib/pulpcore_client/models/async_operation_response.rb +12 -2
- data/lib/pulpcore_client/models/content_app_status.rb +12 -2
- data/lib/pulpcore_client/models/database_connection.rb +12 -2
- data/lib/pulpcore_client/models/inline_response200.rb +14 -2
- data/lib/pulpcore_client/models/inline_response2001.rb +15 -3
- data/lib/pulpcore_client/models/inline_response2002.rb +15 -3
- data/lib/pulpcore_client/models/inline_response2003.rb +15 -3
- data/lib/pulpcore_client/models/progress_report.rb +13 -2
- data/lib/pulpcore_client/models/redis_connection.rb +12 -2
- data/lib/pulpcore_client/models/status.rb +25 -6
- data/lib/pulpcore_client/models/{inline_response2004.rb → storage.rb} +106 -41
- data/lib/pulpcore_client/models/task.rb +12 -2
- data/lib/pulpcore_client/models/task_cancel.rb +12 -2
- data/lib/pulpcore_client/models/upload.rb +12 -2
- data/lib/pulpcore_client/models/upload_chunk.rb +13 -2
- data/lib/pulpcore_client/models/upload_commit.rb +12 -2
- data/lib/pulpcore_client/models/upload_detail.rb +12 -2
- data/lib/pulpcore_client/models/version.rb +12 -2
- data/lib/pulpcore_client/models/worker.rb +12 -2
- data/lib/pulpcore_client/version.rb +2 -2
- data/lib/pulpcore_client.rb +2 -9
- data/pulpcore_client.gemspec +1 -1
- data/spec/api/artifacts_api_spec.rb +2 -2
- data/spec/api/orphans_api_spec.rb +1 -1
- 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_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/status_spec.rb +7 -1
- data/spec/models/{content_summary_spec.rb → storage_spec.rb} +10 -10
- 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 +6 -34
- data/docs/ContentSummary.md +0 -21
- data/docs/InlineResponse2004.md +0 -23
- data/docs/InlineResponse2005.md +0 -23
- data/docs/RepositoriesApi.md +0 -346
- data/docs/RepositoriesVersionsApi.md +0 -266
- data/docs/Repository.md +0 -29
- data/docs/RepositoryVersion.md +0 -25
- data/docs/RepositoryVersionCreate.md +0 -21
- data/lib/pulpcore_client/api/repositories_api.rb +0 -422
- data/lib/pulpcore_client/api/repositories_versions_api.rb +0 -334
- data/lib/pulpcore_client/models/content_summary.rb +0 -236
- data/lib/pulpcore_client/models/inline_response2005.rb +0 -235
- data/lib/pulpcore_client/models/repository.rb +0 -293
- data/lib/pulpcore_client/models/repository_version.rb +0 -234
- data/lib/pulpcore_client/models/repository_version_create.rb +0 -221
- data/spec/api/repositories_api_spec.rb +0 -112
- data/spec/api/repositories_versions_api_spec.rb +0 -102
- data/spec/models/inline_response2004_spec.rb +0 -59
- data/spec/models/inline_response2005_spec.rb +0 -59
- data/spec/models/repository_spec.rb +0 -77
- data/spec/models/repository_version_create_spec.rb +0 -53
- data/spec/models/repository_version_spec.rb +0 -65
|
@@ -1,59 +0,0 @@
|
|
|
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.0-SNAPSHOT
|
|
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
|
|
@@ -1,59 +0,0 @@
|
|
|
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.0-SNAPSHOT
|
|
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
|
|
@@ -1,77 +0,0 @@
|
|
|
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.0-SNAPSHOT
|
|
10
|
-
|
|
11
|
-
=end
|
|
12
|
-
|
|
13
|
-
require 'spec_helper'
|
|
14
|
-
require 'json'
|
|
15
|
-
require 'date'
|
|
16
|
-
|
|
17
|
-
# Unit tests for PulpcoreClient::Repository
|
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
-
# Please update as you see appropriate
|
|
20
|
-
describe 'Repository' do
|
|
21
|
-
before do
|
|
22
|
-
# run before each test
|
|
23
|
-
@instance = PulpcoreClient::Repository.new
|
|
24
|
-
end
|
|
25
|
-
|
|
26
|
-
after do
|
|
27
|
-
# run after each test
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
describe 'test an instance of Repository' do
|
|
31
|
-
it 'should create an instance of Repository' do
|
|
32
|
-
expect(@instance).to be_instance_of(PulpcoreClient::Repository)
|
|
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 "versions_href"' 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 "latest_version_href"' 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 "name"' 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 "plugin_managed"' 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 "description"' 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
|
-
end
|
|
@@ -1,53 +0,0 @@
|
|
|
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.0-SNAPSHOT
|
|
10
|
-
|
|
11
|
-
=end
|
|
12
|
-
|
|
13
|
-
require 'spec_helper'
|
|
14
|
-
require 'json'
|
|
15
|
-
require 'date'
|
|
16
|
-
|
|
17
|
-
# Unit tests for PulpcoreClient::RepositoryVersionCreate
|
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
-
# Please update as you see appropriate
|
|
20
|
-
describe 'RepositoryVersionCreate' do
|
|
21
|
-
before do
|
|
22
|
-
# run before each test
|
|
23
|
-
@instance = PulpcoreClient::RepositoryVersionCreate.new
|
|
24
|
-
end
|
|
25
|
-
|
|
26
|
-
after do
|
|
27
|
-
# run after each test
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
describe 'test an instance of RepositoryVersionCreate' do
|
|
31
|
-
it 'should create an instance of RepositoryVersionCreate' do
|
|
32
|
-
expect(@instance).to be_instance_of(PulpcoreClient::RepositoryVersionCreate)
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
describe 'test attribute "add_content_units"' 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 "remove_content_units"' 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 "base_version"' do
|
|
48
|
-
it 'should work' do
|
|
49
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
|
-
end
|
|
51
|
-
end
|
|
52
|
-
|
|
53
|
-
end
|
|
@@ -1,65 +0,0 @@
|
|
|
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.0-SNAPSHOT
|
|
10
|
-
|
|
11
|
-
=end
|
|
12
|
-
|
|
13
|
-
require 'spec_helper'
|
|
14
|
-
require 'json'
|
|
15
|
-
require 'date'
|
|
16
|
-
|
|
17
|
-
# Unit tests for PulpcoreClient::RepositoryVersion
|
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
-
# Please update as you see appropriate
|
|
20
|
-
describe 'RepositoryVersion' do
|
|
21
|
-
before do
|
|
22
|
-
# run before each test
|
|
23
|
-
@instance = PulpcoreClient::RepositoryVersion.new
|
|
24
|
-
end
|
|
25
|
-
|
|
26
|
-
after do
|
|
27
|
-
# run after each test
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
describe 'test an instance of RepositoryVersion' do
|
|
31
|
-
it 'should create an instance of RepositoryVersion' do
|
|
32
|
-
expect(@instance).to be_instance_of(PulpcoreClient::RepositoryVersion)
|
|
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 "number"' 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 "base_version"' 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 "content_summary"' 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
|
-
end
|