pulpcore_client 3.22.30 → 3.23.0

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.
Files changed (128) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +27 -5
  3. data/docs/AccessPoliciesApi.md +1 -1
  4. data/docs/ArtifactDistributionResponse.md +10 -10
  5. data/docs/ArtifactsApi.md +1 -1
  6. data/docs/ContentApi.md +1 -1
  7. data/docs/ContentguardsApi.md +1 -1
  8. data/docs/ContentguardsContentRedirectApi.md +1 -1
  9. data/docs/ContentguardsRbacApi.md +1 -1
  10. data/docs/DistributionsApi.md +5 -1
  11. data/docs/DistributionsArtifactsApi.md +5 -1
  12. data/docs/Domain.md +27 -0
  13. data/docs/DomainResponse.md +31 -0
  14. data/docs/DomainsApi.md +362 -0
  15. data/docs/ExportersFilesystemApi.md +4 -4
  16. data/docs/ExportersFilesystemExportsApi.md +4 -4
  17. data/docs/ExportersPulpApi.md +1 -1
  18. data/docs/ExportersPulpExportsApi.md +1 -1
  19. data/docs/GroupRole.md +3 -1
  20. data/docs/GroupRoleResponse.md +3 -1
  21. data/docs/GroupsApi.md +7 -7
  22. data/docs/GroupsRolesApi.md +7 -5
  23. data/docs/GroupsUsersApi.md +1 -1
  24. data/docs/ImportersPulpApi.md +1 -1
  25. data/docs/ImportersPulpImportCheckApi.md +1 -1
  26. data/docs/ImportersPulpImportsApi.md +1 -1
  27. data/docs/OrphansApi.md +1 -1
  28. data/docs/OrphansCleanupApi.md +1 -1
  29. data/docs/PaginatedDomainResponseList.md +23 -0
  30. data/docs/PaginatedUpstreamPulpResponseList.md +23 -0
  31. data/docs/PatchedDomain.md +27 -0
  32. data/docs/PatchedUpstreamPulp.md +37 -0
  33. data/docs/PublicationsApi.md +1 -1
  34. data/docs/RemoteResponseHiddenFields.md +2 -2
  35. data/docs/RemotesApi.md +1 -1
  36. data/docs/RepairApi.md +1 -1
  37. data/docs/RepositoriesApi.md +17 -1
  38. data/docs/RepositoriesReclaimSpaceApi.md +1 -1
  39. data/docs/RepositoryResponse.md +1 -1
  40. data/docs/RepositoryVersionsApi.md +1 -1
  41. data/docs/RolesApi.md +7 -7
  42. data/docs/SigningServicesApi.md +1 -1
  43. data/docs/StatusApi.md +1 -1
  44. data/docs/StatusResponse.md +3 -1
  45. data/docs/StorageClassEnum.md +16 -0
  46. data/docs/TaskGroupsApi.md +1 -1
  47. data/docs/TaskSchedulesApi.md +3 -3
  48. data/docs/TasksApi.md +2 -2
  49. data/docs/UploadsApi.md +1 -1
  50. data/docs/UpstreamPulp.md +37 -0
  51. data/docs/UpstreamPulpResponse.md +39 -0
  52. data/docs/UpstreamPulpsApi.md +405 -0
  53. data/docs/UserRole.md +4 -2
  54. data/docs/UserRoleResponse.md +4 -2
  55. data/docs/UsersApi.md +7 -7
  56. data/docs/UsersRolesApi.md +7 -5
  57. data/docs/VersionResponse.md +3 -1
  58. data/docs/WorkersApi.md +1 -1
  59. data/lib/pulpcore_client/api/distributions_api.rb +6 -0
  60. data/lib/pulpcore_client/api/distributions_artifacts_api.rb +6 -0
  61. data/lib/pulpcore_client/api/domains_api.rb +446 -0
  62. data/lib/pulpcore_client/api/exporters_filesystem_api.rb +6 -6
  63. data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +6 -6
  64. data/lib/pulpcore_client/api/groups_api.rb +12 -12
  65. data/lib/pulpcore_client/api/groups_roles_api.rb +11 -8
  66. data/lib/pulpcore_client/api/repositories_api.rb +24 -0
  67. data/lib/pulpcore_client/api/roles_api.rb +12 -12
  68. data/lib/pulpcore_client/api/task_schedules_api.rb +4 -4
  69. data/lib/pulpcore_client/api/tasks_api.rb +2 -2
  70. data/lib/pulpcore_client/api/upstream_pulps_api.rb +492 -0
  71. data/lib/pulpcore_client/api/users_api.rb +12 -12
  72. data/lib/pulpcore_client/api/users_roles_api.rb +11 -8
  73. data/lib/pulpcore_client/api/workers_api.rb +1 -1
  74. data/lib/pulpcore_client/configuration.rb +3 -3
  75. data/lib/pulpcore_client/models/artifact_distribution_response.rb +46 -46
  76. data/lib/pulpcore_client/models/domain.rb +323 -0
  77. data/lib/pulpcore_client/models/domain_response.rb +318 -0
  78. data/lib/pulpcore_client/models/group_role.rb +16 -5
  79. data/lib/pulpcore_client/models/group_role_response.rb +15 -4
  80. data/lib/pulpcore_client/models/nested_role.rb +19 -0
  81. data/lib/pulpcore_client/models/paginated_domain_response_list.rb +237 -0
  82. data/lib/pulpcore_client/models/paginated_upstream_pulp_response_list.rb +237 -0
  83. data/lib/pulpcore_client/models/patched_domain.rb +304 -0
  84. data/lib/pulpcore_client/models/patched_upstream_pulp.rb +450 -0
  85. data/lib/pulpcore_client/models/remote_response.rb +20 -20
  86. data/lib/pulpcore_client/models/remote_response_hidden_fields.rb +0 -10
  87. data/lib/pulpcore_client/models/repository_response.rb +1 -1
  88. data/lib/pulpcore_client/models/status_response.rb +19 -4
  89. data/lib/pulpcore_client/models/storage_class_enum.rb +37 -0
  90. data/lib/pulpcore_client/models/upstream_pulp.rb +477 -0
  91. data/lib/pulpcore_client/models/upstream_pulp_response.rb +338 -0
  92. data/lib/pulpcore_client/models/user_role.rb +17 -6
  93. data/lib/pulpcore_client/models/user_role_response.rb +16 -5
  94. data/lib/pulpcore_client/models/version_response.rb +19 -4
  95. data/lib/pulpcore_client/version.rb +1 -1
  96. data/lib/pulpcore_client.rb +11 -0
  97. data/spec/api/distributions_api_spec.rb +2 -0
  98. data/spec/api/distributions_artifacts_api_spec.rb +2 -0
  99. data/spec/api/domains_api_spec.rb +120 -0
  100. data/spec/api/exporters_filesystem_api_spec.rb +3 -3
  101. data/spec/api/exporters_filesystem_exports_api_spec.rb +3 -3
  102. data/spec/api/groups_api_spec.rb +6 -6
  103. data/spec/api/groups_roles_api_spec.rb +5 -4
  104. data/spec/api/repositories_api_spec.rb +8 -0
  105. data/spec/api/roles_api_spec.rb +6 -6
  106. data/spec/api/task_schedules_api_spec.rb +2 -2
  107. data/spec/api/tasks_api_spec.rb +1 -1
  108. data/spec/api/upstream_pulps_api_spec.rb +127 -0
  109. data/spec/api/users_api_spec.rb +6 -6
  110. data/spec/api/users_roles_api_spec.rb +5 -4
  111. data/spec/configuration_spec.rb +3 -3
  112. data/spec/models/artifact_distribution_response_spec.rb +7 -7
  113. data/spec/models/domain_response_spec.rb +83 -0
  114. data/spec/models/domain_spec.rb +71 -0
  115. data/spec/models/group_role_response_spec.rb +6 -0
  116. data/spec/models/group_role_spec.rb +6 -0
  117. data/spec/models/paginated_domain_response_list_spec.rb +59 -0
  118. data/spec/models/paginated_upstream_pulp_response_list_spec.rb +59 -0
  119. data/spec/models/patched_domain_spec.rb +71 -0
  120. data/spec/models/patched_upstream_pulp_spec.rb +101 -0
  121. data/spec/models/status_response_spec.rb +6 -0
  122. data/spec/models/storage_class_enum_spec.rb +35 -0
  123. data/spec/models/upstream_pulp_response_spec.rb +107 -0
  124. data/spec/models/upstream_pulp_spec.rb +101 -0
  125. data/spec/models/user_role_response_spec.rb +6 -0
  126. data/spec/models/user_role_spec.rb +6 -0
  127. data/spec/models/version_response_spec.rb +6 -0
  128. metadata +185 -141
