pulp_ansible_client 0.9.2 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +9 -5
  3. data/docs/AnsibleAnsibleRepository.md +3 -3
  4. data/docs/AnsibleAnsibleRepositoryResponse.md +3 -3
  5. data/docs/AnsibleCollection.md +19 -0
  6. data/docs/AnsibleCollectionVersionResponse.md +4 -4
  7. data/docs/AnsibleCollectionsApi.md +1 -1
  8. data/docs/AnsibleCopyApi.md +1 -1
  9. data/docs/AnsibleRoleResponse.md +3 -3
  10. data/docs/ApiCollectionsApi.md +1 -1
  11. data/docs/ApiRolesApi.md +1 -1
  12. data/docs/CollectionImportApi.md +1 -1
  13. data/docs/ContentCollectionDeprecationsApi.md +192 -0
  14. data/docs/ContentCollectionVersionsApi.md +1 -1
  15. data/docs/ContentRolesApi.md +1 -1
  16. data/docs/DistributionsAnsibleApi.md +1 -1
  17. data/docs/GalaxyDetailApi.md +1 -1
  18. data/docs/PatchedansibleAnsibleRepository.md +3 -3
  19. data/docs/PulpAnsibleApiApi.md +1 -1
  20. data/docs/PulpAnsibleApiV2CollectionsVersionsApi.md +1 -1
  21. data/docs/PulpAnsibleApiV3Api.md +1 -1
  22. data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +1 -1
  23. data/docs/PulpAnsibleApiV3CollectionsAllApi.md +1 -1
  24. data/docs/PulpAnsibleApiV3CollectionsApi.md +4 -4
  25. data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +1 -1
  26. data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +1 -1
  27. data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +1 -1
  28. data/docs/PulpAnsibleTagsApi.md +1 -1
  29. data/docs/RemotesCollectionApi.md +1 -1
  30. data/docs/RemotesRoleApi.md +1 -1
  31. data/docs/RepositoriesAnsibleApi.md +1 -1
  32. data/docs/RepositoriesAnsibleVersionsApi.md +1 -1
  33. data/docs/VersionsApi.md +1 -1
  34. data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +234 -0
  35. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +5 -5
  36. data/lib/pulp_ansible_client/configuration.rb +2 -2
  37. data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +17 -16
  38. data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +17 -16
  39. data/lib/pulp_ansible_client/models/ansible_collection.rb +228 -0
  40. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +13 -15
  41. data/lib/pulp_ansible_client/models/ansible_role_response.rb +11 -11
  42. data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +17 -16
  43. data/lib/pulp_ansible_client/version.rb +1 -1
  44. data/lib/pulp_ansible_client.rb +2 -0
  45. data/spec/api/content_collection_deprecations_api_spec.rb +80 -0
  46. data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +2 -2
  47. data/spec/configuration_spec.rb +3 -3
  48. data/spec/models/ansible_ansible_repository_response_spec.rb +1 -1
  49. data/spec/models/ansible_ansible_repository_spec.rb +1 -1
  50. data/spec/models/ansible_collection_spec.rb +47 -0
  51. data/spec/models/ansible_collection_version_response_spec.rb +3 -3
  52. data/spec/models/ansible_role_response_spec.rb +3 -3
  53. data/spec/models/patchedansible_ansible_repository_spec.rb +1 -1
  54. metadata +79 -71
@@ -0,0 +1,47 @@
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 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for PulpAnsibleClient::AnsibleCollection
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'AnsibleCollection' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpAnsibleClient::AnsibleCollection.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of AnsibleCollection' do
31
+ it 'should create an instance of AnsibleCollection' do
32
+ expect(@instance).to be_instance_of(PulpAnsibleClient::AnsibleCollection)
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 "namespace"' 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
+ end
@@ -32,19 +32,19 @@ describe 'AnsibleCollectionVersionResponse' do
32
32
  expect(@instance).to be_instance_of(PulpAnsibleClient::AnsibleCollectionVersionResponse)
