pulp_maven_client 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +15 -5
- data/docs/ContentArtifactApi.md +3 -1
- data/docs/DistributionsMavenApi.md +126 -4
- data/docs/MavenMavenArtifact.md +3 -1
- data/docs/MavenMavenDistribution.md +2 -0
- data/docs/MavenMavenDistributionResponse.md +2 -0
- data/docs/PatchedmavenMavenDistribution.md +2 -0
- data/docs/PulpMavenApi.md +1 -1
- data/docs/RemotesMavenApi.md +123 -1
- data/docs/RepositoriesMavenApi.md +124 -2
- data/docs/RepositoriesMavenVersionsApi.md +3 -1
- data/docs/SetLabel.md +19 -0
- data/docs/SetLabelResponse.md +19 -0
- data/docs/UnsetLabel.md +17 -0
- data/docs/UnsetLabelResponse.md +19 -0
- data/lib/pulp_maven_client/api/content_artifact_api.rb +3 -0
- data/lib/pulp_maven_client/api/distributions_maven_api.rb +158 -3
- data/lib/pulp_maven_client/api/remotes_maven_api.rb +155 -0
- data/lib/pulp_maven_client/api/repositories_maven_api.rb +155 -0
- data/lib/pulp_maven_client/api/repositories_maven_versions_api.rb +3 -0
- data/lib/pulp_maven_client/configuration.rb +2 -2
- data/lib/pulp_maven_client/models/maven_maven_artifact.rb +11 -1
- data/lib/pulp_maven_client/models/maven_maven_distribution.rb +13 -1
- data/lib/pulp_maven_client/models/maven_maven_distribution_response.rb +13 -1
- data/lib/pulp_maven_client/models/patchedmaven_maven_distribution.rb +13 -1
- data/lib/pulp_maven_client/models/set_label.rb +252 -0
- data/lib/pulp_maven_client/models/set_label_response.rb +243 -0
- data/lib/pulp_maven_client/models/unset_label.rb +242 -0
- data/lib/pulp_maven_client/models/unset_label_response.rb +242 -0
- data/lib/pulp_maven_client/version.rb +1 -1
- data/lib/pulp_maven_client.rb +4 -0
- data/spec/api/content_artifact_api_spec.rb +1 -0
- data/spec/api/distributions_maven_api_spec.rb +32 -1
- data/spec/api/remotes_maven_api_spec.rb +31 -0
- data/spec/api/repositories_maven_api_spec.rb +31 -0
- data/spec/api/repositories_maven_versions_api_spec.rb +1 -0
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/maven_maven_artifact_spec.rb +6 -0
- data/spec/models/maven_maven_distribution_response_spec.rb +6 -0
- data/spec/models/maven_maven_distribution_spec.rb +6 -0
- data/spec/models/patchedmaven_maven_distribution_spec.rb +6 -0
- data/spec/models/set_label_response_spec.rb +47 -0
- data/spec/models/set_label_spec.rb +47 -0
- data/spec/models/unset_label_response_spec.rb +47 -0
- data/spec/models/unset_label_spec.rb +41 -0
- metadata +38 -22
data/spec/configuration_spec.rb
CHANGED
@@ -18,7 +18,7 @@ describe PulpMavenClient::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("http://pulp")
|
22
22
|
# PulpMavenClient.configure do |c|
|
23
23
|
# c.host = uri.host
|
24
24
|
# c.base_path = uri.path
|
@@ -28,14 +28,14 @@ describe PulpMavenClient::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("http://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("http://pulp")
|
39
39
|
end
|
40
40
|
end
|
41
41
|
end
|
@@ -32,6 +32,12 @@ describe 'MavenMavenArtifact' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpMavenClient::MavenMavenArtifact)
|
33
33
|
end
|
34
34
|
end
|
35
|
+
describe 'test attribute "repository"' 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
|
+
|
35
41
|
describe 'test attribute "artifact"' do
|
36
42
|
it 'should work' do
|
37
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -62,6 +62,12 @@ describe 'MavenMavenDistributionResponse' do
|
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
+
describe 'test attribute "hidden"' 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
|
+
|
65
71
|
describe 'test attribute "pulp_labels"' do
|
66
72
|
it 'should work' do
|
67
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -44,6 +44,12 @@ describe 'MavenMavenDistribution' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
+
describe 'test attribute "hidden"' 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
|
+
|
47
53
|
describe 'test attribute "pulp_labels"' do
|
48
54
|
it 'should work' do
|
49
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -44,6 +44,12 @@ describe 'PatchedmavenMavenDistribution' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
+
describe 'test attribute "hidden"' 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
|
+
|
47
53
|
describe 'test attribute "pulp_labels"' do
|
48
54
|
it 'should work' do
|
49
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -0,0 +1,47 @@
|
|
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 PulpMavenClient::SetLabelResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'SetLabelResponse' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpMavenClient::SetLabelResponse.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of SetLabelResponse' do
|
31
|
+
it 'should create an instance of SetLabelResponse' do
|
32
|
+
expect(@instance).to be_instance_of(PulpMavenClient::SetLabelResponse)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "key"' 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 "value"' 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
|
+
end
|
@@ -0,0 +1,47 @@
|
|
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 PulpMavenClient::SetLabel
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'SetLabel' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpMavenClient::SetLabel.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of SetLabel' do
|
31
|
+
it 'should create an instance of SetLabel' do
|
32
|
+
expect(@instance).to be_instance_of(PulpMavenClient::SetLabel)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "key"' 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 "value"' 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
|
+
end
|
@@ -0,0 +1,47 @@
|
|
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 PulpMavenClient::UnsetLabelResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'UnsetLabelResponse' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpMavenClient::UnsetLabelResponse.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of UnsetLabelResponse' do
|
31
|
+
it 'should create an instance of UnsetLabelResponse' do
|
32
|
+
expect(@instance).to be_instance_of(PulpMavenClient::UnsetLabelResponse)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "key"' 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 "value"' 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
|
+
end
|
@@ -0,0 +1,41 @@
|
|
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 PulpMavenClient::UnsetLabel
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'UnsetLabel' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpMavenClient::UnsetLabel.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of UnsetLabel' do
|
31
|
+
it 'should create an instance of UnsetLabel' do
|
32
|
+
expect(@instance).to be_instance_of(PulpMavenClient::UnsetLabel)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "key"' 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
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulp_maven_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-11-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -109,6 +109,10 @@ files:
|
|
109
109
|
- docs/RepositoriesMavenVersionsApi.md
|
110
110
|
- docs/RepositoryAddCachedContent.md
|
111
111
|
- docs/RepositoryVersionResponse.md
|
112
|
+
- docs/SetLabel.md
|
113
|
+
- docs/SetLabelResponse.md
|
114
|
+
- docs/UnsetLabel.md
|
115
|
+
- docs/UnsetLabelResponse.md
|
112
116
|
- lib/pulp_maven_client.rb
|
113
117
|
- lib/pulp_maven_client/api/content_artifact_api.rb
|
114
118
|
- lib/pulp_maven_client/api/distributions_maven_api.rb
|
@@ -142,6 +146,10 @@ files:
|
|
142
146
|
- lib/pulp_maven_client/models/repair.rb
|
143
147
|
- lib/pulp_maven_client/models/repository_add_cached_content.rb
|
144
148
|
- lib/pulp_maven_client/models/repository_version_response.rb
|
149
|
+
- lib/pulp_maven_client/models/set_label.rb
|
150
|
+
- lib/pulp_maven_client/models/set_label_response.rb
|
151
|
+
- lib/pulp_maven_client/models/unset_label.rb
|
152
|
+
- lib/pulp_maven_client/models/unset_label_response.rb
|
145
153
|
- lib/pulp_maven_client/version.rb
|
146
154
|
- pulp_maven_client.gemspec
|
147
155
|
- spec/api/content_artifact_api_spec.rb
|
@@ -175,6 +183,10 @@ files:
|
|
175
183
|
- spec/models/repair_spec.rb
|
176
184
|
- spec/models/repository_add_cached_content_spec.rb
|
177
185
|
- spec/models/repository_version_response_spec.rb
|
186
|
+
- spec/models/set_label_response_spec.rb
|
187
|
+
- spec/models/set_label_spec.rb
|
188
|
+
- spec/models/unset_label_response_spec.rb
|
189
|
+
- spec/models/unset_label_spec.rb
|
178
190
|
- spec/spec_helper.rb
|
179
191
|
homepage: https://github.com/pulp/pulp_maven
|
180
192
|
licenses:
|
@@ -200,35 +212,39 @@ signing_key:
|
|
200
212
|
specification_version: 4
|
201
213
|
summary: Pulp 3 API Ruby Gem
|
202
214
|
test_files:
|
203
|
-
- spec/api/repositories_maven_versions_api_spec.rb
|
204
|
-
- spec/api/remotes_maven_api_spec.rb
|
205
|
-
- spec/api/distributions_maven_api_spec.rb
|
206
|
-
- spec/api/content_artifact_api_spec.rb
|
207
215
|
- spec/api/pulp_maven_api_spec.rb
|
216
|
+
- spec/api/content_artifact_api_spec.rb
|
217
|
+
- spec/api/remotes_maven_api_spec.rb
|
218
|
+
- spec/api/repositories_maven_versions_api_spec.rb
|
208
219
|
- spec/api/repositories_maven_api_spec.rb
|
220
|
+
- spec/api/distributions_maven_api_spec.rb
|
209
221
|
- spec/api_client_spec.rb
|
210
222
|
- spec/configuration_spec.rb
|
211
|
-
- spec/models/maven_maven_artifact_response_spec.rb
|
212
|
-
- spec/models/maven_maven_distribution_spec.rb
|
213
|
-
- spec/models/content_summary_response_spec.rb
|
214
223
|
- spec/models/paginatedmaven_maven_artifact_response_list_spec.rb
|
215
|
-
- spec/models/paginatedmaven_maven_distribution_response_list_spec.rb
|
216
|
-
- spec/models/maven_maven_repository_response_spec.rb
|
217
|
-
- spec/models/patchedmaven_maven_distribution_spec.rb
|
218
|
-
- spec/models/maven_maven_distribution_response_spec.rb
|
219
224
|
- spec/models/maven_maven_remote_spec.rb
|
220
|
-
- spec/models/
|
221
|
-
- spec/models/
|
222
|
-
- spec/models/
|
223
|
-
- spec/models/
|
224
|
-
- spec/models/paginatedmaven_maven_repository_response_list_spec.rb
|
225
|
+
- spec/models/patchedmaven_maven_repository_spec.rb
|
226
|
+
- spec/models/maven_maven_remote_response_spec.rb
|
227
|
+
- spec/models/unset_label_spec.rb
|
228
|
+
- spec/models/maven_maven_distribution_response_spec.rb
|
225
229
|
- spec/models/repository_add_cached_content_spec.rb
|
226
230
|
- spec/models/maven_maven_repository_spec.rb
|
227
|
-
- spec/models/
|
231
|
+
- spec/models/patchedmaven_maven_distribution_spec.rb
|
232
|
+
- spec/models/repository_version_response_spec.rb
|
233
|
+
- spec/models/maven_maven_artifact_response_spec.rb
|
228
234
|
- spec/models/paginated_repository_version_response_list_spec.rb
|
235
|
+
- spec/models/set_label_spec.rb
|
236
|
+
- spec/models/content_summary_response_spec.rb
|
237
|
+
- spec/models/paginatedmaven_maven_remote_response_list_spec.rb
|
229
238
|
- spec/models/async_operation_response_spec.rb
|
230
239
|
- spec/models/maven_maven_remote_response_hidden_fields_spec.rb
|
231
|
-
- spec/models/
|
232
|
-
- spec/models/
|
233
|
-
- spec/models/
|
240
|
+
- spec/models/policy_enum_spec.rb
|
241
|
+
- spec/models/maven_maven_repository_response_spec.rb
|
242
|
+
- spec/models/patchedmaven_maven_remote_spec.rb
|
243
|
+
- spec/models/unset_label_response_spec.rb
|
244
|
+
- spec/models/maven_maven_artifact_spec.rb
|
245
|
+
- spec/models/repair_spec.rb
|
246
|
+
- spec/models/paginatedmaven_maven_repository_response_list_spec.rb
|
247
|
+
- spec/models/maven_maven_distribution_spec.rb
|
248
|
+
- spec/models/paginatedmaven_maven_distribution_response_list_spec.rb
|
249
|
+
- spec/models/set_label_response_spec.rb
|
234
250
|
- spec/spec_helper.rb
|