@@ -0,0 +1,101 @@
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 PulpcoreClient::UpstreamPulp
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'UpstreamPulp' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpcoreClient::UpstreamPulp.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of UpstreamPulp' do
31
+ it 'should create an instance of UpstreamPulp' do
32
+ expect(@instance).to be_instance_of(PulpcoreClient::UpstreamPulp)
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 "base_url"' 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
+ describe 'test attribute "api_root"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "domain"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ describe 'test attribute "ca_cert"' 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
+
65
+ describe 'test attribute "client_cert"' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
71
+ describe 'test attribute "client_key"' do
72
+ it 'should work' do
73
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
+ end
75
+ end
76
+
77
+ describe 'test attribute "tls_validation"' do
78
+ it 'should work' do
79
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ end
81
+ end
82
+
83
+ describe 'test attribute "username"' do
84
+ it 'should work' do
85
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
86
+ end
87
+ end
88
+
89
+ describe 'test attribute "password"' 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
+
95
+ describe 'test attribute "pulp_label_select"' do
96
+ it 'should work' do
97
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
98
+ end
99
+ end
100
+
101
+ end
@@ -68,4 +68,10 @@ describe 'UserRoleResponse' do
68
68
  end
69
69
  end
70
70
 
71
+ describe 'test attribute "domain"' do
72
+ it 'should work' do
73
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
+ end
75
+ end
76
+
71
77
  end
@@ -44,4 +44,10 @@ describe 'UserRole' do
44
44
  end
45
45
  end
46
46
 
47
+ describe 'test attribute "domain"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
47
53
  end
@@ -50,4 +50,10 @@ describe 'VersionResponse' do
50
50
  end
51
51
  end
52
52
 
53
+ describe 'test attribute "domain_compatible"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
53
59
  end