pulp_ansible_client 0.6.2 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +9 -6
  3. data/docs/AnsibleAnsibleRepository.md +6 -2
  4. data/docs/AnsibleAnsibleRepositoryResponse.md +5 -1
  5. data/docs/AnsibleCollectionRemote.md +4 -0
  6. data/docs/AnsibleCollectionRemoteResponse.md +4 -0
  7. data/docs/AnsibleCollectionVersion.md +7 -1
  8. data/docs/AnsibleCollectionVersionResponse.md +10 -4
  9. data/docs/{RepositorySyncURL.md → AnsibleRepositorySyncURL.md} +5 -3
  10. data/docs/AnsibleRoleRemote.md +5 -1
  11. data/docs/AnsibleRoleRemoteResponse.md +5 -1
  12. data/docs/AnsibleRoleResponse.md +3 -3
  13. data/docs/CollectionResponse.md +1 -1
  14. data/docs/CollectionVersionResponse.md +6 -0
  15. data/docs/DistributionsAnsibleApi.md +8 -0
  16. data/docs/PatchedansibleAnsibleRepository.md +6 -2
  17. data/docs/PatchedansibleCollectionRemote.md +4 -0
  18. data/docs/PatchedansibleRoleRemote.md +5 -1
  19. data/docs/PulpAnsibleGalaxyApiCollectionsApi.md +6 -4
  20. data/docs/PulpAnsibleGalaxyApiV3AllApi.md +138 -0
  21. data/docs/PulpAnsibleGalaxyV3Api.md +61 -0
  22. data/docs/RemotesCollectionApi.md +8 -0
  23. data/docs/RemotesRoleApi.md +8 -0
  24. data/docs/{PatchedCollection.md → RepoMetadataResponse.md} +3 -3
  25. data/docs/RepositoriesAnsibleApi.md +12 -4
  26. data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +12 -0
  27. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_collections_api.rb +12 -9
  28. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_all_api.rb +190 -0
  29. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_v3_api.rb +88 -0
  30. data/lib/pulp_ansible_client/api/remotes_collection_api.rb +12 -0
  31. data/lib/pulp_ansible_client/api/remotes_role_api.rb +12 -0
  32. data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +21 -9
  33. data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +25 -5
  34. data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +25 -5
  35. data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +21 -1
  36. data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +21 -1
  37. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +60 -4
  38. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +69 -13
  39. data/lib/pulp_ansible_client/models/{repository_sync_url.rb → ansible_repository_sync_url.rb} +20 -8
  40. data/lib/pulp_ansible_client/models/ansible_role_remote.rb +25 -5
  41. data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +25 -5
  42. data/lib/pulp_ansible_client/models/ansible_role_response.rb +10 -10
  43. data/lib/pulp_ansible_client/models/collection_response.rb +0 -5
  44. data/lib/pulp_ansible_client/models/collection_version_response.rb +56 -1
  45. data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +25 -5
  46. data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +21 -1
  47. data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +25 -5
  48. data/lib/pulp_ansible_client/models/{patched_collection.rb → repo_metadata_response.rb} +16 -11
  49. data/lib/pulp_ansible_client/version.rb +1 -1
  50. data/lib/pulp_ansible_client.rb +4 -2
  51. data/spec/api/distributions_ansible_api_spec.rb +4 -0
  52. data/spec/api/pulp_ansible_galaxy_api_collections_api_spec.rb +2 -1
  53. data/spec/api/pulp_ansible_galaxy_api_v3_all_api_spec.rb +73 -0
  54. data/spec/api/pulp_ansible_galaxy_v3_api_spec.rb +48 -0
  55. data/spec/api/remotes_collection_api_spec.rb +4 -0
  56. data/spec/api/remotes_role_api_spec.rb +4 -0
  57. data/spec/api/repositories_ansible_api_spec.rb +5 -1
  58. data/spec/models/ansible_ansible_repository_response_spec.rb +12 -0
  59. data/spec/models/ansible_ansible_repository_spec.rb +12 -0
  60. data/spec/models/ansible_collection_remote_response_spec.rb +12 -0
  61. data/spec/models/ansible_collection_remote_spec.rb +12 -0
  62. data/spec/models/ansible_collection_version_response_spec.rb +21 -3
  63. data/spec/models/ansible_collection_version_spec.rb +18 -0
  64. data/spec/models/{repository_sync_url_spec.rb → ansible_repository_sync_url_spec.rb} +12 -6
  65. data/spec/models/ansible_role_remote_response_spec.rb +12 -0
  66. data/spec/models/ansible_role_remote_spec.rb +12 -0
  67. data/spec/models/ansible_role_response_spec.rb +3 -3
  68. data/spec/models/collection_version_response_spec.rb +18 -0
  69. data/spec/models/patchedansible_ansible_repository_spec.rb +12 -0
  70. data/spec/models/patchedansible_collection_remote_spec.rb +12 -0
  71. data/spec/models/patchedansible_role_remote_spec.rb +12 -0
  72. data/spec/models/{patched_collection_spec.rb → repo_metadata_response_spec.rb} +7 -7
  73. metadata +18 -10
