pulpcore_client 3.21.35 → 3.22.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 (115) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +12 -6
  3. data/docs/AccessPoliciesApi.md +3 -3
  4. data/docs/ArtifactDistributionResponse.md +29 -0
  5. data/docs/ArtifactsApi.md +1 -1
  6. data/docs/ContentApi.md +1 -1
  7. data/docs/ContentSettingsResponse.md +19 -0
  8. data/docs/ContentguardsApi.md +3 -3
  9. data/docs/ContentguardsContentRedirectApi.md +3 -3
  10. data/docs/ContentguardsRbacApi.md +3 -3
  11. data/docs/DistributionResponse.md +1 -1
  12. data/docs/DistributionsApi.md +6 -6
  13. data/docs/DistributionsArtifactsApi.md +154 -0
  14. data/docs/ExportersFilesystemApi.md +3 -3
  15. data/docs/ExportersFilesystemExportsApi.md +1 -1
  16. data/docs/ExportersPulpApi.md +3 -3
  17. data/docs/ExportersPulpExportsApi.md +1 -1
  18. data/docs/FilesystemExport.md +1 -3
  19. data/docs/GroupsApi.md +1 -1
  20. data/docs/GroupsRolesApi.md +1 -1
  21. data/docs/GroupsUsersApi.md +1 -1
  22. data/docs/ImportersPulpApi.md +3 -3
  23. data/docs/ImportersPulpImportCheckApi.md +1 -1
  24. data/docs/ImportersPulpImportsApi.md +1 -1
  25. data/docs/OrphansApi.md +1 -1
  26. data/docs/OrphansCleanupApi.md +1 -1
  27. data/docs/PaginatedArtifactDistributionResponseList.md +23 -0
  28. data/docs/PublicationsApi.md +3 -3
  29. data/docs/RemoteResponse.md +4 -2
  30. data/docs/RemoteResponseHiddenFields.md +19 -0
  31. data/docs/RemotesApi.md +5 -5
  32. data/docs/RepairApi.md +1 -1
  33. data/docs/RepositoriesApi.md +4 -4
  34. data/docs/RepositoriesReclaimSpaceApi.md +1 -1
  35. data/docs/RepositoryResponse.md +1 -1
  36. data/docs/RepositoryVersionsApi.md +5 -5
  37. data/docs/RolesApi.md +1 -1
  38. data/docs/SigningServicesApi.md +5 -3
  39. data/docs/StatusApi.md +1 -1
  40. data/docs/StatusResponse.md +3 -1
  41. data/docs/TaskGroupsApi.md +1 -3
  42. data/docs/TaskSchedulesApi.md +5 -5
  43. data/docs/TasksApi.md +33 -19
  44. data/docs/UploadsApi.md +11 -1
  45. data/docs/UserResponse.md +3 -1
  46. data/docs/UsersApi.md +1 -1
  47. data/docs/UsersRolesApi.md +1 -1
  48. data/docs/WorkersApi.md +5 -5
  49. data/lib/pulpcore_client/api/access_policies_api.rb +3 -3
  50. data/lib/pulpcore_client/api/artifacts_api.rb +1 -1
  51. data/lib/pulpcore_client/api/contentguards_api.rb +3 -3
  52. data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +3 -3
  53. data/lib/pulpcore_client/api/contentguards_rbac_api.rb +3 -3
  54. data/lib/pulpcore_client/api/distributions_api.rb +7 -7
  55. data/lib/pulpcore_client/api/distributions_artifacts_api.rb +198 -0
  56. data/lib/pulpcore_client/api/exporters_filesystem_api.rb +3 -3
  57. data/lib/pulpcore_client/api/exporters_pulp_api.rb +3 -3
  58. data/lib/pulpcore_client/api/groups_api.rb +1 -1
  59. data/lib/pulpcore_client/api/importers_pulp_api.rb +3 -3
  60. data/lib/pulpcore_client/api/publications_api.rb +3 -3
  61. data/lib/pulpcore_client/api/remotes_api.rb +5 -5
  62. data/lib/pulpcore_client/api/repositories_api.rb +3 -3
  63. data/lib/pulpcore_client/api/repository_versions_api.rb +5 -5
  64. data/lib/pulpcore_client/api/roles_api.rb +1 -1
  65. data/lib/pulpcore_client/api/signing_services_api.rb +9 -2
  66. data/lib/pulpcore_client/api/task_groups_api.rb +0 -7
  67. data/lib/pulpcore_client/api/task_schedules_api.rb +5 -5
  68. data/lib/pulpcore_client/api/tasks_api.rb +40 -19
  69. data/lib/pulpcore_client/api/uploads_api.rb +19 -0
  70. data/lib/pulpcore_client/api/users_api.rb +1 -1
  71. data/lib/pulpcore_client/api/workers_api.rb +5 -5
  72. data/lib/pulpcore_client/configuration.rb +3 -3
  73. data/lib/pulpcore_client/models/artifact_distribution_response.rb +279 -0
  74. data/lib/pulpcore_client/models/content_settings_response.rb +228 -0
  75. data/lib/pulpcore_client/models/distribution_response.rb +4 -2
  76. data/lib/pulpcore_client/models/filesystem_export.rb +4 -14
  77. data/lib/pulpcore_client/models/group_role.rb +19 -0
  78. data/lib/pulpcore_client/models/paginated_artifact_distribution_response_list.rb +237 -0
  79. data/lib/pulpcore_client/models/remote_response.rb +41 -27
  80. data/lib/pulpcore_client/models/remote_response_hidden_fields.rb +215 -0
  81. data/lib/pulpcore_client/models/repository_response.rb +4 -2
  82. data/lib/pulpcore_client/models/status_response.rb +19 -4
  83. data/lib/pulpcore_client/models/user_response.rb +16 -4
  84. data/lib/pulpcore_client/models/user_role.rb +19 -0
  85. data/lib/pulpcore_client/version.rb +1 -1
  86. data/lib/pulpcore_client.rb +5 -0
  87. data/spec/api/access_policies_api_spec.rb +1 -1
  88. data/spec/api/contentguards_api_spec.rb +1 -1
  89. data/spec/api/contentguards_content_redirect_api_spec.rb +1 -1
  90. data/spec/api/contentguards_rbac_api_spec.rb +1 -1
  91. data/spec/api/distributions_api_spec.rb +3 -3
  92. data/spec/api/distributions_artifacts_api_spec.rb +76 -0
  93. data/spec/api/exporters_filesystem_api_spec.rb +1 -1
  94. data/spec/api/exporters_pulp_api_spec.rb +1 -1
  95. data/spec/api/importers_pulp_api_spec.rb +1 -1
  96. data/spec/api/publications_api_spec.rb +1 -1
  97. data/spec/api/remotes_api_spec.rb +2 -2
  98. data/spec/api/repositories_api_spec.rb +1 -1
  99. data/spec/api/repository_versions_api_spec.rb +2 -2
  100. data/spec/api/signing_services_api_spec.rb +2 -1
  101. data/spec/api/task_groups_api_spec.rb +0 -1
  102. data/spec/api/task_schedules_api_spec.rb +2 -2
  103. data/spec/api/tasks_api_spec.rb +16 -9
  104. data/spec/api/uploads_api_spec.rb +5 -0
  105. data/spec/api/workers_api_spec.rb +2 -2
  106. data/spec/configuration_spec.rb +3 -3
  107. data/spec/models/artifact_distribution_response_spec.rb +77 -0
  108. data/spec/models/content_settings_response_spec.rb +47 -0
  109. data/spec/models/filesystem_export_spec.rb +0 -6
  110. data/spec/models/paginated_artifact_distribution_response_list_spec.rb +59 -0
  111. data/spec/models/remote_response_hidden_fields_spec.rb +47 -0
  112. data/spec/models/remote_response_spec.rb +6 -0
  113. data/spec/models/status_response_spec.rb +6 -0
  114. data/spec/models/user_response_spec.rb +6 -0
  115. metadata +159 -139
