pulpcore_client 3.5.0 → 3.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +88 -44
- data/docs/AccessPoliciesApi.md +244 -0
- data/docs/AccessPolicy.md +21 -0
- data/docs/AccessPolicyResponse.md +25 -0
- data/docs/Artifact.md +2 -6
- data/docs/ArtifactResponse.md +35 -0
- data/docs/ArtifactsApi.md +40 -34
- data/docs/{ContentAppStatus.md → ContentAppStatusResponse.md} +2 -2
- data/docs/{DatabaseConnection.md → DatabaseConnectionResponse.md} +2 -2
- data/docs/ExportersCoreExportsApi.md +33 -33
- data/docs/ExportersPulpApi.md +51 -51
- data/docs/Group.md +17 -0
- data/docs/{GroupProgressReport.md → GroupProgressReportResponse.md} +2 -2
- data/docs/GroupResponse.md +21 -0
- data/docs/GroupUser.md +17 -0
- data/docs/GroupUserResponse.md +19 -0
- data/docs/GroupsApi.md +351 -0
- data/docs/GroupsModelPermissionsApi.md +128 -0
- data/docs/GroupsObjectPermissionsApi.md +247 -0
- data/docs/GroupsUsersApi.md +183 -0
- data/docs/{Import.md → ImportResponse.md} +2 -2
- data/docs/ImportersCoreImportsApi.md +33 -33
- data/docs/ImportersPulpApi.md +51 -51
- data/docs/InlineResponse200.md +3 -3
- data/docs/InlineResponse2001.md +3 -3
- data/docs/InlineResponse20010.md +23 -0
- data/docs/InlineResponse20011.md +23 -0
- data/docs/InlineResponse20012.md +23 -0
- data/docs/InlineResponse20013.md +23 -0
- data/docs/InlineResponse20014.md +23 -0
- data/docs/InlineResponse2002.md +3 -3
- data/docs/InlineResponse2003.md +3 -3
- data/docs/InlineResponse2004.md +3 -3
- data/docs/InlineResponse2005.md +3 -3
- data/docs/InlineResponse2006.md +3 -3
- data/docs/InlineResponse2007.md +3 -3
- data/docs/InlineResponse2008.md +3 -3
- data/docs/InlineResponse2009.md +3 -3
- data/docs/OrphansApi.md +2 -2
- data/docs/PatchedAccessPolicy.md +21 -0
- data/docs/PatchedGroup.md +17 -0
- data/docs/PatchedPulpExporter.md +23 -0
- data/docs/PatchedPulpImporter.md +19 -0
- data/docs/{TaskCancel.md → PatchedTaskCancel.md} +3 -3
- data/docs/PermissionResponse.md +23 -0
- data/docs/{ProgressReport.md → ProgressReportResponse.md} +2 -2
- data/docs/PulpExport.md +11 -11
- data/docs/PulpExportResponse.md +27 -0
- data/docs/PulpExporter.md +1 -5
- data/docs/PulpExporterResponse.md +27 -0
- data/docs/PulpImport.md +4 -2
- data/docs/PulpImporter.md +2 -6
- data/docs/PulpImporterResponse.md +23 -0
- data/docs/{RedisConnection.md → RedisConnectionResponse.md} +2 -2
- data/docs/{SigningService.md → SigningServiceResponse.md} +2 -2
- data/docs/SigningServicesApi.md +14 -14
- data/docs/StatusApi.md +8 -22
- data/docs/StatusResponse.md +27 -0
- data/docs/{Storage.md → StorageResponse.md} +2 -2
- data/docs/{TaskGroup.md → TaskGroupResponse.md} +3 -3
- data/docs/TaskGroupsApi.md +16 -12
- data/docs/{Task.md → TaskResponse.md} +5 -7
- data/docs/TasksApi.md +144 -88
- data/docs/Upload.md +1 -7
- data/docs/UploadChunk.md +2 -6
- data/docs/UploadChunkResponse.md +19 -0
- data/docs/{UploadDetail.md → UploadDetailResponse.md} +3 -3
- data/docs/UploadResponse.md +23 -0
- data/docs/UploadsApi.md +42 -40
- data/docs/UserGroupResponse.md +19 -0
- data/docs/UserResponse.md +35 -0
- data/docs/UsersApi.md +191 -0
- data/docs/{Version.md → VersionResponse.md} +2 -2
- data/docs/{Worker.md → WorkerResponse.md} +2 -2
- data/docs/WorkersApi.md +36 -32
- data/lib/pulpcore_client/api/access_policies_api.rb +301 -0
- data/lib/pulpcore_client/api/artifacts_api.rb +47 -65
- data/lib/pulpcore_client/api/exporters_core_exports_api.rb +51 -51
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +71 -71
- data/lib/pulpcore_client/api/groups_api.rb +425 -0
- data/lib/pulpcore_client/api/groups_model_permissions_api.rb +161 -0
- data/lib/pulpcore_client/api/groups_object_permissions_api.rb +295 -0
- data/lib/pulpcore_client/api/groups_users_api.rb +229 -0
- data/lib/pulpcore_client/api/importers_core_imports_api.rb +51 -51
- data/lib/pulpcore_client/api/importers_pulp_api.rb +71 -71
- data/lib/pulpcore_client/api/orphans_api.rb +3 -3
- data/lib/pulpcore_client/api/signing_services_api.rb +18 -18
- data/lib/pulpcore_client/api/status_api.rb +11 -17
- data/lib/pulpcore_client/api/task_groups_api.rb +19 -15
- data/lib/pulpcore_client/api/tasks_api.rb +203 -125
- data/lib/pulpcore_client/api/uploads_api.rb +60 -66
- data/lib/pulpcore_client/api/users_api.rb +227 -0
- data/lib/pulpcore_client/api/workers_api.rb +46 -42
- data/lib/pulpcore_client/api_client.rb +2 -2
- data/lib/pulpcore_client/api_error.rb +2 -2
- data/lib/pulpcore_client/configuration.rb +3 -3
- data/lib/pulpcore_client/models/access_policy.rb +247 -0
- data/lib/pulpcore_client/models/access_policy_response.rb +266 -0
- data/lib/pulpcore_client/models/artifact.rb +8 -111
- data/lib/pulpcore_client/models/artifact_response.rb +308 -0
- data/lib/pulpcore_client/models/async_operation_response.rb +3 -2
- data/lib/pulpcore_client/models/{content_app_status.rb → content_app_status_response.rb} +6 -21
- data/lib/pulpcore_client/models/{database_connection.rb → database_connection_response.rb} +6 -6
- data/lib/pulpcore_client/models/group.rb +232 -0
- data/lib/pulpcore_client/models/{group_progress_report.rb → group_progress_report_response.rb} +6 -50
- data/lib/pulpcore_client/models/group_response.rb +250 -0
- data/lib/pulpcore_client/models/group_user.rb +232 -0
- data/lib/pulpcore_client/models/group_user_response.rb +241 -0
- data/lib/pulpcore_client/models/{import.rb → import_response.rb} +6 -5
- data/lib/pulpcore_client/models/inline_response200.rb +3 -13
- data/lib/pulpcore_client/models/inline_response2001.rb +3 -13
- data/lib/pulpcore_client/models/inline_response20010.rb +237 -0
- data/lib/pulpcore_client/models/inline_response20011.rb +237 -0
- data/lib/pulpcore_client/models/inline_response20012.rb +237 -0
- data/lib/pulpcore_client/models/inline_response20013.rb +237 -0
- data/lib/pulpcore_client/models/inline_response20014.rb +237 -0
- data/lib/pulpcore_client/models/inline_response2002.rb +3 -13
- data/lib/pulpcore_client/models/inline_response2003.rb +3 -13
- data/lib/pulpcore_client/models/inline_response2004.rb +3 -13
- data/lib/pulpcore_client/models/inline_response2005.rb +3 -13
- data/lib/pulpcore_client/models/inline_response2006.rb +3 -13
- data/lib/pulpcore_client/models/inline_response2007.rb +3 -13
- data/lib/pulpcore_client/models/inline_response2008.rb +3 -13
- data/lib/pulpcore_client/models/inline_response2009.rb +3 -13
- data/lib/pulpcore_client/models/patched_access_policy.rb +232 -0
- data/lib/pulpcore_client/models/patched_group.rb +223 -0
- data/lib/pulpcore_client/models/patched_pulp_exporter.rb +240 -0
- data/lib/pulpcore_client/models/patched_pulp_importer.rb +218 -0
- data/lib/pulpcore_client/models/{task_cancel.rb → patched_task_cancel.rb} +6 -29
- data/lib/pulpcore_client/models/permission_response.rb +235 -0
- data/lib/pulpcore_client/models/{progress_report.rb → progress_report_response.rb} +6 -65
- data/lib/pulpcore_client/models/pulp_export.rb +50 -42
- data/lib/pulpcore_client/models/pulp_export_response.rb +260 -0
- data/lib/pulpcore_client/models/pulp_exporter.rb +4 -60
- data/lib/pulpcore_client/models/pulp_exporter_response.rb +274 -0
- data/lib/pulpcore_client/models/pulp_import.rb +17 -30
- data/lib/pulpcore_client/models/pulp_importer.rb +6 -45
- data/lib/pulpcore_client/models/pulp_importer_response.rb +242 -0
- data/lib/pulpcore_client/models/{redis_connection.rb → redis_connection_response.rb} +6 -6
- data/lib/pulpcore_client/models/{signing_service.rb → signing_service_response.rb} +6 -43
- data/lib/pulpcore_client/models/{status.rb → status_response.rb} +15 -11
- data/lib/pulpcore_client/models/{storage.rb → storage_response.rb} +6 -6
- data/lib/pulpcore_client/models/{task_group.rb → task_group_response.rb} +7 -25
- data/lib/pulpcore_client/models/{task.rb → task_response.rb} +13 -59
- data/lib/pulpcore_client/models/upload.rb +7 -35
- data/lib/pulpcore_client/models/upload_chunk.rb +11 -39
- data/lib/pulpcore_client/models/upload_chunk_response.rb +215 -0
- data/lib/pulpcore_client/models/upload_commit.rb +2 -21
- data/lib/pulpcore_client/models/{upload_detail.rb → upload_detail_response.rb} +7 -6
- data/lib/pulpcore_client/models/upload_response.rb +242 -0
- data/lib/pulpcore_client/models/user_group_response.rb +241 -0
- data/lib/pulpcore_client/models/user_response.rb +378 -0
- data/lib/pulpcore_client/models/{version.rb → version_response.rb} +6 -44
- data/lib/pulpcore_client/models/{worker.rb → worker_response.rb} +6 -21
- data/lib/pulpcore_client/version.rb +3 -3
- data/lib/pulpcore_client.rb +47 -17
- data/pulpcore_client.gemspec +4 -4
- data/spec/api/access_policies_api_spec.rb +91 -0
- data/spec/api/artifacts_api_spec.rb +18 -15
- data/spec/api/exporters_core_exports_api_spec.rb +10 -10
- data/spec/api/exporters_pulp_api_spec.rb +18 -18
- data/spec/api/groups_api_spec.rb +115 -0
- data/spec/api/groups_model_permissions_api_spec.rb +64 -0
- data/spec/api/groups_object_permissions_api_spec.rb +92 -0
- data/spec/api/groups_users_api_spec.rb +77 -0
- data/spec/api/importers_core_imports_api_spec.rb +10 -10
- data/spec/api/importers_pulp_api_spec.rb +18 -18
- data/spec/api/orphans_api_spec.rb +2 -2
- data/spec/api/signing_services_api_spec.rb +7 -7
- data/spec/api/status_api_spec.rb +5 -7
- data/spec/api/task_groups_api_spec.rb +8 -6
- data/spec/api/tasks_api_spec.rb +69 -42
- data/spec/api/uploads_api_spec.rb +14 -13
- data/spec/api/users_api_spec.rb +78 -0
- data/spec/api/workers_api_spec.rb +18 -16
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/access_policy_response_spec.rb +65 -0
- data/spec/models/access_policy_spec.rb +53 -0
- data/spec/models/artifact_response_spec.rb +95 -0
- data/spec/models/artifact_spec.rb +2 -14
- data/spec/models/async_operation_response_spec.rb +2 -2
- data/spec/models/{content_app_status_spec.rb → content_app_status_response_spec.rb} +8 -8
- data/spec/models/{database_connection_spec.rb → database_connection_response_spec.rb} +8 -8
- data/spec/models/{group_progress_report_spec.rb → group_progress_report_response_spec.rb} +8 -8
- data/spec/models/group_response_spec.rb +53 -0
- data/spec/models/group_spec.rb +41 -0
- data/spec/models/group_user_response_spec.rb +47 -0
- data/spec/models/group_user_spec.rb +41 -0
- data/spec/models/{import_spec.rb → import_response_spec.rb} +8 -8
- data/spec/models/inline_response20010_spec.rb +59 -0
- data/spec/models/inline_response20011_spec.rb +59 -0
- data/spec/models/inline_response20012_spec.rb +59 -0
- data/spec/models/inline_response20013_spec.rb +59 -0
- data/spec/models/inline_response20014_spec.rb +59 -0
- data/spec/models/inline_response2001_spec.rb +2 -2
- data/spec/models/inline_response2002_spec.rb +2 -2
- data/spec/models/inline_response2003_spec.rb +2 -2
- data/spec/models/inline_response2004_spec.rb +2 -2
- data/spec/models/inline_response2005_spec.rb +2 -2
- data/spec/models/inline_response2006_spec.rb +2 -2
- data/spec/models/inline_response2007_spec.rb +2 -2
- data/spec/models/inline_response2008_spec.rb +2 -2
- data/spec/models/inline_response2009_spec.rb +2 -2
- data/spec/models/inline_response200_spec.rb +2 -2
- data/spec/models/patched_access_policy_spec.rb +53 -0
- data/spec/models/patched_group_spec.rb +41 -0
- data/spec/models/patched_pulp_exporter_spec.rb +59 -0
- data/spec/models/patched_pulp_importer_spec.rb +47 -0
- data/spec/models/{task_cancel_spec.rb → patched_task_cancel_spec.rb} +8 -8
- data/spec/models/permission_response_spec.rb +59 -0
- data/spec/models/{progress_report_spec.rb → progress_report_response_spec.rb} +8 -8
- data/spec/models/pulp_export_response_spec.rb +71 -0
- data/spec/models/pulp_export_spec.rb +8 -8
- data/spec/models/pulp_exporter_response_spec.rb +71 -0
- data/spec/models/pulp_exporter_spec.rb +2 -14
- data/spec/models/pulp_import_spec.rb +8 -2
- data/spec/models/pulp_importer_response_spec.rb +59 -0
- data/spec/models/pulp_importer_spec.rb +2 -14
- data/spec/models/{redis_connection_spec.rb → redis_connection_response_spec.rb} +8 -8
- data/spec/models/{signing_service_spec.rb → signing_service_response_spec.rb} +8 -8
- data/spec/models/{status_spec.rb → status_response_spec.rb} +8 -8
- data/spec/models/{storage_spec.rb → storage_response_spec.rb} +8 -8
- data/spec/models/{task_group_spec.rb → task_group_response_spec.rb} +8 -8
- data/spec/models/{task_spec.rb → task_response_spec.rb} +8 -14
- data/spec/models/upload_chunk_response_spec.rb +47 -0
- data/spec/models/upload_chunk_spec.rb +2 -14
- data/spec/models/upload_commit_spec.rb +2 -2
- data/spec/models/{upload_detail_spec.rb → upload_detail_response_spec.rb} +8 -8
- data/spec/models/upload_response_spec.rb +59 -0
- data/spec/models/upload_spec.rb +2 -20
- data/spec/models/user_group_response_spec.rb +47 -0
- data/spec/models/user_response_spec.rb +95 -0
- data/spec/models/{version_spec.rb → version_response_spec.rb} +8 -8
- data/spec/models/{worker_spec.rb → worker_response_spec.rb} +8 -8
- data/spec/spec_helper.rb +2 -2
- metadata +204 -84
- data/docs/Status.md +0 -27
@@ -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.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for PulpcoreClient::GroupsUsersApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'GroupsUsersApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = PulpcoreClient::GroupsUsersApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of GroupsUsersApi' do
|
30
|
+
it 'should create an instance of GroupsUsersApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(PulpcoreClient::GroupsUsersApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for create
|
36
|
+
# Create an user
|
37
|
+
# Add a user to a group.
|
38
|
+
# @param auth_auth_groups_user_href
|
39
|
+
# @param group_user
|
40
|
+
# @param [Hash] opts the optional parameters
|
41
|
+
# @return [GroupUserResponse]
|
42
|
+
describe 'create test' do
|
43
|
+
it 'should work' do
|
44
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
# unit tests for delete
|
49
|
+
# Delete an user
|
50
|
+
# Remove a user from a group.
|
51
|
+
# @param auth_auth_groups_user_href
|
52
|
+
# @param [Hash] opts the optional parameters
|
53
|
+
# @return [nil]
|
54
|
+
describe 'delete test' do
|
55
|
+
it 'should work' do
|
56
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
# unit tests for list
|
61
|
+
# List users
|
62
|
+
# List group users.
|
63
|
+
# @param auth_group_href
|
64
|
+
# @param [Hash] opts the optional parameters
|
65
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
66
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
67
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
68
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
69
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
70
|
+
# @return [InlineResponse2006]
|
71
|
+
describe 'list test' 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
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
|
-
|
7
|
+
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -35,8 +35,8 @@ describe 'ImportersCoreImportsApi' do
|
|
35
35
|
# unit tests for create
|
36
36
|
# Create a pulp import
|
37
37
|
# Trigger an asynchronous task to import a Pulp export.
|
38
|
-
# @param
|
39
|
-
# @param
|
38
|
+
# @param core_pulp_pulp_import_href
|
39
|
+
# @param pulp_import
|
40
40
|
# @param [Hash] opts the optional parameters
|
41
41
|
# @return [AsyncOperationResponse]
|
42
42
|
describe 'create test' do
|
@@ -48,7 +48,7 @@ describe 'ImportersCoreImportsApi' do
|
|
48
48
|
# unit tests for delete
|
49
49
|
# Delete a pulp import
|
50
50
|
# ViewSet for PulpImports.
|
51
|
-
# @param
|
51
|
+
# @param core_pulp_pulp_import_href
|
52
52
|
# @param [Hash] opts the optional parameters
|
53
53
|
# @return [nil]
|
54
54
|
describe 'delete test' do
|
@@ -60,14 +60,14 @@ describe 'ImportersCoreImportsApi' do
|
|
60
60
|
# unit tests for list
|
61
61
|
# List pulp imports
|
62
62
|
# ViewSet for PulpImports.
|
63
|
-
# @param pulp_importer_href
|
63
|
+
# @param pulp_importer_href
|
64
64
|
# @param [Hash] opts the optional parameters
|
65
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
66
65
|
# @option opts [Integer] :limit Number of results to return per page.
|
67
66
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
67
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
68
68
|
# @option opts [String] :fields A list of fields to include in the response.
|
69
69
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
70
|
-
# @return [
|
70
|
+
# @return [InlineResponse2008]
|
71
71
|
describe 'list test' do
|
72
72
|
it 'should work' do
|
73
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -77,11 +77,11 @@ describe 'ImportersCoreImportsApi' do
|
|
77
77
|
# unit tests for read
|
78
78
|
# Inspect a pulp import
|
79
79
|
# ViewSet for PulpImports.
|
80
|
-
# @param
|
80
|
+
# @param core_pulp_pulp_import_href
|
81
81
|
# @param [Hash] opts the optional parameters
|
82
82
|
# @option opts [String] :fields A list of fields to include in the response.
|
83
83
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
84
|
-
# @return [
|
84
|
+
# @return [ImportResponse]
|
85
85
|
describe 'read test' do
|
86
86
|
it 'should work' do
|
87
87
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
|
-
|
7
|
+
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -35,9 +35,9 @@ describe 'ImportersPulpApi' do
|
|
35
35
|
# unit tests for create
|
36
36
|
# Create a pulp importer
|
37
37
|
# ViewSet for PulpImporters.
|
38
|
-
# @param
|
38
|
+
# @param pulp_importer
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [
|
40
|
+
# @return [PulpImporterResponse]
|
41
41
|
describe 'create test' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -47,7 +47,7 @@ describe 'ImportersPulpApi' do
|
|
47
47
|
# unit tests for delete
|
48
48
|
# Delete a pulp importer
|
49
49
|
# ViewSet for PulpImporters.
|
50
|
-
# @param pulp_importer_href
|
50
|
+
# @param pulp_importer_href
|
51
51
|
# @param [Hash] opts the optional parameters
|
52
52
|
# @return [nil]
|
53
53
|
describe 'delete test' do
|
@@ -60,14 +60,14 @@ describe 'ImportersPulpApi' do
|
|
60
60
|
# List pulp importers
|
61
61
|
# ViewSet for PulpImporters.
|
62
62
|
# @param [Hash] opts the optional parameters
|
63
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
64
|
-
# @option opts [String] :name
|
65
|
-
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
66
63
|
# @option opts [Integer] :limit Number of results to return per page.
|
64
|
+
# @option opts [String] :name name
|
65
|
+
# @option opts [String] :name__in name__in
|
67
66
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
67
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
68
68
|
# @option opts [String] :fields A list of fields to include in the response.
|
69
69
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
70
|
-
# @return [
|
70
|
+
# @return [InlineResponse2007]
|
71
71
|
describe 'list test' do
|
72
72
|
it 'should work' do
|
73
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -75,12 +75,12 @@ describe 'ImportersPulpApi' do
|
|
75
75
|
end
|
76
76
|
|
77
77
|
# unit tests for partial_update
|
78
|
-
#
|
78
|
+
# Update a pulp importer
|
79
79
|
# ViewSet for PulpImporters.
|
80
|
-
# @param pulp_importer_href
|
81
|
-
# @param
|
80
|
+
# @param pulp_importer_href
|
81
|
+
# @param patched_pulp_importer
|
82
82
|
# @param [Hash] opts the optional parameters
|
83
|
-
# @return [
|
83
|
+
# @return [PulpImporterResponse]
|
84
84
|
describe 'partial_update test' do
|
85
85
|
it 'should work' do
|
86
86
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -90,11 +90,11 @@ describe 'ImportersPulpApi' do
|
|
90
90
|
# unit tests for read
|
91
91
|
# Inspect a pulp importer
|
92
92
|
# ViewSet for PulpImporters.
|
93
|
-
# @param pulp_importer_href
|
93
|
+
# @param pulp_importer_href
|
94
94
|
# @param [Hash] opts the optional parameters
|
95
95
|
# @option opts [String] :fields A list of fields to include in the response.
|
96
96
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
97
|
-
# @return [
|
97
|
+
# @return [PulpImporterResponse]
|
98
98
|
describe 'read test' do
|
99
99
|
it 'should work' do
|
100
100
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -104,10 +104,10 @@ describe 'ImportersPulpApi' do
|
|
104
104
|
# unit tests for update
|
105
105
|
# Update a pulp importer
|
106
106
|
# ViewSet for PulpImporters.
|
107
|
-
# @param pulp_importer_href
|
108
|
-
# @param
|
107
|
+
# @param pulp_importer_href
|
108
|
+
# @param pulp_importer
|
109
109
|
# @param [Hash] opts the optional parameters
|
110
|
-
# @return [
|
110
|
+
# @return [PulpImporterResponse]
|
111
111
|
describe 'update test' do
|
112
112
|
it 'should work' do
|
113
113
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
|
-
|
7
|
+
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
|
-
|
7
|
+
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -36,13 +36,13 @@ describe 'SigningServicesApi' do
|
|
36
36
|
# List signing services
|
37
37
|
# A ViewSet that supports browsing of existing signing services.
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
40
|
-
# @option opts [String] :name
|
41
39
|
# @option opts [Integer] :limit Number of results to return per page.
|
40
|
+
# @option opts [String] :name name
|
42
41
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
42
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
43
43
|
# @option opts [String] :fields A list of fields to include in the response.
|
44
44
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
45
|
-
# @return [
|
45
|
+
# @return [InlineResponse2009]
|
46
46
|
describe 'list test' do
|
47
47
|
it 'should work' do
|
48
48
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -52,11 +52,11 @@ describe 'SigningServicesApi' do
|
|
52
52
|
# unit tests for read
|
53
53
|
# Inspect a signing service
|
54
54
|
# A ViewSet that supports browsing of existing signing services.
|
55
|
-
# @param signing_service_href
|
55
|
+
# @param signing_service_href
|
56
56
|
# @param [Hash] opts the optional parameters
|
57
57
|
# @option opts [String] :fields A list of fields to include in the response.
|
58
58
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
59
|
-
# @return [
|
59
|
+
# @return [SigningServiceResponse]
|
60
60
|
describe 'read test' do
|
61
61
|
it 'should work' do
|
62
62
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
data/spec/api/status_api_spec.rb
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
|
-
|
7
|
+
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -32,14 +32,12 @@ describe 'StatusApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
-
# unit tests for
|
35
|
+
# unit tests for read
|
36
36
|
# Inspect status of Pulp
|
37
37
|
# Returns app information including the version of pulpcore and loaded pulp plugins, known workers, database connection status, and messaging connection status
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
|
-
# @
|
40
|
-
|
41
|
-
# @return [Status]
|
42
|
-
describe 'status_read test' do
|
39
|
+
# @return [StatusResponse]
|
40
|
+
describe 'read test' do
|
43
41
|
it 'should work' do
|
44
42
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
45
43
|
end
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
|
-
|
7
|
+
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -34,13 +34,14 @@ describe 'TaskGroupsApi' do
|
|
34
34
|
|
35
35
|
# unit tests for list
|
36
36
|
# List task groups
|
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.
|
37
38
|
# @param [Hash] opts the optional parameters
|
38
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
39
39
|
# @option opts [Integer] :limit Number of results to return per page.
|
40
40
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
41
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
41
42
|
# @option opts [String] :fields A list of fields to include in the response.
|
42
43
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
43
|
-
# @return [
|
44
|
+
# @return [InlineResponse20010]
|
44
45
|
describe 'list test' do
|
45
46
|
it 'should work' do
|
46
47
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -49,11 +50,12 @@ describe 'TaskGroupsApi' do
|
|
49
50
|
|
50
51
|
# unit tests for read
|
51
52
|
# Inspect a task group
|
52
|
-
#
|
53
|
+
# 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.
|
54
|
+
# @param task_group_href
|
53
55
|
# @param [Hash] opts the optional parameters
|
54
56
|
# @option opts [String] :fields A list of fields to include in the response.
|
55
57
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
56
|
-
# @return [
|
58
|
+
# @return [TaskGroupResponse]
|
57
59
|
describe 'read test' do
|
58
60
|
it 'should work' do
|
59
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
data/spec/api/tasks_api_spec.rb
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
|
-
|
7
|
+
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -34,7 +34,8 @@ describe 'TasksApi' do
|
|
34
34
|
|
35
35
|
# unit tests for delete
|
36
36
|
# Delete a task
|
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
|
+
# @param task_href
|
38
39
|
# @param [Hash] opts the optional parameters
|
39
40
|
# @return [nil]
|
40
41
|
describe 'delete test' do
|
@@ -45,63 +46,89 @@ describe 'TasksApi' do
|
|
45
46
|
|
46
47
|
# unit tests for list
|
47
48
|
# List tasks
|
49
|
+
# 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.
|
48
50
|
# @param [Hash] opts the optional parameters
|
49
|
-
# @option opts [String] :
|
50
|
-
# @option opts [String] :
|
51
|
-
# @option opts [String] :
|
52
|
-
# @option opts [String] :
|
53
|
-
# @option opts [String] :
|
54
|
-
# @option opts [String] :
|
55
|
-
# @option opts [String] :
|
56
|
-
# @option opts [String] :
|
57
|
-
# @option opts [String] :started_at__gt Filter results where started_at is greater than value
|
58
|
-
# @option opts [String] :started_at__gte Filter results where started_at is greater than or equal to value
|
59
|
-
# @option opts [String] :started_at__range Filter results where started_at is between two comma separated values
|
60
|
-
# @option opts [String] :finished_at__lt Filter results where finished_at is less than value
|
61
|
-
# @option opts [String] :finished_at__lte Filter results where finished_at is less than or equal to value
|
62
|
-
# @option opts [String] :finished_at__gt Filter results where finished_at is greater than value
|
63
|
-
# @option opts [String] :finished_at__gte Filter results where finished_at is greater than or equal to value
|
64
|
-
# @option opts [String] :finished_at__range Filter results where finished_at is between two comma separated values
|
65
|
-
# @option opts [String] :parent_task Foreign Key referenced by HREF
|
66
|
-
# @option opts [String] :child_tasks Foreign Key referenced by HREF
|
67
|
-
# @option opts [String] :task_group Foreign Key referenced by HREF
|
68
|
-
# @option opts [String] :reserved_resources_record
|
69
|
-
# @option opts [String] :created_resources
|
70
|
-
# @option opts [String] :name
|
71
|
-
# @option opts [String] :started_at ISO 8601 formatted dates are supported
|
72
|
-
# @option opts [String] :finished_at ISO 8601 formatted dates are supported
|
51
|
+
# @option opts [String] :child_tasks child_tasks
|
52
|
+
# @option opts [String] :created_resources created_resources
|
53
|
+
# @option opts [String] :finished_at finished_at
|
54
|
+
# @option opts [String] :finished_at__gt finished_at__gt
|
55
|
+
# @option opts [String] :finished_at__gte finished_at__gte
|
56
|
+
# @option opts [String] :finished_at__lt finished_at__lt
|
57
|
+
# @option opts [String] :finished_at__lte finished_at__lte
|
58
|
+
# @option opts [String] :finished_at__range finished_at__range
|
73
59
|
# @option opts [Integer] :limit Number of results to return per page.
|
60
|
+
# @option opts [String] :name name
|
61
|
+
# @option opts [String] :name__contains name__contains
|
74
62
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
63
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
64
|
+
# @option opts [String] :parent_task parent_task
|
65
|
+
# @option opts [String] :reserved_resources_record reserved_resources_record
|
66
|
+
# @option opts [String] :started_at started_at
|
67
|
+
# @option opts [String] :started_at__gt started_at__gt
|
68
|
+
# @option opts [String] :started_at__gte started_at__gte
|
69
|
+
# @option opts [String] :started_at__lt started_at__lt
|
70
|
+
# @option opts [String] :started_at__lte started_at__lte
|
71
|
+
# @option opts [String] :started_at__range started_at__range
|
72
|
+
# @option opts [String] :state state
|
73
|
+
# @option opts [String] :state__in state__in
|
74
|
+
# @option opts [String] :task_group task_group
|
75
|
+
# @option opts [String] :worker worker
|
76
|
+
# @option opts [String] :worker__in worker__in
|
75
77
|
# @option opts [String] :fields A list of fields to include in the response.
|
76
78
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
77
|
-
# @return [
|
79
|
+
# @return [InlineResponse20011]
|
78
80
|
describe 'list test' do
|
79
81
|
it 'should work' do
|
80
82
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
81
83
|
end
|
82
84
|
end
|
83
85
|
|
84
|
-
# unit tests for
|
85
|
-
#
|
86
|
-
#
|
86
|
+
# unit tests for partial_update
|
87
|
+
# Cancel a task
|
88
|
+
# This operation cancels a task.
|
89
|
+
# @param task_href
|
90
|
+
# @param patched_task_cancel
|
87
91
|
# @param [Hash] opts the optional parameters
|
88
|
-
# @option opts [String] :
|
89
|
-
# @option opts [String] :
|
90
|
-
# @
|
91
|
-
|
92
|
+
# @option opts [String] :child_tasks child_tasks
|
93
|
+
# @option opts [String] :created_resources created_resources
|
94
|
+
# @option opts [String] :finished_at finished_at
|
95
|
+
# @option opts [String] :finished_at__gt finished_at__gt
|
96
|
+
# @option opts [String] :finished_at__gte finished_at__gte
|
97
|
+
# @option opts [String] :finished_at__lt finished_at__lt
|
98
|
+
# @option opts [String] :finished_at__lte finished_at__lte
|
99
|
+
# @option opts [String] :finished_at__range finished_at__range
|
100
|
+
# @option opts [String] :name name
|
101
|
+
# @option opts [String] :name__contains name__contains
|
102
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
103
|
+
# @option opts [String] :parent_task parent_task
|
104
|
+
# @option opts [String] :reserved_resources_record reserved_resources_record
|
105
|
+
# @option opts [String] :started_at started_at
|
106
|
+
# @option opts [String] :started_at__gt started_at__gt
|
107
|
+
# @option opts [String] :started_at__gte started_at__gte
|
108
|
+
# @option opts [String] :started_at__lt started_at__lt
|
109
|
+
# @option opts [String] :started_at__lte started_at__lte
|
110
|
+
# @option opts [String] :started_at__range started_at__range
|
111
|
+
# @option opts [String] :state state
|
112
|
+
# @option opts [String] :state__in state__in
|
113
|
+
# @option opts [String] :task_group task_group
|
114
|
+
# @option opts [String] :worker worker
|
115
|
+
# @option opts [String] :worker__in worker__in
|
116
|
+
# @return [TaskResponse]
|
117
|
+
describe 'partial_update test' do
|
92
118
|
it 'should work' do
|
93
119
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
94
120
|
end
|
95
121
|
end
|
96
122
|
|
97
|
-
# unit tests for
|
98
|
-
#
|
99
|
-
# This
|
100
|
-
# @param task_href
|
101
|
-
# @param data
|
123
|
+
# unit tests for read
|
124
|
+
# Inspect a task
|
125
|
+
# 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.
|
126
|
+
# @param task_href
|
102
127
|
# @param [Hash] opts the optional parameters
|
103
|
-
# @
|
104
|
-
|
128
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
129
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
130
|
+
# @return [TaskResponse]
|
131
|
+
describe 'read test' do
|
105
132
|
it 'should work' do
|
106
133
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
107
134
|
end
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
|
-
|
7
|
+
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -35,8 +35,8 @@ describe 'UploadsApi' do
|
|
35
35
|
# unit tests for commit
|
36
36
|
# Finish an Upload
|
37
37
|
# Queues a Task that creates an Artifact, and the Upload gets deleted and cannot be re-used.
|
38
|
-
# @param upload_href
|
39
|
-
# @param
|
38
|
+
# @param upload_href
|
39
|
+
# @param upload_commit
|
40
40
|
# @param [Hash] opts the optional parameters
|
41
41
|
# @return [AsyncOperationResponse]
|
42
42
|
describe 'commit test' do
|
@@ -48,9 +48,9 @@ describe 'UploadsApi' do
|
|
48
48
|
# unit tests for create
|
49
49
|
# Create an upload
|
50
50
|
# View for chunked uploads.
|
51
|
-
# @param
|
51
|
+
# @param upload
|
52
52
|
# @param [Hash] opts the optional parameters
|
53
|
-
# @return [
|
53
|
+
# @return [UploadResponse]
|
54
54
|
describe 'create test' do
|
55
55
|
it 'should work' do
|
56
56
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -60,7 +60,7 @@ describe 'UploadsApi' do
|
|
60
60
|
# unit tests for delete
|
61
61
|
# Delete an upload
|
62
62
|
# View for chunked uploads.
|
63
|
-
# @param upload_href
|
63
|
+
# @param upload_href
|
64
64
|
# @param [Hash] opts the optional parameters
|
65
65
|
# @return [nil]
|
66
66
|
describe 'delete test' do
|
@@ -73,12 +73,12 @@ describe 'UploadsApi' do
|
|
73
73
|
# List uploads
|
74
74
|
# View for chunked uploads.
|
75
75
|
# @param [Hash] opts the optional parameters
|
76
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
77
76
|
# @option opts [Integer] :limit Number of results to return per page.
|
78
77
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
78
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
79
79
|
# @option opts [String] :fields A list of fields to include in the response.
|
80
80
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
81
|
-
# @return [
|
81
|
+
# @return [InlineResponse20012]
|
82
82
|
describe 'list test' do
|
83
83
|
it 'should work' do
|
84
84
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -88,11 +88,11 @@ describe 'UploadsApi' do
|
|
88
88
|
# unit tests for read
|
89
89
|
# Inspect an upload
|
90
90
|
# View for chunked uploads.
|
91
|
-
# @param upload_href
|
91
|
+
# @param upload_href
|
92
92
|
# @param [Hash] opts the optional parameters
|
93
93
|
# @option opts [String] :fields A list of fields to include in the response.
|
94
94
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
95
|
-
# @return [
|
95
|
+
# @return [UploadDetailResponse]
|
96
96
|
describe 'read test' do
|
97
97
|
it 'should work' do
|
98
98
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -102,12 +102,13 @@ describe 'UploadsApi' do
|
|
102
102
|
# unit tests for update
|
103
103
|
# Upload a file chunk
|
104
104
|
# Upload a chunk for an upload.
|
105
|
-
# @param upload_href URI of Upload. e.g.: /pulp/api/v3/uploads/1/
|
106
105
|
# @param content_range The Content-Range header specifies the location of the file chunk within the file.
|
106
|
+
# @param upload_href
|
107
107
|
# @param file A chunk of the uploaded file.
|
108
108
|
# @param [Hash] opts the optional parameters
|
109
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
109
110
|
# @option opts [String] :sha256 The SHA-256 checksum of the chunk if available.
|
110
|
-
# @return [
|
111
|
+
# @return [UploadResponse]
|
111
112
|
describe 'update test' do
|
112
113
|
it 'should work' do
|
113
114
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|