pulpcore_client 3.22.21 → 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 (99) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +26 -4
  3. data/docs/ArtifactDistributionResponse.md +6 -6
  4. data/docs/DistributionsApi.md +4 -0
  5. data/docs/DistributionsArtifactsApi.md +4 -0
  6. data/docs/Domain.md +27 -0
  7. data/docs/DomainResponse.md +31 -0
  8. data/docs/DomainsApi.md +362 -0
  9. data/docs/ExportersFilesystemApi.md +3 -3
  10. data/docs/ExportersFilesystemExportsApi.md +3 -3
  11. data/docs/GroupRole.md +3 -1
  12. data/docs/GroupRoleResponse.md +3 -1
  13. data/docs/GroupsApi.md +6 -6
  14. data/docs/GroupsRolesApi.md +6 -4
  15. data/docs/PaginatedDomainResponseList.md +23 -0
  16. data/docs/PaginatedUpstreamPulpResponseList.md +23 -0
  17. data/docs/PatchedDomain.md +27 -0
  18. data/docs/PatchedUpstreamPulp.md +37 -0
  19. data/docs/RepositoriesApi.md +16 -0
  20. data/docs/RepositoryResponse.md +1 -1
  21. data/docs/RolesApi.md +6 -6
  22. data/docs/StatusResponse.md +3 -1
  23. data/docs/StorageClassEnum.md +16 -0
  24. data/docs/TaskSchedulesApi.md +2 -2
  25. data/docs/TasksApi.md +1 -1
  26. data/docs/UpstreamPulp.md +37 -0
  27. data/docs/UpstreamPulpResponse.md +39 -0
  28. data/docs/UpstreamPulpsApi.md +405 -0
  29. data/docs/UserRole.md +4 -2
  30. data/docs/UserRoleResponse.md +4 -2
  31. data/docs/UsersApi.md +6 -6
  32. data/docs/UsersRolesApi.md +6 -4
  33. data/docs/VersionResponse.md +3 -1
  34. data/lib/pulpcore_client/api/distributions_api.rb +6 -0
  35. data/lib/pulpcore_client/api/distributions_artifacts_api.rb +6 -0
  36. data/lib/pulpcore_client/api/domains_api.rb +446 -0
  37. data/lib/pulpcore_client/api/exporters_filesystem_api.rb +6 -6
  38. data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +6 -6
  39. data/lib/pulpcore_client/api/groups_api.rb +12 -12
  40. data/lib/pulpcore_client/api/groups_roles_api.rb +11 -8
  41. data/lib/pulpcore_client/api/repositories_api.rb +24 -0
  42. data/lib/pulpcore_client/api/roles_api.rb +12 -12
  43. data/lib/pulpcore_client/api/task_schedules_api.rb +4 -4
  44. data/lib/pulpcore_client/api/tasks_api.rb +2 -2
  45. data/lib/pulpcore_client/api/upstream_pulps_api.rb +492 -0
  46. data/lib/pulpcore_client/api/users_api.rb +12 -12
  47. data/lib/pulpcore_client/api/users_roles_api.rb +11 -8
  48. data/lib/pulpcore_client/api/workers_api.rb +1 -1
  49. data/lib/pulpcore_client/models/artifact_distribution_response.rb +29 -29
  50. data/lib/pulpcore_client/models/domain.rb +323 -0
  51. data/lib/pulpcore_client/models/domain_response.rb +318 -0
  52. data/lib/pulpcore_client/models/group_role.rb +16 -5
  53. data/lib/pulpcore_client/models/group_role_response.rb +15 -4
  54. data/lib/pulpcore_client/models/nested_role.rb +19 -0
  55. data/lib/pulpcore_client/models/paginated_domain_response_list.rb +237 -0
  56. data/lib/pulpcore_client/models/paginated_upstream_pulp_response_list.rb +237 -0
  57. data/lib/pulpcore_client/models/patched_domain.rb +304 -0
  58. data/lib/pulpcore_client/models/patched_upstream_pulp.rb +450 -0
  59. data/lib/pulpcore_client/models/repository_response.rb +1 -1
  60. data/lib/pulpcore_client/models/status_response.rb +19 -4
  61. data/lib/pulpcore_client/models/storage_class_enum.rb +37 -0
  62. data/lib/pulpcore_client/models/upstream_pulp.rb +477 -0
  63. data/lib/pulpcore_client/models/upstream_pulp_response.rb +338 -0
  64. data/lib/pulpcore_client/models/user_role.rb +17 -6
  65. data/lib/pulpcore_client/models/user_role_response.rb +16 -5
  66. data/lib/pulpcore_client/models/version_response.rb +19 -4
  67. data/lib/pulpcore_client/version.rb +1 -1
  68. data/lib/pulpcore_client.rb +11 -0
  69. data/spec/api/distributions_api_spec.rb +2 -0
  70. data/spec/api/distributions_artifacts_api_spec.rb +2 -0
  71. data/spec/api/domains_api_spec.rb +120 -0
  72. data/spec/api/exporters_filesystem_api_spec.rb +3 -3
  73. data/spec/api/exporters_filesystem_exports_api_spec.rb +3 -3
  74. data/spec/api/groups_api_spec.rb +6 -6
  75. data/spec/api/groups_roles_api_spec.rb +5 -4
  76. data/spec/api/repositories_api_spec.rb +8 -0
  77. data/spec/api/roles_api_spec.rb +6 -6
  78. data/spec/api/task_schedules_api_spec.rb +2 -2
  79. data/spec/api/tasks_api_spec.rb +1 -1
  80. data/spec/api/upstream_pulps_api_spec.rb +127 -0
  81. data/spec/api/users_api_spec.rb +6 -6
  82. data/spec/api/users_roles_api_spec.rb +5 -4
  83. data/spec/models/artifact_distribution_response_spec.rb +7 -7
  84. data/spec/models/domain_response_spec.rb +83 -0
  85. data/spec/models/domain_spec.rb +71 -0
  86. data/spec/models/group_role_response_spec.rb +6 -0
  87. data/spec/models/group_role_spec.rb +6 -0
  88. data/spec/models/paginated_domain_response_list_spec.rb +59 -0
  89. data/spec/models/paginated_upstream_pulp_response_list_spec.rb +59 -0
  90. data/spec/models/patched_domain_spec.rb +71 -0
  91. data/spec/models/patched_upstream_pulp_spec.rb +101 -0
  92. data/spec/models/status_response_spec.rb +6 -0
  93. data/spec/models/storage_class_enum_spec.rb +35 -0
  94. data/spec/models/upstream_pulp_response_spec.rb +107 -0
  95. data/spec/models/upstream_pulp_spec.rb +101 -0
  96. data/spec/models/user_role_response_spec.rb +6 -0
  97. data/spec/models/user_role_spec.rb +6 -0
  98. data/spec/models/version_response_spec.rb +6 -0
  99. metadata +173 -129