33
33
  end
34
34
  end
35
- describe 'test attribute "pulp_created"' do
35
+ describe 'test attribute "artifact"' do
36
36
  it 'should work' do
37
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "pulp_href"' do
41
+ describe 'test attribute "pulp_created"' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
- describe 'test attribute "artifact"' do
47
+ describe 'test attribute "pulp_href"' do
48
48
  it 'should work' do
49
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
@@ -32,19 +32,19 @@ describe 'AnsibleRoleResponse' do
32
32
  expect(@instance).to be_instance_of(PulpAnsibleClient::AnsibleRoleResponse)
33
33
  end
34
34
  end
35
- describe 'test attribute "pulp_created"' do
35
+ describe 'test attribute "artifact"' do
36
36
  it 'should work' do
37
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "pulp_href"' do
41
+ describe 'test attribute "pulp_created"' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
- describe 'test attribute "artifact"' do
47
+ describe 'test attribute "pulp_href"' do
48
48
  it 'should work' do
49
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
@@ -50,7 +50,7 @@ describe 'PatchedansibleAnsibleRepository' do
50
50
  end
51
51
  end
52
52
 
53
- describe 'test attribute "retained_versions"' do
53
+ describe 'test attribute "retain_repo_versions"' do
54
54
  it 'should work' do
55
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
56
  end
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.9.2
4
+ version: 0.10.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: 2021-10-04 00:00:00.000000000 Z
11
+ date: 2021-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -78,6 +78,7 @@ files:
78
78
  - docs/AnsibleAnsibleDistributionResponse.md
79
79
  - docs/AnsibleAnsibleRepository.md
80
80
  - docs/AnsibleAnsibleRepositoryResponse.md
81
+ - docs/AnsibleCollection.md
81
82
  - docs/AnsibleCollectionRemote.md
82
83
  - docs/AnsibleCollectionRemoteResponse.md
83
84
  - docs/AnsibleCollectionResponse.md
@@ -104,6 +105,7 @@ files:
104
105
  - docs/CollectionResponse.md
105
106
  - docs/CollectionVersionDocsResponse.md
106
107
  - docs/CollectionVersionResponse.md
108
+ - docs/ContentCollectionDeprecationsApi.md
107
109
  - docs/ContentCollectionVersionsApi.md
108
110
  - docs/ContentRolesApi.md
109
111
  - docs/ContentSummary.md
@@ -166,6 +168,7 @@ files:
166
168
  - lib/pulp_ansible_client/api/api_collections_api.rb
167
169
  - lib/pulp_ansible_client/api/api_roles_api.rb
168
170
  - lib/pulp_ansible_client/api/collection_import_api.rb
171
+ - lib/pulp_ansible_client/api/content_collection_deprecations_api.rb
169
172
  - lib/pulp_ansible_client/api/content_collection_versions_api.rb
170
173
  - lib/pulp_ansible_client/api/content_roles_api.rb
171
174
  - lib/pulp_ansible_client/api/distributions_ansible_api.rb
@@ -192,6 +195,7 @@ files:
192
195
  - lib/pulp_ansible_client/models/ansible_ansible_distribution_response.rb
193
196
  - lib/pulp_ansible_client/models/ansible_ansible_repository.rb
194
197
  - lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb
198
+ - lib/pulp_ansible_client/models/ansible_collection.rb
195
199
  - lib/pulp_ansible_client/models/ansible_collection_remote.rb
196
200
  - lib/pulp_ansible_client/models/ansible_collection_remote_response.rb
197
201
  - lib/pulp_ansible_client/models/ansible_collection_response.rb
@@ -256,6 +260,7 @@ files:
256
260
  - spec/api/api_collections_api_spec.rb
257
261
  - spec/api/api_roles_api_spec.rb