@@ -32,6 +32,12 @@ describe 'PatchedansibleAnsibleRepository' do
32
32
  expect(@instance).to be_instance_of(PulpAnsibleClient::PatchedansibleAnsibleRepository)
33
33
  end
34
34
  end
35
+ describe 'test attribute "pulp_labels"' 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
+
35
41
  describe 'test attribute "name"' do
36
42
  it 'should work' do
37
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -50,4 +56,10 @@ describe 'PatchedansibleAnsibleRepository' do
50
56
  end
51
57
  end
52
58
 
59
+ describe 'test attribute "last_synced_metadata_time"' do
60
+ it 'should work' do
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ end
63
+ end
64
+
53
65
  end
@@ -86,6 +86,12 @@ describe 'PatchedansibleCollectionRemote' do
86
86
  end
87
87
  end
88
88
 
89
+ describe 'test attribute "pulp_labels"' do
90
+ it 'should work' do
91
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
+ end
93
+ end
94
+
89
95
  describe 'test attribute "download_concurrency"' do
90
96
  it 'should work' do
91
97
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -122,6 +128,12 @@ describe 'PatchedansibleCollectionRemote' do
122
128
  end
123
129
  end
124
130
 
131
+ describe 'test attribute "rate_limit"' do
132
+ it 'should work' do
133
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
134
+ end
135
+ end
136
+
125
137
  describe 'test attribute "requirements_file"' do
126
138
  it 'should work' do
127
139
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -86,6 +86,12 @@ describe 'PatchedansibleRoleRemote' do
86
86
  end
87
87
  end
88
88
 
89
+ describe 'test attribute "pulp_labels"' do
90
+ it 'should work' do
91
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
+ end
93
+ end
94
+
89
95
  describe 'test attribute "download_concurrency"' do
90
96
  it 'should work' do
91
97
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -122,4 +128,10 @@ describe 'PatchedansibleRoleRemote' do
122
128
  end
123
129
  end
124
130
 
131
+ describe 'test attribute "rate_limit"' do
132
+ it 'should work' do
133
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
134
+ end
135
+ end
136
+
125
137
  end
@@ -14,25 +14,25 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for PulpAnsibleClient::PatchedCollection
17
+ # Unit tests for PulpAnsibleClient::RepoMetadataResponse
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe 'PatchedCollection' do
20
+ describe 'RepoMetadataResponse' do
21
21
  before do
22
22
  # run before each test
23
- @instance = PulpAnsibleClient::PatchedCollection.new
23
+ @instance = PulpAnsibleClient::RepoMetadataResponse.new
24
24
  end
25
25
 
26
26
  after do
27
27
  # run after each test
28
28
  end
29
29
 
30
- describe 'test an instance of PatchedCollection' do
31
- it 'should create an instance of PatchedCollection' do
32
- expect(@instance).to be_instance_of(PulpAnsibleClient::PatchedCollection)
30
+ describe 'test an instance of RepoMetadataResponse' do
31
+ it 'should create an instance of RepoMetadataResponse' do
32
+ expect(@instance).to be_instance_of(PulpAnsibleClient::RepoMetadataResponse)
33
33
  end
34
34
  end
35
- describe 'test attribute "deprecated"' do
35
+ describe 'test attribute "published"' 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
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.6.2
4
+ version: 0.7.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-03-03 00:00:00.000000000 Z
11
+ date: 2021-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -85,6 +85,7 @@ files:
85
85
  - docs/AnsibleCollectionVersionResponse.md
86
86
  - docs/AnsibleCollectionsApi.md
87
87
  - docs/AnsibleCopyApi.md
88
+ - docs/AnsibleRepositorySyncURL.md
88
89
  - docs/AnsibleRole.md
89
90
  - docs/AnsibleRoleRemote.md
90
91
  - docs/AnsibleRoleRemoteResponse.md
@@ -132,7 +133,6 @@ files:
132
133
  - docs/PaginatedansibleCollectionVersionResponseList.md
133
134
  - docs/PaginatedansibleRoleRemoteResponseList.md
134
135
  - docs/PaginatedansibleRoleResponseList.md
135
- - docs/PatchedCollection.md
136
136
  - docs/PatchedansibleAnsibleDistribution.md
