pulp_ostree_client 2.0.0a1.dev1626751709 → 2.0.0a1.dev1631416829
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of pulp_ostree_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +41 -23
- data/docs/ContentCommitsApi.md +138 -0
- data/docs/ContentConfigsApi.md +138 -0
- data/docs/ContentObjectsApi.md +138 -0
- data/docs/ContentRefsApi.md +138 -0
- data/docs/{ContentOstreeApi.md → ContentSummariesApi.md} +21 -75
- data/docs/DistributionsOstreeApi.md +3 -3
- data/docs/OstreeOstreeCommitResponse.md +25 -0
- data/docs/OstreeOstreeConfigResponse.md +21 -0
- data/docs/OstreeOstreeDistribution.md +2 -2
- data/docs/OstreeOstreeDistributionResponse.md +2 -2
- data/docs/OstreeOstreeObjectResponse.md +27 -0
- data/docs/OstreeOstreeRefResponse.md +25 -0
- data/docs/OstreeOstreeRemote.md +4 -2
- data/docs/OstreeOstreeRemoteResponse.md +4 -2
- data/docs/OstreeOstreeRepository.md +3 -3
- data/docs/OstreeOstreeRepositoryResponse.md +3 -3
- data/docs/{OstreeOstreeContentResponse.md → OstreeOstreeSummaryResponse.md} +2 -2
- data/docs/OstreeRepoImport.md +23 -0
- data/docs/{PaginatedostreeOstreePublicationResponseList.md → PaginatedostreeOstreeCommitResponseList.md} +3 -3
- data/docs/PaginatedostreeOstreeConfigResponseList.md +23 -0
- data/docs/PaginatedostreeOstreeObjectResponseList.md +23 -0
- data/docs/PaginatedostreeOstreeRefResponseList.md +23 -0
- data/docs/{PaginatedostreeOstreeContentResponseList.md → PaginatedostreeOstreeSummaryResponseList.md} +3 -3
- data/docs/PatchedostreeOstreeDistribution.md +2 -2
- data/docs/PatchedostreeOstreeRemote.md +4 -2
- data/docs/PatchedostreeOstreeRepository.md +3 -3
- data/docs/RemotesOstreeApi.md +4 -4
- data/docs/RepositoriesOstreeApi.md +60 -4
- data/docs/RepositoriesOstreeVersionsApi.md +3 -3
- data/lib/pulp_ostree_client/api/content_commits_api.rb +170 -0
- data/lib/pulp_ostree_client/api/content_configs_api.rb +170 -0
- data/lib/pulp_ostree_client/api/content_objects_api.rb +170 -0
- data/lib/pulp_ostree_client/api/content_refs_api.rb +170 -0
- data/lib/pulp_ostree_client/api/{content_ostree_api.rb → content_summaries_api.rb} +29 -93
- data/lib/pulp_ostree_client/api/distributions_ostree_api.rb +4 -4
- data/lib/pulp_ostree_client/api/remotes_ostree_api.rb +6 -6
- data/lib/pulp_ostree_client/api/repositories_ostree_api.rb +76 -6
- data/lib/pulp_ostree_client/api/repositories_ostree_versions_api.rb +4 -4
- data/lib/pulp_ostree_client/configuration.rb +2 -2
- data/lib/pulp_ostree_client/models/ostree_ostree_commit_response.rb +256 -0
- data/lib/pulp_ostree_client/models/{ostree_ostree_publication_response.rb → ostree_ostree_config_response.rb} +17 -21
- data/lib/pulp_ostree_client/models/ostree_ostree_distribution.rb +10 -10
- data/lib/pulp_ostree_client/models/ostree_ostree_distribution_response.rb +10 -10
- data/lib/pulp_ostree_client/models/ostree_ostree_object_response.rb +275 -0
- data/lib/pulp_ostree_client/models/{ostree_ostree_content.rb → ostree_ostree_ref_response.rb} +47 -15
- data/lib/pulp_ostree_client/models/ostree_ostree_remote.rb +34 -7
- data/lib/pulp_ostree_client/models/ostree_ostree_remote_response.rb +34 -7
- data/lib/pulp_ostree_client/models/ostree_ostree_repository.rb +18 -17
- data/lib/pulp_ostree_client/models/ostree_ostree_repository_response.rb +18 -17
- data/lib/pulp_ostree_client/models/{ostree_ostree_content_response.rb → ostree_ostree_summary_response.rb} +4 -4
- data/lib/pulp_ostree_client/models/ostree_repo_import.rb +248 -0
- data/lib/pulp_ostree_client/models/{paginatedostree_ostree_publication_response_list.rb → paginatedostree_ostree_commit_response_list.rb} +4 -4
- data/lib/pulp_ostree_client/models/paginatedostree_ostree_config_response_list.rb +237 -0
- data/lib/pulp_ostree_client/models/paginatedostree_ostree_object_response_list.rb +237 -0
- data/lib/pulp_ostree_client/models/{ostree_ostree_publication.rb → paginatedostree_ostree_ref_response_list.rb} +38 -18
- data/lib/pulp_ostree_client/models/{paginatedostree_ostree_content_response_list.rb → paginatedostree_ostree_summary_response_list.rb} +4 -4
- data/lib/pulp_ostree_client/models/patchedostree_ostree_distribution.rb +10 -10
- data/lib/pulp_ostree_client/models/patchedostree_ostree_remote.rb +34 -7
- data/lib/pulp_ostree_client/models/patchedostree_ostree_repository.rb +18 -17
- data/lib/pulp_ostree_client/models/policy_enum.rb +1 -1
- data/lib/pulp_ostree_client/version.rb +1 -1
- data/lib/pulp_ostree_client.rb +16 -8
- data/spec/api/{content_ostree_api_spec.rb → content_commits_api_spec.rb} +13 -25
- data/spec/api/content_configs_api_spec.rb +68 -0
- data/spec/api/content_objects_api_spec.rb +68 -0
- data/spec/api/content_refs_api_spec.rb +68 -0
- data/spec/api/content_summaries_api_spec.rb +68 -0
- data/spec/api/distributions_ostree_api_spec.rb +2 -2
- data/spec/api/remotes_ostree_api_spec.rb +3 -3
- data/spec/api/repositories_ostree_api_spec.rb +16 -3
- data/spec/api/repositories_ostree_versions_api_spec.rb +2 -2
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/ostree_ostree_commit_response_spec.rb +65 -0
- data/spec/models/{ostree_ostree_content_spec.rb → ostree_ostree_config_response_spec.rb} +14 -8
- data/spec/models/ostree_ostree_distribution_response_spec.rb +1 -1
- data/spec/models/ostree_ostree_distribution_spec.rb +1 -1
- data/spec/models/ostree_ostree_object_response_spec.rb +71 -0
- data/spec/models/{ostree_ostree_publication_response_spec.rb → ostree_ostree_ref_response_spec.rb} +14 -8
- data/spec/models/ostree_ostree_remote_response_spec.rb +6 -0
- data/spec/models/ostree_ostree_remote_spec.rb +6 -0
- data/spec/models/ostree_ostree_repository_response_spec.rb +1 -1
- data/spec/models/ostree_ostree_repository_spec.rb +1 -1
- data/spec/models/{ostree_ostree_content_response_spec.rb → ostree_ostree_summary_response_spec.rb} +6 -6
- data/spec/models/ostree_repo_import_spec.rb +59 -0
- data/spec/models/{paginatedostree_ostree_publication_response_list_spec.rb → paginatedostree_ostree_commit_response_list_spec.rb} +6 -6
- data/spec/models/paginatedostree_ostree_config_response_list_spec.rb +59 -0
- data/spec/models/paginatedostree_ostree_object_response_list_spec.rb +59 -0
- data/spec/models/paginatedostree_ostree_ref_response_list_spec.rb +59 -0
- data/spec/models/{paginatedostree_ostree_content_response_list_spec.rb → paginatedostree_ostree_summary_response_list_spec.rb} +6 -6
- data/spec/models/patchedostree_ostree_distribution_spec.rb +1 -1
- data/spec/models/patchedostree_ostree_remote_spec.rb +6 -0
- data/spec/models/patchedostree_ostree_repository_spec.rb +1 -1
- metadata +81 -49
- data/docs/OstreeOstreeContent.md +0 -19
- data/docs/OstreeOstreePublication.md +0 -19
- data/docs/OstreeOstreePublicationResponse.md +0 -23
- data/docs/PublicationsOstreeApi.md +0 -257
- data/lib/pulp_ostree_client/api/publications_ostree_api.rb +0 -312
- data/spec/api/publications_ostree_api_spec.rb +0 -98
- data/spec/models/ostree_ostree_publication_spec.rb +0 -47
@@ -0,0 +1,68 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for PulpOstreeClient::ContentRefsApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'ContentRefsApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = PulpOstreeClient::ContentRefsApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of ContentRefsApi' do
|
30
|
+
it 'should create an instance of ContentRefsApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(PulpOstreeClient::ContentRefsApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for list
|
36
|
+
# List ostree refs
|
37
|
+
# A ViewSet class for OSTree head commits.
|
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] :ordering Which field to use when ordering the results.
|
42
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
43
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
44
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
45
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
46
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
47
|
+
# @return [PaginatedostreeOstreeRefResponseList]
|
48
|
+
describe 'list test' do
|
49
|
+
it 'should work' do
|
50
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
# unit tests for read
|
55
|
+
# Inspect an ostree ref
|
56
|
+
# A ViewSet class for OSTree head commits.
|
57
|
+
# @param ostree_ostree_ref_href
|
58
|
+
# @param [Hash] opts the optional parameters
|
59
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
60
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
61
|
+
# @return [OstreeOstreeRefResponse]
|
62
|
+
describe 'read test' do
|
63
|
+
it 'should work' do
|
64
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
end
|
@@ -0,0 +1,68 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for PulpOstreeClient::ContentSummariesApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'ContentSummariesApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = PulpOstreeClient::ContentSummariesApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of ContentSummariesApi' do
|
30
|
+
it 'should create an instance of ContentSummariesApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(PulpOstreeClient::ContentSummariesApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for list
|
36
|
+
# List ostree summarys
|
37
|
+
# A ViewSet class for OSTree repository summary files.
|
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] :ordering Which field to use when ordering the results.
|
42
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
43
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
44
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
45
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
46
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
47
|
+
# @return [PaginatedostreeOstreeSummaryResponseList]
|
48
|
+
describe 'list test' do
|
49
|
+
it 'should work' do
|
50
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
# unit tests for read
|
55
|
+
# Inspect an ostree summary
|
56
|
+
# A ViewSet class for OSTree repository summary files.
|
57
|
+
# @param ostree_ostree_summary_href
|
58
|
+
# @param [Hash] opts the optional parameters
|
59
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
60
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
61
|
+
# @return [OstreeOstreeSummaryResponse]
|
62
|
+
describe 'read test' do
|
63
|
+
it 'should work' do
|
64
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
end
|
@@ -58,7 +58,7 @@ describe 'DistributionsOstreeApi' do
|
|
58
58
|
|
59
59
|
# unit tests for list
|
60
60
|
# List ostree distributions
|
61
|
-
# A ViewSet for
|
61
|
+
# A ViewSet class for OSTree distributions.
|
62
62
|
# @param [Hash] opts the optional parameters
|
63
63
|
# @option opts [String] :base_path
|
64
64
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
@@ -97,7 +97,7 @@ describe 'DistributionsOstreeApi' do
|
|
97
97
|
|
98
98
|
# unit tests for read
|
99
99
|
# Inspect an ostree distribution
|
100
|
-
# A ViewSet for
|
100
|
+
# A ViewSet class for OSTree distributions.
|
101
101
|
# @param ostree_ostree_distribution_href
|
102
102
|
# @param [Hash] opts the optional parameters
|
103
103
|
# @option opts [String] :fields A list of fields to include in the response.
|
@@ -34,7 +34,7 @@ describe 'RemotesOstreeApi' do
|
|
34
34
|
|
35
35
|
# unit tests for create
|
36
36
|
# Create an ostree remote
|
37
|
-
# A ViewSet for
|
37
|
+
# A ViewSet class for OSTree remote repositories.
|
38
38
|
# @param ostree_ostree_remote
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
40
|
# @return [OstreeOstreeRemoteResponse]
|
@@ -58,7 +58,7 @@ describe 'RemotesOstreeApi' do
|
|
58
58
|
|
59
59
|
# unit tests for list
|
60
60
|
# List ostree remotes
|
61
|
-
# A ViewSet for
|
61
|
+
# A ViewSet class for OSTree remote repositories.
|
62
62
|
# @param [Hash] opts the optional parameters
|
63
63
|
# @option opts [Integer] :limit Number of results to return per page.
|
64
64
|
# @option opts [String] :name
|
@@ -99,7 +99,7 @@ describe 'RemotesOstreeApi' do
|
|
99
99
|
|
100
100
|
# unit tests for read
|
101
101
|
# Inspect an ostree remote
|
102
|
-
# A ViewSet for
|
102
|
+
# A ViewSet class for OSTree remote repositories.
|
103
103
|
# @param ostree_ostree_remote_href
|
104
104
|
# @param [Hash] opts the optional parameters
|
105
105
|
# @option opts [String] :fields A list of fields to include in the response.
|
@@ -34,7 +34,7 @@ describe 'RepositoriesOstreeApi' do
|
|
34
34
|
|
35
35
|
# unit tests for create
|
36
36
|
# Create an ostree repository
|
37
|
-
# A ViewSet for
|
37
|
+
# A ViewSet class for OSTree repositories.
|
38
38
|
# @param ostree_ostree_repository
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
40
|
# @return [OstreeOstreeRepositoryResponse]
|
@@ -56,9 +56,22 @@ describe 'RepositoriesOstreeApi' do
|
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
+
# unit tests for import_commits
|
60
|
+
# Import commits to a repository
|
61
|
+
# Trigger an asynchronous task to create a new OSTree repository version.
|
62
|
+
# @param ostree_ostree_repository_href
|
63
|
+
# @param ostree_repo_import
|
64
|
+
# @param [Hash] opts the optional parameters
|
65
|
+
# @return [AsyncOperationResponse]
|
66
|
+
describe 'import_commits test' do
|
67
|
+
it 'should work' do
|
68
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
59
72
|
# unit tests for list
|
60
73
|
# List ostree repositorys
|
61
|
-
# A ViewSet for
|
74
|
+
# A ViewSet class for OSTree repositories.
|
62
75
|
# @param [Hash] opts the optional parameters
|
63
76
|
# @option opts [Integer] :limit Number of results to return per page.
|
64
77
|
# @option opts [String] :name
|
@@ -106,7 +119,7 @@ describe 'RepositoriesOstreeApi' do
|
|
106
119
|
|
107
120
|
# unit tests for read
|
108
121
|
# Inspect an ostree repository
|
109
|
-
# A ViewSet for
|
122
|
+
# A ViewSet class for OSTree repositories.
|
110
123
|
# @param ostree_ostree_repository_href
|
111
124
|
# @param [Hash] opts the optional parameters
|
112
125
|
# @option opts [String] :fields A list of fields to include in the response.
|
@@ -46,7 +46,7 @@ describe 'RepositoriesOstreeVersionsApi' do
|
|
46
46
|
|
47
47
|
# unit tests for list
|
48
48
|
# List repository versions
|
49
|
-
# A ViewSet
|
49
|
+
# A ViewSet class that represents a single OSTree repository version.
|
50
50
|
# @param ostree_ostree_repository_href
|
51
51
|
# @param [Hash] opts the optional parameters
|
52
52
|
# @option opts [String] :content Content Unit referenced by HREF
|
@@ -77,7 +77,7 @@ describe 'RepositoriesOstreeVersionsApi' do
|
|
77
77
|
|
78
78
|
# unit tests for read
|
79
79
|
# Inspect a repository version
|
80
|
-
# A ViewSet
|
80
|
+
# A ViewSet class that represents a single OSTree repository version.
|
81
81
|
# @param ostree_ostree_repository_version_href
|
82
82
|
# @param [Hash] opts the optional parameters
|
83
83
|
# @option opts [String] :fields A list of fields to include in the response.
|
data/spec/configuration_spec.rb
CHANGED
@@ -18,7 +18,7 @@ describe PulpOstreeClient::Configuration do
|
|
18
18
|
before(:each) do
|
19
19
|
# uncomment below to setup host and base_path
|
20
20
|
# require 'URI'
|
21
|
-
# uri = URI.parse("
|
21
|
+
# uri = URI.parse("https://pulp")
|
22
22
|
# PulpOstreeClient.configure do |c|
|
23
23
|
# c.host = uri.host
|
24
24
|
# c.base_path = uri.path
|
@@ -28,14 +28,14 @@ describe PulpOstreeClient::Configuration do
|
|
28
28
|
describe '#base_url' do
|
29
29
|
it 'should have the default value' do
|
30
30
|
# uncomment below to test default value of the base path
|
31
|
-
# expect(config.base_url).to eq("
|
31
|
+
# expect(config.base_url).to eq("https://pulp")
|
32
32
|
end
|
33
33
|
|
34
34
|
it 'should remove trailing slashes' do
|
35
35
|
[nil, '', '/', '//'].each do |base_path|
|
36
36
|
config.base_path = base_path
|
37
37
|
# uncomment below to test trailing slashes
|
38
|
-
# expect(config.base_url).to eq("
|
38
|
+
# expect(config.base_url).to eq("https://pulp")
|
39
39
|
end
|
40
40
|
end
|
41
41
|
end
|
@@ -0,0 +1,65 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PulpOstreeClient::OstreeOstreeCommitResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'OstreeOstreeCommitResponse' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpOstreeClient::OstreeOstreeCommitResponse.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of OstreeOstreeCommitResponse' do
|
31
|
+
it 'should create an instance of OstreeOstreeCommitResponse' do
|
32
|
+
expect(@instance).to be_instance_of(PulpOstreeClient::OstreeOstreeCommitResponse)
|
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 "artifact"' 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 "parent_commit"' 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 "checksum"' 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
|
@@ -14,31 +14,37 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for PulpOstreeClient::
|
17
|
+
# Unit tests for PulpOstreeClient::OstreeOstreeConfigResponse
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe '
|
20
|
+
describe 'OstreeOstreeConfigResponse' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance = PulpOstreeClient::
|
23
|
+
@instance = PulpOstreeClient::OstreeOstreeConfigResponse.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(PulpOstreeClient::
|
30
|
+
describe 'test an instance of OstreeOstreeConfigResponse' do
|
31
|
+
it 'should create an instance of OstreeOstreeConfigResponse' do
|
32
|
+
expect(@instance).to be_instance_of(PulpOstreeClient::OstreeOstreeConfigResponse)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "pulp_href"' 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 "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 "artifact"' do
|
42
48
|
it 'should work' do
|
43
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
50
|
end
|
@@ -80,7 +80,7 @@ describe 'OstreeOstreeDistributionResponse' do
|
|
80
80
|
end
|
81
81
|
end
|
82
82
|
|
83
|
-
describe 'test attribute "
|
83
|
+
describe 'test attribute "repository_version"' do
|
84
84
|
it 'should work' do
|
85
85
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
86
86
|
end
|
@@ -62,7 +62,7 @@ describe 'OstreeOstreeDistribution' do
|
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
-
describe 'test attribute "
|
65
|
+
describe 'test attribute "repository_version"' do
|
66
66
|
it 'should work' do
|
67
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
68
|
end
|
@@ -0,0 +1,71 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PulpOstreeClient::OstreeOstreeObjectResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'OstreeOstreeObjectResponse' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpOstreeClient::OstreeOstreeObjectResponse.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of OstreeOstreeObjectResponse' do
|
31
|
+
it 'should create an instance of OstreeOstreeObjectResponse' do
|
32
|
+
expect(@instance).to be_instance_of(PulpOstreeClient::OstreeOstreeObjectResponse)
|
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 "artifact"' 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 "commit"' 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 "checksum"' 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 "typ"' 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
|