@@ -0,0 +1,120 @@
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
+
16
+ # Unit tests for PulpcoreClient::DomainsApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'DomainsApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpcoreClient::DomainsApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of DomainsApi' do
30
+ it 'should create an instance of DomainsApi' do
31
+ expect(@api_instance).to be_instance_of(PulpcoreClient::DomainsApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for create
36
+ # Create a domain
37
+ # ViewSet for Domain. NOTE: This API endpoint is in \"tech preview\" and subject to change
38
+ # @param domain
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [DomainResponse]
41
+ describe 'create test' 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
+ # unit tests for delete
48
+ # Delete a domain
49
+ # Trigger an asynchronous delete task
50
+ # @param domain_href
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [AsyncOperationResponse]
53
+ describe 'delete test' 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
+ # unit tests for list
60
+ # List domains
61
+ # ViewSet for Domain. NOTE: This API endpoint is in \"tech preview\" and subject to change
62
+ # @param [Hash] opts the optional parameters
63
+ # @option opts [Integer] :limit Number of results to return per page.
64
+ # @option opts [String] :name Filter results where name matches value
65
+ # @option opts [String] :name__contains Filter results where name contains value
66
+ # @option opts [String] :name__icontains Filter results where name contains value
67
+ # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
68
+ # @option opts [String] :name__startswith Filter results where name starts with value
69
+ # @option opts [Integer] :offset The initial index from which to return the results.
70
+ # @option opts [Array<String>] :ordering Ordering
71
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
72
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
73
+ # @return [PaginatedDomainResponseList]
74
+ describe 'list test' do
75
+ it 'should work' do
76
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
77
+ end
78
+ end
79
+
80
+ # unit tests for partial_update
81
+ # Update a domain
82
+ # Trigger an asynchronous partial update task
83
+ # @param domain_href
84
+ # @param patched_domain
85
+ # @param [Hash] opts the optional parameters
86
+ # @return [AsyncOperationResponse]
87
+ describe 'partial_update test' do
88
+ it 'should work' do
89
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
90
+ end
91
+ end
92
+
93
+ # unit tests for read
94
+ # Inspect a domain
95
+ # ViewSet for Domain. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
96
+ # @param domain_href
97
+ # @param [Hash] opts the optional parameters
98
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
99
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
100
+ # @return [DomainResponse]
101
+ describe 'read test' do
102
+ it 'should work' do
103
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
104
+ end
105
+ end
106
+
107
+ # unit tests for update
108
+ # Update a domain
109
+ # Trigger an asynchronous update task
110
+ # @param domain_href
111
+ # @param domain
112
+ # @param [Hash] opts the optional parameters
113
+ # @return [AsyncOperationResponse]
114
+ describe 'update test' do
115
+ it 'should work' do
116
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
117
+ end
118
+ end
119
+
120
+ end
@@ -34,7 +34,7 @@ describe 'ExportersFilesystemApi' do
34
34
 
35
35
  # unit tests for create
36
36
  # Create a filesystem exporter
37
- # Endpoint for managing FilesystemExporters. FilesystemExporters are provided as a tech preview.
37
+ # Endpoint for managing FilesystemExporters.
38
38
  # @param filesystem_exporter
39
39
  # @param [Hash] opts the optional parameters
40
40
  # @return [FilesystemExporterResponse]
@@ -58,7 +58,7 @@ describe 'ExportersFilesystemApi' do
58
58
 
59
59
  # unit tests for list
60
60
  # List filesystem exporters
61
- # Endpoint for managing FilesystemExporters. FilesystemExporters are provided as a tech preview.
61
+ # Endpoint for managing FilesystemExporters.
62
62
  # @param [Hash] opts the optional parameters
63
63
  # @option opts [Integer] :limit Number of results to return per page.
64
64
  # @option opts [String] :name Filter results where name matches value
@@ -92,7 +92,7 @@ describe 'ExportersFilesystemApi' do
92
92
 
93
93
  # unit tests for read
94
94
  # Inspect a filesystem exporter
95
- # Endpoint for managing FilesystemExporters. FilesystemExporters are provided as a tech preview.
95
+ # Endpoint for managing FilesystemExporters.
96
96
  # @param filesystem_exporter_href
97
97
  # @param [Hash] opts the optional parameters
98
98
  # @option opts [Array<String>] :fields A list of fields to include in the response.
@@ -47,7 +47,7 @@ describe 'ExportersFilesystemExportsApi' do
47
47
 
48
48
  # unit tests for delete
49
49
  # Delete a filesystem export
50
- # Endpoint for managing FilesystemExports. This endpoint is provided as a tech preview.
50
+ # Endpoint for managing FilesystemExports.
51
51
  # @param filesystem_filesystem_export_href
52
52
  # @param [Hash] opts the optional parameters
53
53
  # @return [nil]
@@ -59,7 +59,7 @@ describe 'ExportersFilesystemExportsApi' do
59
59
 
60
60
  # unit tests for list
61
61
  # List filesystem exports
62
- # Endpoint for managing FilesystemExports. This endpoint is provided as a tech preview.
62
+ # Endpoint for managing FilesystemExports.
63
63
  # @param filesystem_exporter_href
64
64
  # @param [Hash] opts the optional parameters
65
65
  # @option opts [Integer] :limit Number of results to return per page.
@@ -75,7 +75,7 @@ describe 'ExportersFilesystemExportsApi' do
75
75
 
76
76
  # unit tests for read
77
77
  # Inspect a filesystem export
78
- # Endpoint for managing FilesystemExports. This endpoint is provided as a tech preview.
78
+ # Endpoint for managing FilesystemExports.
79
79
  # @param filesystem_filesystem_export_href
80
80
  # @param [Hash] opts the optional parameters
81
81
  # @option opts [Array<String>] :fields A list of fields to include in the response.
@@ -46,7 +46,7 @@ describe 'GroupsApi' do
46
46
 
47
47
  # unit tests for create
48
48
  # Create a group
49
- # ViewSet for Group. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
49
+ # ViewSet for Group.
50
50
  # @param group
51
51
  # @param [Hash] opts the optional parameters
52
52
  # @return [GroupResponse]
@@ -58,7 +58,7 @@ describe 'GroupsApi' do
58
58
 
59
59
  # unit tests for delete
60
60
  # Delete a group
61
- # ViewSet for Group. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
61
+ # ViewSet for Group.
62
62
  # @param group_href
63
63
  # @param [Hash] opts the optional parameters
64
64
  # @return [nil]
@@ -70,7 +70,7 @@ describe 'GroupsApi' do
70
70
 
71
71
  # unit tests for list
72
72
  # List groups
73
- # ViewSet for Group. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
73
+ # ViewSet for Group.
74
74
  # @param [Hash] opts the optional parameters
75
75
  # @option opts [Integer] :id Filter results where id matches value
76
76
  # @option opts [Array<Integer>] :id__in Filter results where id is in a comma-separated list of values
@@ -119,7 +119,7 @@ describe 'GroupsApi' do
119
119
 
120
120
  # unit tests for partial_update
121
121
  # Update a group
122
- # ViewSet for Group. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
122
+ # ViewSet for Group.
123
123
  # @param group_href
124
124
  # @param patched_group
125
125
  # @param [Hash] opts the optional parameters
@@ -132,7 +132,7 @@ describe 'GroupsApi' do
132
132
 
133
133
  # unit tests for read
134
134
  # Inspect a group
135
- # ViewSet for Group. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
135
+ # ViewSet for Group.
136
136
  # @param group_href
137
137
  # @param [Hash] opts the optional parameters
138
138
  # @option opts [Array<String>] :fields A list of fields to include in the response.
@@ -158,7 +158,7 @@ describe 'GroupsApi' do
158
158
 
159
159
  # unit tests for update
160
160
  # Update a group
161
- # ViewSet for Group. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
161
+ # ViewSet for Group.
162
162
  # @param group_href
163
163
  # @param group
164
164
  # @param [Hash] opts the optional parameters
@@ -34,7 +34,7 @@ describe 'GroupsRolesApi' do
34
34
 
35
35
  # unit tests for create
36
36
  # Create a group role
37
- # ViewSet for GroupRole. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
37
+ # ViewSet for GroupRole.
38
38
  # @param group_href
39
39
  # @param group_role
40
40
  # @param [Hash] opts the optional parameters
@@ -47,7 +47,7 @@ describe 'GroupsRolesApi' do
47
47
 
48
48
  # unit tests for delete
49
49
  # Delete a group role
50
- # ViewSet for GroupRole. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
50
+ # ViewSet for GroupRole.
51
51
  # @param groups_group_role_href
52
52
  # @param [Hash] opts the optional parameters
53
53
  # @return [nil]
@@ -59,10 +59,11 @@ describe 'GroupsRolesApi' do
59
59
 
60
60
  # unit tests for list
61
61
  # List group roles
62
- # ViewSet for GroupRole. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
62
+ # ViewSet for GroupRole.
63
63
  # @param group_href
64
64
  # @param [Hash] opts the optional parameters
65
65
  # @option opts [String] :content_object content_object
66
+ # @option opts [String] :domain Foreign Key referenced by HREF
66
67
  # @option opts [Integer] :limit Number of results to return per page.
67
68
  # @option opts [Integer] :offset The initial index from which to return the results.
68
69
  # @option opts [Array<String>] :ordering Ordering
@@ -82,7 +83,7 @@ describe 'GroupsRolesApi' do
82
83
 
83
84
  # unit tests for read
84
85
  # Inspect a group role
85
- # ViewSet for GroupRole. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
86
+ # ViewSet for GroupRole.
86
87
  # @param groups_group_role_href
87
88
  # @param [Hash] opts the optional parameters
88
89
  # @option opts [Array<String>] :fields A list of fields to include in the response.
@@ -46,6 +46,14 @@ describe 'RepositoriesApi' do
46
46
  # @option opts [Array<String>] :ordering Ordering
47
47
  # @option opts [String] :pulp_label_select Filter labels by search string
48
48
  # @option opts [String] :remote Foreign Key referenced by HREF
49
+ # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
50
+ # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
51
+ # @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
52
+ # @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
53
+ # @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
54
+ # @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
55
+ # @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
56
+ # @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
49
57
  # @option opts [Array<String>] :fields A list of fields to include in the response.
50
58
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
51
59
  # @return [PaginatedRepositoryResponseList]
@@ -34,7 +34,7 @@ describe 'RolesApi' do
34
34
 
35
35
  # unit tests for create
36
36
  # Create a role
37
- # ViewSet for Role. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
37
+ # ViewSet for Role.
38
38
  # @param role
39
39
  # @param [Hash] opts the optional parameters
40
40
  # @return [RoleResponse]
@@ -46,7 +46,7 @@ describe 'RolesApi' do
46
46
 
47
47
  # unit tests for delete
48
48
  # Delete a role
49
- # ViewSet for Role. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
49
+ # ViewSet for Role.
50
50
  # @param role_href
51
51
  # @param [Hash] opts the optional parameters
52
52
  # @return [nil]
@@ -58,7 +58,7 @@ describe 'RolesApi' do
58
58
 
59
59
  # unit tests for list
60
60
  # List roles
61
- # ViewSet for Role. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
61
+ # ViewSet for Role.
62
62
  # @param [Hash] opts the optional parameters
63
63
  # @option opts [Array<String>] :contains_permission Filter roles that have any of the permissions in the list.
64
64
  # @option opts [String] :description Filter results where description matches value
@@ -86,7 +86,7 @@ describe 'RolesApi' do
86
86
 
87
87
  # unit tests for partial_update
88
88
  # Update a role
89
- # ViewSet for Role. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
89
+ # ViewSet for Role.
90
90
  # @param role_href
91
91
  # @param patched_role
92
92
  # @param [Hash] opts the optional parameters
@@ -99,7 +99,7 @@ describe 'RolesApi' do
99
99
 
100
100
  # unit tests for read
101
101
  # Inspect a role
102
- # ViewSet for Role. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
102
+ # ViewSet for Role.
103
103
  # @param role_href
104
104
  # @param [Hash] opts the optional parameters
105
105
  # @option opts [Array<String>] :fields A list of fields to include in the response.
@@ -113,7 +113,7 @@ describe 'RolesApi' do
113
113
 
114
114
  # unit tests for update
115
115
  # Update a role
116
- # ViewSet for Role. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
116
+ # ViewSet for Role.
117
117
  # @param role_href
118
118
  # @param role
119
119
  # @param [Hash] opts the optional parameters
@@ -46,7 +46,7 @@ describe 'TaskSchedulesApi' do
46
46
 
47
47
  # unit tests for list
48
48
  # List task schedules
49
- # ViewSet to monitor task schedules. NOTE: This feature is in tech-preview and may change in backwards incompatible ways.
49
+ # ViewSet to monitor task schedules.
50
50
  # @param [Hash] opts the optional parameters
51
51
  # @option opts [Integer] :limit Number of results to return per page.
52
52
  # @option opts [String] :name Filter results where name matches value
@@ -92,7 +92,7 @@ describe 'TaskSchedulesApi' do
92
92
 
93
93
  # unit tests for read
94
94
  # Inspect a task schedule
95
- # ViewSet to monitor task schedules. NOTE: This feature is in tech-preview and may change in backwards incompatible ways.
95
+ # ViewSet to monitor task schedules.
96
96
  # @param task_schedule_href
97
97
  # @param [Hash] opts the optional parameters
98
98
  # @option opts [Array<String>] :fields A list of fields to include in the response.
@@ -132,7 +132,7 @@ describe 'TasksApi' do
132
132
 
133
133
  # unit tests for purge
134
134
  # Purge Completed Tasks
135
- # Trigger an asynchronous task that deletes completed tasks that finished prior to a specified timestamp (tech-preview, may change in the future).
135
+ # Trigger an asynchronous task that deletes completed tasks that finished prior to a specified timestamp.
136
136
  # @param purge
137
137
  # @param [Hash] opts the optional parameters
138
138
  # @return [AsyncOperationResponse]
@@ -0,0 +1,127 @@
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
+
16
+ # Unit tests for PulpcoreClient::UpstreamPulpsApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'UpstreamPulpsApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpcoreClient::UpstreamPulpsApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of UpstreamPulpsApi' do
30
+ it 'should create an instance of UpstreamPulpsApi' do
31
+ expect(@api_instance).to be_instance_of(PulpcoreClient::UpstreamPulpsApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for create
36
+ # Create an upstream pulp
37
+ # API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
38
+ # @param upstream_pulp
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [UpstreamPulpResponse]
41
+ describe 'create test' 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
+ # unit tests for delete
48
+ # Delete an upstream pulp
49
+ # API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
50
+ # @param upstream_pulp_href
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [nil]
53
+ describe 'delete test' 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
+ # unit tests for list
60
+ # List upstream pulps
61
+ # API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
62
+ # @param [Hash] opts the optional parameters
63
+ # @option opts [Integer] :limit Number of results to return per page.
64
+ # @option opts [Integer] :offset The initial index from which to return the results.
65
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
66
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
67
+ # @return [PaginatedUpstreamPulpResponseList]
68
+ describe 'list test' do
69
+ it 'should work' do
70
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
71
+ end
72
+ end
73
+
74
+ # unit tests for partial_update
75
+ # Update an upstream pulp
76
+ # API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
77
+ # @param upstream_pulp_href
78
+ # @param patched_upstream_pulp
79
+ # @param [Hash] opts the optional parameters
80
+ # @return [UpstreamPulpResponse]
81
+ describe 'partial_update test' do
82
+ it 'should work' do
83
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
84
+ end
85
+ end
86
+
87
+ # unit tests for read
88
+ # Inspect an upstream pulp
89
+ # API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
90
+ # @param upstream_pulp_href
91
+ # @param [Hash] opts the optional parameters
92
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
93
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
94
+ # @return [UpstreamPulpResponse]
95
+ describe 'read test' 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
+ # unit tests for replicate
102
+ # Replicate
103
+ # Trigger an asynchronous repository replication task group. This API is provided as a tech preview.
104
+ # @param upstream_pulp_href
105
+ # @param upstream_pulp
106
+ # @param [Hash] opts the optional parameters
107
+ # @return [AsyncOperationResponse]
108
+ describe 'replicate test' do
109
+ it 'should work' do
110
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
111
+ end
112
+ end
113
+
114
+ # unit tests for update
115
+ # Update an upstream pulp
116
+ # API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
117
+ # @param upstream_pulp_href
118
+ # @param upstream_pulp
119
+ # @param [Hash] opts the optional parameters
120
+ # @return [UpstreamPulpResponse]
121
+ describe 'update test' do
122
+ it 'should work' do
123
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
124
+ end
125
+ end
126
+
127
+ end
@@ -34,7 +34,7 @@ describe 'UsersApi' do
34
34
 
35
35
  # unit tests for create
36
36
  # Create an user
37
- # ViewSet for User. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
37
+ # ViewSet for User.
38
38
  # @param user
39
39
  # @param [Hash] opts the optional parameters
40
40
  # @return [UserResponse]
@@ -46,7 +46,7 @@ describe 'UsersApi' do
46
46
 
47
47
  # unit tests for delete
48
48
  # Delete an user
49
- # ViewSet for User. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
49
+ # ViewSet for User.
50
50
  # @param auth_user_href
51
51
  # @param [Hash] opts the optional parameters
52
52
  # @return [nil]
@@ -58,7 +58,7 @@ describe 'UsersApi' do
58
58
 
59
59
  # unit tests for list
60
60
  # List users
61
- # ViewSet for User. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
61
+ # ViewSet for User.
62
62
  # @param [Hash] opts the optional parameters
63
63
  # @option opts [String] :email Filter results where email matches value
64
64
  # @option opts [String] :email__contains Filter results where email contains value
@@ -96,7 +96,7 @@ describe 'UsersApi' do
96
96
 
97
97
  # unit tests for partial_update
98
98
  # Update an user
99
- # ViewSet for User. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
99
+ # ViewSet for User.
100
100
  # @param auth_user_href
101
101
  # @param patched_user
102
102
  # @param [Hash] opts the optional parameters
@@ -109,7 +109,7 @@ describe 'UsersApi' do
109
109
 
110
110
  # unit tests for read
111
111
  # Inspect an user
112
- # ViewSet for User. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
112
+ # ViewSet for User.
113
113
  # @param auth_user_href
114
114
  # @param [Hash] opts the optional parameters
115
115
  # @option opts [Array<String>] :fields A list of fields to include in the response.
@@ -123,7 +123,7 @@ describe 'UsersApi' do
123
123
 
124
124
  # unit tests for update
125
125
  # Update an user
126
- # ViewSet for User. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
126
+ # ViewSet for User.
127
127
  # @param auth_user_href
128
128
  # @param user
129
129
  # @param [Hash] opts the optional parameters
@@ -34,7 +34,7 @@ describe 'UsersRolesApi' do
34
34
 
35
35
  # unit tests for create
36
36
  # Create an user role
37
- # ViewSet for UserRole. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
37
+ # ViewSet for UserRole.
38
38
  # @param auth_user_href
39
39
  # @param user_role
40
40
  # @param [Hash] opts the optional parameters
@@ -47,7 +47,7 @@ describe 'UsersRolesApi' do
47
47
 
48
48
  # unit tests for delete
49
49
  # Delete an user role
50
- # ViewSet for UserRole. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
50
+ # ViewSet for UserRole.
51
51
  # @param auth_users_user_role_href
52
52
  # @param [Hash] opts the optional parameters
53
53
  # @return [nil]
@@ -59,10 +59,11 @@ describe 'UsersRolesApi' do
59
59
 
60
60
  # unit tests for list
61
61
  # List user roles
62
- # ViewSet for UserRole. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
62
+ # ViewSet for UserRole.
63
63
  # @param auth_user_href
64
64
  # @param [Hash] opts the optional parameters
65
65
  # @option opts [String] :content_object content_object
66
+ # @option opts [String] :domain Foreign Key referenced by HREF
66
67
  # @option opts [Integer] :limit Number of results to return per page.
67
68
  # @option opts [Integer] :offset The initial index from which to return the results.
68
69
  # @option opts [Array<String>] :ordering Ordering
@@ -82,7 +83,7 @@ describe 'UsersRolesApi' do
82
83
 
83
84
  # unit tests for read
84
85
  # Inspect an user role
85
- # ViewSet for UserRole. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
86
+ # ViewSet for UserRole.
86
87
  # @param auth_users_user_role_href
87
88
  # @param [Hash] opts the optional parameters
88
89
  # @option opts [Array<String>] :fields A list of fields to include in the response.
@@ -32,43 +32,43 @@ describe 'ArtifactDistributionResponse' do
32
32
  expect(@instance).to be_instance_of(PulpcoreClient::ArtifactDistributionResponse)
33
33
  end
34
34
  end
35
- describe 'test attribute "base_path"' do
35
+ describe 'test attribute "pulp_href"' 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 "base_url"' do
41
+ describe 'test attribute "pulp_labels"' 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 "pulp_href"' do
47
+ describe 'test attribute "pulp_created"' 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
51
51
  end
52
52
 
53
- describe 'test attribute "pulp_labels"' do
53
+ describe 'test attribute "content_guard"' 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
57
57
  end
58
58
 
59
- describe 'test attribute "pulp_created"' do
59
+ describe 'test attribute "base_url"' do
60
60
  it 'should work' do
61
61
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
62
  end
63
63
  end
64
64
 
65
- describe 'test attribute "content_guard"' do
65
+ describe 'test attribute "name"' do
66
66
  it 'should work' do
67
67
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
68
  end
69
69
  end
70
70
 
71
- describe 'test attribute "name"' do
71
+ describe 'test attribute "base_path"' do
72
72
  it 'should work' do
73
73
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
74
  end