258
262
  - spec/api/collection_import_api_spec.rb
263
+ - spec/api/content_collection_deprecations_api_spec.rb
259
264
  - spec/api/content_collection_versions_api_spec.rb
260
265
  - spec/api/content_roles_api_spec.rb
261
266
  - spec/api/distributions_ansible_api_spec.rb
@@ -284,6 +289,7 @@ files:
284
289
  - spec/models/ansible_collection_remote_response_spec.rb
285
290
  - spec/models/ansible_collection_remote_spec.rb
286
291
  - spec/models/ansible_collection_response_spec.rb
292
+ - spec/models/ansible_collection_spec.rb
287
293
  - spec/models/ansible_collection_version_response_spec.rb
288
294
  - spec/models/ansible_collection_version_spec.rb
289
295
  - spec/models/ansible_repository_sync_url_spec.rb
@@ -363,91 +369,93 @@ signing_key:
363
369
  specification_version: 4
364
370
  summary: Pulp 3 API Ruby Gem
365
371
  test_files:
366
- - spec/api/galaxy_detail_api_spec.rb
367
- - spec/api/versions_api_spec.rb
368
- - spec/api/pulp_ansible_api_v2_collections_versions_api_spec.rb
369
- - spec/api/pulp_ansible_tags_api_spec.rb
370
- - spec/api/repositories_ansible_versions_api_spec.rb
371
- - spec/api/pulp_ansible_api_v3_collections_versions_docs_blob_api_spec.rb
372
+ - spec/api/repositories_ansible_api_spec.rb
372
373
  - spec/api/api_collections_api_spec.rb
373
- - spec/api/ansible_collections_api_spec.rb
374
+ - spec/api/content_roles_api_spec.rb
374
375
  - spec/api/pulp_ansible_api_api_spec.rb
376
+ - spec/api/versions_api_spec.rb
377
+ - spec/api/pulp_ansible_api_v3_api_spec.rb
378
+ - spec/api/remotes_collection_api_spec.rb
379
+ - spec/api/pulp_ansible_api_v3_collection_versions_all_api_spec.rb
380
+ - spec/api/content_collection_deprecations_api_spec.rb
381
+ - spec/api/remotes_role_api_spec.rb
382
+ - spec/api/pulp_ansible_api_v3_collections_versions_docs_blob_api_spec.rb
383
+ - spec/api/pulp_ansible_api_v3_collections_api_spec.rb
375
384
  - spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb
385
+ - spec/api/content_collection_versions_api_spec.rb
376
386
  - spec/api/ansible_copy_api_spec.rb
377
387
  - spec/api/api_roles_api_spec.rb
378
- - spec/api/content_collection_versions_api_spec.rb
379
- - spec/api/repositories_ansible_api_spec.rb
380
- - spec/api/pulp_ansible_api_v3_collections_api_spec.rb
381
- - spec/api/remotes_role_api_spec.rb
382
- - spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb
383
- - spec/api/distributions_ansible_api_spec.rb
384
- - spec/api/pulp_ansible_artifacts_collections_v3_api_spec.rb
385
- - spec/api/content_roles_api_spec.rb
388
+ - spec/api/galaxy_detail_api_spec.rb
389
+ - spec/api/ansible_collections_api_spec.rb
386
390
  - spec/api/collection_import_api_spec.rb
387
- - spec/api/pulp_ansible_api_v3_api_spec.rb
388
- - spec/api/remotes_collection_api_spec.rb
389
- - spec/api/pulp_ansible_api_v3_collection_versions_all_api_spec.rb
391
+ - spec/api/pulp_ansible_artifacts_collections_v3_api_spec.rb
392
+ - spec/api/distributions_ansible_api_spec.rb
393
+ - spec/api/pulp_ansible_tags_api_spec.rb
394
+ - spec/api/repositories_ansible_versions_api_spec.rb
395
+ - spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb
396
+ - spec/api/pulp_ansible_api_v2_collections_versions_api_spec.rb
390
397
  - spec/api_client_spec.rb