137
137
  - docs/PatchedansibleAnsibleRepository.md
138
138
  - docs/PatchedansibleCollectionRemote.md
@@ -141,16 +141,18 @@ files:
141
141
  - docs/PulpAnsibleApiApi.md
142
142
  - docs/PulpAnsibleGalaxyApiCollectionsApi.md
143
143
  - docs/PulpAnsibleGalaxyApiV2VersionsApi.md
144
+ - docs/PulpAnsibleGalaxyApiV3AllApi.md
144
145
  - docs/PulpAnsibleGalaxyApiV3CollectionsApi.md
145
146
  - docs/PulpAnsibleGalaxyApiV3CollectionsDocsBlobApi.md
146
147
  - docs/PulpAnsibleGalaxyApiV3VersionsApi.md
148
+ - docs/PulpAnsibleGalaxyV3Api.md
147
149
  - docs/PulpAnsibleTagsApi.md
148
150
  - docs/RemotesCollectionApi.md
149
151
  - docs/RemotesRoleApi.md
152
+ - docs/RepoMetadataResponse.md
150
153
  - docs/RepositoriesAnsibleApi.md
151
154
  - docs/RepositoriesAnsibleVersionsApi.md
152
155
  - docs/RepositoryAddRemoveContent.md
153
- - docs/RepositorySyncURL.md
154
156
  - docs/RepositoryVersion.md
155
157
  - docs/RepositoryVersionResponse.md
156
158
  - docs/TagResponse.md
@@ -169,9 +171,11 @@ files:
169
171
  - lib/pulp_ansible_client/api/pulp_ansible_api_api.rb
170
172
  - lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_collections_api.rb
171
173
  - lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v2_versions_api.rb
174
+ - lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_all_api.rb
172
175
  - lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_collections_api.rb
173
176
  - lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_collections_docs_blob_api.rb
174
177
  - lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_versions_api.rb
178
+ - lib/pulp_ansible_client/api/pulp_ansible_galaxy_v3_api.rb
175
179
  - lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb
176
180
  - lib/pulp_ansible_client/api/remotes_collection_api.rb
177
181
  - lib/pulp_ansible_client/api/remotes_role_api.rb
@@ -190,6 +194,7 @@ files:
190
194
  - lib/pulp_ansible_client/models/ansible_collection_response.rb
191
195
  - lib/pulp_ansible_client/models/ansible_collection_version.rb
192
196
  - lib/pulp_ansible_client/models/ansible_collection_version_response.rb
197
+ - lib/pulp_ansible_client/models/ansible_repository_sync_url.rb
193
198
  - lib/pulp_ansible_client/models/ansible_role.rb
194
199
  - lib/pulp_ansible_client/models/ansible_role_remote.rb
195
200
  - lib/pulp_ansible_client/models/ansible_role_remote_response.rb
@@ -230,14 +235,13 @@ files:
230
235
  - lib/pulp_ansible_client/models/paginatedansible_collection_version_response_list.rb
231
236
  - lib/pulp_ansible_client/models/paginatedansible_role_remote_response_list.rb
232
237
  - lib/pulp_ansible_client/models/paginatedansible_role_response_list.rb
233
- - lib/pulp_ansible_client/models/patched_collection.rb
234
238
  - lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb
235
239
  - lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb
236
240
  - lib/pulp_ansible_client/models/patchedansible_collection_remote.rb
237
241
  - lib/pulp_ansible_client/models/patchedansible_role_remote.rb
238
242
  - lib/pulp_ansible_client/models/policy_enum.rb
243
+ - lib/pulp_ansible_client/models/repo_metadata_response.rb
239
244
  - lib/pulp_ansible_client/models/repository_add_remove_content.rb
240
- - lib/pulp_ansible_client/models/repository_sync_url.rb
241
245
  - lib/pulp_ansible_client/models/repository_version.rb
242
246
  - lib/pulp_ansible_client/models/repository_version_response.rb
243
247
  - lib/pulp_ansible_client/models/tag_response.rb
@@ -255,9 +259,11 @@ files:
255
259
  - spec/api/pulp_ansible_api_api_spec.rb
256
260
  - spec/api/pulp_ansible_galaxy_api_collections_api_spec.rb
257
261
  - spec/api/pulp_ansible_galaxy_api_v2_versions_api_spec.rb
262
+ - spec/api/pulp_ansible_galaxy_api_v3_all_api_spec.rb
258
263
  - spec/api/pulp_ansible_galaxy_api_v3_collections_api_spec.rb
259
264
  - spec/api/pulp_ansible_galaxy_api_v3_collections_docs_blob_api_spec.rb
