pulpcore_client 3.49.59 → 3.50.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.
- checksums.yaml +4 -4
- data/README.md +5 -6
- data/docs/AccessPoliciesApi.md +7 -23
- data/docs/ArtifactDistributionResponse.md +11 -11
- data/docs/ArtifactsApi.md +3 -13
- data/docs/ContentApi.md +1 -3
- data/docs/ContentguardsApi.md +1 -3
- data/docs/ContentguardsCompositeApi.md +13 -45
- data/docs/ContentguardsContentRedirectApi.md +13 -45
- data/docs/ContentguardsHeaderApi.md +13 -45
- data/docs/ContentguardsRbacApi.md +13 -45
- data/docs/DistributionsApi.md +1 -3
- data/docs/DistributionsArtifactsApi.md +1 -5
- data/docs/Domain.md +1 -1
- data/docs/DomainResponse.md +1 -1
- data/docs/DomainsApi.md +9 -29
- data/docs/ExportersFilesystemApi.md +9 -29
- data/docs/ExportersFilesystemExportsApi.md +5 -17
- data/docs/ExportersPulpApi.md +9 -29
- data/docs/ExportersPulpExportsApi.md +5 -17
- data/docs/GroupsApi.md +13 -45
- data/docs/GroupsRolesApi.md +5 -17
- data/docs/GroupsUsersApi.md +5 -15
- data/docs/ImportersPulpApi.md +9 -29
- data/docs/ImportersPulpImportCheckApi.md +3 -7
- data/docs/ImportersPulpImportsApi.md +5 -17
- data/docs/OrphansApi.md +4 -10
- data/docs/OrphansCleanupApi.md +3 -7
- data/docs/PatchedDomain.md +1 -1
- data/docs/PublicationsApi.md +1 -3
- data/docs/RemotesApi.md +1 -3
- data/docs/RepairApi.md +3 -7
- data/docs/RepositoriesApi.md +1 -3
- data/docs/RepositoriesReclaimSpaceApi.md +3 -7
- data/docs/RepositoryVersionsApi.md +1 -3
- data/docs/RolesApi.md +9 -29
- data/docs/SigningServicesApi.md +1 -5
- data/docs/StatusApi.md +4 -14
- data/docs/TaskGroupsApi.md +1 -5
- data/docs/TaskSchedulesApi.md +5 -21
- data/docs/TasksApi.md +13 -41
- data/docs/UploadsApi.md +11 -41
- data/docs/UpstreamPulpsApi.md +15 -51
- data/docs/UsersApi.md +9 -29
- data/docs/UsersRolesApi.md +5 -17
- data/docs/WorkersApi.md +1 -5
- data/lib/pulpcore_client/api/access_policies_api.rb +0 -15
- data/lib/pulpcore_client/api/artifacts_api.rb +0 -12
- data/lib/pulpcore_client/api/content_api.rb +0 -3
- data/lib/pulpcore_client/api/contentguards_api.rb +0 -3
- data/lib/pulpcore_client/api/contentguards_composite_api.rb +0 -30
- data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +0 -30
- data/lib/pulpcore_client/api/contentguards_header_api.rb +0 -30
- data/lib/pulpcore_client/api/contentguards_rbac_api.rb +0 -30
- data/lib/pulpcore_client/api/distributions_api.rb +0 -3
- data/lib/pulpcore_client/api/distributions_artifacts_api.rb +0 -6
- data/lib/pulpcore_client/api/domains_api.rb +0 -18
- data/lib/pulpcore_client/api/exporters_filesystem_api.rb +0 -18
- data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +0 -12
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +0 -18
- data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +0 -12
- data/lib/pulpcore_client/api/groups_api.rb +0 -30
- data/lib/pulpcore_client/api/groups_roles_api.rb +0 -12
- data/lib/pulpcore_client/api/groups_users_api.rb +0 -9
- data/lib/pulpcore_client/api/importers_pulp_api.rb +0 -18
- data/lib/pulpcore_client/api/importers_pulp_import_check_api.rb +0 -3
- data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +0 -12
- data/lib/pulpcore_client/api/orphans_api.rb +0 -3
- data/lib/pulpcore_client/api/orphans_cleanup_api.rb +0 -3
- data/lib/pulpcore_client/api/publications_api.rb +0 -3
- data/lib/pulpcore_client/api/remotes_api.rb +0 -3
- data/lib/pulpcore_client/api/repair_api.rb +0 -3
- data/lib/pulpcore_client/api/repositories_api.rb +0 -3
- data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +0 -3
- data/lib/pulpcore_client/api/repository_versions_api.rb +0 -3
- data/lib/pulpcore_client/api/roles_api.rb +0 -18
- data/lib/pulpcore_client/api/signing_services_api.rb +0 -6
- data/lib/pulpcore_client/api/status_api.rb +0 -9
- data/lib/pulpcore_client/api/task_groups_api.rb +0 -6
- data/lib/pulpcore_client/api/task_schedules_api.rb +0 -18
- data/lib/pulpcore_client/api/tasks_api.rb +2 -29
- data/lib/pulpcore_client/api/uploads_api.rb +0 -30
- data/lib/pulpcore_client/api/upstream_pulps_api.rb +0 -33
- data/lib/pulpcore_client/api/users_api.rb +0 -18
- data/lib/pulpcore_client/api/users_roles_api.rb +0 -12
- data/lib/pulpcore_client/api/workers_api.rb +0 -6
- data/lib/pulpcore_client/configuration.rb +2 -2
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +48 -48
- data/lib/pulpcore_client/models/domain.rb +1 -1
- data/lib/pulpcore_client/models/domain_response.rb +1 -1
- data/lib/pulpcore_client/models/patched_domain.rb +1 -1
- data/lib/pulpcore_client/models/storage_class_enum.rb +0 -1
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/api/access_policies_api_spec.rb +0 -5
- data/spec/api/artifacts_api_spec.rb +0 -4
- data/spec/api/content_api_spec.rb +0 -1
- data/spec/api/contentguards_api_spec.rb +0 -1
- data/spec/api/contentguards_composite_api_spec.rb +0 -10
- data/spec/api/contentguards_content_redirect_api_spec.rb +0 -10
- data/spec/api/contentguards_header_api_spec.rb +0 -10
- data/spec/api/contentguards_rbac_api_spec.rb +0 -10
- data/spec/api/distributions_api_spec.rb +0 -1
- data/spec/api/distributions_artifacts_api_spec.rb +0 -2
- data/spec/api/domains_api_spec.rb +0 -6
- data/spec/api/exporters_filesystem_api_spec.rb +0 -6
- data/spec/api/exporters_filesystem_exports_api_spec.rb +0 -4
- data/spec/api/exporters_pulp_api_spec.rb +0 -6
- data/spec/api/exporters_pulp_exports_api_spec.rb +0 -4
- data/spec/api/groups_api_spec.rb +0 -10
- data/spec/api/groups_roles_api_spec.rb +0 -4
- data/spec/api/groups_users_api_spec.rb +0 -3
- data/spec/api/importers_pulp_api_spec.rb +0 -6
- data/spec/api/importers_pulp_import_check_api_spec.rb +0 -1
- data/spec/api/importers_pulp_imports_api_spec.rb +0 -4
- data/spec/api/orphans_api_spec.rb +0 -1
- data/spec/api/orphans_cleanup_api_spec.rb +0 -1
- data/spec/api/publications_api_spec.rb +0 -1
- data/spec/api/remotes_api_spec.rb +0 -1
- data/spec/api/repair_api_spec.rb +0 -1
- data/spec/api/repositories_api_spec.rb +0 -1
- data/spec/api/repositories_reclaim_space_api_spec.rb +0 -1
- data/spec/api/repository_versions_api_spec.rb +0 -1
- data/spec/api/roles_api_spec.rb +0 -6
- data/spec/api/signing_services_api_spec.rb +0 -2
- data/spec/api/status_api_spec.rb +0 -3
- data/spec/api/task_groups_api_spec.rb +0 -2
- data/spec/api/task_schedules_api_spec.rb +0 -6
- data/spec/api/tasks_api_spec.rb +1 -10
- data/spec/api/uploads_api_spec.rb +0 -10
- data/spec/api/upstream_pulps_api_spec.rb +0 -11
- data/spec/api/users_api_spec.rb +0 -6
- data/spec/api/users_roles_api_spec.rb +0 -4
- data/spec/api/workers_api_spec.rb +0 -2
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/artifact_distribution_response_spec.rb +9 -9
- metadata +166 -166
|
@@ -38,7 +38,6 @@ describe 'TaskSchedulesApi' do
|
|
|
38
38
|
# @param task_schedule_href
|
|
39
39
|
# @param nested_role
|
|
40
40
|
# @param [Hash] opts the optional parameters
|
|
41
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
42
41
|
# @return [NestedRoleResponse]
|
|
43
42
|
describe 'add_role test' do
|
|
44
43
|
it 'should work' do
|
|
@@ -50,7 +49,6 @@ describe 'TaskSchedulesApi' do
|
|
|
50
49
|
# List task schedules
|
|
51
50
|
# ViewSet to monitor task schedules.
|
|
52
51
|
# @param [Hash] opts the optional parameters
|
|
53
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
54
52
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
55
53
|
# @option opts [String] :name Filter results where name matches value
|
|
56
54
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
@@ -75,7 +73,6 @@ describe 'TaskSchedulesApi' do
|
|
|
75
73
|
# List roles assigned to this object.
|
|
76
74
|
# @param task_schedule_href
|
|
77
75
|
# @param [Hash] opts the optional parameters
|
|
78
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
79
76
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
80
77
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
81
78
|
# @return [ObjectRolesResponse]
|
|
@@ -90,7 +87,6 @@ describe 'TaskSchedulesApi' do
|
|
|
90
87
|
# List permissions available to the current user on this object.
|
|
91
88
|
# @param task_schedule_href
|
|
92
89
|
# @param [Hash] opts the optional parameters
|
|
93
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
94
90
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
95
91
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
96
92
|
# @return [MyPermissionsResponse]
|
|
@@ -105,7 +101,6 @@ describe 'TaskSchedulesApi' do
|
|
|
105
101
|
# ViewSet to monitor task schedules.
|
|
106
102
|
# @param task_schedule_href
|
|
107
103
|
# @param [Hash] opts the optional parameters
|
|
108
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
109
104
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
110
105
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
111
106
|
# @return [TaskScheduleResponse]
|
|
@@ -121,7 +116,6 @@ describe 'TaskSchedulesApi' do
|
|
|
121
116
|
# @param task_schedule_href
|
|
122
117
|
# @param nested_role
|
|
123
118
|
# @param [Hash] opts the optional parameters
|
|
124
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
125
119
|
# @return [NestedRoleResponse]
|
|
126
120
|
describe 'remove_role test' do
|
|
127
121
|
it 'should work' do
|
data/spec/api/tasks_api_spec.rb
CHANGED
|
@@ -38,7 +38,6 @@ describe 'TasksApi' do
|
|
|
38
38
|
# @param task_href
|
|
39
39
|
# @param nested_role
|
|
40
40
|
# @param [Hash] opts the optional parameters
|
|
41
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
42
41
|
# @return [NestedRoleResponse]
|
|
43
42
|
describe 'add_role test' do
|
|
44
43
|
it 'should work' do
|
|
@@ -51,7 +50,6 @@ describe 'TasksApi' do
|
|
|
51
50
|
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
|
52
51
|
# @param task_href
|
|
53
52
|
# @param [Hash] opts the optional parameters
|
|
54
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
55
53
|
# @return [nil]
|
|
56
54
|
describe 'delete test' do
|
|
57
55
|
it 'should work' do
|
|
@@ -63,7 +61,6 @@ describe 'TasksApi' do
|
|
|
63
61
|
# List tasks
|
|
64
62
|
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
|
65
63
|
# @param [Hash] opts the optional parameters
|
|
66
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
67
64
|
# @option opts [String] :child_tasks Filter results where child_tasks matches value
|
|
68
65
|
# @option opts [String] :created_resources
|
|
69
66
|
# @option opts [String] :exclusive_resources
|
|
@@ -89,7 +86,7 @@ describe 'TasksApi' do
|
|
|
89
86
|
# @option opts [String] :q
|
|
90
87
|
# @option opts [String] :reserved_resources
|
|
91
88
|
# @option opts [Array<String>] :reserved_resources__in Multiple values may be separated by commas.
|
|
92
|
-
# @option opts [Array<String>] :reserved_resources_record
|
|
89
|
+
# @option opts [Array<String>] :reserved_resources_record Deprecated, will be removed in pulpcore 3.55. Use reserved_resources instead.
|
|
93
90
|
# @option opts [String] :shared_resources
|
|
94
91
|
# @option opts [Array<String>] :shared_resources__in Multiple values may be separated by commas.
|
|
95
92
|
# @option opts [DateTime] :started_at Filter results where started_at matches value
|
|
@@ -119,7 +116,6 @@ describe 'TasksApi' do
|
|
|
119
116
|
# List roles assigned to this object.
|
|
120
117
|
# @param task_href
|
|
121
118
|
# @param [Hash] opts the optional parameters
|
|
122
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
123
119
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
124
120
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
125
121
|
# @return [ObjectRolesResponse]
|
|
@@ -134,7 +130,6 @@ describe 'TasksApi' do
|
|
|
134
130
|
# List permissions available to the current user on this object.
|
|
135
131
|
# @param task_href
|
|
136
132
|
# @param [Hash] opts the optional parameters
|
|
137
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
138
133
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
139
134
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
140
135
|
# @return [MyPermissionsResponse]
|
|
@@ -149,7 +144,6 @@ describe 'TasksApi' do
|
|
|
149
144
|
# Trigger an asynchronous task that deletes completed tasks that finished prior to a specified timestamp.
|
|
150
145
|
# @param purge
|
|
151
146
|
# @param [Hash] opts the optional parameters
|
|
152
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
153
147
|
# @return [AsyncOperationResponse]
|
|
154
148
|
describe 'purge test' do
|
|
155
149
|
it 'should work' do
|
|
@@ -162,7 +156,6 @@ describe 'TasksApi' do
|
|
|
162
156
|
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
|
163
157
|
# @param task_href
|
|
164
158
|
# @param [Hash] opts the optional parameters
|
|
165
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
166
159
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
167
160
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
168
161
|
# @return [TaskResponse]
|
|
@@ -178,7 +171,6 @@ describe 'TasksApi' do
|
|
|
178
171
|
# @param task_href
|
|
179
172
|
# @param nested_role
|
|
180
173
|
# @param [Hash] opts the optional parameters
|
|
181
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
182
174
|
# @return [NestedRoleResponse]
|
|
183
175
|
describe 'remove_role test' do
|
|
184
176
|
it 'should work' do
|
|
@@ -192,7 +184,6 @@ describe 'TasksApi' do
|
|
|
192
184
|
# @param task_href
|
|
193
185
|
# @param patched_task_cancel
|
|
194
186
|
# @param [Hash] opts the optional parameters
|
|
195
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
196
187
|
# @return [TaskResponse]
|
|
197
188
|
describe 'tasks_cancel test' do
|
|
198
189
|
it 'should work' do
|
|
@@ -38,7 +38,6 @@ describe 'UploadsApi' do
|
|
|
38
38
|
# @param upload_href
|
|
39
39
|
# @param upload
|
|
40
40
|
# @param [Hash] opts the optional parameters
|
|
41
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
42
41
|
# @return [NestedRoleResponse]
|
|
43
42
|
describe 'add_role test' do
|
|
44
43
|
it 'should work' do
|
|
@@ -52,7 +51,6 @@ describe 'UploadsApi' do
|
|
|
52
51
|
# @param upload_href
|
|
53
52
|
# @param upload_commit
|
|
54
53
|
# @param [Hash] opts the optional parameters
|
|
55
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
56
54
|
# @return [AsyncOperationResponse]
|
|
57
55
|
describe 'commit test' do
|
|
58
56
|
it 'should work' do
|
|
@@ -65,7 +63,6 @@ describe 'UploadsApi' do
|
|
|
65
63
|
# View for chunked uploads.
|
|
66
64
|
# @param upload
|
|
67
65
|
# @param [Hash] opts the optional parameters
|
|
68
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
69
66
|
# @return [UploadResponse]
|
|
70
67
|
describe 'create test' do
|
|
71
68
|
it 'should work' do
|
|
@@ -78,7 +75,6 @@ describe 'UploadsApi' do
|
|
|
78
75
|
# View for chunked uploads.
|
|
79
76
|
# @param upload_href
|
|
80
77
|
# @param [Hash] opts the optional parameters
|
|
81
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
82
78
|
# @return [nil]
|
|
83
79
|
describe 'delete test' do
|
|
84
80
|
it 'should work' do
|
|
@@ -90,7 +86,6 @@ describe 'UploadsApi' do
|
|
|
90
86
|
# List uploads
|
|
91
87
|
# View for chunked uploads.
|
|
92
88
|
# @param [Hash] opts the optional parameters
|
|
93
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
94
89
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
95
90
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
96
91
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `size` - Size * `-size` - Size (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
@@ -115,7 +110,6 @@ describe 'UploadsApi' do
|
|
|
115
110
|
# List roles assigned to this object.
|
|
116
111
|
# @param upload_href
|
|
117
112
|
# @param [Hash] opts the optional parameters
|
|
118
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
119
113
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
120
114
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
121
115
|
# @return [ObjectRolesResponse]
|
|
@@ -130,7 +124,6 @@ describe 'UploadsApi' do
|
|
|
130
124
|
# List permissions available to the current user on this object.
|
|
131
125
|
# @param upload_href
|
|
132
126
|
# @param [Hash] opts the optional parameters
|
|
133
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
134
127
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
135
128
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
136
129
|
# @return [MyPermissionsResponse]
|
|
@@ -145,7 +138,6 @@ describe 'UploadsApi' do
|
|
|
145
138
|
# View for chunked uploads.
|
|
146
139
|
# @param upload_href
|
|
147
140
|
# @param [Hash] opts the optional parameters
|
|
148
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
149
141
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
150
142
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
151
143
|
# @return [UploadDetailResponse]
|
|
@@ -161,7 +153,6 @@ describe 'UploadsApi' do
|
|
|
161
153
|
# @param upload_href
|
|
162
154
|
# @param upload
|
|
163
155
|
# @param [Hash] opts the optional parameters
|
|
164
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
165
156
|
# @return [NestedRoleResponse]
|
|
166
157
|
describe 'remove_role test' do
|
|
167
158
|
it 'should work' do
|
|
@@ -176,7 +167,6 @@ describe 'UploadsApi' do
|
|
|
176
167
|
# @param upload_href
|
|
177
168
|
# @param file A chunk of the uploaded file.
|
|
178
169
|
# @param [Hash] opts the optional parameters
|
|
179
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
180
170
|
# @option opts [String] :sha256 The SHA-256 checksum of the chunk if available.
|
|
181
171
|
# @return [UploadResponse]
|
|
182
172
|
describe 'update test' do
|
|
@@ -38,7 +38,6 @@ describe 'UpstreamPulpsApi' do
|
|
|
38
38
|
# @param upstream_pulp_href
|
|
39
39
|
# @param nested_role
|
|
40
40
|
# @param [Hash] opts the optional parameters
|
|
41
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
42
41
|
# @return [NestedRoleResponse]
|
|
43
42
|
describe 'add_role test' do
|
|
44
43
|
it 'should work' do
|
|
@@ -51,7 +50,6 @@ describe 'UpstreamPulpsApi' do
|
|
|
51
50
|
# API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
|
52
51
|
# @param upstream_pulp
|
|
53
52
|
# @param [Hash] opts the optional parameters
|
|
54
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
55
53
|
# @return [UpstreamPulpResponse]
|
|
56
54
|
describe 'create test' do
|
|
57
55
|
it 'should work' do
|
|
@@ -64,7 +62,6 @@ describe 'UpstreamPulpsApi' do
|
|
|
64
62
|
# API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
|
65
63
|
# @param upstream_pulp_href
|
|
66
64
|
# @param [Hash] opts the optional parameters
|
|
67
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
68
65
|
# @return [nil]
|
|
69
66
|
describe 'delete test' do
|
|
70
67
|
it 'should work' do
|
|
@@ -76,7 +73,6 @@ describe 'UpstreamPulpsApi' do
|
|
|
76
73
|
# List upstream pulps
|
|
77
74
|
# API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
|
78
75
|
# @param [Hash] opts the optional parameters
|
|
79
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
80
76
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
81
77
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
82
78
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
@@ -93,7 +89,6 @@ describe 'UpstreamPulpsApi' do
|
|
|
93
89
|
# List roles assigned to this object.
|
|
94
90
|
# @param upstream_pulp_href
|
|
95
91
|
# @param [Hash] opts the optional parameters
|
|
96
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
97
92
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
98
93
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
99
94
|
# @return [ObjectRolesResponse]
|
|
@@ -108,7 +103,6 @@ describe 'UpstreamPulpsApi' do
|
|
|
108
103
|
# List permissions available to the current user on this object.
|
|
109
104
|
# @param upstream_pulp_href
|
|
110
105
|
# @param [Hash] opts the optional parameters
|
|
111
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
112
106
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
113
107
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
114
108
|
# @return [MyPermissionsResponse]
|
|
@@ -124,7 +118,6 @@ describe 'UpstreamPulpsApi' do
|
|
|
124
118
|
# @param upstream_pulp_href
|
|
125
119
|
# @param patched_upstream_pulp
|
|
126
120
|
# @param [Hash] opts the optional parameters
|
|
127
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
128
121
|
# @return [UpstreamPulpResponse]
|
|
129
122
|
describe 'partial_update test' do
|
|
130
123
|
it 'should work' do
|
|
@@ -137,7 +130,6 @@ describe 'UpstreamPulpsApi' do
|
|
|
137
130
|
# API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
|
138
131
|
# @param upstream_pulp_href
|
|
139
132
|
# @param [Hash] opts the optional parameters
|
|
140
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
141
133
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
142
134
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
143
135
|
# @return [UpstreamPulpResponse]
|
|
@@ -153,7 +145,6 @@ describe 'UpstreamPulpsApi' do
|
|
|
153
145
|
# @param upstream_pulp_href
|
|
154
146
|
# @param nested_role
|
|
155
147
|
# @param [Hash] opts the optional parameters
|
|
156
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
157
148
|
# @return [NestedRoleResponse]
|
|
158
149
|
describe 'remove_role test' do
|
|
159
150
|
it 'should work' do
|
|
@@ -166,7 +157,6 @@ describe 'UpstreamPulpsApi' do
|
|
|
166
157
|
# Trigger an asynchronous repository replication task group. This API is provided as a tech preview.
|
|
167
158
|
# @param upstream_pulp_href
|
|
168
159
|
# @param [Hash] opts the optional parameters
|
|
169
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
170
160
|
# @return [TaskGroupOperationResponse]
|
|
171
161
|
describe 'replicate test' do
|
|
172
162
|
it 'should work' do
|
|
@@ -180,7 +170,6 @@ describe 'UpstreamPulpsApi' do
|
|
|
180
170
|
# @param upstream_pulp_href
|
|
181
171
|
# @param upstream_pulp
|
|
182
172
|
# @param [Hash] opts the optional parameters
|
|
183
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
184
173
|
# @return [UpstreamPulpResponse]
|
|
185
174
|
describe 'update test' do
|
|
186
175
|
it 'should work' do
|
data/spec/api/users_api_spec.rb
CHANGED
|
@@ -37,7 +37,6 @@ describe 'UsersApi' do
|
|
|
37
37
|
# ViewSet for User.
|
|
38
38
|
# @param user
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
41
40
|
# @return [UserResponse]
|
|
42
41
|
describe 'create test' do
|
|
43
42
|
it 'should work' do
|
|
@@ -50,7 +49,6 @@ describe 'UsersApi' do
|
|
|
50
49
|
# ViewSet for User.
|
|
51
50
|
# @param auth_user_href
|
|
52
51
|
# @param [Hash] opts the optional parameters
|
|
53
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
54
52
|
# @return [nil]
|
|
55
53
|
describe 'delete test' do
|
|
56
54
|
it 'should work' do
|
|
@@ -62,7 +60,6 @@ describe 'UsersApi' do
|
|
|
62
60
|
# List users
|
|
63
61
|
# ViewSet for User.
|
|
64
62
|
# @param [Hash] opts the optional parameters
|
|
65
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
66
63
|
# @option opts [String] :email Filter results where email matches value
|
|
67
64
|
# @option opts [String] :email__contains Filter results where email contains value
|
|
68
65
|
# @option opts [String] :email__icontains Filter results where email contains value
|
|
@@ -106,7 +103,6 @@ describe 'UsersApi' do
|
|
|
106
103
|
# @param auth_user_href
|
|
107
104
|
# @param patched_user
|
|
108
105
|
# @param [Hash] opts the optional parameters
|
|
109
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
110
106
|
# @return [UserResponse]
|
|
111
107
|
describe 'partial_update test' do
|
|
112
108
|
it 'should work' do
|
|
@@ -119,7 +115,6 @@ describe 'UsersApi' do
|
|
|
119
115
|
# ViewSet for User.
|
|
120
116
|
# @param auth_user_href
|
|
121
117
|
# @param [Hash] opts the optional parameters
|
|
122
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
123
118
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
124
119
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
125
120
|
# @return [UserResponse]
|
|
@@ -135,7 +130,6 @@ describe 'UsersApi' do
|
|
|
135
130
|
# @param auth_user_href
|
|
136
131
|
# @param user
|
|
137
132
|
# @param [Hash] opts the optional parameters
|
|
138
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
139
133
|
# @return [UserResponse]
|
|
140
134
|
describe 'update test' do
|
|
141
135
|
it 'should work' do
|
|
@@ -38,7 +38,6 @@ describe 'UsersRolesApi' do
|
|
|
38
38
|
# @param auth_user_href
|
|
39
39
|
# @param user_role
|
|
40
40
|
# @param [Hash] opts the optional parameters
|
|
41
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
42
41
|
# @return [UserRoleResponse]
|
|
43
42
|
describe 'create test' do
|
|
44
43
|
it 'should work' do
|
|
@@ -51,7 +50,6 @@ describe 'UsersRolesApi' do
|
|
|
51
50
|
# ViewSet for UserRole.
|
|
52
51
|
# @param auth_users_user_role_href
|
|
53
52
|
# @param [Hash] opts the optional parameters
|
|
54
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
55
53
|
# @return [nil]
|
|
56
54
|
describe 'delete test' do
|
|
57
55
|
it 'should work' do
|
|
@@ -64,7 +62,6 @@ describe 'UsersRolesApi' do
|
|
|
64
62
|
# ViewSet for UserRole.
|
|
65
63
|
# @param auth_user_href
|
|
66
64
|
# @param [Hash] opts the optional parameters
|
|
67
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
68
65
|
# @option opts [String] :content_object content_object
|
|
69
66
|
# @option opts [String] :domain Foreign Key referenced by HREF
|
|
70
67
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
@@ -92,7 +89,6 @@ describe 'UsersRolesApi' do
|
|
|
92
89
|
# ViewSet for UserRole.
|
|
93
90
|
# @param auth_users_user_role_href
|
|
94
91
|
# @param [Hash] opts the optional parameters
|
|
95
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
96
92
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
97
93
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
98
94
|
# @return [UserRoleResponse]
|
|
@@ -36,7 +36,6 @@ describe 'WorkersApi' do
|
|
|
36
36
|
# List workers
|
|
37
37
|
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
|
39
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
40
39
|
# @option opts [DateTime] :last_heartbeat Filter results where last_heartbeat matches value
|
|
41
40
|
# @option opts [DateTime] :last_heartbeat__gt Filter results where last_heartbeat is greater than value
|
|
42
41
|
# @option opts [DateTime] :last_heartbeat__gte Filter results where last_heartbeat is greater than or equal to value
|
|
@@ -74,7 +73,6 @@ describe 'WorkersApi' do
|
|
|
74
73
|
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
|
75
74
|
# @param worker_href
|
|
76
75
|
# @param [Hash] opts the optional parameters
|
|
77
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
78
76
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
79
77
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
80
78
|
# @return [WorkerResponse]
|
data/spec/configuration_spec.rb
CHANGED
|
@@ -18,7 +18,7 @@ describe PulpcoreClient::Configuration do
|
|
|
18
18
|
before(:each) do
|
|
19
19
|
# uncomment below to setup host and base_path
|
|
20
20
|
# require 'URI'
|
|
21
|
-
# uri = URI.parse("http://
|
|
21
|
+
# uri = URI.parse("http://pulp")
|
|
22
22
|
# PulpcoreClient.configure do |c|
|
|
23
23
|
# c.host = uri.host
|
|
24
24
|
# c.base_path = uri.path
|
|
@@ -28,14 +28,14 @@ describe PulpcoreClient::Configuration do
|
|
|
28
28
|
describe '#base_url' do
|
|
29
29
|
it 'should have the default value' do
|
|
30
30
|
# uncomment below to test default value of the base path
|
|
31
|
-
# expect(config.base_url).to eq("http://
|
|
31
|
+
# expect(config.base_url).to eq("http://pulp")
|
|
32
32
|
end
|
|
33
33
|
|
|
34
34
|
it 'should remove trailing slashes' do
|
|
35
35
|
[nil, '', '/', '//'].each do |base_path|
|
|
36
36
|
config.base_path = base_path
|
|
37
37
|
# uncomment below to test trailing slashes
|
|
38
|
-
# expect(config.base_url).to eq("http://
|
|
38
|
+
# expect(config.base_url).to eq("http://pulp")
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
41
|
end
|
|
@@ -32,55 +32,55 @@ describe 'ArtifactDistributionResponse' do
|
|
|
32
32
|
expect(@instance).to be_instance_of(PulpcoreClient::ArtifactDistributionResponse)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
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 "
|
|
41
|
+
describe 'test attribute "content_guard"' 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 "
|
|
47
|
+
describe 'test attribute "base_url"' 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 "
|
|
53
|
+
describe 'test attribute "pulp_labels"' 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 "
|
|
59
|
+
describe 'test attribute "name"' 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 "
|
|
65
|
+
describe 'test attribute "hidden"' 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 "
|
|
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
|
|
75
75
|
end
|
|
76
76
|
|
|
77
|
-
describe 'test attribute "
|
|
77
|
+
describe 'test attribute "pulp_created"' do
|
|
78
78
|
it 'should work' do
|
|
79
79
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
80
80
|
end
|
|
81
81
|
end
|
|
82
82
|
|
|
83
|
-
describe 'test attribute "
|
|
83
|
+
describe 'test attribute "pulp_last_updated"' do
|
|
84
84
|
it 'should work' do
|
|
85
85
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
86
86
|
end
|