pulp_maven_client 0.24.1 → 0.25.1
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 +26 -4
- data/docs/ContentPackageApi.md +351 -0
- data/docs/DistributionsMavenApi.md +312 -0
- data/docs/MavenMavenPackageResponse.md +48 -0
- data/docs/MyPermissionsResponse.md +18 -0
- data/docs/NestedRole.md +22 -0
- data/docs/NestedRoleResponse.md +22 -0
- data/docs/ObjectRolesResponse.md +18 -0
- data/docs/PaginatedmavenMavenPackageResponseList.md +24 -0
- data/docs/RemotesMavenApi.md +312 -0
- data/docs/RepositoriesMavenApi.md +315 -3
- data/lib/pulp_maven_client/api/content_package_api.rb +369 -0
- data/lib/pulp_maven_client/api/distributions_maven_api.rb +298 -0
- data/lib/pulp_maven_client/api/remotes_maven_api.rb +298 -0
- data/lib/pulp_maven_client/api/repositories_maven_api.rb +304 -6
- data/lib/pulp_maven_client/models/maven_maven_package_response.rb +371 -0
- data/lib/pulp_maven_client/models/my_permissions_response.rb +223 -0
- data/lib/pulp_maven_client/models/nested_role.rb +263 -0
- data/lib/pulp_maven_client/models/nested_role_response.rb +244 -0
- data/lib/pulp_maven_client/models/object_roles_response.rb +223 -0
- data/lib/pulp_maven_client/models/paginatedmaven_maven_package_response_list.rb +257 -0
- data/lib/pulp_maven_client/version.rb +1 -1
- data/lib/pulp_maven_client.rb +7 -0
- data/spec/api/content_package_api_spec.rb +109 -0
- data/spec/api/distributions_maven_api_spec.rb +58 -0
- data/spec/api/remotes_maven_api_spec.rb +58 -0
- data/spec/api/repositories_maven_api_spec.rb +61 -3
- data/spec/models/maven_maven_package_response_spec.rb +126 -0
- data/spec/models/my_permissions_response_spec.rb +36 -0
- data/spec/models/nested_role_response_spec.rb +48 -0
- data/spec/models/nested_role_spec.rb +48 -0
- data/spec/models/object_roles_response_spec.rb +36 -0
- data/spec/models/paginatedmaven_maven_package_response_list_spec.rb +54 -0
- metadata +56 -28
|
@@ -32,6 +32,20 @@ describe 'DistributionsMavenApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
+
# unit tests for add_role
|
|
36
|
+
# Add a role
|
|
37
|
+
# Add a role for this object to users/groups.
|
|
38
|
+
# @param maven_maven_distribution_href
|
|
39
|
+
# @param nested_role
|
|
40
|
+
# @param [Hash] opts the optional parameters
|
|
41
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
42
|
+
# @return [NestedRoleResponse]
|
|
43
|
+
describe 'add_role test' do
|
|
44
|
+
it 'should work' do
|
|
45
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
|
|
35
49
|
# unit tests for create
|
|
36
50
|
# Create a maven distribution
|
|
37
51
|
# Trigger an asynchronous create task
|
|
@@ -97,6 +111,36 @@ describe 'DistributionsMavenApi' do
|
|
|
97
111
|
end
|
|
98
112
|
end
|
|
99
113
|
|
|
114
|
+
# unit tests for list_roles
|
|
115
|
+
# List roles
|
|
116
|
+
# List roles assigned to this object.
|
|
117
|
+
# @param maven_maven_distribution_href
|
|
118
|
+
# @param [Hash] opts the optional parameters
|
|
119
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
120
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
121
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
122
|
+
# @return [ObjectRolesResponse]
|
|
123
|
+
describe 'list_roles test' do
|
|
124
|
+
it 'should work' do
|
|
125
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
126
|
+
end
|
|
127
|
+
end
|
|
128
|
+
|
|
129
|
+
# unit tests for my_permissions
|
|
130
|
+
# List user permissions
|
|
131
|
+
# List permissions available to the current user on this object.
|
|
132
|
+
# @param maven_maven_distribution_href
|
|
133
|
+
# @param [Hash] opts the optional parameters
|
|
134
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
135
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
136
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
137
|
+
# @return [MyPermissionsResponse]
|
|
138
|
+
describe 'my_permissions test' do
|
|
139
|
+
it 'should work' do
|
|
140
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
141
|
+
end
|
|
142
|
+
end
|
|
143
|
+
|
|
100
144
|
# unit tests for partial_update
|
|
101
145
|
# Update a maven distribution
|
|
102
146
|
# Update the entity partially and trigger an asynchronous task if necessary
|
|
@@ -126,6 +170,20 @@ describe 'DistributionsMavenApi' do
|
|
|
126
170
|
end
|
|
127
171
|
end
|
|
128
172
|
|
|
173
|
+
# unit tests for remove_role
|
|
174
|
+
# Remove a role
|
|
175
|
+
# Remove a role for this object from users/groups.
|
|
176
|
+
# @param maven_maven_distribution_href
|
|
177
|
+
# @param nested_role
|
|
178
|
+
# @param [Hash] opts the optional parameters
|
|
179
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
180
|
+
# @return [NestedRoleResponse]
|
|
181
|
+
describe 'remove_role test' do
|
|
182
|
+
it 'should work' do
|
|
183
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
184
|
+
end
|
|
185
|
+
end
|
|
186
|
+
|
|
129
187
|
# unit tests for set_label
|
|
130
188
|
# Set a label
|
|
131
189
|
# Set a single pulp_label on the object to a specific value or null.
|
|
@@ -32,6 +32,20 @@ describe 'RemotesMavenApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
+
# unit tests for add_role
|
|
36
|
+
# Add a role
|
|
37
|
+
# Add a role for this object to users/groups.
|
|
38
|
+
# @param maven_maven_remote_href
|
|
39
|
+
# @param nested_role
|
|
40
|
+
# @param [Hash] opts the optional parameters
|
|
41
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
42
|
+
# @return [NestedRoleResponse]
|
|
43
|
+
describe 'add_role test' do
|
|
44
|
+
it 'should work' do
|
|
45
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
|
|
35
49
|
# unit tests for create
|
|
36
50
|
# Create a maven remote
|
|
37
51
|
# A ViewSet for MavenRemote.
|
|
@@ -96,6 +110,36 @@ describe 'RemotesMavenApi' do
|
|
|
96
110
|
end
|
|
97
111
|
end
|
|
98
112
|
|
|
113
|
+
# unit tests for list_roles
|
|
114
|
+
# List roles
|
|
115
|
+
# List roles assigned to this object.
|
|
116
|
+
# @param maven_maven_remote_href
|
|
117
|
+
# @param [Hash] opts the optional parameters
|
|
118
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
119
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
120
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
121
|
+
# @return [ObjectRolesResponse]
|
|
122
|
+
describe 'list_roles test' do
|
|
123
|
+
it 'should work' do
|
|
124
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
125
|
+
end
|
|
126
|
+
end
|
|
127
|
+
|
|
128
|
+
# unit tests for my_permissions
|
|
129
|
+
# List user permissions
|
|
130
|
+
# List permissions available to the current user on this object.
|
|
131
|
+
# @param maven_maven_remote_href
|
|
132
|
+
# @param [Hash] opts the optional parameters
|
|
133
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
134
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
135
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
136
|
+
# @return [MyPermissionsResponse]
|
|
137
|
+
describe 'my_permissions test' do
|
|
138
|
+
it 'should work' do
|
|
139
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
140
|
+
end
|
|
141
|
+
end
|
|
142
|
+
|
|
99
143
|
# unit tests for partial_update
|
|
100
144
|
# Update a maven remote
|
|
101
145
|
# Update the entity partially and trigger an asynchronous task if necessary
|
|
@@ -125,6 +169,20 @@ describe 'RemotesMavenApi' do
|
|
|
125
169
|
end
|
|
126
170
|
end
|
|
127
171
|
|
|
172
|
+
# unit tests for remove_role
|
|
173
|
+
# Remove a role
|
|
174
|
+
# Remove a role for this object from users/groups.
|
|
175
|
+
# @param maven_maven_remote_href
|
|
176
|
+
# @param nested_role
|
|
177
|
+
# @param [Hash] opts the optional parameters
|
|
178
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
179
|
+
# @return [NestedRoleResponse]
|
|
180
|
+
describe 'remove_role test' do
|
|
181
|
+
it 'should work' do
|
|
182
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
183
|
+
end
|
|
184
|
+
end
|
|
185
|
+
|
|
128
186
|
# unit tests for set_label
|
|
129
187
|
# Set a label
|
|
130
188
|
# Set a single pulp_label on the object to a specific value or null.
|
|
@@ -46,9 +46,23 @@ describe 'RepositoriesMavenApi' do
|
|
|
46
46
|
end
|
|
47
47
|
end
|
|
48
48
|
|
|
49
|
+
# unit tests for add_role
|
|
50
|
+
# Add a role
|
|
51
|
+
# Add a role for this object to users/groups.
|
|
52
|
+
# @param maven_maven_repository_href
|
|
53
|
+
# @param nested_role
|
|
54
|
+
# @param [Hash] opts the optional parameters
|
|
55
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
56
|
+
# @return [NestedRoleResponse]
|
|
57
|
+
describe 'add_role test' do
|
|
58
|
+
it 'should work' do
|
|
59
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
60
|
+
end
|
|
61
|
+
end
|
|
62
|
+
|
|
49
63
|
# unit tests for create
|
|
50
64
|
# Create a maven repository
|
|
51
|
-
# A ViewSet for
|
|
65
|
+
# A ViewSet for MavenRepository.
|
|
52
66
|
# @param maven_maven_repository
|
|
53
67
|
# @param [Hash] opts the optional parameters
|
|
54
68
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
@@ -74,7 +88,7 @@ describe 'RepositoriesMavenApi' do
|
|
|
74
88
|
|
|
75
89
|
# unit tests for list
|
|
76
90
|
# List maven repositorys
|
|
77
|
-
# A ViewSet for
|
|
91
|
+
# A ViewSet for MavenRepository.
|
|
78
92
|
# @param [Hash] opts the optional parameters
|
|
79
93
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
80
94
|
# @option opts [String] :latest_with_content Content Unit referenced by HREF/PRN
|
|
@@ -122,6 +136,21 @@ describe 'RepositoriesMavenApi' do
|
|
|
122
136
|
end
|
|
123
137
|
end
|
|
124
138
|
|
|
139
|
+
# unit tests for list_roles
|
|
140
|
+
# List roles
|
|
141
|
+
# List roles assigned to this object.
|
|
142
|
+
# @param maven_maven_repository_href
|
|
143
|
+
# @param [Hash] opts the optional parameters
|
|
144
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
145
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
146
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
147
|
+
# @return [ObjectRolesResponse]
|
|
148
|
+
describe 'list_roles test' do
|
|
149
|
+
it 'should work' do
|
|
150
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
151
|
+
end
|
|
152
|
+
end
|
|
153
|
+
|
|
125
154
|
# unit tests for modify
|
|
126
155
|
# Modify Repository Content
|
|
127
156
|
# Trigger an asynchronous task to create a new repository version.
|
|
@@ -136,6 +165,21 @@ describe 'RepositoriesMavenApi' do
|
|
|
136
165
|
end
|
|
137
166
|
end
|
|
138
167
|
|
|
168
|
+
# unit tests for my_permissions
|
|
169
|
+
# List user permissions
|
|
170
|
+
# List permissions available to the current user on this object.
|
|
171
|
+
# @param maven_maven_repository_href
|
|
172
|
+
# @param [Hash] opts the optional parameters
|
|
173
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
174
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
175
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
176
|
+
# @return [MyPermissionsResponse]
|
|
177
|
+
describe 'my_permissions test' do
|
|
178
|
+
it 'should work' do
|
|
179
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
180
|
+
end
|
|
181
|
+
end
|
|
182
|
+
|
|
139
183
|
# unit tests for partial_update
|
|
140
184
|
# Update a maven repository
|
|
141
185
|
# Update the entity partially and trigger an asynchronous task if necessary
|
|
@@ -152,7 +196,7 @@ describe 'RepositoriesMavenApi' do
|
|
|
152
196
|
|
|
153
197
|
# unit tests for read
|
|
154
198
|
# Inspect a maven repository
|
|
155
|
-
# A ViewSet for
|
|
199
|
+
# A ViewSet for MavenRepository.
|
|
156
200
|
# @param maven_maven_repository_href
|
|
157
201
|
# @param [Hash] opts the optional parameters
|
|
158
202
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
@@ -165,6 +209,20 @@ describe 'RepositoriesMavenApi' do
|
|
|
165
209
|
end
|
|
166
210
|
end
|
|
167
211
|
|
|
212
|
+
# unit tests for remove_role
|
|
213
|
+
# Remove a role
|
|
214
|
+
# Remove a role for this object from users/groups.
|
|
215
|
+
# @param maven_maven_repository_href
|
|
216
|
+
# @param nested_role
|
|
217
|
+
# @param [Hash] opts the optional parameters
|
|
218
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
219
|
+
# @return [NestedRoleResponse]
|
|
220
|
+
describe 'remove_role test' do
|
|
221
|
+
it 'should work' do
|
|
222
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
223
|
+
end
|
|
224
|
+
end
|
|
225
|
+
|
|
168
226
|
# unit tests for repair_metadata
|
|
169
227
|
# Repair metadata
|
|
170
228
|
# Trigger an asynchronous task to regenerate all maven-metadata.xml files and their checksums for every artifact in the repository.
|
|
@@ -0,0 +1,126 @@
|
|
|
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
|
+
Generator version: 7.10.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for PulpMavenClient::MavenMavenPackageResponse
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe PulpMavenClient::MavenMavenPackageResponse do
|
|
21
|
+
let(:instance) { PulpMavenClient::MavenMavenPackageResponse.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of MavenMavenPackageResponse' do
|
|
24
|
+
it 'should create an instance of MavenMavenPackageResponse' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(PulpMavenClient::MavenMavenPackageResponse)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "pulp_href"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "prn"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "pulp_created"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "pulp_last_updated"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "pulp_labels"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
describe 'test attribute "vuln_report"' do
|
|
61
|
+
it 'should work' do
|
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
describe 'test attribute "group_id"' do
|
|
67
|
+
it 'should work' do
|
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
describe 'test attribute "artifact_id"' do
|
|
73
|
+
it 'should work' do
|
|
74
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
describe 'test attribute "version"' do
|
|
79
|
+
it 'should work' do
|
|
80
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
describe 'test attribute "name"' do
|
|
85
|
+
it 'should work' do
|
|
86
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
87
|
+
end
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
describe 'test attribute "description"' do
|
|
91
|
+
it 'should work' do
|
|
92
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
93
|
+
end
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
describe 'test attribute "packaging"' do
|
|
97
|
+
it 'should work' do
|
|
98
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
99
|
+
end
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
describe 'test attribute "url"' do
|
|
103
|
+
it 'should work' do
|
|
104
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
105
|
+
end
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
describe 'test attribute "licenses"' do
|
|
109
|
+
it 'should work' do
|
|
110
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
111
|
+
end
|
|
112
|
+
end
|
|
113
|
+
|
|
114
|
+
describe 'test attribute "dependencies"' do
|
|
115
|
+
it 'should work' do
|
|
116
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
117
|
+
end
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
describe 'test attribute "scm_url"' do
|
|
121
|
+
it 'should work' do
|
|
122
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
123
|
+
end
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
Generator version: 7.10.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for PulpMavenClient::MyPermissionsResponse
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe PulpMavenClient::MyPermissionsResponse do
|
|
21
|
+
let(:instance) { PulpMavenClient::MyPermissionsResponse.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of MyPermissionsResponse' do
|
|
24
|
+
it 'should create an instance of MyPermissionsResponse' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(PulpMavenClient::MyPermissionsResponse)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "permissions"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
end
|
|
@@ -0,0 +1,48 @@
|
|
|
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
|
+
Generator version: 7.10.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for PulpMavenClient::NestedRoleResponse
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe PulpMavenClient::NestedRoleResponse do
|
|
21
|
+
let(:instance) { PulpMavenClient::NestedRoleResponse.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of NestedRoleResponse' do
|
|
24
|
+
it 'should create an instance of NestedRoleResponse' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(PulpMavenClient::NestedRoleResponse)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "users"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "groups"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "role"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
end
|
|
@@ -0,0 +1,48 @@
|
|
|
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
|
+
Generator version: 7.10.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for PulpMavenClient::NestedRole
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe PulpMavenClient::NestedRole do
|
|
21
|
+
let(:instance) { PulpMavenClient::NestedRole.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of NestedRole' do
|
|
24
|
+
it 'should create an instance of NestedRole' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(PulpMavenClient::NestedRole)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "users"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "groups"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "role"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
Generator version: 7.10.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for PulpMavenClient::ObjectRolesResponse
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe PulpMavenClient::ObjectRolesResponse do
|
|
21
|
+
let(:instance) { PulpMavenClient::ObjectRolesResponse.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of ObjectRolesResponse' do
|
|
24
|
+
it 'should create an instance of ObjectRolesResponse' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(PulpMavenClient::ObjectRolesResponse)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "roles"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
end
|
|
@@ -0,0 +1,54 @@
|
|
|
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
|
+
Generator version: 7.10.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for PulpMavenClient::PaginatedmavenMavenPackageResponseList
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe PulpMavenClient::PaginatedmavenMavenPackageResponseList do
|
|
21
|
+
let(:instance) { PulpMavenClient::PaginatedmavenMavenPackageResponseList.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of PaginatedmavenMavenPackageResponseList' do
|
|
24
|
+
it 'should create an instance of PaginatedmavenMavenPackageResponseList' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(PulpMavenClient::PaginatedmavenMavenPackageResponseList)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "count"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "_next"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "previous"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "results"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
end
|