@@ -0,0 +1,77 @@
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::ArtifactDistributionResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'ArtifactDistributionResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpcoreClient::ArtifactDistributionResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of ArtifactDistributionResponse' do
31
+ it 'should create an instance of ArtifactDistributionResponse' do
32
+ expect(@instance).to be_instance_of(PulpcoreClient::ArtifactDistributionResponse)
33
+ end
34
+ end
35
+ describe 'test attribute "content_guard"' 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 "pulp_labels"' 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 "pulp_created"' 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 "base_path"' 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 "base_url"' 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 "pulp_href"' 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 "name"' 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
+ end
@@ -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 PulpcoreClient::ContentSettingsResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'ContentSettingsResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpcoreClient::ContentSettingsResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of ContentSettingsResponse' do
31
+ it 'should create an instance of ContentSettingsResponse' do
32
+ expect(@instance).to be_instance_of(PulpcoreClient::ContentSettingsResponse)
33
+ end
34
+ end
35
+ describe 'test attribute "content_origin"' 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 "content_path_prefix"' 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
@@ -50,10 +50,4 @@ describe 'FilesystemExport' do
50
50
  end
51
51
  end
52
52
 
53
- describe 'test attribute "start_repository_version"' 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
53
  end
@@ -0,0 +1,59 @@
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::PaginatedArtifactDistributionResponseList
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'PaginatedArtifactDistributionResponseList' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpcoreClient::PaginatedArtifactDistributionResponseList.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of PaginatedArtifactDistributionResponseList' do
31
+ it 'should create an instance of PaginatedArtifactDistributionResponseList' do
32
+ expect(@instance).to be_instance_of(PulpcoreClient::PaginatedArtifactDistributionResponseList)
33
+ end
34
+ end
35
+ describe 'test attribute "count"' 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 "_next"' 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 "previous"' 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 "results"' 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
+ end
@@ -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 PulpcoreClient::RemoteResponseHiddenFields
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'RemoteResponseHiddenFields' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpcoreClient::RemoteResponseHiddenFields.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of RemoteResponseHiddenFields' do
31
+ it 'should create an instance of RemoteResponseHiddenFields' do
32
+ expect(@instance).to be_instance_of(PulpcoreClient::RemoteResponseHiddenFields)
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 "is_set"' 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
@@ -146,4 +146,10 @@ describe 'RemoteResponse' do
146
146
  end
147
147
  end
148
148
 
149
+ describe 'test attribute "hidden_fields"' do
150
+ it 'should work' do
151
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
152
+ end
153
+ end
154
+
149
155
  end
@@ -68,4 +68,10 @@ describe 'StatusResponse' do
68
68
  end
69
69
  end
70
70
 
71
+ describe 'test attribute "content_settings"' 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
@@ -92,4 +92,10 @@ describe 'UserResponse' do
92
92
  end
93
93
  end
94
94
 
95
+ describe 'test attribute "hidden_fields"' 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
+
95
101
  end