pulp_ansible_client 0.13.0 → 0.13.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 +5 -7
- data/docs/AnsibleAnsibleRepository.md +1 -1
- data/docs/AnsibleAnsibleRepositoryResponse.md +1 -1
- data/docs/AnsibleCollectionVersion.md +3 -3
- data/docs/AnsibleGitRemote.md +26 -26
- data/docs/AnsibleGitRemoteResponse.md +24 -24
- data/docs/ContentCollectionVersionsApi.md +3 -3
- data/docs/PatchedansibleAnsibleRepository.md +1 -1
- data/docs/PatchedansibleGitRemote.md +26 -26
- data/docs/Repair.md +17 -0
- data/docs/RepositoriesAnsibleVersionsApi.md +4 -4
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +3 -3
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +9 -9
- data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +3 -1
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +3 -1
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +220 -220
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +128 -128
- data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +3 -1
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +215 -215
- data/lib/pulp_ansible_client/models/{repository_version.rb → repair.rb} +13 -12
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +1 -3
- data/spec/api/content_collection_versions_api_spec.rb +1 -1
- data/spec/api/repositories_ansible_versions_api_spec.rb +1 -1
- data/spec/models/ansible_collection_version_spec.rb +2 -2
- data/spec/models/ansible_git_remote_response_spec.rb +17 -17
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- data/spec/models/{repository_version_spec.rb → repair_spec.rb} +7 -7
- metadata +102 -110
- data/docs/ContentSummary.md +0 -21
- data/docs/KeyringEnum.md +0 -16
- data/docs/RepositoryVersion.md +0 -17
- data/lib/pulp_ansible_client/models/content_summary.rb +0 -246
- data/lib/pulp_ansible_client/models/keyring_enum.rb +0 -40
- data/spec/models/content_summary_spec.rb +0 -53
- data/spec/models/keyring_enum_spec.rb +0 -35
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulp_ansible_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.13.
|
4
|
+
version: 0.13.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-06-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -121,7 +121,6 @@ files:
|
|
121
121
|
- docs/ContentCollectionSignaturesApi.md
|
122
122
|
- docs/ContentCollectionVersionsApi.md
|
123
123
|
- docs/ContentRolesApi.md
|
124
|
-
- docs/ContentSummary.md
|
125
124
|
- docs/ContentSummaryResponse.md
|
126
125
|
- docs/Copy.md
|
127
126
|
- docs/DistributionsAnsibleApi.md
|
@@ -131,7 +130,6 @@ files:
|
|
131
130
|
- docs/GalaxyDetailApi.md
|
132
131
|
- docs/GalaxyRoleResponse.md
|
133
132
|
- docs/GalaxyRoleVersionResponse.md
|
134
|
-
- docs/KeyringEnum.md
|
135
133
|
- docs/PaginatedCollectionResponseList.md
|
136
134
|
- docs/PaginatedCollectionResponseListLinks.md
|
137
135
|
- docs/PaginatedCollectionResponseListMeta.md
|
@@ -193,11 +191,11 @@ files:
|
|
193
191
|
- docs/RemotesCollectionApi.md
|
194
192
|
- docs/RemotesGitApi.md
|
195
193
|
- docs/RemotesRoleApi.md
|
194
|
+
- docs/Repair.md
|
196
195
|
- docs/RepoMetadataResponse.md
|
197
196
|
- docs/RepositoriesAnsibleApi.md
|
198
197
|
- docs/RepositoriesAnsibleVersionsApi.md
|
199
198
|
- docs/RepositoryAddRemoveContent.md
|
200
|
-
- docs/RepositoryVersion.md
|
201
199
|
- docs/RepositoryVersionResponse.md
|
202
200
|
- docs/TagResponse.md
|
203
201
|
- docs/UnpaginatedCollectionVersionResponse.md
|
@@ -289,7 +287,6 @@ files:
|
|
289
287
|
- lib/pulp_ansible_client/models/collection_version_docs_response.rb
|
290
288
|
- lib/pulp_ansible_client/models/collection_version_list_response.rb
|
291
289
|
- lib/pulp_ansible_client/models/collection_version_response.rb
|
292
|
-
- lib/pulp_ansible_client/models/content_summary.rb
|
293
290
|
- lib/pulp_ansible_client/models/content_summary_response.rb
|
294
291
|
- lib/pulp_ansible_client/models/copy.rb
|
295
292
|
- lib/pulp_ansible_client/models/galaxy_collection.rb
|
@@ -297,7 +294,6 @@ files:
|
|
297
294
|
- lib/pulp_ansible_client/models/galaxy_collection_version_response.rb
|
298
295
|
- lib/pulp_ansible_client/models/galaxy_role_response.rb
|
299
296
|
- lib/pulp_ansible_client/models/galaxy_role_version_response.rb
|
300
|
-
- lib/pulp_ansible_client/models/keyring_enum.rb
|
301
297
|
- lib/pulp_ansible_client/models/paginated_collection_response_list.rb
|
302
298
|
- lib/pulp_ansible_client/models/paginated_collection_response_list_links.rb
|
303
299
|
- lib/pulp_ansible_client/models/paginated_collection_response_list_meta.rb
|
@@ -323,9 +319,9 @@ files:
|
|
323
319
|
- lib/pulp_ansible_client/models/patchedansible_git_remote.rb
|
324
320
|
- lib/pulp_ansible_client/models/patchedansible_role_remote.rb
|
325
321
|
- lib/pulp_ansible_client/models/policy_enum.rb
|
322
|
+
- lib/pulp_ansible_client/models/repair.rb
|
326
323
|
- lib/pulp_ansible_client/models/repo_metadata_response.rb
|
327
324
|
- lib/pulp_ansible_client/models/repository_add_remove_content.rb
|
328
|
-
- lib/pulp_ansible_client/models/repository_version.rb
|
329
325
|
- lib/pulp_ansible_client/models/repository_version_response.rb
|
330
326
|
- lib/pulp_ansible_client/models/tag_response.rb
|
331
327
|
- lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb
|
@@ -416,14 +412,12 @@ files:
|
|
416
412
|
- spec/models/collection_version_list_response_spec.rb
|
417
413
|
- spec/models/collection_version_response_spec.rb
|
418
414
|
- spec/models/content_summary_response_spec.rb
|
419
|
-
- spec/models/content_summary_spec.rb
|
420
415
|
- spec/models/copy_spec.rb
|
421
416
|
- spec/models/galaxy_collection_response_spec.rb
|
422
417
|
- spec/models/galaxy_collection_spec.rb
|
423
418
|
- spec/models/galaxy_collection_version_response_spec.rb
|
424
419
|
- spec/models/galaxy_role_response_spec.rb
|
425
420
|
- spec/models/galaxy_role_version_response_spec.rb
|
426
|
-
- spec/models/keyring_enum_spec.rb
|
427
421
|
- spec/models/paginated_collection_response_list_links_spec.rb
|
428
422
|
- spec/models/paginated_collection_response_list_meta_spec.rb
|
429
423
|
- spec/models/paginated_collection_response_list_spec.rb
|
@@ -449,10 +443,10 @@ files:
|
|
449
443
|
- spec/models/patchedansible_git_remote_spec.rb
|
450
444
|
- spec/models/patchedansible_role_remote_spec.rb
|
451
445
|
- spec/models/policy_enum_spec.rb
|
446
|
+
- spec/models/repair_spec.rb
|
452
447
|
- spec/models/repo_metadata_response_spec.rb
|
453
448
|
- spec/models/repository_add_remove_content_spec.rb
|
454
449
|
- spec/models/repository_version_response_spec.rb
|
455
|
-
- spec/models/repository_version_spec.rb
|
456
450
|
- spec/models/tag_response_spec.rb
|
457
451
|
- spec/models/unpaginated_collection_version_response_spec.rb
|
458
452
|
- spec/spec_helper.rb
|
@@ -480,128 +474,126 @@ signing_key:
|
|
480
474
|
specification_version: 4
|
481
475
|
summary: Pulp 3 API Ruby Gem
|
482
476
|
test_files:
|
483
|
-
- spec/api/
|
484
|
-
- spec/api/
|
485
|
-
- spec/api/
|
486
|
-
- spec/api/
|
487
|
-
- spec/api/
|
488
|
-
- spec/api/
|
477
|
+
- spec/api/versions_api_spec.rb
|
478
|
+
- spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb
|
479
|
+
- spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb
|
480
|
+
- spec/api/pulp_ansible_api_v3_artifacts_collections_api_spec.rb
|
481
|
+
- spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb
|
482
|
+
- spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb
|
483
|
+
- spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb
|
484
|
+
- spec/api/pulp_ansible_api_v3_collection_versions_all_api_spec.rb
|
485
|
+
- spec/api/pulp_ansible_default_api_api_spec.rb
|
486
|
+
- spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb
|
487
|
+
- spec/api/pulp_ansible_default_api_v3_collection_versions_all_api_spec.rb
|
488
|
+
- spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb
|
489
|
+
- spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb
|
490
|
+
- spec/api/galaxy_detail_api_spec.rb
|
489
491
|
- spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb
|
490
|
-
- spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb
|
491
492
|
- spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb
|
492
|
-
- spec/api/
|
493
|
-
- spec/api/remotes_git_api_spec.rb
|
494
|
-
- spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api_spec.rb
|
495
|
-
- spec/api/pulp_ansible_api_v3_collections_api_spec.rb
|
493
|
+
- spec/api/pulp_ansible_default_api_v3_artifacts_collections_api_spec.rb
|
496
494
|
- spec/api/remotes_role_api_spec.rb
|
497
495
|
- spec/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api_spec.rb
|
498
|
-
- spec/api/
|
499
|
-
- spec/api/
|
500
|
-
- spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb
|
501
|
-
- spec/api/ansible_copy_api_spec.rb
|
496
|
+
- spec/api/ansible_collections_api_spec.rb
|
497
|
+
- spec/api/content_roles_api_spec.rb
|
502
498
|
- spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb
|
503
|
-
- spec/api/
|
504
|
-
- spec/api/
|
505
|
-
- spec/api/distributions_ansible_api_spec.rb
|
506
|
-
- spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb
|
507
|
-
- spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb
|
499
|
+
- spec/api/pulp_ansible_api_v3_collections_api_spec.rb
|
500
|
+
- spec/api/pulp_ansible_artifacts_collections_v3_api_spec.rb
|
508
501
|
- spec/api/pulp_ansible_api_v3_api_spec.rb
|
509
|
-
- spec/api/
|
510
|
-
- spec/api/
|
502
|
+
- spec/api/repositories_ansible_api_spec.rb
|
503
|
+
- spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb
|
511
504
|
- spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api_spec.rb
|
512
|
-
- spec/api/
|
513
|
-
- spec/api/
|
514
|
-
- spec/api/pulp_ansible_artifacts_collections_v3_api_spec.rb
|
515
|
-
- spec/api/repositories_ansible_versions_api_spec.rb
|
516
|
-
- spec/api/pulp_ansible_api_v3_artifacts_collections_api_spec.rb
|
517
|
-
- spec/api/content_roles_api_spec.rb
|
518
|
-
- spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb
|
519
|
-
- spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb
|
520
|
-
- spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb
|
521
|
-
- spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb
|
522
|
-
- spec/api/pulp_ansible_api_v3_collections_versions_docs_blob_api_spec.rb
|
523
|
-
- spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb
|
524
|
-
- spec/api/pulp_ansible_tags_api_spec.rb
|
525
|
-
- spec/api/pulp_ansible_default_api_v3_api_spec.rb
|
526
|
-
- spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb
|
505
|
+
- spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb
|
506
|
+
- spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api_spec.rb
|
527
507
|
- spec/api/collection_import_api_spec.rb
|
528
|
-
- spec/api/
|
529
|
-
- spec/api/
|
508
|
+
- spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb
|
509
|
+
- spec/api/pulp_ansible_api_v3_collections_versions_docs_blob_api_spec.rb
|
510
|
+
- spec/api/repositories_ansible_versions_api_spec.rb
|
511
|
+
- spec/api/remotes_git_api_spec.rb
|
512
|
+
- spec/api/ansible_copy_api_spec.rb
|
530
513
|
- spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb
|
531
514
|
- spec/api/api_roles_api_spec.rb
|
532
|
-
- spec/api/
|
515
|
+
- spec/api/pulp_ansible_api_api_spec.rb
|
516
|
+
- spec/api/content_collection_signatures_api_spec.rb
|
517
|
+
- spec/api/pulp_ansible_api_v2_collections_versions_api_spec.rb
|
518
|
+
- spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb
|
519
|
+
- spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb
|
520
|
+
- spec/api/content_collection_versions_api_spec.rb
|
521
|
+
- spec/api/pulp_ansible_default_api_v3_api_spec.rb
|
522
|
+
- spec/api/content_collection_deprecations_api_spec.rb
|
523
|
+
- spec/api/remotes_collection_api_spec.rb
|
524
|
+
- spec/api/pulp_ansible_tags_api_spec.rb
|
525
|
+
- spec/api/api_collections_api_spec.rb
|
526
|
+
- spec/api/distributions_ansible_api_spec.rb
|
533
527
|
- spec/api_client_spec.rb
|
534
528
|
- spec/configuration_spec.rb
|
529
|
+
- spec/models/galaxy_collection_spec.rb
|
530
|
+
- spec/models/paginatedansible_ansible_distribution_response_list_spec.rb
|
531
|
+
- spec/models/paginated_repository_version_response_list_spec.rb
|
532
|
+
- spec/models/paginatedansible_role_response_list_spec.rb
|
533
|
+
- spec/models/content_summary_response_spec.rb
|
534
|
+
- spec/models/patchedansible_role_remote_spec.rb
|
535
535
|
- spec/models/artifact_ref_response_spec.rb
|
536
|
-
- spec/models/
|
536
|
+
- spec/models/paginated_collection_response_list_links_spec.rb
|
537
537
|
- spec/models/paginated_collection_response_list_spec.rb
|
538
|
-
- spec/models/
|
539
|
-
- spec/models/
|
538
|
+
- spec/models/collection_ref_response_spec.rb
|
539
|
+
- spec/models/ansible_collection_response_spec.rb
|
540
|
+
- spec/models/collection_version_list_response_spec.rb
|
541
|
+
- spec/models/paginated_collection_version_list_response_list_spec.rb
|
542
|
+
- spec/models/paginatedansible_collection_response_list_spec.rb
|
540
543
|
- spec/models/copy_spec.rb
|
541
|
-
- spec/models/paginated_galaxy_role_version_response_list_spec.rb
|
542
|
-
- spec/models/repository_version_spec.rb
|
543
|
-
- spec/models/ansible_repository_signature_spec.rb
|
544
|
-
- spec/models/repository_add_remove_content_spec.rb
|
545
|
-
- spec/models/galaxy_role_version_response_spec.rb
|
546
|
-
- spec/models/collection_version_docs_response_spec.rb
|
547
|
-
- spec/models/repo_metadata_response_spec.rb
|
548
|
-
- spec/models/ansible_tag_response_spec.rb
|
549
|
-
- spec/models/ansible_collection_spec.rb
|
550
|
-
- spec/models/paginatedansible_ansible_distribution_response_list_spec.rb
|
551
|
-
- spec/models/ansible_role_spec.rb
|
552
|
-
- spec/models/ansible_collection_version_spec.rb
|
553
|
-
- spec/models/ansible_git_remote_spec.rb
|
554
|
-
- spec/models/galaxy_role_response_spec.rb
|
555
544
|
- spec/models/paginatedansible_collection_version_response_list_spec.rb
|
556
|
-
- spec/models/
|
545
|
+
- spec/models/paginatedansible_collection_version_signature_response_list_spec.rb
|
546
|
+
- spec/models/patchedansible_ansible_distribution_spec.rb
|
547
|
+
- spec/models/paginated_galaxy_collection_version_response_list_spec.rb
|
548
|
+
- spec/models/ansible_collection_version_response_spec.rb
|
549
|
+
- spec/models/collection_import_detail_response_spec.rb
|
550
|
+
- spec/models/ansible_collection_remote_spec.rb
|
551
|
+
- spec/models/ansible_role_remote_spec.rb
|
552
|
+
- spec/models/paginated_galaxy_role_version_response_list_spec.rb
|
553
|
+
- spec/models/ansible_ansible_repository_response_spec.rb
|
554
|
+
- spec/models/policy_enum_spec.rb
|
557
555
|
- spec/models/ansible_role_remote_response_spec.rb
|
558
|
-
- spec/models/
|
559
|
-
- spec/models/paginated_collection_version_list_response_list_spec.rb
|
560
|
-
- spec/models/content_summary_response_spec.rb
|
556
|
+
- spec/models/ansible_collection_version_signature_response_spec.rb
|
561
557
|
- spec/models/paginatedansible_role_remote_response_list_spec.rb
|
562
|
-
- spec/models/
|
563
|
-
- spec/models/
|
564
|
-
- spec/models/
|
565
|
-
- spec/models/
|
566
|
-
- spec/models/
|
567
|
-
- spec/models/
|
568
|
-
- spec/models/
|
569
|
-
- spec/models/galaxy_collection_version_response_spec.rb
|
558
|
+
- spec/models/ansible_role_response_spec.rb
|
559
|
+
- spec/models/ansible_tag_response_spec.rb
|
560
|
+
- spec/models/tag_response_spec.rb
|
561
|
+
- spec/models/patchedansible_ansible_repository_spec.rb
|
562
|
+
- spec/models/ansible_ansible_repository_spec.rb
|
563
|
+
- spec/models/paginatedansible_git_remote_response_list_spec.rb
|
564
|
+
- spec/models/repair_spec.rb
|
570
565
|
- spec/models/collection_response_spec.rb
|
571
|
-
- spec/models/
|
566
|
+
- spec/models/patchedansible_git_remote_spec.rb
|
567
|
+
- spec/models/ansible_collection_spec.rb
|
568
|
+
- spec/models/galaxy_role_version_response_spec.rb
|
569
|
+
- spec/models/ansible_collection_remote_response_spec.rb
|
570
|
+
- spec/models/collection_version_docs_response_spec.rb
|
572
571
|
- spec/models/async_operation_response_spec.rb
|
573
|
-
- spec/models/collection_metadata_response_spec.rb
|
574
|
-
- spec/models/galaxy_collection_spec.rb
|
575
|
-
- spec/models/ansible_collection_response_spec.rb
|
576
|
-
- spec/models/paginatedansible_collection_remote_response_list_spec.rb
|
577
|
-
- spec/models/patchedansible_collection_remote_spec.rb
|
578
|
-
- spec/models/ansible_ansible_distribution_spec.rb
|
579
|
-
- spec/models/policy_enum_spec.rb
|
580
572
|
- spec/models/collection_one_shot_spec.rb
|
581
|
-
- spec/models/
|
573
|
+
- spec/models/ansible_git_remote_response_spec.rb
|
574
|
+
- spec/models/paginated_collection_response_list_meta_spec.rb
|
575
|
+
- spec/models/ansible_ansible_distribution_response_spec.rb
|
576
|
+
- spec/models/repository_add_remove_content_spec.rb
|
577
|
+
- spec/models/ansible_collection_version_signature_spec.rb
|
578
|
+
- spec/models/galaxy_collection_response_spec.rb
|
579
|
+
- spec/models/collection_version_response_spec.rb
|
582
580
|
- spec/models/paginated_tag_response_list_spec.rb
|
583
|
-
- spec/models/
|
584
|
-
- spec/models/paginated_repository_version_response_list_spec.rb
|
585
|
-
- spec/models/patchedansible_role_remote_spec.rb
|
586
|
-
- spec/models/tag_response_spec.rb
|
581
|
+
- spec/models/paginated_galaxy_role_response_list_spec.rb
|
587
582
|
- spec/models/paginatedansible_ansible_repository_response_list_spec.rb
|
588
|
-
- spec/models/paginated_galaxy_collection_version_response_list_spec.rb
|
589
583
|
- spec/models/repository_version_response_spec.rb
|
590
|
-
- spec/models/
|
591
|
-
- spec/models/
|
592
|
-
- spec/models/
|
593
|
-
- spec/models/
|
594
|
-
- spec/models/content_summary_spec.rb
|
595
|
-
- spec/models/ansible_ansible_repository_spec.rb
|
596
|
-
- spec/models/ansible_collection_remote_spec.rb
|
597
|
-
- spec/models/ansible_collection_version_response_spec.rb
|
584
|
+
- spec/models/ansible_role_spec.rb
|
585
|
+
- spec/models/patchedansible_collection_remote_spec.rb
|
586
|
+
- spec/models/ansible_repository_sync_url_spec.rb
|
587
|
+
- spec/models/collection_metadata_response_spec.rb
|
598
588
|
- spec/models/paginated_galaxy_collection_response_list_spec.rb
|
599
|
-
- spec/models/
|
600
|
-
- spec/models/
|
601
|
-
- spec/models/
|
602
|
-
- spec/models/
|
603
|
-
- spec/models/
|
604
|
-
- spec/models/
|
605
|
-
- spec/models/
|
606
|
-
- spec/models/
|
589
|
+
- spec/models/ansible_collection_version_spec.rb
|
590
|
+
- spec/models/ansible_git_remote_spec.rb
|
591
|
+
- spec/models/paginatedansible_collection_remote_response_list_spec.rb
|
592
|
+
- spec/models/galaxy_role_response_spec.rb
|
593
|
+
- spec/models/unpaginated_collection_version_response_spec.rb
|
594
|
+
- spec/models/collection_namespace_response_spec.rb
|
595
|
+
- spec/models/ansible_repository_signature_spec.rb
|
596
|
+
- spec/models/repo_metadata_response_spec.rb
|
597
|
+
- spec/models/galaxy_collection_version_response_spec.rb
|
598
|
+
- spec/models/ansible_ansible_distribution_spec.rb
|
607
599
|
- spec/spec_helper.rb
|
data/docs/ContentSummary.md
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
# PulpAnsibleClient::ContentSummary
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
------------ | ------------- | ------------- | -------------
|
7
|
-
**added** | **Hash<String, Object>** | |
|
8
|
-
**removed** | **Hash<String, Object>** | |
|
9
|
-
**present** | **Hash<String, Object>** | |
|
10
|
-
|
11
|
-
## Code Sample
|
12
|
-
|
13
|
-
```ruby
|
14
|
-
require 'PulpAnsibleClient'
|
15
|
-
|
16
|
-
instance = PulpAnsibleClient::ContentSummary.new(added: null,
|
17
|
-
removed: null,
|
18
|
-
present: null)
|
19
|
-
```
|
20
|
-
|
21
|
-
|
data/docs/KeyringEnum.md
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
# PulpAnsibleClient::KeyringEnum
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
------------ | ------------- | ------------- | -------------
|
7
|
-
|
8
|
-
## Code Sample
|
9
|
-
|
10
|
-
```ruby
|
11
|
-
require 'PulpAnsibleClient'
|
12
|
-
|
13
|
-
instance = PulpAnsibleClient::KeyringEnum.new()
|
14
|
-
```
|
15
|
-
|
16
|
-
|
data/docs/RepositoryVersion.md
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
# PulpAnsibleClient::RepositoryVersion
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
------------ | ------------- | ------------- | -------------
|
7
|
-
**base_version** | **String** | A repository version whose content was used as the initial set of content for this repository version | [optional]
|
8
|
-
|
9
|
-
## Code Sample
|
10
|
-
|
11
|
-
```ruby
|
12
|
-
require 'PulpAnsibleClient'
|
13
|
-
|
14
|
-
instance = PulpAnsibleClient::RepositoryVersion.new(base_version: null)
|
15
|
-
```
|
16
|
-
|
17
|
-
|
@@ -1,246 +0,0 @@
|
|
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 'date'
|
14
|
-
|
15
|
-
module PulpAnsibleClient
|
16
|
-
# Serializer for the RepositoryVersion content summary
|
17
|
-
class ContentSummary
|
18
|
-
attr_accessor :added
|
19
|
-
|
20
|
-
attr_accessor :removed
|
21
|
-
|
22
|
-
attr_accessor :present
|
23
|
-
|
24
|
-
# Attribute mapping from ruby-style variable name to JSON key.
|
25
|
-
def self.attribute_map
|
26
|
-
{
|
27
|
-
:'added' => :'added',
|
28
|
-
:'removed' => :'removed',
|
29
|
-
:'present' => :'present'
|
30
|
-
}
|
31
|
-
end
|
32
|
-
|
33
|
-
# Attribute type mapping.
|
34
|
-
def self.openapi_types
|
35
|
-
{
|
36
|
-
:'added' => :'Hash<String, Object>',
|
37
|
-
:'removed' => :'Hash<String, Object>',
|
38
|
-
:'present' => :'Hash<String, Object>'
|
39
|
-
}
|
40
|
-
end
|
41
|
-
|
42
|
-
# List of attributes with nullable: true
|
43
|
-
def self.openapi_nullable
|
44
|
-
Set.new([
|
45
|
-
])
|
46
|
-
end
|
47
|
-
|
48
|
-
# Initializes the object
|
49
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
50
|
-
def initialize(attributes = {})
|
51
|
-
if (!attributes.is_a?(Hash))
|
52
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpAnsibleClient::ContentSummary` initialize method"
|
53
|
-
end
|
54
|
-
|
55
|
-
# check to see if the attribute exists and convert string to symbol for hash key
|
56
|
-
attributes = attributes.each_with_object({}) { |(k, v), h|
|
57
|
-
if (!self.class.attribute_map.key?(k.to_sym))
|
58
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpAnsibleClient::ContentSummary`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
59
|
-
end
|
60
|
-
h[k.to_sym] = v
|
61
|
-
}
|
62
|
-
|
63
|
-
if attributes.key?(:'added')
|
64
|
-
if (value = attributes[:'added']).is_a?(Hash)
|
65
|
-
self.added = value
|
66
|
-
end
|
67
|
-
end
|
68
|
-
|
69
|
-
if attributes.key?(:'removed')
|
70
|
-
if (value = attributes[:'removed']).is_a?(Hash)
|
71
|
-
self.removed = value
|
72
|
-
end
|
73
|
-
end
|
74
|
-
|
75
|
-
if attributes.key?(:'present')
|
76
|
-
if (value = attributes[:'present']).is_a?(Hash)
|
77
|
-
self.present = value
|
78
|
-
end
|
79
|
-
end
|
80
|
-
end
|
81
|
-
|
82
|
-
# Show invalid properties with the reasons. Usually used together with valid?
|
83
|
-
# @return Array for valid properties with the reasons
|
84
|
-
def list_invalid_properties
|
85
|
-
invalid_properties = Array.new
|
86
|
-
if @added.nil?
|
87
|
-
invalid_properties.push('invalid value for "added", added cannot be nil.')
|
88
|
-
end
|
89
|
-
|
90
|
-
if @removed.nil?
|
91
|
-
invalid_properties.push('invalid value for "removed", removed cannot be nil.')
|
92
|
-
end
|
93
|
-
|
94
|
-
if @present.nil?
|
95
|
-
invalid_properties.push('invalid value for "present", present cannot be nil.')
|
96
|
-
end
|
97
|
-
|
98
|
-
invalid_properties
|
99
|
-
end
|
100
|
-
|
101
|
-
# Check to see if the all the properties in the model are valid
|
102
|
-
# @return true if the model is valid
|
103
|
-
def valid?
|
104
|
-
return false if @added.nil?
|
105
|
-
return false if @removed.nil?
|
106
|
-
return false if @present.nil?
|
107
|
-
true
|
108
|
-
end
|
109
|
-
|
110
|
-
# Checks equality by comparing each attribute.
|
111
|
-
# @param [Object] Object to be compared
|
112
|
-
def ==(o)
|
113
|
-
return true if self.equal?(o)
|
114
|
-
self.class == o.class &&
|
115
|
-
added == o.added &&
|
116
|
-
removed == o.removed &&
|
117
|
-
present == o.present
|
118
|
-
end
|
119
|
-
|
120
|
-
# @see the `==` method
|
121
|
-
# @param [Object] Object to be compared
|
122
|
-
def eql?(o)
|
123
|
-
self == o
|
124
|
-
end
|
125
|
-
|
126
|
-
# Calculates hash code according to all attributes.
|
127
|
-
# @return [Integer] Hash code
|
128
|
-
def hash
|
129
|
-
[added, removed, present].hash
|
130
|
-
end
|
131
|
-
|
132
|
-
# Builds the object from hash
|
133
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
134
|
-
# @return [Object] Returns the model itself
|
135
|
-
def self.build_from_hash(attributes)
|
136
|
-
new.build_from_hash(attributes)
|
137
|
-
end
|
138
|
-
|
139
|
-
# Builds the object from hash
|
140
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
141
|
-
# @return [Object] Returns the model itself
|
142
|
-
def build_from_hash(attributes)
|
143
|
-
return nil unless attributes.is_a?(Hash)
|
144
|
-
self.class.openapi_types.each_pair do |key, type|
|
145
|
-
if type =~ /\AArray<(.*)>/i
|
146
|
-
# check to ensure the input is an array given that the attribute
|
147
|
-
# is documented as an array but the input is not
|
148
|
-
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
149
|
-
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
150
|
-
end
|
151
|
-
elsif !attributes[self.class.attribute_map[key]].nil?
|
152
|
-
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
153
|
-
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
154
|
-
end
|
155
|
-
|
156
|
-
self
|
157
|
-
end
|
158
|
-
|
159
|
-
# Deserializes the data based on type
|
160
|
-
# @param string type Data type
|
161
|
-
# @param string value Value to be deserialized
|
162
|
-
# @return [Object] Deserialized data
|
163
|
-
def _deserialize(type, value)
|
164
|
-
case type.to_sym
|
165
|
-
when :DateTime
|
166
|
-
DateTime.parse(value)
|
167
|
-
when :Date
|
168
|
-
Date.parse(value)
|
169
|
-
when :String
|
170
|
-
value.to_s
|
171
|
-
when :Integer
|
172
|
-
value.to_i
|
173
|
-
when :Float
|
174
|
-
value.to_f
|
175
|
-
when :Boolean
|
176
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
177
|
-
true
|
178
|
-
else
|
179
|
-
false
|
180
|
-
end
|
181
|
-
when :Object
|
182
|
-
# generic object (usually a Hash), return directly
|
183
|
-
value
|
184
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
185
|
-
inner_type = Regexp.last_match[:inner_type]
|
186
|
-
value.map { |v| _deserialize(inner_type, v) }
|
187
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
188
|
-
k_type = Regexp.last_match[:k_type]
|
189
|
-
v_type = Regexp.last_match[:v_type]
|
190
|
-
{}.tap do |hash|
|
191
|
-
value.each do |k, v|
|
192
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
193
|
-
end
|
194
|
-
end
|
195
|
-
else # model
|
196
|
-
PulpAnsibleClient.const_get(type).build_from_hash(value)
|
197
|
-
end
|
198
|
-
end
|
199
|
-
|
200
|
-
# Returns the string representation of the object
|
201
|
-
# @return [String] String presentation of the object
|
202
|
-
def to_s
|
203
|
-
to_hash.to_s
|
204
|
-
end
|
205
|
-
|
206
|
-
# to_body is an alias to to_hash (backward compatibility)
|
207
|
-
# @return [Hash] Returns the object in the form of hash
|
208
|
-
def to_body
|
209
|
-
to_hash
|
210
|
-
end
|
211
|
-
|
212
|
-
# Returns the object in the form of hash
|
213
|
-
# @return [Hash] Returns the object in the form of hash
|
214
|
-
def to_hash
|
215
|
-
hash = {}
|
216
|
-
self.class.attribute_map.each_pair do |attr, param|
|
217
|
-
value = self.send(attr)
|
218
|
-
if value.nil?
|
219
|
-
is_nullable = self.class.openapi_nullable.include?(attr)
|
220
|
-
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
221
|
-
end
|
222
|
-
|
223
|
-
hash[param] = _to_hash(value)
|
224
|
-
end
|
225
|
-
hash
|
226
|
-
end
|
227
|
-
|
228
|
-
# Outputs non-array value in the form of hash
|
229
|
-
# For object, use to_hash. Otherwise, just return the value
|
230
|
-
# @param [Object] value Any valid value
|
231
|
-
# @return [Hash] Returns the value in the form of hash
|
232
|
-
def _to_hash(value)
|
233
|
-
if value.is_a?(Array)
|
234
|
-
value.compact.map { |v| _to_hash(v) }
|
235
|
-
elsif value.is_a?(Hash)
|
236
|
-
{}.tap do |hash|
|
237
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
238
|
-
end
|
239
|
-
elsif value.respond_to? :to_hash
|
240
|
-
value.to_hash
|
241
|
-
else
|
242
|
-
value
|
243
|
-
end
|
244
|
-
end
|
245
|
-
end
|
246
|
-
end
|
@@ -1,40 +0,0 @@
|
|
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 'date'
|
14
|
-
|
15
|
-
module PulpAnsibleClient
|
16
|
-
class KeyringEnum
|
17
|
-
DATABASE_FIELDS_SYMMETRIC_KEY = "/etc/pulp/certs/database_fields.symmetric.key".freeze
|
18
|
-
PULP_WEBSERVER_CRT = "/etc/pulp/certs/pulp_webserver.crt".freeze
|
19
|
-
PULP_WEBSERVER_CSR = "/etc/pulp/certs/pulp_webserver.csr".freeze
|
20
|
-
PULP_WEBSERVER_KEY = "/etc/pulp/certs/pulp_webserver.key".freeze
|
21
|
-
TOKEN_PRIVATE_KEY_PEM = "/etc/pulp/certs/token_private_key.pem".freeze
|
22
|
-
TOKEN_PUBLIC_KEY_PEM = "/etc/pulp/certs/token_public_key.pem".freeze
|
23
|
-
|
24
|
-
# Builds the enum from string
|
25
|
-
# @param [String] The enum value in the form of the string
|
26
|
-
# @return [String] The enum value
|
27
|
-
def self.build_from_hash(value)
|
28
|
-
new.build_from_hash(value)
|
29
|
-
end
|
30
|
-
|
31
|
-
# Builds the enum from string
|
32
|
-
# @param [String] The enum value in the form of the string
|
33
|
-
# @return [String] The enum value
|
34
|
-
def build_from_hash(value)
|
35
|
-
constantValues = KeyringEnum.constants.select { |c| KeyringEnum::const_get(c) == value }
|
36
|
-
raise "Invalid ENUM value #{value} for class #KeyringEnum" if constantValues.empty?
|
37
|
-
value
|
38
|
-
end
|
39
|
-
end
|
40
|
-
end
|