391
398
  - spec/configuration_spec.rb
392
- - spec/models/tag_response_spec.rb
393
- - spec/models/ansible_role_remote_response_spec.rb
394
- - spec/models/paginatedansible_collection_version_response_list_spec.rb
395
- - spec/models/paginated_collection_response_list_meta_spec.rb
396
- - spec/models/paginated_galaxy_collection_version_response_list_spec.rb
397
- - spec/models/paginatedansible_ansible_distribution_response_list_spec.rb
398
- - spec/models/paginated_galaxy_role_response_list_spec.rb
399
- - spec/models/collection_one_shot_spec.rb
400
- - spec/models/paginated_tag_response_list_spec.rb
401
- - spec/models/ansible_collection_remote_response_spec.rb
399
+ - spec/models/ansible_role_response_spec.rb
400
+ - spec/models/collection_ref_response_spec.rb
401
+ - spec/models/ansible_ansible_distribution_spec.rb
402
402
  - spec/models/paginatedansible_ansible_repository_response_list_spec.rb
403
- - spec/models/ansible_role_remote_spec.rb
404
- - spec/models/collection_metadata_response_spec.rb
405
- - spec/models/patchedansible_ansible_distribution_spec.rb
406
- - spec/models/ansible_ansible_distribution_response_spec.rb
403
+ - spec/models/ansible_collection_version_spec.rb
404
+ - spec/models/paginated_galaxy_role_response_list_spec.rb
405
+ - spec/models/copy_spec.rb
406
+ - spec/models/ansible_ansible_repository_spec.rb
407
+ - spec/models/paginatedansible_role_remote_response_list_spec.rb
407
408
  - spec/models/collection_namespace_response_spec.rb
408
- - spec/models/galaxy_collection_response_spec.rb
409
- - spec/models/ansible_ansible_distribution_spec.rb
410
- - spec/models/async_operation_response_spec.rb
411
- - spec/models/repository_version_response_spec.rb
412
- - spec/models/paginated_repository_version_response_list_spec.rb
413
- - spec/models/content_summary_spec.rb
414
409
  - spec/models/repo_metadata_response_spec.rb
410
+ - spec/models/collection_version_docs_response_spec.rb
411
+ - spec/models/galaxy_role_response_spec.rb
412
+ - spec/models/galaxy_role_version_response_spec.rb
413
+ - spec/models/galaxy_collection_spec.rb
414
+ - spec/models/repository_version_spec.rb
415
+ - spec/models/paginated_collection_version_response_list_spec.rb
416
+ - spec/models/patchedansible_role_remote_spec.rb
417
+ - spec/models/ansible_ansible_distribution_response_spec.rb
418
+ - spec/models/collection_one_shot_spec.rb
419
+ - spec/models/policy_enum_spec.rb
420
+ - spec/models/paginated_galaxy_collection_response_list_spec.rb
421
+ - spec/models/repository_version_response_spec.rb
415
422
  - spec/models/ansible_collection_remote_spec.rb
423
+ - spec/models/collection_response_spec.rb
424
+ - spec/models/paginated_galaxy_role_version_response_list_spec.rb
425
+ - spec/models/paginatedansible_collection_remote_response_list_spec.rb
426
+ - spec/models/collection_import_detail_response_spec.rb
416
427
  - spec/models/content_summary_response_spec.rb
