pulp_maven_client 0.3.0 → 0.3.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/Gemfile +1 -1
- data/README.md +4 -4
- data/build/lib/pulpcore/client/pulp_maven/__init__.py +1 -1
- data/build/lib/pulpcore/client/pulp_maven/api_client.py +1 -1
- data/build/lib/pulpcore/client/pulp_maven/configuration.py +1 -1
- data/build/lib/pulpcore/client/pulp_maven/models/maven_maven_repository.py +31 -1
- data/build/lib/pulpcore/client/pulp_maven/models/maven_maven_repository_response.py +31 -1
- data/build/lib/pulpcore/client/pulp_maven/models/patchedmaven_maven_repository.py +31 -1
- data/build/lib/pulpcore/client/pulp_maven/models/repository_version_response.py +27 -1
- data/dist/pulp_maven-client-0.3.1.tar.gz +0 -0
- data/dist/{pulp_maven_client-0.3.0-py3-none-any.whl → pulp_maven_client-0.3.1-py3-none-any.whl} +0 -0
- data/docs/MavenMavenRepository.md +2 -0
- data/docs/MavenMavenRepositoryResponse.md +2 -0
- data/docs/PatchedmavenMavenRepository.md +2 -0
- data/docs/RepositoryVersionResponse.md +2 -0
- data/lib/pulp_maven_client.rb +1 -1
- data/lib/pulp_maven_client/api/content_artifact_api.rb +1 -1
- data/lib/pulp_maven_client/api/distributions_maven_api.rb +1 -1
- data/lib/pulp_maven_client/api/remotes_maven_api.rb +1 -1
- data/lib/pulp_maven_client/api/repositories_maven_api.rb +1 -1
- data/lib/pulp_maven_client/api/repositories_maven_versions_api.rb +1 -1
- data/lib/pulp_maven_client/api_client.rb +12 -8
- data/lib/pulp_maven_client/api_error.rb +1 -1
- data/lib/pulp_maven_client/configuration.rb +8 -1
- data/lib/pulp_maven_client/models/async_operation_response.rb +1 -1
- data/lib/pulp_maven_client/models/content_summary.rb +1 -1
- data/lib/pulp_maven_client/models/content_summary_response.rb +1 -1
- data/lib/pulp_maven_client/models/maven_maven_artifact.rb +1 -1
- data/lib/pulp_maven_client/models/maven_maven_artifact_response.rb +1 -1
- data/lib/pulp_maven_client/models/maven_maven_distribution.rb +1 -1
- data/lib/pulp_maven_client/models/maven_maven_distribution_response.rb +1 -1
- data/lib/pulp_maven_client/models/maven_maven_remote.rb +1 -1
- data/lib/pulp_maven_client/models/maven_maven_remote_response.rb +1 -1
- data/lib/pulp_maven_client/models/maven_maven_repository.rb +28 -2
- data/lib/pulp_maven_client/models/maven_maven_repository_response.rb +28 -2
- data/lib/pulp_maven_client/models/paginated_repository_version_response_list.rb +1 -1
- data/lib/pulp_maven_client/models/paginatedmaven_maven_artifact_response_list.rb +1 -1
- data/lib/pulp_maven_client/models/paginatedmaven_maven_distribution_response_list.rb +1 -1
- data/lib/pulp_maven_client/models/paginatedmaven_maven_remote_response_list.rb +1 -1
- data/lib/pulp_maven_client/models/paginatedmaven_maven_repository_response_list.rb +1 -1
- data/lib/pulp_maven_client/models/patchedmaven_maven_distribution.rb +1 -1
- data/lib/pulp_maven_client/models/patchedmaven_maven_remote.rb +1 -1
- data/lib/pulp_maven_client/models/patchedmaven_maven_repository.rb +28 -2
- data/lib/pulp_maven_client/models/policy_enum.rb +1 -1
- data/lib/pulp_maven_client/models/repository_version.rb +1 -1
- data/lib/pulp_maven_client/models/repository_version_response.rb +11 -2
- data/lib/pulp_maven_client/version.rb +2 -2
- data/pulp_maven_client.egg-info/PKG-INFO +1 -1
- data/pulp_maven_client.gemspec +1 -1
- data/pulpcore/client/pulp_maven/__init__.py +1 -1
- data/pulpcore/client/pulp_maven/api_client.py +1 -1
- data/pulpcore/client/pulp_maven/configuration.py +1 -1
- data/pulpcore/client/pulp_maven/models/maven_maven_repository.py +31 -1
- data/pulpcore/client/pulp_maven/models/maven_maven_repository_response.py +31 -1
- data/pulpcore/client/pulp_maven/models/patchedmaven_maven_repository.py +31 -1
- data/pulpcore/client/pulp_maven/models/repository_version_response.py +27 -1
- data/setup.py +1 -1
- data/spec/api/content_artifact_api_spec.rb +1 -1
- data/spec/api/distributions_maven_api_spec.rb +1 -1
- data/spec/api/remotes_maven_api_spec.rb +1 -1
- data/spec/api/repositories_maven_api_spec.rb +1 -1
- data/spec/api/repositories_maven_versions_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/content_summary_response_spec.rb +1 -1
- data/spec/models/content_summary_spec.rb +1 -1
- data/spec/models/maven_maven_artifact_response_spec.rb +1 -1
- data/spec/models/maven_maven_artifact_spec.rb +1 -1
- data/spec/models/maven_maven_distribution_response_spec.rb +1 -1
- data/spec/models/maven_maven_distribution_spec.rb +1 -1
- data/spec/models/maven_maven_remote_response_spec.rb +1 -1
- data/spec/models/maven_maven_remote_spec.rb +1 -1
- data/spec/models/maven_maven_repository_response_spec.rb +7 -1
- data/spec/models/maven_maven_repository_spec.rb +7 -1
- data/spec/models/paginated_repository_version_response_list_spec.rb +1 -1
- data/spec/models/paginatedmaven_maven_artifact_response_list_spec.rb +1 -1
- data/spec/models/paginatedmaven_maven_distribution_response_list_spec.rb +1 -1
- data/spec/models/paginatedmaven_maven_remote_response_list_spec.rb +1 -1
- data/spec/models/paginatedmaven_maven_repository_response_list_spec.rb +1 -1
- data/spec/models/patchedmaven_maven_distribution_spec.rb +1 -1
- data/spec/models/patchedmaven_maven_remote_spec.rb +1 -1
- data/spec/models/patchedmaven_maven_repository_spec.rb +7 -1
- data/spec/models/policy_enum_spec.rb +1 -1
- data/spec/models/repository_version_response_spec.rb +7 -1
- data/spec/models/repository_version_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- data/test/test_maven_maven_repository.py +1 -0
- data/test/test_maven_maven_repository_response.py +1 -0
- data/test/test_paginated_repository_version_response_list.py +1 -0
- data/test/test_paginatedmaven_maven_repository_response_list.py +1 -0
- data/test/test_patchedmaven_maven_repository.py +1 -0
- data/test/test_repository_version_response.py +1 -0
- metadata +22 -22
- data/dist/pulp_maven-client-0.3.0.tar.gz +0 -0
|
@@ -37,6 +37,7 @@ class RepositoryVersionResponse(object):
|
|
|
37
37
|
'pulp_href': 'str',
|
|
38
38
|
'pulp_created': 'datetime',
|
|
39
39
|
'number': 'int',
|
|
40
|
+
'repository': 'str',
|
|
40
41
|
'base_version': 'str',
|
|
41
42
|
'content_summary': 'ContentSummaryResponse'
|
|
42
43
|
}
|
|
@@ -45,11 +46,12 @@ class RepositoryVersionResponse(object):
|
|
|
45
46
|
'pulp_href': 'pulp_href',
|
|
46
47
|
'pulp_created': 'pulp_created',
|
|
47
48
|
'number': 'number',
|
|
49
|
+
'repository': 'repository',
|
|
48
50
|
'base_version': 'base_version',
|
|
49
51
|
'content_summary': 'content_summary'
|
|
50
52
|
}
|
|
51
53
|
|
|
52
|
-
def __init__(self, pulp_href=None, pulp_created=None, number=None, base_version=None, content_summary=None, local_vars_configuration=None): # noqa: E501
|
|
54
|
+
def __init__(self, pulp_href=None, pulp_created=None, number=None, repository=None, base_version=None, content_summary=None, local_vars_configuration=None): # noqa: E501
|
|
53
55
|
"""RepositoryVersionResponse - a model defined in OpenAPI""" # noqa: E501
|
|
54
56
|
if local_vars_configuration is None:
|
|
55
57
|
local_vars_configuration = Configuration()
|
|
@@ -58,6 +60,7 @@ class RepositoryVersionResponse(object):
|
|
|
58
60
|
self._pulp_href = None
|
|
59
61
|
self._pulp_created = None
|
|
60
62
|
self._number = None
|
|
63
|
+
self._repository = None
|
|
61
64
|
self._base_version = None
|
|
62
65
|
self._content_summary = None
|
|
63
66
|
self.discriminator = None
|
|
@@ -68,6 +71,8 @@ class RepositoryVersionResponse(object):
|
|
|
68
71
|
self.pulp_created = pulp_created
|
|
69
72
|
if number is not None:
|
|
70
73
|
self.number = number
|
|
74
|
+
if repository is not None:
|
|
75
|
+
self.repository = repository
|
|
71
76
|
if base_version is not None:
|
|
72
77
|
self.base_version = base_version
|
|
73
78
|
if content_summary is not None:
|
|
@@ -138,6 +143,27 @@ class RepositoryVersionResponse(object):
|
|
|
138
143
|
|
|
139
144
|
self._number = number
|
|
140
145
|
|
|
146
|
+
@property
|
|
147
|
+
def repository(self):
|
|
148
|
+
"""Gets the repository of this RepositoryVersionResponse. # noqa: E501
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
:return: The repository of this RepositoryVersionResponse. # noqa: E501
|
|
152
|
+
:rtype: str
|
|
153
|
+
"""
|
|
154
|
+
return self._repository
|
|
155
|
+
|
|
156
|
+
@repository.setter
|
|
157
|
+
def repository(self, repository):
|
|
158
|
+
"""Sets the repository of this RepositoryVersionResponse.
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
:param repository: The repository of this RepositoryVersionResponse. # noqa: E501
|
|
162
|
+
:type: str
|
|
163
|
+
"""
|
|
164
|
+
|
|
165
|
+
self._repository = repository
|
|
166
|
+
|
|
141
167
|
@property
|
|
142
168
|
def base_version(self):
|
|
143
169
|
"""Gets the base_version of this RepositoryVersionResponse. # noqa: E501
|
data/setup.py
CHANGED
data/spec/api_client_spec.rb
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
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.
|
|
9
|
+
OpenAPI Generator version: 4.3.1
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -118,7 +118,7 @@ describe PulpMavenClient::ApiClient do
|
|
|
118
118
|
end
|
|
119
119
|
|
|
120
120
|
it 'fails for invalid collection format' do
|
|
121
|
-
expect{api_client.build_collection_param(param, :INVALID)}.to raise_error(RuntimeError, 'unknown collection format: :INVALID')
|
|
121
|
+
expect { api_client.build_collection_param(param, :INVALID) }.to raise_error(RuntimeError, 'unknown collection format: :INVALID')
|
|
122
122
|
end
|
|
123
123
|
end
|
|
124
124
|
|
data/spec/configuration_spec.rb
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
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.
|
|
9
|
+
OpenAPI Generator version: 4.3.1
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -74,6 +74,12 @@ describe 'MavenMavenRepositoryResponse' do
|
|
|
74
74
|
end
|
|
75
75
|
end
|
|
76
76
|
|
|
77
|
+
describe 'test attribute "retained_versions"' 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
|
+
|
|
77
83
|
describe 'test attribute "remote"' do
|
|
78
84
|
it 'should work' do
|
|
79
85
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -6,7 +6,7 @@
|
|
|
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.
|
|
9
|
+
OpenAPI Generator version: 4.3.1
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -50,6 +50,12 @@ describe 'MavenMavenRepository' do
|
|
|
50
50
|
end
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
+
describe 'test attribute "retained_versions"' 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
|
+
|
|
53
59
|
describe 'test attribute "remote"' do
|
|
54
60
|
it 'should work' do
|
|
55
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -6,7 +6,7 @@
|
|
|
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.
|
|
9
|
+
OpenAPI Generator version: 4.3.1
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -50,6 +50,12 @@ describe 'PatchedmavenMavenRepository' do
|
|
|
50
50
|
end
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
+
describe 'test attribute "retained_versions"' 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
|
+
|
|
53
59
|
describe 'test attribute "remote"' do
|
|
54
60
|
it 'should work' do
|
|
55
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -6,7 +6,7 @@
|
|
|
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.
|
|
9
|
+
OpenAPI Generator version: 4.3.1
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -50,6 +50,12 @@ describe 'RepositoryVersionResponse' do
|
|
|
50
50
|
end
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
+
describe 'test attribute "repository"' 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
|
+
|
|
53
59
|
describe 'test attribute "base_version"' do
|
|
54
60
|
it 'should work' do
|
|
55
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
data/spec/spec_helper.rb
CHANGED