260
265
  - spec/api/pulp_ansible_galaxy_api_v3_versions_api_spec.rb
266
+ - spec/api/pulp_ansible_galaxy_v3_api_spec.rb
261
267
  - spec/api/pulp_ansible_tags_api_spec.rb
262
268
  - spec/api/remotes_collection_api_spec.rb
263
269
  - spec/api/remotes_role_api_spec.rb
@@ -275,6 +281,7 @@ files:
275
281
  - spec/models/ansible_collection_response_spec.rb
276
282
  - spec/models/ansible_collection_version_response_spec.rb
277
283
  - spec/models/ansible_collection_version_spec.rb
284
+ - spec/models/ansible_repository_sync_url_spec.rb
278
285
  - spec/models/ansible_role_remote_response_spec.rb
279
286
  - spec/models/ansible_role_remote_spec.rb
280
287
  - spec/models/ansible_role_response_spec.rb
@@ -315,14 +322,13 @@ files:
315
322
  - spec/models/paginatedansible_collection_version_response_list_spec.rb
316
323
  - spec/models/paginatedansible_role_remote_response_list_spec.rb
317
324
  - spec/models/paginatedansible_role_response_list_spec.rb
318
- - spec/models/patched_collection_spec.rb
319
325
  - spec/models/patchedansible_ansible_distribution_spec.rb
320
326
  - spec/models/patchedansible_ansible_repository_spec.rb
321
327
  - spec/models/patchedansible_collection_remote_spec.rb
322
328
  - spec/models/patchedansible_role_remote_spec.rb
323
329
  - spec/models/policy_enum_spec.rb
330
+ - spec/models/repo_metadata_response_spec.rb
324
331
  - spec/models/repository_add_remove_content_spec.rb
325
- - spec/models/repository_sync_url_spec.rb
326
332
  - spec/models/repository_version_response_spec.rb
327
333
  - spec/models/repository_version_spec.rb
328
334
  - spec/models/tag_response_spec.rb
@@ -364,6 +370,7 @@ test_files:
364
370
  - spec/api/ansible_copy_api_spec.rb
365
371
  - spec/api/repositories_ansible_api_spec.rb
366
372
  - spec/api/content_roles_api_spec.rb
373
+ - spec/api/pulp_ansible_galaxy_v3_api_spec.rb
367
374
  - spec/api/galaxy_detail_api_spec.rb
368
375
  - spec/api/pulp_ansible_galaxy_api_v3_versions_api_spec.rb
369
376
  - spec/api/content_collection_versions_api_spec.rb
@@ -371,6 +378,7 @@ test_files:
371
378
  - spec/api/pulp_ansible_tags_api_spec.rb
372
379
  - spec/api/pulp_ansible_galaxy_api_collections_api_spec.rb
373
380
  - spec/api/api_roles_api_spec.rb
381
+ - spec/api/pulp_ansible_galaxy_api_v3_all_api_spec.rb
374
382
  - spec/api/versions_api_spec.rb
375
383
  - spec/api_client_spec.rb
376
384
  - spec/configuration_spec.rb
@@ -391,12 +399,12 @@ test_files:
391
399
  - spec/models/content_summary_spec.rb
392
400
  - spec/models/patchedansible_role_remote_spec.rb
393
401
  - spec/models/paginatedansible_collection_remote_response_list_spec.rb
394
- - spec/models/patched_collection_spec.rb
395
402
  - spec/models/policy_enum_spec.rb
396
403
  - spec/models/ansible_collection_version_spec.rb
397
404
  - spec/models/paginatedansible_collection_response_list_spec.rb
398
405
  - spec/models/ansible_ansible_distribution_response_spec.rb
399
406
  - spec/models/paginatedansible_collection_version_response_list_spec.rb
407
+ - spec/models/repo_metadata_response_spec.rb
400
408
  - spec/models/ansible_ansible_distribution_spec.rb
401
409
  - spec/models/collection_import_detail_response_spec.rb
402
410
  - spec/models/paginated_galaxy_role_version_response_list_spec.rb
@@ -428,8 +436,8 @@ test_files:
428
436
  - spec/models/paginated_collection_version_response_list_spec.rb
429
437
  - spec/models/collection_ref_response_spec.rb
430
438
  - spec/models/galaxy_collection_spec.rb
431
- - spec/models/repository_sync_url_spec.rb
432
439
  - spec/models/ansible_tag_response_spec.rb
440
+ - spec/models/ansible_repository_sync_url_spec.rb
433
441
  - spec/models/galaxy_role_response_spec.rb
434
442
  - spec/models/patchedansible_ansible_repository_spec.rb
435
443
  - spec/models/ansible_role_response_spec.rb