pulp_maven_client 0.1.0 → 0.2.0
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 +43 -31
- data/docs/ContentArtifactApi.md +37 -35
- data/docs/ContentSummary.md +3 -3
- data/docs/ContentSummaryResponse.md +21 -0
- data/docs/DistributionsMavenApi.md +63 -61
- data/docs/MavenMavenArtifact.md +3 -13
- data/docs/MavenMavenArtifactResponse.md +29 -0
- data/docs/MavenMavenDistribution.md +1 -7
- data/docs/MavenMavenDistributionResponse.md +29 -0
- data/docs/MavenMavenRemote.md +18 -12
- data/docs/MavenMavenRemoteResponse.md +51 -0
- data/docs/MavenMavenRepository.md +4 -10
- data/docs/MavenMavenRepositoryResponse.md +29 -0
- data/docs/PaginatedRepositoryVersionResponseList.md +23 -0
- data/docs/PaginatedmavenMavenArtifactResponseList.md +23 -0
- data/docs/PaginatedmavenMavenDistributionResponseList.md +23 -0
- data/docs/PaginatedmavenMavenRemoteResponseList.md +23 -0
- data/docs/PaginatedmavenMavenRepositoryResponseList.md +23 -0
- data/docs/PatchedmavenMavenDistribution.md +23 -0
- data/docs/PatchedmavenMavenRemote.md +45 -0
- data/docs/PatchedmavenMavenRepository.md +21 -0
- data/docs/PolicyEnum.md +16 -0
- data/docs/RemotesMavenApi.md +68 -66
- data/docs/RepositoriesMavenApi.md +60 -58
- data/docs/RepositoriesMavenVersionsApi.md +110 -53
- data/docs/RepositoryVersion.md +1 -9
- data/docs/RepositoryVersionResponse.md +25 -0
- data/lib/pulp_maven_client/api/content_artifact_api.rb +55 -52
- data/lib/pulp_maven_client/api/distributions_maven_api.rb +94 -91
- data/lib/pulp_maven_client/api/remotes_maven_api.rb +104 -101
- data/lib/pulp_maven_client/api/repositories_maven_api.rb +97 -94
- data/lib/pulp_maven_client/api/repositories_maven_versions_api.rb +149 -78
- data/lib/pulp_maven_client/api_client.rb +3 -3
- data/lib/pulp_maven_client/api_error.rb +3 -3
- data/lib/pulp_maven_client/configuration.rb +6 -6
- data/lib/pulp_maven_client/models/async_operation_response.rb +4 -3
- data/lib/pulp_maven_client/models/content_summary.rb +10 -16
- data/lib/pulp_maven_client/models/content_summary_response.rb +240 -0
- data/lib/pulp_maven_client/models/maven_maven_artifact.rb +15 -118
- data/lib/pulp_maven_client/models/maven_maven_artifact_response.rb +272 -0
- data/lib/pulp_maven_client/models/maven_maven_distribution.rb +5 -86
- data/lib/pulp_maven_client/models/maven_maven_distribution_response.rb +279 -0
- data/lib/pulp_maven_client/models/maven_maven_remote.rb +111 -147
- data/lib/pulp_maven_client/models/maven_maven_remote_response.rb +472 -0
- data/lib/pulp_maven_client/models/maven_maven_repository.rb +19 -79
- data/lib/pulp_maven_client/models/maven_maven_repository_response.rb +271 -0
- data/lib/pulp_maven_client/models/{inline_response200.rb → paginated_repository_version_response_list.rb} +7 -17
- data/lib/pulp_maven_client/models/{inline_response2002.rb → paginatedmaven_maven_artifact_response_list.rb} +7 -17
- data/lib/pulp_maven_client/models/{inline_response2004.rb → paginatedmaven_maven_distribution_response_list.rb} +7 -17
- data/lib/pulp_maven_client/models/{inline_response2003.rb → paginatedmaven_maven_remote_response_list.rb} +7 -17
- data/lib/pulp_maven_client/models/paginatedmaven_maven_repository_response_list.rb +237 -0
- data/lib/pulp_maven_client/models/{inline_response2001.rb → patchedmaven_maven_distribution.rb} +38 -45
- data/lib/pulp_maven_client/models/patchedmaven_maven_remote.rb +433 -0
- data/lib/pulp_maven_client/models/patchedmaven_maven_repository.rb +229 -0
- data/lib/pulp_maven_client/models/policy_enum.rb +36 -0
- data/lib/pulp_maven_client/models/repository_version.rb +8 -44
- data/lib/pulp_maven_client/models/repository_version_response.rb +246 -0
- data/lib/pulp_maven_client/version.rb +4 -4
- data/lib/pulp_maven_client.rb +18 -8
- data/pulp_maven_client.gemspec +5 -5
- data/spec/api/content_artifact_api_spec.rb +16 -15
- data/spec/api/distributions_maven_api_spec.rb +20 -19
- data/spec/api/remotes_maven_api_spec.rb +23 -22
- data/spec/api/repositories_maven_api_spec.rb +21 -20
- data/spec/api/repositories_maven_versions_api_spec.rb +36 -23
- data/spec/api_client_spec.rb +3 -3
- data/spec/configuration_spec.rb +6 -6
- data/spec/models/async_operation_response_spec.rb +3 -3
- data/spec/models/content_summary_response_spec.rb +53 -0
- data/spec/models/content_summary_spec.rb +3 -3
- data/spec/models/maven_maven_artifact_response_spec.rb +77 -0
- data/spec/models/maven_maven_artifact_spec.rb +4 -34
- data/spec/models/maven_maven_distribution_response_spec.rb +77 -0
- data/spec/models/maven_maven_distribution_spec.rb +3 -21
- data/spec/models/maven_maven_remote_response_spec.rb +143 -0
- data/spec/models/maven_maven_remote_spec.rb +33 -19
- data/spec/models/maven_maven_repository_response_spec.rb +77 -0
- data/spec/models/maven_maven_repository_spec.rb +6 -24
- data/spec/models/{inline_response2002_spec.rb → paginated_repository_version_response_list_spec.rb} +9 -9
- data/spec/models/{inline_response2003_spec.rb → paginatedmaven_maven_artifact_response_list_spec.rb} +9 -9
- data/spec/models/paginatedmaven_maven_distribution_response_list_spec.rb +59 -0
- data/spec/models/{inline_response2001_spec.rb → paginatedmaven_maven_remote_response_list_spec.rb} +9 -9
- data/spec/models/{inline_response2004_spec.rb → paginatedmaven_maven_repository_response_list_spec.rb} +9 -9
- data/spec/models/patchedmaven_maven_distribution_spec.rb +59 -0
- data/spec/models/patchedmaven_maven_remote_spec.rb +125 -0
- data/spec/models/{inline_response200_spec.rb → patchedmaven_maven_repository_spec.rb} +12 -18
- data/spec/models/policy_enum_spec.rb +35 -0
- data/spec/models/repository_version_response_spec.rb +65 -0
- data/spec/models/repository_version_spec.rb +3 -27
- data/spec/spec_helper.rb +3 -3
- metadata +70 -30
- data/docs/InlineResponse200.md +0 -23
- data/docs/InlineResponse2001.md +0 -23
- data/docs/InlineResponse2002.md +0 -23
- data/docs/InlineResponse2003.md +0 -23
- data/docs/InlineResponse2004.md +0 -23
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#Pulp 3 API
|
|
3
3
|
|
|
4
|
-
#
|
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
|
-
|
|
7
|
+
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.2.
|
|
9
|
+
OpenAPI Generator version: 4.2.3
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -14,22 +14,22 @@ require 'spec_helper'
|
|
|
14
14
|
require 'json'
|
|
15
15
|
require 'date'
|
|
16
16
|
|
|
17
|
-
# Unit tests for PulpMavenClient::
|
|
17
|
+
# Unit tests for PulpMavenClient::PaginatedmavenMavenRepositoryResponseList
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe '
|
|
20
|
+
describe 'PaginatedmavenMavenRepositoryResponseList' do
|
|
21
21
|
before do
|
|
22
22
|
# run before each test
|
|
23
|
-
@instance = PulpMavenClient::
|
|
23
|
+
@instance = PulpMavenClient::PaginatedmavenMavenRepositoryResponseList.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(PulpMavenClient::
|
|
30
|
+
describe 'test an instance of PaginatedmavenMavenRepositoryResponseList' do
|
|
31
|
+
it 'should create an instance of PaginatedmavenMavenRepositoryResponseList' do
|
|
32
|
+
expect(@instance).to be_instance_of(PulpMavenClient::PaginatedmavenMavenRepositoryResponseList)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
describe 'test attribute "count"' do
|
|
@@ -0,0 +1,59 @@
|
|
|
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.2.3
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for PulpMavenClient::PatchedmavenMavenDistribution
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'PatchedmavenMavenDistribution' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = PulpMavenClient::PatchedmavenMavenDistribution.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of PatchedmavenMavenDistribution' do
|
|
31
|
+
it 'should create an instance of PatchedmavenMavenDistribution' do
|
|
32
|
+
expect(@instance).to be_instance_of(PulpMavenClient::PatchedmavenMavenDistribution)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "base_path"' 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 "content_guard"' 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 "name"' 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 "remote"' do
|
|
54
|
+
it 'should work' do
|
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
end
|
|
@@ -0,0 +1,125 @@
|
|
|
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.2.3
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for PulpMavenClient::PatchedmavenMavenRemote
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'PatchedmavenMavenRemote' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = PulpMavenClient::PatchedmavenMavenRemote.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of PatchedmavenMavenRemote' do
|
|
31
|
+
it 'should create an instance of PatchedmavenMavenRemote' do
|
|
32
|
+
expect(@instance).to be_instance_of(PulpMavenClient::PatchedmavenMavenRemote)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "name"' 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 "url"' 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 "ca_cert"' 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 "client_cert"' 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 "client_key"' 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 "tls_validation"' do
|
|
66
|
+
it 'should work' do
|
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
68
|
+
end
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
describe 'test attribute "proxy_url"' do
|
|
72
|
+
it 'should work' do
|
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
describe 'test attribute "username"' do
|
|
78
|
+
it 'should work' do
|
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
80
|
+
end
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
describe 'test attribute "password"' do
|
|
84
|
+
it 'should work' do
|
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
86
|
+
end
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
describe 'test attribute "download_concurrency"' do
|
|
90
|
+
it 'should work' do
|
|
91
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
92
|
+
end
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
describe 'test attribute "policy"' do
|
|
96
|
+
it 'should work' do
|
|
97
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
98
|
+
end
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
describe 'test attribute "total_timeout"' do
|
|
102
|
+
it 'should work' do
|
|
103
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
104
|
+
end
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
describe 'test attribute "connect_timeout"' do
|
|
108
|
+
it 'should work' do
|
|
109
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
110
|
+
end
|
|
111
|
+
end
|
|
112
|
+
|
|
113
|
+
describe 'test attribute "sock_connect_timeout"' do
|
|
114
|
+
it 'should work' do
|
|
115
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
116
|
+
end
|
|
117
|
+
end
|
|
118
|
+
|
|
119
|
+
describe 'test attribute "sock_read_timeout"' do
|
|
120
|
+
it 'should work' do
|
|
121
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
122
|
+
end
|
|
123
|
+
end
|
|
124
|
+
|
|
125
|
+
end
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#Pulp 3 API
|
|
3
3
|
|
|
4
|
-
#
|
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
|
-
|
|
7
|
+
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.2.
|
|
9
|
+
OpenAPI Generator version: 4.2.3
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -14,43 +14,37 @@ require 'spec_helper'
|
|
|
14
14
|
require 'json'
|
|
15
15
|
require 'date'
|
|
16
16
|
|
|
17
|
-
# Unit tests for PulpMavenClient::
|
|
17
|
+
# Unit tests for PulpMavenClient::PatchedmavenMavenRepository
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe '
|
|
20
|
+
describe 'PatchedmavenMavenRepository' do
|
|
21
21
|
before do
|
|
22
22
|
# run before each test
|
|
23
|
-
@instance = PulpMavenClient::
|
|
23
|
+
@instance = PulpMavenClient::PatchedmavenMavenRepository.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(PulpMavenClient::
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
describe 'test attribute "count"' do
|
|
36
|
-
it 'should work' do
|
|
37
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
30
|
+
describe 'test an instance of PatchedmavenMavenRepository' do
|
|
31
|
+
it 'should create an instance of PatchedmavenMavenRepository' do
|
|
32
|
+
expect(@instance).to be_instance_of(PulpMavenClient::PatchedmavenMavenRepository)
|
|
38
33
|
end
|
|
39
34
|
end
|
|
40
|
-
|
|
41
|
-
describe 'test attribute "_next"' do
|
|
35
|
+
describe 'test attribute "name"' do
|
|
42
36
|
it 'should work' do
|
|
43
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
38
|
end
|
|
45
39
|
end
|
|
46
40
|
|
|
47
|
-
describe 'test attribute "
|
|
41
|
+
describe 'test attribute "description"' do
|
|
48
42
|
it 'should work' do
|
|
49
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
44
|
end
|
|
51
45
|
end
|
|
52
46
|
|
|
53
|
-
describe 'test attribute "
|
|
47
|
+
describe 'test attribute "remote"' do
|
|
54
48
|
it 'should work' do
|
|
55
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
50
|
end
|
|
@@ -0,0 +1,35 @@
|
|
|
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.2.3
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for PulpMavenClient::PolicyEnum
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'PolicyEnum' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = PulpMavenClient::PolicyEnum.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of PolicyEnum' do
|
|
31
|
+
it 'should create an instance of PolicyEnum' do
|
|
32
|
+
expect(@instance).to be_instance_of(PulpMavenClient::PolicyEnum)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
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.2.3
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for PulpMavenClient::RepositoryVersionResponse
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'RepositoryVersionResponse' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = PulpMavenClient::RepositoryVersionResponse.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of RepositoryVersionResponse' do
|
|
31
|
+
it 'should create an instance of RepositoryVersionResponse' do
|
|
32
|
+
expect(@instance).to be_instance_of(PulpMavenClient::RepositoryVersionResponse)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "pulp_href"' do
|
|
36
|
+
it 'should work' do
|
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
describe 'test attribute "pulp_created"' do
|
|
42
|
+
it 'should work' do
|
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
describe 'test attribute "number"' do
|
|
48
|
+
it 'should work' do
|
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
describe 'test attribute "base_version"' do
|
|
54
|
+
it 'should work' do
|
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
describe 'test attribute "content_summary"' do
|
|
60
|
+
it 'should work' do
|
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
end
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#Pulp 3 API
|
|
3
3
|
|
|
4
|
-
#
|
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
|
-
|
|
7
|
+
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.2.
|
|
9
|
+
OpenAPI Generator version: 4.2.3
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -32,34 +32,10 @@ describe 'RepositoryVersion' do
|
|
|
32
32
|
expect(@instance).to be_instance_of(PulpMavenClient::RepositoryVersion)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "pulp_href"' do
|
|
36
|
-
it 'should work' do
|
|
37
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
|
-
end
|
|
39
|
-
end
|
|
40
|
-
|
|
41
|
-
describe 'test attribute "pulp_created"' do
|
|
42
|
-
it 'should work' do
|
|
43
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
|
-
end
|
|
45
|
-
end
|
|
46
|
-
|
|
47
|
-
describe 'test attribute "number"' do
|
|
48
|
-
it 'should work' do
|
|
49
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
|
-
end
|
|
51
|
-
end
|
|
52
|
-
|
|
53
35
|
describe 'test attribute "base_version"' do
|
|
54
36
|
it 'should work' do
|
|
55
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
38
|
end
|
|
57
39
|
end
|
|
58
40
|
|
|
59
|
-
describe 'test attribute "content_summary"' do
|
|
60
|
-
it 'should work' do
|
|
61
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
62
|
-
end
|
|
63
|
-
end
|
|
64
|
-
|
|
65
41
|
end
|
data/spec/spec_helper.rb
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#Pulp 3 API
|
|
3
3
|
|
|
4
|
-
#
|
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
|
-
|
|
7
|
+
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.2.
|
|
9
|
+
OpenAPI Generator version: 4.2.3
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
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.2.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:
|
|
11
|
+
date: 2021-02-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -64,9 +64,9 @@ dependencies:
|
|
|
64
64
|
- - "~>"
|
|
65
65
|
- !ruby/object:Gem::Version
|
|
66
66
|
version: '3.6'
|
|
67
|
-
description:
|
|
67
|
+
description: Fetch, Upload, Organize, and Distribute Software Packages
|
|
68
68
|
email:
|
|
69
|
-
-
|
|
69
|
+
- pulp-list@redhat.com
|
|
70
70
|
executables: []
|
|
71
71
|
extensions: []
|
|
72
72
|
extra_rdoc_files: []
|
|
@@ -77,20 +77,30 @@ files:
|
|
|
77
77
|
- docs/AsyncOperationResponse.md
|
|
78
78
|
- docs/ContentArtifactApi.md
|
|
79
79
|
- docs/ContentSummary.md
|
|
80
|
+
- docs/ContentSummaryResponse.md
|
|
80
81
|
- docs/DistributionsMavenApi.md
|
|
81
|
-
- docs/InlineResponse200.md
|
|
82
|
-
- docs/InlineResponse2001.md
|
|
83
|
-
- docs/InlineResponse2002.md
|
|
84
|
-
- docs/InlineResponse2003.md
|
|
85
|
-
- docs/InlineResponse2004.md
|
|
86
82
|
- docs/MavenMavenArtifact.md
|
|
83
|
+
- docs/MavenMavenArtifactResponse.md
|
|
87
84
|
- docs/MavenMavenDistribution.md
|
|
85
|
+
- docs/MavenMavenDistributionResponse.md
|
|
88
86
|
- docs/MavenMavenRemote.md
|
|
87
|
+
- docs/MavenMavenRemoteResponse.md
|
|
89
88
|
- docs/MavenMavenRepository.md
|
|
89
|
+
- docs/MavenMavenRepositoryResponse.md
|
|
90
|
+
- docs/PaginatedRepositoryVersionResponseList.md
|
|
91
|
+
- docs/PaginatedmavenMavenArtifactResponseList.md
|
|
92
|
+
- docs/PaginatedmavenMavenDistributionResponseList.md
|
|
93
|
+
- docs/PaginatedmavenMavenRemoteResponseList.md
|
|
94
|
+
- docs/PaginatedmavenMavenRepositoryResponseList.md
|
|
95
|
+
- docs/PatchedmavenMavenDistribution.md
|
|
96
|
+
- docs/PatchedmavenMavenRemote.md
|
|
97
|
+
- docs/PatchedmavenMavenRepository.md
|
|
98
|
+
- docs/PolicyEnum.md
|
|
90
99
|
- docs/RemotesMavenApi.md
|
|
91
100
|
- docs/RepositoriesMavenApi.md
|
|
92
101
|
- docs/RepositoriesMavenVersionsApi.md
|
|
93
102
|
- docs/RepositoryVersion.md
|
|
103
|
+
- docs/RepositoryVersionResponse.md
|
|
94
104
|
- git_push.sh
|
|
95
105
|
- lib/pulp_maven_client.rb
|
|
96
106
|
- lib/pulp_maven_client/api/content_artifact_api.rb
|
|
@@ -103,16 +113,26 @@ files:
|
|
|
103
113
|
- lib/pulp_maven_client/configuration.rb
|
|
104
114
|
- lib/pulp_maven_client/models/async_operation_response.rb
|
|
105
115
|
- lib/pulp_maven_client/models/content_summary.rb
|
|
106
|
-
- lib/pulp_maven_client/models/
|
|
107
|
-
- lib/pulp_maven_client/models/inline_response2001.rb
|
|
108
|
-
- lib/pulp_maven_client/models/inline_response2002.rb
|
|
109
|
-
- lib/pulp_maven_client/models/inline_response2003.rb
|
|
110
|
-
- lib/pulp_maven_client/models/inline_response2004.rb
|
|
116
|
+
- lib/pulp_maven_client/models/content_summary_response.rb
|
|
111
117
|
- lib/pulp_maven_client/models/maven_maven_artifact.rb
|
|
118
|
+
- lib/pulp_maven_client/models/maven_maven_artifact_response.rb
|
|
112
119
|
- lib/pulp_maven_client/models/maven_maven_distribution.rb
|
|
120
|
+
- lib/pulp_maven_client/models/maven_maven_distribution_response.rb
|
|
113
121
|
- lib/pulp_maven_client/models/maven_maven_remote.rb
|
|
122
|
+
- lib/pulp_maven_client/models/maven_maven_remote_response.rb
|
|
114
123
|
- lib/pulp_maven_client/models/maven_maven_repository.rb
|
|
124
|
+
- lib/pulp_maven_client/models/maven_maven_repository_response.rb
|
|
125
|
+
- lib/pulp_maven_client/models/paginated_repository_version_response_list.rb
|
|
126
|
+
- lib/pulp_maven_client/models/paginatedmaven_maven_artifact_response_list.rb
|
|
127
|
+
- lib/pulp_maven_client/models/paginatedmaven_maven_distribution_response_list.rb
|
|
128
|
+
- lib/pulp_maven_client/models/paginatedmaven_maven_remote_response_list.rb
|
|
129
|
+
- lib/pulp_maven_client/models/paginatedmaven_maven_repository_response_list.rb
|
|
130
|
+
- lib/pulp_maven_client/models/patchedmaven_maven_distribution.rb
|
|
131
|
+
- lib/pulp_maven_client/models/patchedmaven_maven_remote.rb
|
|
132
|
+
- lib/pulp_maven_client/models/patchedmaven_maven_repository.rb
|
|
133
|
+
- lib/pulp_maven_client/models/policy_enum.rb
|
|
115
134
|
- lib/pulp_maven_client/models/repository_version.rb
|
|
135
|
+
- lib/pulp_maven_client/models/repository_version_response.rb
|
|
116
136
|
- lib/pulp_maven_client/version.rb
|
|
117
137
|
- pulp_maven_client.gemspec
|
|
118
138
|
- spec/api/content_artifact_api_spec.rb
|
|
@@ -123,16 +143,26 @@ files:
|
|
|
123
143
|
- spec/api_client_spec.rb
|
|
124
144
|
- spec/configuration_spec.rb
|
|
125
145
|
- spec/models/async_operation_response_spec.rb
|
|
146
|
+
- spec/models/content_summary_response_spec.rb
|
|
126
147
|
- spec/models/content_summary_spec.rb
|
|
127
|
-
- spec/models/
|
|
128
|
-
- spec/models/inline_response2002_spec.rb
|
|
129
|
-
- spec/models/inline_response2003_spec.rb
|
|
130
|
-
- spec/models/inline_response2004_spec.rb
|
|
131
|
-
- spec/models/inline_response200_spec.rb
|
|
148
|
+
- spec/models/maven_maven_artifact_response_spec.rb
|
|
132
149
|
- spec/models/maven_maven_artifact_spec.rb
|
|
150
|
+
- spec/models/maven_maven_distribution_response_spec.rb
|
|
133
151
|
- spec/models/maven_maven_distribution_spec.rb
|
|
152
|
+
- spec/models/maven_maven_remote_response_spec.rb
|
|
134
153
|
- spec/models/maven_maven_remote_spec.rb
|
|
154
|
+
- spec/models/maven_maven_repository_response_spec.rb
|
|
135
155
|
- spec/models/maven_maven_repository_spec.rb
|
|
156
|
+
- spec/models/paginated_repository_version_response_list_spec.rb
|
|
157
|
+
- spec/models/paginatedmaven_maven_artifact_response_list_spec.rb
|
|
158
|
+
- spec/models/paginatedmaven_maven_distribution_response_list_spec.rb
|
|
159
|
+
- spec/models/paginatedmaven_maven_remote_response_list_spec.rb
|
|
160
|
+
- spec/models/paginatedmaven_maven_repository_response_list_spec.rb
|
|
161
|
+
- spec/models/patchedmaven_maven_distribution_spec.rb
|
|
162
|
+
- spec/models/patchedmaven_maven_remote_spec.rb
|
|
163
|
+
- spec/models/patchedmaven_maven_repository_spec.rb
|
|
164
|
+
- spec/models/policy_enum_spec.rb
|
|
165
|
+
- spec/models/repository_version_response_spec.rb
|
|
136
166
|
- spec/models/repository_version_spec.rb
|
|
137
167
|
- spec/spec_helper.rb
|
|
138
168
|
homepage: https://openapi-generator.tech
|
|
@@ -154,28 +184,38 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
154
184
|
- !ruby/object:Gem::Version
|
|
155
185
|
version: '0'
|
|
156
186
|
requirements: []
|
|
157
|
-
rubygems_version: 3.0.
|
|
187
|
+
rubygems_version: 3.0.3
|
|
158
188
|
signing_key:
|
|
159
189
|
specification_version: 4
|
|
160
190
|
summary: Pulp 3 API Ruby Gem
|
|
161
191
|
test_files:
|
|
162
|
-
- spec/api/distributions_maven_api_spec.rb
|
|
163
192
|
- spec/api/repositories_maven_api_spec.rb
|
|
164
|
-
- spec/api/remotes_maven_api_spec.rb
|
|
165
193
|
- spec/api/content_artifact_api_spec.rb
|
|
194
|
+
- spec/api/remotes_maven_api_spec.rb
|
|
166
195
|
- spec/api/repositories_maven_versions_api_spec.rb
|
|
196
|
+
- spec/api/distributions_maven_api_spec.rb
|
|
167
197
|
- spec/api_client_spec.rb
|
|
168
198
|
- spec/configuration_spec.rb
|
|
169
|
-
- spec/models/
|
|
170
|
-
- spec/models/
|
|
171
|
-
- spec/models/
|
|
172
|
-
- spec/models/
|
|
199
|
+
- spec/models/patchedmaven_maven_remote_spec.rb
|
|
200
|
+
- spec/models/policy_enum_spec.rb
|
|
201
|
+
- spec/models/patchedmaven_maven_repository_spec.rb
|
|
202
|
+
- spec/models/paginatedmaven_maven_remote_response_list_spec.rb
|
|
203
|
+
- spec/models/maven_maven_distribution_response_spec.rb
|
|
204
|
+
- spec/models/paginatedmaven_maven_repository_response_list_spec.rb
|
|
173
205
|
- spec/models/maven_maven_remote_spec.rb
|
|
206
|
+
- spec/models/repository_version_response_spec.rb
|
|
174
207
|
- spec/models/maven_maven_distribution_spec.rb
|
|
175
|
-
- spec/models/
|
|
176
|
-
- spec/models/
|
|
177
|
-
- spec/models/
|
|
208
|
+
- spec/models/paginatedmaven_maven_distribution_response_list_spec.rb
|
|
209
|
+
- spec/models/maven_maven_artifact_spec.rb
|
|
210
|
+
- spec/models/maven_maven_repository_response_spec.rb
|
|
211
|
+
- spec/models/async_operation_response_spec.rb
|
|
212
|
+
- spec/models/content_summary_response_spec.rb
|
|
178
213
|
- spec/models/maven_maven_repository_spec.rb
|
|
214
|
+
- spec/models/maven_maven_artifact_response_spec.rb
|
|
215
|
+
- spec/models/maven_maven_remote_response_spec.rb
|
|
216
|
+
- spec/models/paginated_repository_version_response_list_spec.rb
|
|
179
217
|
- spec/models/content_summary_spec.rb
|
|
180
|
-
- spec/models/
|
|
218
|
+
- spec/models/patchedmaven_maven_distribution_spec.rb
|
|
219
|
+
- spec/models/repository_version_spec.rb
|
|
220
|
+
- spec/models/paginatedmaven_maven_artifact_response_list_spec.rb
|
|
181
221
|
- spec/spec_helper.rb
|
data/docs/InlineResponse200.md
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
# PulpMavenClient::InlineResponse200
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
Name | Type | Description | Notes
|
|
6
|
-
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**count** | **Integer** | |
|
|
8
|
-
**_next** | **String** | | [optional]
|
|
9
|
-
**previous** | **String** | | [optional]
|
|
10
|
-
**results** | [**Array<MavenMavenArtifact>**](MavenMavenArtifact.md) | |
|
|
11
|
-
|
|
12
|
-
## Code Sample
|
|
13
|
-
|
|
14
|
-
```ruby
|
|
15
|
-
require 'PulpMavenClient'
|
|
16
|
-
|
|
17
|
-
instance = PulpMavenClient::InlineResponse200.new(count: null,
|
|
18
|
-
_next: null,
|
|
19
|
-
previous: null,
|
|
20
|
-
results: null)
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
|