pulp_2to3_migration_client 0.2.0b2.dev01587232611 → 0.2.0b3
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 +8 -7
- data/docs/InlineResponse200.md +1 -1
- data/docs/InlineResponse2001.md +1 -1
- data/docs/InlineResponse2002.md +1 -1
- data/docs/MigrationPlansApi.md +5 -5
- data/docs/Pulp2contentApi.md +3 -3
- data/docs/Pulp2repositoriesApi.md +3 -3
- data/docs/Pulp2to3MigrationMigrationPlanRead.md +21 -0
- data/docs/{Pulp2to3MigrationPulp2Content.md → Pulp2to3MigrationPulp2ContentRead.md} +5 -3
- data/docs/{Pulp2to3MigrationPulp2Repository.md → Pulp2to3MigrationPulp2RepositoryRead.md} +2 -2
- data/lib/pulp_2to3_migration_client.rb +3 -2
- data/lib/pulp_2to3_migration_client/api/migration_plans_api.rb +6 -6
- data/lib/pulp_2to3_migration_client/api/pulp2content_api.rb +3 -3
- data/lib/pulp_2to3_migration_client/api/pulp2repositories_api.rb +3 -3
- data/lib/pulp_2to3_migration_client/configuration.rb +2 -2
- data/lib/pulp_2to3_migration_client/models/inline_response200.rb +1 -1
- data/lib/pulp_2to3_migration_client/models/inline_response2001.rb +1 -1
- data/lib/pulp_2to3_migration_client/models/inline_response2002.rb +1 -1
- data/lib/pulp_2to3_migration_client/models/pulp2to3_migration_migration_plan_read.rb +231 -0
- data/lib/pulp_2to3_migration_client/models/{pulp2to3_migration_pulp2_content.rb → pulp2to3_migration_pulp2_content_read.rb} +33 -8
- data/lib/pulp_2to3_migration_client/models/{pulp2to3_migration_pulp2_repository.rb → pulp2to3_migration_pulp2_repository_read.rb} +3 -3
- data/lib/pulp_2to3_migration_client/version.rb +1 -1
- data/pulpcore/__init__.py +2 -0
- data/pulpcore/client/__init__.py +2 -0
- data/pulpcore/client/pulp_2to3_migration/__init__.py +42 -0
- data/pulpcore/client/pulp_2to3_migration/api/__init__.py +8 -0
- data/pulpcore/client/pulp_2to3_migration/api/migration_plans_api.py +609 -0
- data/pulpcore/client/pulp_2to3_migration/api/pulp2content_api.py +317 -0
- data/pulpcore/client/pulp_2to3_migration/api/pulp2repositories_api.py +289 -0
- data/pulpcore/client/pulp_2to3_migration/api_client.py +647 -0
- data/pulpcore/client/pulp_2to3_migration/configuration.py +387 -0
- data/pulpcore/client/pulp_2to3_migration/exceptions.py +120 -0
- data/pulpcore/client/pulp_2to3_migration/models/__init__.py +25 -0
- data/pulpcore/client/pulp_2to3_migration/models/async_operation_response.py +123 -0
- data/pulpcore/client/pulp_2to3_migration/models/inline_response200.py +198 -0
- data/pulpcore/client/pulp_2to3_migration/models/inline_response2001.py +198 -0
- data/pulpcore/client/pulp_2to3_migration/models/inline_response2002.py +198 -0
- data/pulpcore/client/pulp_2to3_migration/models/migration_plan_run.py +150 -0
- data/pulpcore/client/pulp_2to3_migration/models/pulp2to3_migration_migration_plan.py +177 -0
- data/pulpcore/client/pulp_2to3_migration/models/pulp2to3_migration_migration_plan_read.py +177 -0
- data/pulpcore/client/pulp_2to3_migration/models/pulp2to3_migration_pulp2_content_read.py +353 -0
- data/pulpcore/client/pulp_2to3_migration/models/pulp2to3_migration_pulp2_repository_read.py +441 -0
- data/pulpcore/client/pulp_2to3_migration/rest.py +296 -0
- data/requirements.txt +6 -0
- data/setup.cfg +2 -0
- data/setup.py +41 -0
- data/spec/api/migration_plans_api_spec.rb +2 -2
- data/spec/api/pulp2content_api_spec.rb +1 -1
- data/spec/api/pulp2repositories_api_spec.rb +1 -1
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/pulp2to3_migration_migration_plan_read_spec.rb +53 -0
- data/spec/models/{pulp2to3_migration_pulp2_content_spec.rb → pulp2to3_migration_pulp2_content_read_spec.rb} +12 -6
- data/spec/models/{pulp2to3_migration_pulp2_repository_spec.rb → pulp2to3_migration_pulp2_repository_read_spec.rb} +6 -6
- data/test-requirements.txt +3 -0
- data/test/__init__.py +0 -0
- data/test/test_async_operation_response.py +53 -0
- data/test/test_inline_response200.py +67 -0
- data/test/test_inline_response2001.py +79 -0
- data/test/test_inline_response2002.py +89 -0
- data/test/test_migration_plan_run.py +53 -0
- data/test/test_migration_plans_api.py +68 -0
- data/test/test_pulp2content_api.py +47 -0
- data/test/test_pulp2repositories_api.py +47 -0
- data/test/test_pulp2to3_migration_migration_plan.py +55 -0
- data/test/test_pulp2to3_migration_migration_plan_read.py +55 -0
- data/test/test_pulp2to3_migration_pulp2_content_read.py +64 -0
- data/test/test_pulp2to3_migration_pulp2_repository_read.py +68 -0
- data/tox.ini +9 -0
- metadata +53 -10
@@ -0,0 +1,68 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
"""
|
4
|
+
Pulp 3 API
|
5
|
+
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
|
7
|
+
|
8
|
+
The version of the OpenAPI document: v3
|
9
|
+
Generated by: https://openapi-generator.tech
|
10
|
+
"""
|
11
|
+
|
12
|
+
|
13
|
+
from __future__ import absolute_import
|
14
|
+
|
15
|
+
import unittest
|
16
|
+
import datetime
|
17
|
+
|
18
|
+
import pulpcore.client.pulp_2to3_migration
|
19
|
+
from pulpcore.client.pulp_2to3_migration.models.pulp2to3_migration_pulp2_repository_read import Pulp2to3MigrationPulp2RepositoryRead # noqa: E501
|
20
|
+
from pulpcore.client.pulp_2to3_migration.rest import ApiException
|
21
|
+
|
22
|
+
class TestPulp2to3MigrationPulp2RepositoryRead(unittest.TestCase):
|
23
|
+
"""Pulp2to3MigrationPulp2RepositoryRead unit test stubs"""
|
24
|
+
|
25
|
+
def setUp(self):
|
26
|
+
pass
|
27
|
+
|
28
|
+
def tearDown(self):
|
29
|
+
pass
|
30
|
+
|
31
|
+
def make_instance(self, include_optional):
|
32
|
+
"""Test Pulp2to3MigrationPulp2RepositoryRead
|
33
|
+
include_option is a boolean, when False only required
|
34
|
+
params are included, when True both required and
|
35
|
+
optional params are included """
|
36
|
+
# model = pulpcore.client.pulp_2to3_migration.models.pulp2to3_migration_pulp2_repository_read.Pulp2to3MigrationPulp2RepositoryRead() # noqa: E501
|
37
|
+
if include_optional :
|
38
|
+
return Pulp2to3MigrationPulp2RepositoryRead(
|
39
|
+
pulp_href = '0',
|
40
|
+
pulp_created = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
|
41
|
+
pulp2_object_id = '0',
|
42
|
+
pulp2_repo_id = '0',
|
43
|
+
pulp2_repo_type = '0',
|
44
|
+
is_migrated = True,
|
45
|
+
not_in_plan = True,
|
46
|
+
pulp3_repository_version = '0',
|
47
|
+
pulp3_remote_href = '0',
|
48
|
+
pulp3_publication_href = '0',
|
49
|
+
pulp3_distribution_hrefs = [
|
50
|
+
'0'
|
51
|
+
],
|
52
|
+
pulp3_repository_href = '0'
|
53
|
+
)
|
54
|
+
else :
|
55
|
+
return Pulp2to3MigrationPulp2RepositoryRead(
|
56
|
+
pulp2_object_id = '0',
|
57
|
+
pulp2_repo_id = '0',
|
58
|
+
pulp2_repo_type = '0',
|
59
|
+
)
|
60
|
+
|
61
|
+
def testPulp2to3MigrationPulp2RepositoryRead(self):
|
62
|
+
"""Test Pulp2to3MigrationPulp2RepositoryRead"""
|
63
|
+
inst_req_only = self.make_instance(include_optional=False)
|
64
|
+
inst_req_and_optional = self.make_instance(include_optional=True)
|
65
|
+
|
66
|
+
|
67
|
+
if __name__ == '__main__':
|
68
|
+
unittest.main()
|
data/tox.ini
ADDED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulp_2to3_migration_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.0b3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-06-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -83,8 +83,9 @@ files:
|
|
83
83
|
- docs/Pulp2contentApi.md
|
84
84
|
- docs/Pulp2repositoriesApi.md
|
85
85
|
- docs/Pulp2to3MigrationMigrationPlan.md
|
86
|
-
- docs/
|
87
|
-
- docs/
|
86
|
+
- docs/Pulp2to3MigrationMigrationPlanRead.md
|
87
|
+
- docs/Pulp2to3MigrationPulp2ContentRead.md
|
88
|
+
- docs/Pulp2to3MigrationPulp2RepositoryRead.md
|
88
89
|
- git_push.sh
|
89
90
|
- lib/pulp_2to3_migration_client.rb
|
90
91
|
- lib/pulp_2to3_migration_client/api/migration_plans_api.rb
|
@@ -99,10 +100,35 @@ files:
|
|
99
100
|
- lib/pulp_2to3_migration_client/models/inline_response2002.rb
|
100
101
|
- lib/pulp_2to3_migration_client/models/migration_plan_run.rb
|
101
102
|
- lib/pulp_2to3_migration_client/models/pulp2to3_migration_migration_plan.rb
|
102
|
-
- lib/pulp_2to3_migration_client/models/
|
103
|
-
- lib/pulp_2to3_migration_client/models/
|
103
|
+
- lib/pulp_2to3_migration_client/models/pulp2to3_migration_migration_plan_read.rb
|
104
|
+
- lib/pulp_2to3_migration_client/models/pulp2to3_migration_pulp2_content_read.rb
|
105
|
+
- lib/pulp_2to3_migration_client/models/pulp2to3_migration_pulp2_repository_read.rb
|
104
106
|
- lib/pulp_2to3_migration_client/version.rb
|
105
107
|
- pulp_2to3_migration_client.gemspec
|
108
|
+
- pulpcore/__init__.py
|
109
|
+
- pulpcore/client/__init__.py
|
110
|
+
- pulpcore/client/pulp_2to3_migration/__init__.py
|
111
|
+
- pulpcore/client/pulp_2to3_migration/api/__init__.py
|
112
|
+
- pulpcore/client/pulp_2to3_migration/api/migration_plans_api.py
|
113
|
+
- pulpcore/client/pulp_2to3_migration/api/pulp2content_api.py
|
114
|
+
- pulpcore/client/pulp_2to3_migration/api/pulp2repositories_api.py
|
115
|
+
- pulpcore/client/pulp_2to3_migration/api_client.py
|
116
|
+
- pulpcore/client/pulp_2to3_migration/configuration.py
|
117
|
+
- pulpcore/client/pulp_2to3_migration/exceptions.py
|
118
|
+
- pulpcore/client/pulp_2to3_migration/models/__init__.py
|
119
|
+
- pulpcore/client/pulp_2to3_migration/models/async_operation_response.py
|
120
|
+
- pulpcore/client/pulp_2to3_migration/models/inline_response200.py
|
121
|
+
- pulpcore/client/pulp_2to3_migration/models/inline_response2001.py
|
122
|
+
- pulpcore/client/pulp_2to3_migration/models/inline_response2002.py
|
123
|
+
- pulpcore/client/pulp_2to3_migration/models/migration_plan_run.py
|
124
|
+
- pulpcore/client/pulp_2to3_migration/models/pulp2to3_migration_migration_plan.py
|
125
|
+
- pulpcore/client/pulp_2to3_migration/models/pulp2to3_migration_migration_plan_read.py
|
126
|
+
- pulpcore/client/pulp_2to3_migration/models/pulp2to3_migration_pulp2_content_read.py
|
127
|
+
- pulpcore/client/pulp_2to3_migration/models/pulp2to3_migration_pulp2_repository_read.py
|
128
|
+
- pulpcore/client/pulp_2to3_migration/rest.py
|
129
|
+
- requirements.txt
|
130
|
+
- setup.cfg
|
131
|
+
- setup.py
|
106
132
|
- spec/api/migration_plans_api_spec.rb
|
107
133
|
- spec/api/pulp2content_api_spec.rb
|
108
134
|
- spec/api/pulp2repositories_api_spec.rb
|
@@ -113,10 +139,26 @@ files:
|
|
113
139
|
- spec/models/inline_response2002_spec.rb
|
114
140
|
- spec/models/inline_response200_spec.rb
|
115
141
|
- spec/models/migration_plan_run_spec.rb
|
142
|
+
- spec/models/pulp2to3_migration_migration_plan_read_spec.rb
|
116
143
|
- spec/models/pulp2to3_migration_migration_plan_spec.rb
|
117
|
-
- spec/models/
|
118
|
-
- spec/models/
|
144
|
+
- spec/models/pulp2to3_migration_pulp2_content_read_spec.rb
|
145
|
+
- spec/models/pulp2to3_migration_pulp2_repository_read_spec.rb
|
119
146
|
- spec/spec_helper.rb
|
147
|
+
- test-requirements.txt
|
148
|
+
- test/__init__.py
|
149
|
+
- test/test_async_operation_response.py
|
150
|
+
- test/test_inline_response200.py
|
151
|
+
- test/test_inline_response2001.py
|
152
|
+
- test/test_inline_response2002.py
|
153
|
+
- test/test_migration_plan_run.py
|
154
|
+
- test/test_migration_plans_api.py
|
155
|
+
- test/test_pulp2content_api.py
|
156
|
+
- test/test_pulp2repositories_api.py
|
157
|
+
- test/test_pulp2to3_migration_migration_plan.py
|
158
|
+
- test/test_pulp2to3_migration_migration_plan_read.py
|
159
|
+
- test/test_pulp2to3_migration_pulp2_content_read.py
|
160
|
+
- test/test_pulp2to3_migration_pulp2_repository_read.py
|
161
|
+
- tox.ini
|
120
162
|
homepage: https://openapi-generator.tech
|
121
163
|
licenses:
|
122
164
|
- GPL-2.0+
|
@@ -146,12 +188,13 @@ test_files:
|
|
146
188
|
- spec/api/pulp2content_api_spec.rb
|
147
189
|
- spec/api_client_spec.rb
|
148
190
|
- spec/configuration_spec.rb
|
191
|
+
- spec/models/pulp2to3_migration_pulp2_content_read_spec.rb
|
149
192
|
- spec/models/async_operation_response_spec.rb
|
193
|
+
- spec/models/pulp2to3_migration_pulp2_repository_read_spec.rb
|
150
194
|
- spec/models/inline_response2001_spec.rb
|
151
|
-
- spec/models/pulp2to3_migration_pulp2_repository_spec.rb
|
152
195
|
- spec/models/migration_plan_run_spec.rb
|
153
196
|
- spec/models/inline_response200_spec.rb
|
197
|
+
- spec/models/pulp2to3_migration_migration_plan_read_spec.rb
|
154
198
|
- spec/models/inline_response2002_spec.rb
|
155
199
|
- spec/models/pulp2to3_migration_migration_plan_spec.rb
|
156
|
-
- spec/models/pulp2to3_migration_pulp2_content_spec.rb
|
157
200
|
- spec/spec_helper.rb
|