pulpcore_client 3.28.28 → 3.28.30
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +157 -155
- data/docs/AccessPoliciesApi.md +26 -26
- data/docs/ArtifactDistributionResponse.md +12 -12
- data/docs/ArtifactsApi.md +21 -21
- data/docs/ContentApi.md +8 -8
- data/docs/ContentguardsApi.md +8 -8
- data/docs/ContentguardsContentRedirectApi.md +51 -51
- data/docs/ContentguardsRbacApi.md +51 -51
- data/docs/DistributionsApi.md +8 -8
- data/docs/DistributionsArtifactsApi.md +11 -11
- data/docs/DocsApiJsonApi.md +61 -0
- data/docs/DocsApiYamlApi.md +61 -0
- data/docs/DomainsApi.md +31 -31
- data/docs/ExportersFilesystemApi.md +31 -31
- data/docs/ExportersFilesystemExportsApi.md +21 -21
- data/docs/ExportersPulpApi.md +31 -31
- data/docs/ExportersPulpExportsApi.md +21 -21
- data/docs/GroupsApi.md +51 -51
- data/docs/GroupsRolesApi.md +21 -21
- data/docs/GroupsUsersApi.md +16 -16
- data/docs/ImportersPulpApi.md +31 -31
- data/docs/ImportersPulpImportCheckApi.md +1 -1
- data/docs/ImportersPulpImportsApi.md +21 -21
- data/docs/OrphansApi.md +6 -6
- data/docs/OrphansCleanupApi.md +6 -6
- data/docs/PublicationsApi.md +8 -8
- data/docs/RemoteResponseHiddenFields.md +2 -2
- data/docs/RemotesApi.md +8 -8
- data/docs/RepairApi.md +6 -6
- data/docs/RepositoriesApi.md +8 -8
- data/docs/RepositoriesReclaimSpaceApi.md +6 -6
- data/docs/RepositoryVersionsApi.md +6 -6
- data/docs/RolesApi.md +31 -31
- data/docs/SigningServicesApi.md +11 -11
- data/docs/StatusApi.md +1 -1
- data/docs/TaskGroupsApi.md +11 -11
- data/docs/TaskSchedulesApi.md +31 -31
- data/docs/TasksApi.md +96 -96
- data/docs/UploadsApi.md +51 -51
- data/docs/UpstreamPulpsApi.md +36 -36
- data/docs/UsersApi.md +31 -31
- data/docs/UsersRolesApi.md +21 -21
- data/docs/WorkersApi.md +11 -11
- data/lib/pulpcore_client/api/access_policies_api.rb +31 -31
- data/lib/pulpcore_client/api/artifacts_api.rb +29 -29
- data/lib/pulpcore_client/api/content_api.rb +8 -8
- data/lib/pulpcore_client/api/contentguards_api.rb +8 -8
- data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +63 -63
- data/lib/pulpcore_client/api/contentguards_rbac_api.rb +63 -63
- data/lib/pulpcore_client/api/distributions_api.rb +8 -8
- data/lib/pulpcore_client/api/distributions_artifacts_api.rb +11 -11
- data/lib/pulpcore_client/api/docs_api_json_api.rb +89 -0
- data/lib/pulpcore_client/api/docs_api_yaml_api.rb +89 -0
- data/lib/pulpcore_client/api/domains_api.rb +37 -37
- data/lib/pulpcore_client/api/exporters_filesystem_api.rb +37 -37
- data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +25 -25
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +37 -37
- data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +25 -25
- data/lib/pulpcore_client/api/groups_api.rb +63 -63
- data/lib/pulpcore_client/api/groups_roles_api.rb +25 -25
- data/lib/pulpcore_client/api/groups_users_api.rb +19 -19
- data/lib/pulpcore_client/api/importers_pulp_api.rb +37 -37
- data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +25 -25
- data/lib/pulpcore_client/api/orphans_api.rb +5 -5
- data/lib/pulpcore_client/api/orphans_cleanup_api.rb +6 -6
- data/lib/pulpcore_client/api/publications_api.rb +7 -11
- data/lib/pulpcore_client/api/remotes_api.rb +7 -11
- data/lib/pulpcore_client/api/repair_api.rb +6 -6
- data/lib/pulpcore_client/api/repositories_api.rb +7 -11
- data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +6 -6
- data/lib/pulpcore_client/api/repository_versions_api.rb +5 -5
- data/lib/pulpcore_client/api/roles_api.rb +37 -37
- data/lib/pulpcore_client/api/signing_services_api.rb +11 -11
- data/lib/pulpcore_client/api/task_groups_api.rb +11 -11
- data/lib/pulpcore_client/api/task_schedules_api.rb +37 -37
- data/lib/pulpcore_client/api/tasks_api.rb +119 -119
- data/lib/pulpcore_client/api/uploads_api.rb +65 -65
- data/lib/pulpcore_client/api/upstream_pulps_api.rb +43 -43
- data/lib/pulpcore_client/api/users_api.rb +37 -37
- data/lib/pulpcore_client/api/users_roles_api.rb +25 -25
- data/lib/pulpcore_client/api/workers_api.rb +11 -11
- data/lib/pulpcore_client/configuration.rb +3 -3
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +50 -50
- data/lib/pulpcore_client/models/remote_response.rb +20 -20
- data/lib/pulpcore_client/models/remote_response_hidden_fields.rb +10 -0
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +2 -0
- data/spec/api/access_policies_api_spec.rb +10 -10
- data/spec/api/artifacts_api_spec.rb +8 -8
- data/spec/api/content_api_spec.rb +3 -3
- data/spec/api/contentguards_api_spec.rb +3 -3
- data/spec/api/contentguards_content_redirect_api_spec.rb +20 -20
- data/spec/api/contentguards_rbac_api_spec.rb +20 -20
- data/spec/api/distributions_api_spec.rb +3 -3
- data/spec/api/distributions_artifacts_api_spec.rb +4 -4
- data/spec/api/docs_api_json_api_spec.rb +48 -0
- data/spec/api/docs_api_yaml_api_spec.rb +48 -0
- data/spec/api/domains_api_spec.rb +12 -12
- data/spec/api/exporters_filesystem_api_spec.rb +12 -12
- data/spec/api/exporters_filesystem_exports_api_spec.rb +8 -8
- data/spec/api/exporters_pulp_api_spec.rb +12 -12
- data/spec/api/exporters_pulp_exports_api_spec.rb +8 -8
- data/spec/api/groups_api_spec.rb +20 -20
- data/spec/api/groups_roles_api_spec.rb +8 -8
- data/spec/api/groups_users_api_spec.rb +6 -6
- data/spec/api/importers_pulp_api_spec.rb +12 -12
- data/spec/api/importers_pulp_imports_api_spec.rb +8 -8
- data/spec/api/orphans_api_spec.rb +2 -2
- data/spec/api/orphans_cleanup_api_spec.rb +2 -2
- data/spec/api/publications_api_spec.rb +3 -3
- data/spec/api/remotes_api_spec.rb +3 -3
- data/spec/api/repair_api_spec.rb +2 -2
- data/spec/api/repositories_api_spec.rb +3 -3
- data/spec/api/repositories_reclaim_space_api_spec.rb +2 -2
- data/spec/api/repository_versions_api_spec.rb +2 -2
- data/spec/api/roles_api_spec.rb +12 -12
- data/spec/api/signing_services_api_spec.rb +4 -4
- data/spec/api/task_groups_api_spec.rb +4 -4
- data/spec/api/task_schedules_api_spec.rb +12 -12
- data/spec/api/tasks_api_spec.rb +29 -29
- data/spec/api/uploads_api_spec.rb +20 -20
- data/spec/api/upstream_pulps_api_spec.rb +14 -14
- data/spec/api/users_api_spec.rb +12 -12
- data/spec/api/users_roles_api_spec.rb +8 -8
- data/spec/api/workers_api_spec.rb +4 -4
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/artifact_distribution_response_spec.rb +8 -8
- metadata +164 -156
data/spec/api/roles_api_spec.rb
CHANGED
@@ -32,31 +32,31 @@ describe 'RolesApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
-
# unit tests for
|
35
|
+
# unit tests for roles_create
|
36
36
|
# Create a role
|
37
37
|
# ViewSet for Role.
|
38
38
|
# @param role
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
40
|
# @return [RoleResponse]
|
41
|
-
describe '
|
41
|
+
describe 'roles_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
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
# unit tests for
|
47
|
+
# unit tests for roles_delete
|
48
48
|
# Delete a role
|
49
49
|
# ViewSet for Role.
|
50
50
|
# @param role_href
|
51
51
|
# @param [Hash] opts the optional parameters
|
52
52
|
# @return [nil]
|
53
|
-
describe '
|
53
|
+
describe 'roles_delete test' 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
|
-
# unit tests for
|
59
|
+
# unit tests for roles_list
|
60
60
|
# List roles
|
61
61
|
# ViewSet for Role.
|
62
62
|
# @param [Hash] opts the optional parameters
|
@@ -80,26 +80,26 @@ describe 'RolesApi' do
|
|
80
80
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
81
81
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
82
82
|
# @return [PaginatedRoleResponseList]
|
83
|
-
describe '
|
83
|
+
describe 'roles_list test' 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
|
87
87
|
end
|
88
88
|
|
89
|
-
# unit tests for
|
89
|
+
# unit tests for roles_partial_update
|
90
90
|
# Update a role
|
91
91
|
# ViewSet for Role.
|
92
92
|
# @param role_href
|
93
93
|
# @param patched_role
|
94
94
|
# @param [Hash] opts the optional parameters
|
95
95
|
# @return [RoleResponse]
|
96
|
-
describe '
|
96
|
+
describe 'roles_partial_update test' do
|
97
97
|
it 'should work' do
|
98
98
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
99
99
|
end
|
100
100
|
end
|
101
101
|
|
102
|
-
# unit tests for
|
102
|
+
# unit tests for roles_read
|
103
103
|
# Inspect a role
|
104
104
|
# ViewSet for Role.
|
105
105
|
# @param role_href
|
@@ -107,20 +107,20 @@ describe 'RolesApi' do
|
|
107
107
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
108
108
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
109
109
|
# @return [RoleResponse]
|
110
|
-
describe '
|
110
|
+
describe 'roles_read test' do
|
111
111
|
it 'should work' do
|
112
112
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
113
113
|
end
|
114
114
|
end
|
115
115
|
|
116
|
-
# unit tests for
|
116
|
+
# unit tests for roles_update
|
117
117
|
# Update a role
|
118
118
|
# ViewSet for Role.
|
119
119
|
# @param role_href
|
120
120
|
# @param role
|
121
121
|
# @param [Hash] opts the optional parameters
|
122
122
|
# @return [RoleResponse]
|
123
|
-
describe '
|
123
|
+
describe 'roles_update test' do
|
124
124
|
it 'should work' do
|
125
125
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
126
126
|
end
|
@@ -32,7 +32,7 @@ describe 'SigningServicesApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
-
# unit tests for
|
35
|
+
# unit tests for signing_services_list
|
36
36
|
# List signing services
|
37
37
|
# A ViewSet that supports browsing of existing signing services.
|
38
38
|
# @param [Hash] opts the optional parameters
|
@@ -45,13 +45,13 @@ describe 'SigningServicesApi' do
|
|
45
45
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
46
46
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
47
47
|
# @return [PaginatedSigningServiceResponseList]
|
48
|
-
describe '
|
48
|
+
describe 'signing_services_list test' do
|
49
49
|
it 'should work' do
|
50
50
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
51
51
|
end
|
52
52
|
end
|
53
53
|
|
54
|
-
# unit tests for
|
54
|
+
# unit tests for signing_services_read
|
55
55
|
# Inspect a signing service
|
56
56
|
# A ViewSet that supports browsing of existing signing services.
|
57
57
|
# @param signing_service_href
|
@@ -59,7 +59,7 @@ describe 'SigningServicesApi' do
|
|
59
59
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
60
60
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
61
61
|
# @return [SigningServiceResponse]
|
62
|
-
describe '
|
62
|
+
describe 'signing_services_read test' do
|
63
63
|
it 'should work' do
|
64
64
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
65
65
|
end
|
@@ -32,7 +32,7 @@ describe 'TaskGroupsApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
-
# unit tests for
|
35
|
+
# unit tests for task_groups_list
|
36
36
|
# List task groups
|
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
|
@@ -41,13 +41,13 @@ describe 'TaskGroupsApi' do
|
|
41
41
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
42
42
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
43
43
|
# @return [PaginatedTaskGroupResponseList]
|
44
|
-
describe '
|
44
|
+
describe 'task_groups_list test' do
|
45
45
|
it 'should work' do
|
46
46
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
47
47
|
end
|
48
48
|
end
|
49
49
|
|
50
|
-
# unit tests for
|
50
|
+
# unit tests for task_groups_read
|
51
51
|
# Inspect a task group
|
52
52
|
# 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.
|
53
53
|
# @param task_group_href
|
@@ -55,7 +55,7 @@ describe 'TaskGroupsApi' do
|
|
55
55
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
56
56
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
57
57
|
# @return [TaskGroupResponse]
|
58
|
-
describe '
|
58
|
+
describe 'task_groups_read test' do
|
59
59
|
it 'should work' do
|
60
60
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
61
|
end
|
@@ -32,19 +32,19 @@ describe 'TaskSchedulesApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
-
# unit tests for
|
35
|
+
# unit tests for task_schedules_add_role
|
36
36
|
# Add a role for this object to users/groups.
|
37
37
|
# @param task_schedule_href
|
38
38
|
# @param nested_role
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
40
|
# @return [NestedRoleResponse]
|
41
|
-
describe '
|
41
|
+
describe 'task_schedules_add_role test' 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
|
-
# unit tests for
|
47
|
+
# unit tests for task_schedules_list
|
48
48
|
# List task schedules
|
49
49
|
# ViewSet to monitor task schedules.
|
50
50
|
# @param [Hash] opts the optional parameters
|
@@ -60,39 +60,39 @@ describe 'TaskSchedulesApi' do
|
|
60
60
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
61
61
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
62
62
|
# @return [PaginatedTaskScheduleResponseList]
|
63
|
-
describe '
|
63
|
+
describe 'task_schedules_list test' do
|
64
64
|
it 'should work' do
|
65
65
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
66
66
|
end
|
67
67
|
end
|
68
68
|
|
69
|
-
# unit tests for
|
69
|
+
# unit tests for task_schedules_list_roles
|
70
70
|
# List roles assigned to this object.
|
71
71
|
# @param task_schedule_href
|
72
72
|
# @param [Hash] opts the optional parameters
|
73
73
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
74
74
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
75
75
|
# @return [ObjectRolesResponse]
|
76
|
-
describe '
|
76
|
+
describe 'task_schedules_list_roles test' do
|
77
77
|
it 'should work' do
|
78
78
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
79
79
|
end
|
80
80
|
end
|
81
81
|
|
82
|
-
# unit tests for
|
82
|
+
# unit tests for task_schedules_my_permissions
|
83
83
|
# List permissions available to the current user on this object.
|
84
84
|
# @param task_schedule_href
|
85
85
|
# @param [Hash] opts the optional parameters
|
86
86
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
87
87
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
88
88
|
# @return [MyPermissionsResponse]
|
89
|
-
describe '
|
89
|
+
describe 'task_schedules_my_permissions test' do
|
90
90
|
it 'should work' do
|
91
91
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
92
|
end
|
93
93
|
end
|
94
94
|
|
95
|
-
# unit tests for
|
95
|
+
# unit tests for task_schedules_read
|
96
96
|
# Inspect a task schedule
|
97
97
|
# ViewSet to monitor task schedules.
|
98
98
|
# @param task_schedule_href
|
@@ -100,19 +100,19 @@ describe 'TaskSchedulesApi' do
|
|
100
100
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
101
101
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
102
102
|
# @return [TaskScheduleResponse]
|
103
|
-
describe '
|
103
|
+
describe 'task_schedules_read test' do
|
104
104
|
it 'should work' do
|
105
105
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
106
106
|
end
|
107
107
|
end
|
108
108
|
|
109
|
-
# unit tests for
|
109
|
+
# unit tests for task_schedules_remove_role
|
110
110
|
# Remove a role for this object from users/groups.
|
111
111
|
# @param task_schedule_href
|
112
112
|
# @param nested_role
|
113
113
|
# @param [Hash] opts the optional parameters
|
114
114
|
# @return [NestedRoleResponse]
|
115
|
-
describe '
|
115
|
+
describe 'task_schedules_remove_role test' do
|
116
116
|
it 'should work' do
|
117
117
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
118
118
|
end
|
data/spec/api/tasks_api_spec.rb
CHANGED
@@ -32,31 +32,44 @@ describe 'TasksApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
-
# unit tests for
|
35
|
+
# unit tests for tasks_add_role
|
36
36
|
# Add a role for this object to users/groups.
|
37
37
|
# @param task_href
|
38
38
|
# @param nested_role
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
40
|
# @return [NestedRoleResponse]
|
41
|
-
describe '
|
41
|
+
describe 'tasks_add_role test' 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
|
-
# unit tests for
|
47
|
+
# unit tests for tasks_cancel
|
48
|
+
# Cancel a task
|
49
|
+
# This operation cancels a task.
|
50
|
+
# @param task_href
|
51
|
+
# @param patched_task_cancel
|
52
|
+
# @param [Hash] opts the optional parameters
|
53
|
+
# @return [TaskResponse]
|
54
|
+
describe 'tasks_cancel 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 tasks_delete
|
48
61
|
# Delete a task
|
49
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.
|
50
63
|
# @param task_href
|
51
64
|
# @param [Hash] opts the optional parameters
|
52
65
|
# @return [nil]
|
53
|
-
describe '
|
66
|
+
describe 'tasks_delete test' do
|
54
67
|
it 'should work' do
|
55
68
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
69
|
end
|
57
70
|
end
|
58
71
|
|
59
|
-
# unit tests for
|
72
|
+
# unit tests for tasks_list
|
60
73
|
# List tasks
|
61
74
|
# 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.
|
62
75
|
# @param [Hash] opts the optional parameters
|
@@ -100,51 +113,51 @@ describe 'TasksApi' do
|
|
100
113
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
101
114
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
102
115
|
# @return [PaginatedTaskResponseList]
|
103
|
-
describe '
|
116
|
+
describe 'tasks_list test' do
|
104
117
|
it 'should work' do
|
105
118
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
106
119
|
end
|
107
120
|
end
|
108
121
|
|
109
|
-
# unit tests for
|
122
|
+
# unit tests for tasks_list_roles
|
110
123
|
# List roles assigned to this object.
|
111
124
|
# @param task_href
|
112
125
|
# @param [Hash] opts the optional parameters
|
113
126
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
114
127
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
115
128
|
# @return [ObjectRolesResponse]
|
116
|
-
describe '
|
129
|
+
describe 'tasks_list_roles test' do
|
117
130
|
it 'should work' do
|
118
131
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
119
132
|
end
|
120
133
|
end
|
121
134
|
|
122
|
-
# unit tests for
|
135
|
+
# unit tests for tasks_my_permissions
|
123
136
|
# List permissions available to the current user on this object.
|
124
137
|
# @param task_href
|
125
138
|
# @param [Hash] opts the optional parameters
|
126
139
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
127
140
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
128
141
|
# @return [MyPermissionsResponse]
|
129
|
-
describe '
|
142
|
+
describe 'tasks_my_permissions test' do
|
130
143
|
it 'should work' do
|
131
144
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
132
145
|
end
|
133
146
|
end
|
134
147
|
|
135
|
-
# unit tests for
|
148
|
+
# unit tests for tasks_purge
|
136
149
|
# Purge Completed Tasks
|
137
150
|
# Trigger an asynchronous task that deletes completed tasks that finished prior to a specified timestamp.
|
138
151
|
# @param purge
|
139
152
|
# @param [Hash] opts the optional parameters
|
140
153
|
# @return [AsyncOperationResponse]
|
141
|
-
describe '
|
154
|
+
describe 'tasks_purge test' do
|
142
155
|
it 'should work' do
|
143
156
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
144
157
|
end
|
145
158
|
end
|
146
159
|
|
147
|
-
# unit tests for
|
160
|
+
# unit tests for tasks_read
|
148
161
|
# Inspect a task
|
149
162
|
# 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.
|
150
163
|
# @param task_href
|
@@ -152,32 +165,19 @@ describe 'TasksApi' do
|
|
152
165
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
153
166
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
154
167
|
# @return [TaskResponse]
|
155
|
-
describe '
|
168
|
+
describe 'tasks_read test' do
|
156
169
|
it 'should work' do
|
157
170
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
158
171
|
end
|
159
172
|
end
|
160
173
|
|
161
|
-
# unit tests for
|
174
|
+
# unit tests for tasks_remove_role
|
162
175
|
# Remove a role for this object from users/groups.
|
163
176
|
# @param task_href
|
164
177
|
# @param nested_role
|
165
178
|
# @param [Hash] opts the optional parameters
|
166
179
|
# @return [NestedRoleResponse]
|
167
|
-
describe '
|
168
|
-
it 'should work' do
|
169
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
170
|
-
end
|
171
|
-
end
|
172
|
-
|
173
|
-
# unit tests for tasks_cancel
|
174
|
-
# Cancel a task
|
175
|
-
# This operation cancels a task.
|
176
|
-
# @param task_href
|
177
|
-
# @param patched_task_cancel
|
178
|
-
# @param [Hash] opts the optional parameters
|
179
|
-
# @return [TaskResponse]
|
180
|
-
describe 'tasks_cancel test' do
|
180
|
+
describe 'tasks_remove_role test' do
|
181
181
|
it 'should work' do
|
182
182
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
183
183
|
end
|
@@ -32,56 +32,56 @@ describe 'UploadsApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
-
# unit tests for
|
35
|
+
# unit tests for uploads_add_role
|
36
36
|
# Add a role for this object to users/groups.
|
37
37
|
# @param upload_href
|
38
38
|
# @param upload
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
40
|
# @return [NestedRoleResponse]
|
41
|
-
describe '
|
41
|
+
describe 'uploads_add_role test' 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
|
-
# unit tests for
|
47
|
+
# unit tests for uploads_commit
|
48
48
|
# Finish an Upload
|
49
49
|
# Queues a Task that creates an Artifact, and the Upload gets deleted and cannot be re-used.
|
50
50
|
# @param upload_href
|
51
51
|
# @param upload_commit
|
52
52
|
# @param [Hash] opts the optional parameters
|
53
53
|
# @return [AsyncOperationResponse]
|
54
|
-
describe '
|
54
|
+
describe 'uploads_commit test' do
|
55
55
|
it 'should work' do
|
56
56
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
57
57
|
end
|
58
58
|
end
|
59
59
|
|
60
|
-
# unit tests for
|
60
|
+
# unit tests for uploads_create
|
61
61
|
# Create an upload
|
62
62
|
# View for chunked uploads.
|
63
63
|
# @param upload
|
64
64
|
# @param [Hash] opts the optional parameters
|
65
65
|
# @return [UploadResponse]
|
66
|
-
describe '
|
66
|
+
describe 'uploads_create test' do
|
67
67
|
it 'should work' do
|
68
68
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
69
69
|
end
|
70
70
|
end
|
71
71
|
|
72
|
-
# unit tests for
|
72
|
+
# unit tests for uploads_delete
|
73
73
|
# Delete an upload
|
74
74
|
# View for chunked uploads.
|
75
75
|
# @param upload_href
|
76
76
|
# @param [Hash] opts the optional parameters
|
77
77
|
# @return [nil]
|
78
|
-
describe '
|
78
|
+
describe 'uploads_delete test' do
|
79
79
|
it 'should work' do
|
80
80
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
81
81
|
end
|
82
82
|
end
|
83
83
|
|
84
|
-
# unit tests for
|
84
|
+
# unit tests for uploads_list
|
85
85
|
# List uploads
|
86
86
|
# View for chunked uploads.
|
87
87
|
# @param [Hash] opts the optional parameters
|
@@ -97,39 +97,39 @@ describe 'UploadsApi' do
|
|
97
97
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
98
98
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
99
99
|
# @return [PaginatedUploadResponseList]
|
100
|
-
describe '
|
100
|
+
describe 'uploads_list test' do
|
101
101
|
it 'should work' do
|
102
102
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
103
103
|
end
|
104
104
|
end
|
105
105
|
|
106
|
-
# unit tests for
|
106
|
+
# unit tests for uploads_list_roles
|
107
107
|
# List roles assigned to this object.
|
108
108
|
# @param upload_href
|
109
109
|
# @param [Hash] opts the optional parameters
|
110
110
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
111
111
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
112
112
|
# @return [ObjectRolesResponse]
|
113
|
-
describe '
|
113
|
+
describe 'uploads_list_roles test' do
|
114
114
|
it 'should work' do
|
115
115
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
116
116
|
end
|
117
117
|
end
|
118
118
|
|
119
|
-
# unit tests for
|
119
|
+
# unit tests for uploads_my_permissions
|
120
120
|
# List permissions available to the current user on this object.
|
121
121
|
# @param upload_href
|
122
122
|
# @param [Hash] opts the optional parameters
|
123
123
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
124
124
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
125
125
|
# @return [MyPermissionsResponse]
|
126
|
-
describe '
|
126
|
+
describe 'uploads_my_permissions test' do
|
127
127
|
it 'should work' do
|
128
128
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
129
129
|
end
|
130
130
|
end
|
131
131
|
|
132
|
-
# unit tests for
|
132
|
+
# unit tests for uploads_read
|
133
133
|
# Inspect an upload
|
134
134
|
# View for chunked uploads.
|
135
135
|
# @param upload_href
|
@@ -137,25 +137,25 @@ describe 'UploadsApi' do
|
|
137
137
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
138
138
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
139
139
|
# @return [UploadDetailResponse]
|
140
|
-
describe '
|
140
|
+
describe 'uploads_read test' do
|
141
141
|
it 'should work' do
|
142
142
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
143
143
|
end
|
144
144
|
end
|
145
145
|
|
146
|
-
# unit tests for
|
146
|
+
# unit tests for uploads_remove_role
|
147
147
|
# Remove a role for this object from users/groups.
|
148
148
|
# @param upload_href
|
149
149
|
# @param upload
|
150
150
|
# @param [Hash] opts the optional parameters
|
151
151
|
# @return [NestedRoleResponse]
|
152
|
-
describe '
|
152
|
+
describe 'uploads_remove_role test' do
|
153
153
|
it 'should work' do
|
154
154
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
155
155
|
end
|
156
156
|
end
|
157
157
|
|
158
|
-
# unit tests for
|
158
|
+
# unit tests for uploads_update
|
159
159
|
# Upload a file chunk
|
160
160
|
# Upload a chunk for an upload.
|
161
161
|
# @param content_range The Content-Range header specifies the location of the file chunk within the file.
|
@@ -164,7 +164,7 @@ describe 'UploadsApi' do
|
|
164
164
|
# @param [Hash] opts the optional parameters
|
165
165
|
# @option opts [String] :sha256 The SHA-256 checksum of the chunk if available.
|
166
166
|
# @return [UploadResponse]
|
167
|
-
describe '
|
167
|
+
describe 'uploads_update test' do
|
168
168
|
it 'should work' do
|
169
169
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
170
170
|
end
|
@@ -32,31 +32,31 @@ describe 'UpstreamPulpsApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
-
# unit tests for
|
35
|
+
# unit tests for upstream_pulps_create
|
36
36
|
# Create an upstream pulp
|
37
37
|
# API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
38
38
|
# @param upstream_pulp
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
40
|
# @return [UpstreamPulpResponse]
|
41
|
-
describe '
|
41
|
+
describe 'upstream_pulps_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
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
# unit tests for
|
47
|
+
# unit tests for upstream_pulps_delete
|
48
48
|
# Delete an upstream pulp
|
49
49
|
# API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
50
50
|
# @param upstream_pulp_href
|
51
51
|
# @param [Hash] opts the optional parameters
|
52
52
|
# @return [nil]
|
53
|
-
describe '
|
53
|
+
describe 'upstream_pulps_delete test' 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
|
-
# unit tests for
|
59
|
+
# unit tests for upstream_pulps_list
|
60
60
|
# List upstream pulps
|
61
61
|
# API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
62
62
|
# @param [Hash] opts the optional parameters
|
@@ -65,26 +65,26 @@ describe 'UpstreamPulpsApi' do
|
|
65
65
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
66
66
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
67
67
|
# @return [PaginatedUpstreamPulpResponseList]
|
68
|
-
describe '
|
68
|
+
describe 'upstream_pulps_list test' do
|
69
69
|
it 'should work' do
|
70
70
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
71
71
|
end
|
72
72
|
end
|
73
73
|
|
74
|
-
# unit tests for
|
74
|
+
# unit tests for upstream_pulps_partial_update
|
75
75
|
# Update an upstream pulp
|
76
76
|
# API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
77
77
|
# @param upstream_pulp_href
|
78
78
|
# @param patched_upstream_pulp
|
79
79
|
# @param [Hash] opts the optional parameters
|
80
80
|
# @return [UpstreamPulpResponse]
|
81
|
-
describe '
|
81
|
+
describe 'upstream_pulps_partial_update test' do
|
82
82
|
it 'should work' do
|
83
83
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
84
84
|
end
|
85
85
|
end
|
86
86
|
|
87
|
-
# unit tests for
|
87
|
+
# unit tests for upstream_pulps_read
|
88
88
|
# Inspect an upstream pulp
|
89
89
|
# API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
90
90
|
# @param upstream_pulp_href
|
@@ -92,32 +92,32 @@ describe 'UpstreamPulpsApi' do
|
|
92
92
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
93
93
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
94
94
|
# @return [UpstreamPulpResponse]
|
95
|
-
describe '
|
95
|
+
describe 'upstream_pulps_read test' do
|
96
96
|
it 'should work' do
|
97
97
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
98
98
|
end
|
99
99
|
end
|
100
100
|
|
101
|
-
# unit tests for
|
101
|
+
# unit tests for upstream_pulps_replicate
|
102
102
|
# Replicate
|
103
103
|
# Trigger an asynchronous repository replication task group. This API is provided as a tech preview.
|
104
104
|
# @param upstream_pulp_href
|
105
105
|
# @param [Hash] opts the optional parameters
|
106
106
|
# @return [TaskGroupOperationResponse]
|
107
|
-
describe '
|
107
|
+
describe 'upstream_pulps_replicate test' do
|
108
108
|
it 'should work' do
|
109
109
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
110
110
|
end
|
111
111
|
end
|
112
112
|
|
113
|
-
# unit tests for
|
113
|
+
# unit tests for upstream_pulps_update
|
114
114
|
# Update an upstream pulp
|
115
115
|
# API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
116
116
|
# @param upstream_pulp_href
|
117
117
|
# @param upstream_pulp
|
118
118
|
# @param [Hash] opts the optional parameters
|
119
119
|
# @return [UpstreamPulpResponse]
|
120
|
-
describe '
|
120
|
+
describe 'upstream_pulps_update test' do
|
121
121
|
it 'should work' do
|
122
122
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
123
123
|
end
|