417
- - spec/models/paginatedansible_role_remote_response_list_spec.rb
418
- - spec/models/paginated_collection_response_list_spec.rb
428
+ - spec/models/ansible_role_spec.rb
429
+ - spec/models/async_operation_response_spec.rb
430
+ - spec/models/galaxy_collection_response_spec.rb
431
+ - spec/models/tag_response_spec.rb
432
+ - spec/models/paginated_repository_version_response_list_spec.rb
433
+ - spec/models/paginatedansible_collection_version_response_list_spec.rb
434
+ - spec/models/patchedansible_ansible_distribution_spec.rb
435
+ - spec/models/collection_version_response_spec.rb
436
+ - spec/models/collection_metadata_response_spec.rb
437
+ - spec/models/ansible_collection_response_spec.rb
438
+ - spec/models/paginatedansible_role_response_list_spec.rb
439
+ - spec/models/ansible_repository_sync_url_spec.rb
440
+ - spec/models/artifact_ref_response_spec.rb
441
+ - spec/models/ansible_collection_remote_response_spec.rb
442
+ - spec/models/ansible_role_remote_response_spec.rb
443
+ - spec/models/paginatedansible_ansible_distribution_response_list_spec.rb
444
+ - spec/models/content_summary_spec.rb
445
+ - spec/models/paginated_tag_response_list_spec.rb
446
+ - spec/models/patchedansible_collection_remote_spec.rb
419
447
  - spec/models/patchedansible_ansible_repository_spec.rb
420
- - spec/models/galaxy_collection_spec.rb
448
+ - spec/models/paginated_collection_response_list_spec.rb
449
+ - spec/models/ansible_ansible_repository_response_spec.rb
450
+ - spec/models/ansible_role_remote_spec.rb
451
+ - spec/models/ansible_collection_version_response_spec.rb
421
452
  - spec/models/galaxy_collection_version_response_spec.rb
422
- - spec/models/paginatedansible_collection_remote_response_list_spec.rb
423
- - spec/models/paginated_galaxy_role_version_response_list_spec.rb
424
- - spec/models/paginatedansible_collection_response_list_spec.rb
425
- - spec/models/artifact_ref_response_spec.rb
426
- - spec/models/galaxy_role_version_response_spec.rb
427
- - spec/models/collection_response_spec.rb
428
- - spec/models/ansible_collection_response_spec.rb
429
- - spec/models/copy_spec.rb
430
- - spec/models/ansible_role_response_spec.rb
431
- - spec/models/collection_version_response_spec.rb
432
- - spec/models/collection_import_detail_response_spec.rb
433
453
  - spec/models/ansible_tag_response_spec.rb
434
- - spec/models/collection_version_docs_response_spec.rb
435
- - spec/models/patchedansible_role_remote_spec.rb
436
- - spec/models/paginated_galaxy_collection_response_list_spec.rb
437
- - spec/models/galaxy_role_response_spec.rb
438
- - spec/models/repository_version_spec.rb
439
- - spec/models/ansible_ansible_repository_response_spec.rb
454
+ - spec/models/repository_add_remove_content_spec.rb
455
+ - spec/models/paginated_collection_response_list_meta_spec.rb
440
456
  - spec/models/unpaginated_collection_version_response_spec.rb
441
- - spec/models/ansible_ansible_repository_spec.rb
442
- - spec/models/paginatedansible_role_response_list_spec.rb
443
- - spec/models/ansible_collection_version_response_spec.rb
444
- - spec/models/ansible_collection_version_spec.rb
445
- - spec/models/patchedansible_collection_remote_spec.rb
446
- - spec/models/collection_ref_response_spec.rb
447
- - spec/models/policy_enum_spec.rb
448
- - spec/models/ansible_repository_sync_url_spec.rb
449
457
  - spec/models/paginated_collection_response_list_links_spec.rb
450
- - spec/models/paginated_collection_version_response_list_spec.rb
451
- - spec/models/repository_add_remove_content_spec.rb
452
- - spec/models/ansible_role_spec.rb
458
+ - spec/models/paginatedansible_collection_response_list_spec.rb
459
+ - spec/models/ansible_collection_spec.rb
460
+ - spec/models/paginated_galaxy_collection_version_response_list_spec.rb
453
461
  - spec/spec_helper.rb