pulpcore_client 3.0.0rc4 → 3.0.0rc5
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 +5 -4
- data/docs/ArtifactsApi.md +12 -6
- data/docs/ContentSummary.md +21 -0
- data/docs/InlineResponse200.md +3 -3
- data/docs/InlineResponse2001.md +3 -3
- data/docs/InlineResponse2002.md +3 -3
- data/docs/InlineResponse2003.md +3 -3
- data/docs/InlineResponse2004.md +3 -3
- data/docs/InlineResponse2005.md +3 -3
- data/docs/RepositoriesApi.md +9 -3
- data/docs/RepositoriesVersionsApi.md +12 -6
- data/docs/RepositoryVersion.md +1 -1
- data/docs/StatusApi.md +9 -3
- data/docs/Task.md +4 -2
- data/docs/TasksApi.md +16 -6
- data/docs/UploadsApi.md +13 -7
- data/docs/WorkersApi.md +12 -6
- data/git_push.sh +10 -7
- data/lib/pulpcore_client/api/artifacts_api.rb +15 -9
- data/lib/pulpcore_client/api/orphans_api.rb +1 -1
- data/lib/pulpcore_client/api/repositories_api.rb +11 -5
- data/lib/pulpcore_client/api/repositories_versions_api.rb +17 -11
- data/lib/pulpcore_client/api/status_api.rb +4 -1
- data/lib/pulpcore_client/api/tasks_api.rb +22 -10
- data/lib/pulpcore_client/api/uploads_api.rb +19 -13
- data/lib/pulpcore_client/api/workers_api.rb +14 -8
- data/lib/pulpcore_client/api_client.rb +65 -64
- data/lib/pulpcore_client/api_error.rb +1 -1
- data/lib/pulpcore_client/configuration.rb +12 -17
- 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/content_summary.rb +236 -0
- data/lib/pulpcore_client/models/database_connection.rb +1 -1
- data/lib/pulpcore_client/models/inline_response200.rb +11 -11
- data/lib/pulpcore_client/models/inline_response2001.rb +11 -11
- data/lib/pulpcore_client/models/inline_response2002.rb +11 -11
- data/lib/pulpcore_client/models/inline_response2003.rb +11 -11
- data/lib/pulpcore_client/models/inline_response2004.rb +11 -11
- data/lib/pulpcore_client/models/inline_response2005.rb +11 -11
- 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/repository.rb +1 -1
- data/lib/pulpcore_client/models/repository_version.rb +2 -3
- data/lib/pulpcore_client/models/repository_version_create.rb +1 -1
- data/lib/pulpcore_client/models/status.rb +1 -1
- data/lib/pulpcore_client/models/task.rb +20 -7
- 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_detail.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 +2 -1
- data/pulpcore_client.gemspec +1 -3
- data/spec/api/artifacts_api_spec.rb +5 -3
- data/spec/api/orphans_api_spec.rb +1 -1
- data/spec/api/repositories_api_spec.rb +3 -1
- data/spec/api/repositories_versions_api_spec.rb +5 -3
- data/spec/api/status_api_spec.rb +2 -1
- data/spec/api/tasks_api_spec.rb +7 -3
- data/spec/api/uploads_api_spec.rb +6 -4
- data/spec/api/workers_api_spec.rb +5 -3
- data/spec/api_client_spec.rb +1 -39
- 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/content_summary_spec.rb +53 -0
- data/spec/models/database_connection_spec.rb +1 -1
- data/spec/models/inline_response2001_spec.rb +4 -4
- data/spec/models/inline_response2002_spec.rb +4 -4
- data/spec/models/inline_response2003_spec.rb +4 -4
- data/spec/models/inline_response2004_spec.rb +4 -4
- data/spec/models/inline_response2005_spec.rb +4 -4
- data/spec/models/inline_response200_spec.rb +4 -4
- data/spec/models/progress_report_spec.rb +1 -1
- data/spec/models/redis_connection_spec.rb +1 -1
- 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 +1 -1
- data/spec/models/task_cancel_spec.rb +1 -1
- data/spec/models/task_spec.rb +7 -1
- data/spec/models/upload_chunk_detail_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 -42
|
@@ -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.
|
|
9
|
+
OpenAPI Generator version: 4.1.2
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
13
13
|
module PulpcoreClient
|
|
14
|
-
VERSION = '3.0.
|
|
14
|
+
VERSION = '3.0.0rc5'
|
|
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.
|
|
9
|
+
OpenAPI Generator version: 4.1.2
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -20,6 +20,7 @@ require 'pulpcore_client/configuration'
|
|
|
20
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
|
+
require 'pulpcore_client/models/content_summary'
|
|
23
24
|
require 'pulpcore_client/models/database_connection'
|
|
24
25
|
require 'pulpcore_client/models/inline_response200'
|
|
25
26
|
require 'pulpcore_client/models/inline_response2001'
|
data/pulpcore_client.gemspec
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
The version of the OpenAPI document: v3
|
|
9
9
|
|
|
10
10
|
Generated by: https://openapi-generator.tech
|
|
11
|
-
OpenAPI Generator version: 4.
|
|
11
|
+
OpenAPI Generator version: 4.1.2
|
|
12
12
|
|
|
13
13
|
=end
|
|
14
14
|
|
|
@@ -31,8 +31,6 @@ Gem::Specification.new do |s|
|
|
|
31
31
|
s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
|
|
32
32
|
|
|
33
33
|
s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
|
|
34
|
-
s.add_development_dependency 'vcr', '~> 3.0', '>= 3.0.1'
|
|
35
|
-
s.add_development_dependency 'webmock', '~> 1.24', '>= 1.24.3'
|
|
36
34
|
|
|
37
35
|
s.files = `find *`.split("\n").uniq.sort.select { |f| !f.empty? }
|
|
38
36
|
s.test_files = `find spec/*`.split("\n")
|
|
@@ -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.
|
|
9
|
+
OpenAPI Generator version: 4.1.2
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -72,8 +72,9 @@ describe 'ArtifactsApi' do
|
|
|
72
72
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
|
73
73
|
# @option opts [String] :sha384 Filter results where sha384 matches value
|
|
74
74
|
# @option opts [String] :sha512 Filter results where sha512 matches value
|
|
75
|
-
# @option opts [Integer] :
|
|
76
|
-
# @option opts [Integer] :
|
|
75
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
76
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
77
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
77
78
|
# @return [InlineResponse200]
|
|
78
79
|
describe 'list test' do
|
|
79
80
|
it 'should work' do
|
|
@@ -85,6 +86,7 @@ describe 'ArtifactsApi' do
|
|
|
85
86
|
# Inspect an artifact
|
|
86
87
|
# @param artifact_href URI of Artifact. e.g.: /pulp/api/v3/artifacts/1/
|
|
87
88
|
# @param [Hash] opts the optional parameters
|
|
89
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
88
90
|
# @return [Artifact]
|
|
89
91
|
describe 'read test' do
|
|
90
92
|
it 'should work' do
|
|
@@ -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.
|
|
9
|
+
OpenAPI Generator version: 4.1.2
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -62,6 +62,7 @@ describe 'RepositoriesApi' do
|
|
|
62
62
|
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
|
63
63
|
# @option opts [Integer] :page A page number within the paginated result set.
|
|
64
64
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
65
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
65
66
|
# @return [InlineResponse2001]
|
|
66
67
|
describe 'list test' do
|
|
67
68
|
it 'should work' do
|
|
@@ -85,6 +86,7 @@ describe 'RepositoriesApi' do
|
|
|
85
86
|
# Inspect a repository
|
|
86
87
|
# @param repository_href URI of Repository. e.g.: /pulp/api/v3/repositories/1/
|
|
87
88
|
# @param [Hash] opts the optional parameters
|
|
89
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
88
90
|
# @return [Repository]
|
|
89
91
|
describe 'read test' do
|
|
90
92
|
it 'should work' do
|
|
@@ -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.
|
|
9
|
+
OpenAPI Generator version: 4.1.2
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -75,8 +75,9 @@ describe 'RepositoriesVersionsApi' do
|
|
|
75
75
|
# @option opts [String] :_created__range Filter results where _created is between two comma separated values
|
|
76
76
|
# @option opts [String] :content Content Unit referenced by HREF
|
|
77
77
|
# @option opts [String] :_created ISO 8601 formatted dates are supported
|
|
78
|
-
# @option opts [Integer] :
|
|
79
|
-
# @option opts [Integer] :
|
|
78
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
79
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
80
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
80
81
|
# @return [InlineResponse2002]
|
|
81
82
|
describe 'list test' do
|
|
82
83
|
it 'should work' do
|
|
@@ -88,6 +89,7 @@ describe 'RepositoriesVersionsApi' do
|
|
|
88
89
|
# Inspect a repository version
|
|
89
90
|
# @param repository_version_href URI of Repository Version. e.g.: /pulp/api/v3/repositories/1/versions/1/
|
|
90
91
|
# @param [Hash] opts the optional parameters
|
|
92
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
91
93
|
# @return [RepositoryVersion]
|
|
92
94
|
describe 'read test' do
|
|
93
95
|
it 'should work' do
|
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.
|
|
9
|
+
OpenAPI Generator version: 4.1.2
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -36,6 +36,7 @@ describe 'StatusApi' do
|
|
|
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
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
39
40
|
# @return [Status]
|
|
40
41
|
describe 'status_read test' do
|
|
41
42
|
it 'should work' do
|
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.
|
|
9
|
+
OpenAPI Generator version: 4.1.2
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -63,11 +63,14 @@ describe 'TasksApi' do
|
|
|
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
65
|
# @option opts [String] :parent Foreign Key referenced by HREF
|
|
66
|
+
# @option opts [String] :reserved_resources_record
|
|
67
|
+
# @option opts [String] :created_resources
|
|
66
68
|
# @option opts [String] :name
|
|
67
69
|
# @option opts [String] :started_at ISO 8601 formatted dates are supported
|
|
68
70
|
# @option opts [String] :finished_at ISO 8601 formatted dates are supported
|
|
69
|
-
# @option opts [Integer] :
|
|
70
|
-
# @option opts [Integer] :
|
|
71
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
72
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
73
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
71
74
|
# @return [InlineResponse2003]
|
|
72
75
|
describe 'list test' do
|
|
73
76
|
it 'should work' do
|
|
@@ -79,6 +82,7 @@ describe 'TasksApi' do
|
|
|
79
82
|
# Inspect a task
|
|
80
83
|
# @param task_href URI of Task. e.g.: /pulp/api/v3/tasks/1/
|
|
81
84
|
# @param [Hash] opts the optional parameters
|
|
85
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
82
86
|
# @return [Task]
|
|
83
87
|
describe 'read test' do
|
|
84
88
|
it 'should work' do
|
|
@@ -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.
|
|
9
|
+
OpenAPI Generator version: 4.1.2
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -34,7 +34,7 @@ describe 'UploadsApi' do
|
|
|
34
34
|
|
|
35
35
|
# unit tests for commit
|
|
36
36
|
# Finish an Upload
|
|
37
|
-
#
|
|
37
|
+
# Queues a Task that creates an Artifact, and the Upload gets deleted and cannot be re-used.
|
|
38
38
|
# @param upload_href URI of Upload. e.g.: /pulp/api/v3/uploads/1/
|
|
39
39
|
# @param data
|
|
40
40
|
# @param [Hash] opts the optional parameters
|
|
@@ -74,8 +74,9 @@ describe 'UploadsApi' do
|
|
|
74
74
|
# View for chunked uploads.
|
|
75
75
|
# @param [Hash] opts the optional parameters
|
|
76
76
|
# @option opts [String] :completed ISO 8601 formatted dates are supported
|
|
77
|
-
# @option opts [Integer] :
|
|
78
|
-
# @option opts [Integer] :
|
|
77
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
78
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
79
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
79
80
|
# @return [InlineResponse2004]
|
|
80
81
|
describe 'list test' do
|
|
81
82
|
it 'should work' do
|
|
@@ -88,6 +89,7 @@ describe 'UploadsApi' do
|
|
|
88
89
|
# View for chunked uploads.
|
|
89
90
|
# @param upload_href URI of Upload. e.g.: /pulp/api/v3/uploads/1/
|
|
90
91
|
# @param [Hash] opts the optional parameters
|
|
92
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
91
93
|
# @return [UploadDetail]
|
|
92
94
|
describe 'read test' do
|
|
93
95
|
it 'should work' do
|
|
@@ -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.
|
|
9
|
+
OpenAPI Generator version: 4.1.2
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -45,8 +45,9 @@ describe 'WorkersApi' do
|
|
|
45
45
|
# @option opts [String] :online
|
|
46
46
|
# @option opts [String] :missing
|
|
47
47
|
# @option opts [String] :last_heartbeat ISO 8601 formatted dates are supported
|
|
48
|
-
# @option opts [Integer] :
|
|
49
|
-
# @option opts [Integer] :
|
|
48
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
49
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
50
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
50
51
|
# @return [InlineResponse2005]
|
|
51
52
|
describe 'list test' do
|
|
52
53
|
it 'should work' do
|
|
@@ -58,6 +59,7 @@ describe 'WorkersApi' do
|
|
|
58
59
|
# Inspect a worker
|
|
59
60
|
# @param worker_href URI of Worker. e.g.: /pulp/api/v3/workers/1/
|
|
60
61
|
# @param [Hash] opts the optional parameters
|
|
62
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
61
63
|
# @return [Worker]
|
|
62
64
|
describe 'read test' do
|
|
63
65
|
it 'should work' do
|
data/spec/api_client_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.
|
|
9
|
+
OpenAPI Generator version: 4.1.2
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -51,44 +51,6 @@ describe PulpcoreClient::ApiClient do
|
|
|
51
51
|
end
|
|
52
52
|
end
|
|
53
53
|
|
|
54
|
-
describe 'params_encoding in #build_request' do
|
|
55
|
-
let(:config) { PulpcoreClient::Configuration.new }
|
|
56
|
-
let(:api_client) { PulpcoreClient::ApiClient.new(config) }
|
|
57
|
-
|
|
58
|
-
it 'defaults to nil' do
|
|
59
|
-
expect(PulpcoreClient::Configuration.default.params_encoding).to eq(nil)
|
|
60
|
-
expect(config.params_encoding).to eq(nil)
|
|
61
|
-
|
|
62
|
-
request = api_client.build_request(:get, '/test')
|
|
63
|
-
expect(request.options[:params_encoding]).to eq(nil)
|
|
64
|
-
end
|
|
65
|
-
|
|
66
|
-
it 'can be customized' do
|
|
67
|
-
config.params_encoding = :multi
|
|
68
|
-
request = api_client.build_request(:get, '/test')
|
|
69
|
-
expect(request.options[:params_encoding]).to eq(:multi)
|
|
70
|
-
end
|
|
71
|
-
end
|
|
72
|
-
|
|
73
|
-
describe 'timeout in #build_request' do
|
|
74
|
-
let(:config) { PulpcoreClient::Configuration.new }
|
|
75
|
-
let(:api_client) { PulpcoreClient::ApiClient.new(config) }
|
|
76
|
-
|
|
77
|
-
it 'defaults to 0' do
|
|
78
|
-
expect(PulpcoreClient::Configuration.default.timeout).to eq(0)
|
|
79
|
-
expect(config.timeout).to eq(0)
|
|
80
|
-
|
|
81
|
-
request = api_client.build_request(:get, '/test')
|
|
82
|
-
expect(request.options[:timeout]).to eq(0)
|
|
83
|
-
end
|
|
84
|
-
|
|
85
|
-
it 'can be customized' do
|
|
86
|
-
config.timeout = 100
|
|
87
|
-
request = api_client.build_request(:get, '/test')
|
|
88
|
-
expect(request.options[:timeout]).to eq(100)
|
|
89
|
-
end
|
|
90
|
-
end
|
|
91
|
-
|
|
92
54
|
describe '#deserialize' do
|
|
93
55
|
it "handles Array<Integer>" do
|
|
94
56
|
api_client = PulpcoreClient::ApiClient.new
|
data/spec/configuration_spec.rb
CHANGED
|
@@ -0,0 +1,53 @@
|
|
|
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.1.2
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for PulpcoreClient::ContentSummary
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'ContentSummary' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = PulpcoreClient::ContentSummary.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of ContentSummary' do
|
|
31
|
+
it 'should create an instance of ContentSummary' do
|
|
32
|
+
expect(@instance).to be_instance_of(PulpcoreClient::ContentSummary)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "added"' 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 "removed"' 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 "present"' 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
|
|
@@ -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.
|
|
9
|
+
OpenAPI Generator version: 4.1.2
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -32,19 +32,19 @@ describe 'InlineResponse2001' do
|
|
|
32
32
|
expect(@instance).to be_instance_of(PulpcoreClient::InlineResponse2001)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
35
|
+
describe 'test attribute "count"' 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 "_next"' 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 "previous"' 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
|
|
@@ -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.
|
|
9
|
+
OpenAPI Generator version: 4.1.2
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -32,19 +32,19 @@ describe 'InlineResponse2002' do
|
|
|
32
32
|
expect(@instance).to be_instance_of(PulpcoreClient::InlineResponse2002)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
35
|
+
describe 'test attribute "count"' 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 "_next"' 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 "previous"' 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
|
|
@@ -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.
|
|
9
|
+
OpenAPI Generator version: 4.1.2
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -32,19 +32,19 @@ describe 'InlineResponse2003' do
|
|
|
32
32
|
expect(@instance).to be_instance_of(PulpcoreClient::InlineResponse2003)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
35
|
+
describe 'test attribute "count"' 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 "_next"' 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 "previous"' 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
|
|
@@ -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.
|
|
9
|
+
OpenAPI Generator version: 4.1.2
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -32,19 +32,19 @@ describe 'InlineResponse2004' do
|
|
|
32
32
|
expect(@instance).to be_instance_of(PulpcoreClient::InlineResponse2004)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
35
|
+
describe 'test attribute "count"' 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 "_next"' 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 "previous"' 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
|
|
@@ -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.
|
|
9
|
+
OpenAPI Generator version: 4.1.2
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -32,19 +32,19 @@ describe 'InlineResponse2005' do
|
|
|
32
32
|
expect(@instance).to be_instance_of(PulpcoreClient::InlineResponse2005)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
35
|
+
describe 'test attribute "count"' 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 "_next"' 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 "previous"' 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
|
|
@@ -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.
|
|
9
|
+
OpenAPI Generator version: 4.1.2
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -32,19 +32,19 @@ describe 'InlineResponse200' do
|
|
|
32
32
|
expect(@instance).to be_instance_of(PulpcoreClient::InlineResponse200)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
35
|
+
describe 'test attribute "count"' 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 "_next"' 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 "previous"' 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
|