pulp_2to3_migration_client 0.12.0 → 0.12.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/lib/pulp_2to3_migration_client/api_client.rb +4 -2
- data/lib/pulp_2to3_migration_client/configuration.rb +7 -0
- data/lib/pulp_2to3_migration_client/version.rb +1 -1
- metadata +8 -75
- data/build/lib/pulpcore/__init__.py +0 -2
- data/build/lib/pulpcore/client/__init__.py +0 -2
- data/build/lib/pulpcore/client/pulp_2to3_migration/__init__.py +0 -43
- data/build/lib/pulpcore/client/pulp_2to3_migration/api/__init__.py +0 -8
- data/build/lib/pulpcore/client/pulp_2to3_migration/api/migration_plans_api.py +0 -761
- data/build/lib/pulpcore/client/pulp_2to3_migration/api/pulp2_content_api.py +0 -350
- data/build/lib/pulpcore/client/pulp_2to3_migration/api/pulp2_repositories_api.py +0 -313
- data/build/lib/pulpcore/client/pulp_2to3_migration/api_client.py +0 -667
- data/build/lib/pulpcore/client/pulp_2to3_migration/configuration.py +0 -427
- data/build/lib/pulpcore/client/pulp_2to3_migration/exceptions.py +0 -121
- data/build/lib/pulpcore/client/pulp_2to3_migration/models/__init__.py +0 -26
- data/build/lib/pulpcore/client/pulp_2to3_migration/models/async_operation_response.py +0 -124
- data/build/lib/pulpcore/client/pulp_2to3_migration/models/migration_plan_run.py +0 -179
- data/build/lib/pulpcore/client/pulp_2to3_migration/models/paginatedpulp2to3_migration_migration_plan_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_2to3_migration/models/paginatedpulp2to3_migration_pulp2_content_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_2to3_migration/models/paginatedpulp2to3_migration_pulp2_repository_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_2to3_migration/models/pulp2to3_migration_migration_plan.py +0 -124
- data/build/lib/pulpcore/client/pulp_2to3_migration/models/pulp2to3_migration_migration_plan_response.py +0 -178
- data/build/lib/pulpcore/client/pulp_2to3_migration/models/pulp2to3_migration_pulp2_content_response.py +0 -338
- data/build/lib/pulpcore/client/pulp_2to3_migration/models/pulp2to3_migration_pulp2_repository_response.py +0 -416
- data/build/lib/pulpcore/client/pulp_2to3_migration/rest.py +0 -292
- data/dist/pulp_2to3_migration-client-0.12.0.tar.gz +0 -0
- data/dist/pulp_2to3_migration_client-0.12.0-py3-none-any.whl +0 -0
- data/pulp_2to3_migration_client.egg-info/PKG-INFO +0 -15
- data/pulp_2to3_migration_client.egg-info/SOURCES.txt +0 -41
- data/pulp_2to3_migration_client.egg-info/dependency_links.txt +0 -1
- data/pulp_2to3_migration_client.egg-info/requires.txt +0 -4
- data/pulp_2to3_migration_client.egg-info/top_level.txt +0 -1
- data/pulpcore/__init__.py +0 -2
- data/pulpcore/client/__init__.py +0 -2
- data/pulpcore/client/pulp_2to3_migration/__init__.py +0 -43
- data/pulpcore/client/pulp_2to3_migration/api/__init__.py +0 -8
- data/pulpcore/client/pulp_2to3_migration/api/migration_plans_api.py +0 -761
- data/pulpcore/client/pulp_2to3_migration/api/pulp2_content_api.py +0 -350
- data/pulpcore/client/pulp_2to3_migration/api/pulp2_repositories_api.py +0 -313
- data/pulpcore/client/pulp_2to3_migration/api_client.py +0 -667
- data/pulpcore/client/pulp_2to3_migration/configuration.py +0 -427
- data/pulpcore/client/pulp_2to3_migration/exceptions.py +0 -121
- data/pulpcore/client/pulp_2to3_migration/models/__init__.py +0 -26
- data/pulpcore/client/pulp_2to3_migration/models/async_operation_response.py +0 -124
- data/pulpcore/client/pulp_2to3_migration/models/migration_plan_run.py +0 -179
- data/pulpcore/client/pulp_2to3_migration/models/paginatedpulp2to3_migration_migration_plan_response_list.py +0 -197
- data/pulpcore/client/pulp_2to3_migration/models/paginatedpulp2to3_migration_pulp2_content_response_list.py +0 -197
- data/pulpcore/client/pulp_2to3_migration/models/paginatedpulp2to3_migration_pulp2_repository_response_list.py +0 -197
- data/pulpcore/client/pulp_2to3_migration/models/pulp2to3_migration_migration_plan.py +0 -124
- data/pulpcore/client/pulp_2to3_migration/models/pulp2to3_migration_migration_plan_response.py +0 -178
- data/pulpcore/client/pulp_2to3_migration/models/pulp2to3_migration_pulp2_content_response.py +0 -338
- data/pulpcore/client/pulp_2to3_migration/models/pulp2to3_migration_pulp2_repository_response.py +0 -416
- data/pulpcore/client/pulp_2to3_migration/rest.py +0 -292
- data/requirements.txt +0 -6
- data/setup.cfg +0 -2
- data/setup.py +0 -42
- data/test-requirements.txt +0 -3
- data/test/__init__.py +0 -0
- data/test/test_async_operation_response.py +0 -54
- data/test/test_migration_plan_run.py +0 -55
- data/test/test_migration_plans_api.py +0 -76
- data/test/test_paginatedpulp2to3_migration_migration_plan_response_list.py +0 -61
- data/test/test_paginatedpulp2to3_migration_pulp2_content_response_list.py +0 -67
- data/test/test_paginatedpulp2to3_migration_pulp2_repository_response_list.py +0 -72
- data/test/test_pulp2_content_api.py +0 -48
- data/test/test_pulp2_repositories_api.py +0 -48
- data/test/test_pulp2to3_migration_migration_plan.py +0 -54
- data/test/test_pulp2to3_migration_migration_plan_response.py +0 -56
- data/test/test_pulp2to3_migration_pulp2_content_response.py +0 -65
- data/test/test_pulp2to3_migration_pulp2_repository_response.py +0 -69
- data/tox.ini +0 -9
@@ -1,48 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
|
3
|
-
"""
|
4
|
-
Pulp 3 API
|
5
|
-
|
6
|
-
Fetch, Upload, Organize, and Distribute Software Packages # noqa: E501
|
7
|
-
|
8
|
-
The version of the OpenAPI document: v3
|
9
|
-
Contact: pulp-list@redhat.com
|
10
|
-
Generated by: https://openapi-generator.tech
|
11
|
-
"""
|
12
|
-
|
13
|
-
|
14
|
-
from __future__ import absolute_import
|
15
|
-
|
16
|
-
import unittest
|
17
|
-
|
18
|
-
import pulpcore.client.pulp_2to3_migration
|
19
|
-
from pulpcore.client.pulp_2to3_migration.api.pulp2_content_api import Pulp2ContentApi # noqa: E501
|
20
|
-
from pulpcore.client.pulp_2to3_migration.rest import ApiException
|
21
|
-
|
22
|
-
|
23
|
-
class TestPulp2ContentApi(unittest.TestCase):
|
24
|
-
"""Pulp2ContentApi unit test stubs"""
|
25
|
-
|
26
|
-
def setUp(self):
|
27
|
-
self.api = pulpcore.client.pulp_2to3_migration.api.pulp2_content_api.Pulp2ContentApi() # noqa: E501
|
28
|
-
|
29
|
-
def tearDown(self):
|
30
|
-
pass
|
31
|
-
|
32
|
-
def test_list(self):
|
33
|
-
"""Test case for list
|
34
|
-
|
35
|
-
List pulp2 contents # noqa: E501
|
36
|
-
"""
|
37
|
-
pass
|
38
|
-
|
39
|
-
def test_read(self):
|
40
|
-
"""Test case for read
|
41
|
-
|
42
|
-
Inspect a pulp2 content # noqa: E501
|
43
|
-
"""
|
44
|
-
pass
|
45
|
-
|
46
|
-
|
47
|
-
if __name__ == '__main__':
|
48
|
-
unittest.main()
|
@@ -1,48 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
|
3
|
-
"""
|
4
|
-
Pulp 3 API
|
5
|
-
|
6
|
-
Fetch, Upload, Organize, and Distribute Software Packages # noqa: E501
|
7
|
-
|
8
|
-
The version of the OpenAPI document: v3
|
9
|
-
Contact: pulp-list@redhat.com
|
10
|
-
Generated by: https://openapi-generator.tech
|
11
|
-
"""
|
12
|
-
|
13
|
-
|
14
|
-
from __future__ import absolute_import
|
15
|
-
|
16
|
-
import unittest
|
17
|
-
|
18
|
-
import pulpcore.client.pulp_2to3_migration
|
19
|
-
from pulpcore.client.pulp_2to3_migration.api.pulp2_repositories_api import Pulp2RepositoriesApi # noqa: E501
|
20
|
-
from pulpcore.client.pulp_2to3_migration.rest import ApiException
|
21
|
-
|
22
|
-
|
23
|
-
class TestPulp2RepositoriesApi(unittest.TestCase):
|
24
|
-
"""Pulp2RepositoriesApi unit test stubs"""
|
25
|
-
|
26
|
-
def setUp(self):
|
27
|
-
self.api = pulpcore.client.pulp_2to3_migration.api.pulp2_repositories_api.Pulp2RepositoriesApi() # noqa: E501
|
28
|
-
|
29
|
-
def tearDown(self):
|
30
|
-
pass
|
31
|
-
|
32
|
-
def test_list(self):
|
33
|
-
"""Test case for list
|
34
|
-
|
35
|
-
List pulp2 repositorys # noqa: E501
|
36
|
-
"""
|
37
|
-
pass
|
38
|
-
|
39
|
-
def test_read(self):
|
40
|
-
"""Test case for read
|
41
|
-
|
42
|
-
Inspect a pulp2 repository # noqa: E501
|
43
|
-
"""
|
44
|
-
pass
|
45
|
-
|
46
|
-
|
47
|
-
if __name__ == '__main__':
|
48
|
-
unittest.main()
|
@@ -1,54 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
|
3
|
-
"""
|
4
|
-
Pulp 3 API
|
5
|
-
|
6
|
-
Fetch, Upload, Organize, and Distribute Software Packages # noqa: E501
|
7
|
-
|
8
|
-
The version of the OpenAPI document: v3
|
9
|
-
Contact: pulp-list@redhat.com
|
10
|
-
Generated by: https://openapi-generator.tech
|
11
|
-
"""
|
12
|
-
|
13
|
-
|
14
|
-
from __future__ import absolute_import
|
15
|
-
|
16
|
-
import unittest
|
17
|
-
import datetime
|
18
|
-
|
19
|
-
import pulpcore.client.pulp_2to3_migration
|
20
|
-
from pulpcore.client.pulp_2to3_migration.models.pulp2to3_migration_migration_plan import Pulp2to3MigrationMigrationPlan # noqa: E501
|
21
|
-
from pulpcore.client.pulp_2to3_migration.rest import ApiException
|
22
|
-
|
23
|
-
class TestPulp2to3MigrationMigrationPlan(unittest.TestCase):
|
24
|
-
"""Pulp2to3MigrationMigrationPlan unit test stubs"""
|
25
|
-
|
26
|
-
def setUp(self):
|
27
|
-
pass
|
28
|
-
|
29
|
-
def tearDown(self):
|
30
|
-
pass
|
31
|
-
|
32
|
-
def make_instance(self, include_optional):
|
33
|
-
"""Test Pulp2to3MigrationMigrationPlan
|
34
|
-
include_option is a boolean, when False only required
|
35
|
-
params are included, when True both required and
|
36
|
-
optional params are included """
|
37
|
-
# model = pulpcore.client.pulp_2to3_migration.models.pulp2to3_migration_migration_plan.Pulp2to3MigrationMigrationPlan() # noqa: E501
|
38
|
-
if include_optional :
|
39
|
-
return Pulp2to3MigrationMigrationPlan(
|
40
|
-
plan = None
|
41
|
-
)
|
42
|
-
else :
|
43
|
-
return Pulp2to3MigrationMigrationPlan(
|
44
|
-
plan = None,
|
45
|
-
)
|
46
|
-
|
47
|
-
def testPulp2to3MigrationMigrationPlan(self):
|
48
|
-
"""Test Pulp2to3MigrationMigrationPlan"""
|
49
|
-
inst_req_only = self.make_instance(include_optional=False)
|
50
|
-
inst_req_and_optional = self.make_instance(include_optional=True)
|
51
|
-
|
52
|
-
|
53
|
-
if __name__ == '__main__':
|
54
|
-
unittest.main()
|
@@ -1,56 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
|
3
|
-
"""
|
4
|
-
Pulp 3 API
|
5
|
-
|
6
|
-
Fetch, Upload, Organize, and Distribute Software Packages # noqa: E501
|
7
|
-
|
8
|
-
The version of the OpenAPI document: v3
|
9
|
-
Contact: pulp-list@redhat.com
|
10
|
-
Generated by: https://openapi-generator.tech
|
11
|
-
"""
|
12
|
-
|
13
|
-
|
14
|
-
from __future__ import absolute_import
|
15
|
-
|
16
|
-
import unittest
|
17
|
-
import datetime
|
18
|
-
|
19
|
-
import pulpcore.client.pulp_2to3_migration
|
20
|
-
from pulpcore.client.pulp_2to3_migration.models.pulp2to3_migration_migration_plan_response import Pulp2to3MigrationMigrationPlanResponse # noqa: E501
|
21
|
-
from pulpcore.client.pulp_2to3_migration.rest import ApiException
|
22
|
-
|
23
|
-
class TestPulp2to3MigrationMigrationPlanResponse(unittest.TestCase):
|
24
|
-
"""Pulp2to3MigrationMigrationPlanResponse unit test stubs"""
|
25
|
-
|
26
|
-
def setUp(self):
|
27
|
-
pass
|
28
|
-
|
29
|
-
def tearDown(self):
|
30
|
-
pass
|
31
|
-
|
32
|
-
def make_instance(self, include_optional):
|
33
|
-
"""Test Pulp2to3MigrationMigrationPlanResponse
|
34
|
-
include_option is a boolean, when False only required
|
35
|
-
params are included, when True both required and
|
36
|
-
optional params are included """
|
37
|
-
# model = pulpcore.client.pulp_2to3_migration.models.pulp2to3_migration_migration_plan_response.Pulp2to3MigrationMigrationPlanResponse() # noqa: E501
|
38
|
-
if include_optional :
|
39
|
-
return Pulp2to3MigrationMigrationPlanResponse(
|
40
|
-
pulp_href = '0',
|
41
|
-
pulp_created = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
|
42
|
-
plan = pulpcore.client.pulp_2to3_migration.models.plan.plan()
|
43
|
-
)
|
44
|
-
else :
|
45
|
-
return Pulp2to3MigrationMigrationPlanResponse(
|
46
|
-
plan = pulpcore.client.pulp_2to3_migration.models.plan.plan(),
|
47
|
-
)
|
48
|
-
|
49
|
-
def testPulp2to3MigrationMigrationPlanResponse(self):
|
50
|
-
"""Test Pulp2to3MigrationMigrationPlanResponse"""
|
51
|
-
inst_req_only = self.make_instance(include_optional=False)
|
52
|
-
inst_req_and_optional = self.make_instance(include_optional=True)
|
53
|
-
|
54
|
-
|
55
|
-
if __name__ == '__main__':
|
56
|
-
unittest.main()
|
@@ -1,65 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
|
3
|
-
"""
|
4
|
-
Pulp 3 API
|
5
|
-
|
6
|
-
Fetch, Upload, Organize, and Distribute Software Packages # noqa: E501
|
7
|
-
|
8
|
-
The version of the OpenAPI document: v3
|
9
|
-
Contact: pulp-list@redhat.com
|
10
|
-
Generated by: https://openapi-generator.tech
|
11
|
-
"""
|
12
|
-
|
13
|
-
|
14
|
-
from __future__ import absolute_import
|
15
|
-
|
16
|
-
import unittest
|
17
|
-
import datetime
|
18
|
-
|
19
|
-
import pulpcore.client.pulp_2to3_migration
|
20
|
-
from pulpcore.client.pulp_2to3_migration.models.pulp2to3_migration_pulp2_content_response import Pulp2to3MigrationPulp2ContentResponse # noqa: E501
|
21
|
-
from pulpcore.client.pulp_2to3_migration.rest import ApiException
|
22
|
-
|
23
|
-
class TestPulp2to3MigrationPulp2ContentResponse(unittest.TestCase):
|
24
|
-
"""Pulp2to3MigrationPulp2ContentResponse unit test stubs"""
|
25
|
-
|
26
|
-
def setUp(self):
|
27
|
-
pass
|
28
|
-
|
29
|
-
def tearDown(self):
|
30
|
-
pass
|
31
|
-
|
32
|
-
def make_instance(self, include_optional):
|
33
|
-
"""Test Pulp2to3MigrationPulp2ContentResponse
|
34
|
-
include_option is a boolean, when False only required
|
35
|
-
params are included, when True both required and
|
36
|
-
optional params are included """
|
37
|
-
# model = pulpcore.client.pulp_2to3_migration.models.pulp2to3_migration_pulp2_content_response.Pulp2to3MigrationPulp2ContentResponse() # noqa: E501
|
38
|
-
if include_optional :
|
39
|
-
return Pulp2to3MigrationPulp2ContentResponse(
|
40
|
-
pulp_href = '0',
|
41
|
-
pulp_created = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
|
42
|
-
pulp2_id = '0',
|
43
|
-
pulp2_content_type_id = '0',
|
44
|
-
pulp2_last_updated = 56,
|
45
|
-
pulp2_storage_path = '0',
|
46
|
-
downloaded = True,
|
47
|
-
pulp3_content = '0',
|
48
|
-
pulp3_repository_version = '0'
|
49
|
-
)
|
50
|
-
else :
|
51
|
-
return Pulp2to3MigrationPulp2ContentResponse(
|
52
|
-
pulp2_id = '0',
|
53
|
-
pulp2_content_type_id = '0',
|
54
|
-
pulp2_last_updated = 56,
|
55
|
-
pulp2_storage_path = '0',
|
56
|
-
)
|
57
|
-
|
58
|
-
def testPulp2to3MigrationPulp2ContentResponse(self):
|
59
|
-
"""Test Pulp2to3MigrationPulp2ContentResponse"""
|
60
|
-
inst_req_only = self.make_instance(include_optional=False)
|
61
|
-
inst_req_and_optional = self.make_instance(include_optional=True)
|
62
|
-
|
63
|
-
|
64
|
-
if __name__ == '__main__':
|
65
|
-
unittest.main()
|
@@ -1,69 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
|
3
|
-
"""
|
4
|
-
Pulp 3 API
|
5
|
-
|
6
|
-
Fetch, Upload, Organize, and Distribute Software Packages # noqa: E501
|
7
|
-
|
8
|
-
The version of the OpenAPI document: v3
|
9
|
-
Contact: pulp-list@redhat.com
|
10
|
-
Generated by: https://openapi-generator.tech
|
11
|
-
"""
|
12
|
-
|
13
|
-
|
14
|
-
from __future__ import absolute_import
|
15
|
-
|
16
|
-
import unittest
|
17
|
-
import datetime
|
18
|
-
|
19
|
-
import pulpcore.client.pulp_2to3_migration
|
20
|
-
from pulpcore.client.pulp_2to3_migration.models.pulp2to3_migration_pulp2_repository_response import Pulp2to3MigrationPulp2RepositoryResponse # noqa: E501
|
21
|
-
from pulpcore.client.pulp_2to3_migration.rest import ApiException
|
22
|
-
|
23
|
-
class TestPulp2to3MigrationPulp2RepositoryResponse(unittest.TestCase):
|
24
|
-
"""Pulp2to3MigrationPulp2RepositoryResponse unit test stubs"""
|
25
|
-
|
26
|
-
def setUp(self):
|
27
|
-
pass
|
28
|
-
|
29
|
-
def tearDown(self):
|
30
|
-
pass
|
31
|
-
|
32
|
-
def make_instance(self, include_optional):
|
33
|
-
"""Test Pulp2to3MigrationPulp2RepositoryResponse
|
34
|
-
include_option is a boolean, when False only required
|
35
|
-
params are included, when True both required and
|
36
|
-
optional params are included """
|
37
|
-
# model = pulpcore.client.pulp_2to3_migration.models.pulp2to3_migration_pulp2_repository_response.Pulp2to3MigrationPulp2RepositoryResponse() # noqa: E501
|
38
|
-
if include_optional :
|
39
|
-
return Pulp2to3MigrationPulp2RepositoryResponse(
|
40
|
-
pulp_href = '0',
|
41
|
-
pulp_created = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
|
42
|
-
pulp2_object_id = '0',
|
43
|
-
pulp2_repo_id = '0',
|
44
|
-
pulp2_repo_type = '0',
|
45
|
-
is_migrated = True,
|
46
|
-
not_in_plan = True,
|
47
|
-
pulp3_repository_version = '0',
|
48
|
-
pulp3_remote_href = '0',
|
49
|
-
pulp3_publication_href = '0',
|
50
|
-
pulp3_distribution_hrefs = [
|
51
|
-
'0'
|
52
|
-
],
|
53
|
-
pulp3_repository_href = '0'
|
54
|
-
)
|
55
|
-
else :
|
56
|
-
return Pulp2to3MigrationPulp2RepositoryResponse(
|
57
|
-
pulp2_object_id = '0',
|
58
|
-
pulp2_repo_id = '0',
|
59
|
-
pulp2_repo_type = '0',
|
60
|
-
)
|
61
|
-
|
62
|
-
def testPulp2to3MigrationPulp2RepositoryResponse(self):
|
63
|
-
"""Test Pulp2to3MigrationPulp2RepositoryResponse"""
|
64
|
-
inst_req_only = self.make_instance(include_optional=False)
|
65
|
-
inst_req_and_optional = self.make_instance(include_optional=True)
|
66
|
-
|
67
|
-
|
68
|
-
if __name__ == '__main__':
|
69
|
-
unittest.main()
|