pulpcore_client 3.21.30 → 3.21.32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +142 -140
- data/docs/AccessPoliciesApi.md +26 -26
- data/docs/ArtifactsApi.md +21 -21
- data/docs/ContentApi.md +6 -6
- data/docs/ContentguardsApi.md +6 -6
- data/docs/ContentguardsContentRedirectApi.md +51 -51
- data/docs/ContentguardsRbacApi.md +51 -51
- data/docs/DistributionsApi.md +6 -6
- data/docs/DocsApiJsonApi.md +61 -0
- data/docs/DocsApiYamlApi.md +61 -0
- 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 +6 -6
- data/docs/RemotesApi.md +6 -6
- data/docs/RepairApi.md +6 -6
- data/docs/RepositoriesApi.md +6 -6
- 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/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 +5 -5
- data/lib/pulpcore_client/api/contentguards_api.rb +6 -6
- data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +64 -64
- data/lib/pulpcore_client/api/contentguards_rbac_api.rb +64 -64
- data/lib/pulpcore_client/api/distributions_api.rb +6 -6
- 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/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 +6 -6
- data/lib/pulpcore_client/api/remotes_api.rb +6 -6
- data/lib/pulpcore_client/api/repair_api.rb +6 -6
- data/lib/pulpcore_client/api/repositories_api.rb +6 -6
- 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/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/remote_response.rb +20 -20
- 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 +2 -2
- data/spec/api/contentguards_api_spec.rb +2 -2
- 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 +2 -2
- 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/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 +2 -2
- data/spec/api/remotes_api_spec.rb +2 -2
- data/spec/api/repair_api_spec.rb +2 -2
- data/spec/api/repositories_api_spec.rb +2 -2
- 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/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
- metadata +147 -139
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. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
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. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
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. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
62
62
|
# @param [Hash] opts the optional parameters
|
@@ -78,26 +78,26 @@ describe 'RolesApi' do
|
|
78
78
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
79
79
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
80
80
|
# @return [PaginatedRoleResponseList]
|
81
|
-
describe '
|
81
|
+
describe 'roles_list 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 roles_partial_update
|
88
88
|
# Update a role
|
89
89
|
# ViewSet for Role. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
90
90
|
# @param role_href
|
91
91
|
# @param patched_role
|
92
92
|
# @param [Hash] opts the optional parameters
|
93
93
|
# @return [RoleResponse]
|
94
|
-
describe '
|
94
|
+
describe 'roles_partial_update test' do
|
95
95
|
it 'should work' do
|
96
96
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
97
97
|
end
|
98
98
|
end
|
99
99
|
|
100
|
-
# unit tests for
|
100
|
+
# unit tests for roles_read
|
101
101
|
# Inspect a role
|
102
102
|
# ViewSet for Role. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
103
103
|
# @param role_href
|
@@ -105,20 +105,20 @@ describe 'RolesApi' do
|
|
105
105
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
106
106
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
107
107
|
# @return [RoleResponse]
|
108
|
-
describe '
|
108
|
+
describe 'roles_read test' do
|
109
109
|
it 'should work' do
|
110
110
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
111
111
|
end
|
112
112
|
end
|
113
113
|
|
114
|
-
# unit tests for
|
114
|
+
# unit tests for roles_update
|
115
115
|
# Update a role
|
116
116
|
# ViewSet for Role. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
117
117
|
# @param role_href
|
118
118
|
# @param role
|
119
119
|
# @param [Hash] opts the optional parameters
|
120
120
|
# @return [RoleResponse]
|
121
|
-
describe '
|
121
|
+
describe 'roles_update test' do
|
122
122
|
it 'should work' do
|
123
123
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
124
124
|
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
|
@@ -42,13 +42,13 @@ describe 'SigningServicesApi' do
|
|
42
42
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
43
43
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
44
44
|
# @return [PaginatedSigningServiceResponseList]
|
45
|
-
describe '
|
45
|
+
describe 'signing_services_list test' do
|
46
46
|
it 'should work' do
|
47
47
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
48
48
|
end
|
49
49
|
end
|
50
50
|
|
51
|
-
# unit tests for
|
51
|
+
# unit tests for signing_services_read
|
52
52
|
# Inspect a signing service
|
53
53
|
# A ViewSet that supports browsing of existing signing services.
|
54
54
|
# @param signing_service_href
|
@@ -56,7 +56,7 @@ describe 'SigningServicesApi' do
|
|
56
56
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
57
57
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
58
58
|
# @return [SigningServiceResponse]
|
59
|
-
describe '
|
59
|
+
describe 'signing_services_read test' 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
|
@@ -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
|
@@ -42,13 +42,13 @@ describe 'TaskGroupsApi' do
|
|
42
42
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
43
43
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
44
44
|
# @return [PaginatedTaskGroupResponseList]
|
45
|
-
describe '
|
45
|
+
describe 'task_groups_list test' do
|
46
46
|
it 'should work' do
|
47
47
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
48
48
|
end
|
49
49
|
end
|
50
50
|
|
51
|
-
# unit tests for
|
51
|
+
# unit tests for task_groups_read
|
52
52
|
# Inspect a task group
|
53
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
54
|
# @param task_group_href
|
@@ -56,7 +56,7 @@ describe 'TaskGroupsApi' do
|
|
56
56
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
57
57
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
58
58
|
# @return [TaskGroupResponse]
|
59
|
-
describe '
|
59
|
+
describe 'task_groups_read test' 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
|
@@ -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. NOTE: This feature is in tech-preview and may change in backwards incompatible ways.
|
50
50
|
# @param [Hash] opts the optional parameters
|
@@ -58,39 +58,39 @@ describe 'TaskSchedulesApi' do
|
|
58
58
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
59
59
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
60
60
|
# @return [PaginatedTaskScheduleResponseList]
|
61
|
-
describe '
|
61
|
+
describe 'task_schedules_list test' do
|
62
62
|
it 'should work' do
|
63
63
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
64
64
|
end
|
65
65
|
end
|
66
66
|
|
67
|
-
# unit tests for
|
67
|
+
# unit tests for task_schedules_list_roles
|
68
68
|
# List roles assigned to this object.
|
69
69
|
# @param task_schedule_href
|
70
70
|
# @param [Hash] opts the optional parameters
|
71
71
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
72
72
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
73
73
|
# @return [ObjectRolesResponse]
|
74
|
-
describe '
|
74
|
+
describe 'task_schedules_list_roles test' do
|
75
75
|
it 'should work' do
|
76
76
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
77
77
|
end
|
78
78
|
end
|
79
79
|
|
80
|
-
# unit tests for
|
80
|
+
# unit tests for task_schedules_my_permissions
|
81
81
|
# List permissions available to the current user on this object.
|
82
82
|
# @param task_schedule_href
|
83
83
|
# @param [Hash] opts the optional parameters
|
84
84
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
85
85
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
86
86
|
# @return [MyPermissionsResponse]
|
87
|
-
describe '
|
87
|
+
describe 'task_schedules_my_permissions test' do
|
88
88
|
it 'should work' do
|
89
89
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
90
90
|
end
|
91
91
|
end
|
92
92
|
|
93
|
-
# unit tests for
|
93
|
+
# unit tests for task_schedules_read
|
94
94
|
# Inspect a task schedule
|
95
95
|
# ViewSet to monitor task schedules. NOTE: This feature is in tech-preview and may change in backwards incompatible ways.
|
96
96
|
# @param task_schedule_href
|
@@ -98,19 +98,19 @@ describe 'TaskSchedulesApi' do
|
|
98
98
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
99
99
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
100
100
|
# @return [TaskScheduleResponse]
|
101
|
-
describe '
|
101
|
+
describe 'task_schedules_read test' do
|
102
102
|
it 'should work' do
|
103
103
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
104
104
|
end
|
105
105
|
end
|
106
106
|
|
107
|
-
# unit tests for
|
107
|
+
# unit tests for task_schedules_remove_role
|
108
108
|
# Remove a role for this object from users/groups.
|
109
109
|
# @param task_schedule_href
|
110
110
|
# @param nested_role
|
111
111
|
# @param [Hash] opts the optional parameters
|
112
112
|
# @return [NestedRoleResponse]
|
113
|
-
describe '
|
113
|
+
describe 'task_schedules_remove_role 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
|
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
|
@@ -91,51 +104,51 @@ describe 'TasksApi' do
|
|
91
104
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
92
105
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
93
106
|
# @return [PaginatedTaskResponseList]
|
94
|
-
describe '
|
107
|
+
describe 'tasks_list test' do
|
95
108
|
it 'should work' do
|
96
109
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
97
110
|
end
|
98
111
|
end
|
99
112
|
|
100
|
-
# unit tests for
|
113
|
+
# unit tests for tasks_list_roles
|
101
114
|
# List roles assigned to this object.
|
102
115
|
# @param task_href
|
103
116
|
# @param [Hash] opts the optional parameters
|
104
117
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
105
118
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
106
119
|
# @return [ObjectRolesResponse]
|
107
|
-
describe '
|
120
|
+
describe 'tasks_list_roles test' do
|
108
121
|
it 'should work' do
|
109
122
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
110
123
|
end
|
111
124
|
end
|
112
125
|
|
113
|
-
# unit tests for
|
126
|
+
# unit tests for tasks_my_permissions
|
114
127
|
# List permissions available to the current user on this object.
|
115
128
|
# @param task_href
|
116
129
|
# @param [Hash] opts the optional parameters
|
117
130
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
118
131
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
119
132
|
# @return [MyPermissionsResponse]
|
120
|
-
describe '
|
133
|
+
describe 'tasks_my_permissions test' do
|
121
134
|
it 'should work' do
|
122
135
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
123
136
|
end
|
124
137
|
end
|
125
138
|
|
126
|
-
# unit tests for
|
139
|
+
# unit tests for tasks_purge
|
127
140
|
# Purge Completed Tasks
|
128
141
|
# Trigger an asynchronous task that deletes completed tasks that finished prior to a specified timestamp (tech-preview, may change in the future).
|
129
142
|
# @param purge
|
130
143
|
# @param [Hash] opts the optional parameters
|
131
144
|
# @return [AsyncOperationResponse]
|
132
|
-
describe '
|
145
|
+
describe 'tasks_purge test' do
|
133
146
|
it 'should work' do
|
134
147
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
135
148
|
end
|
136
149
|
end
|
137
150
|
|
138
|
-
# unit tests for
|
151
|
+
# unit tests for tasks_read
|
139
152
|
# Inspect a task
|
140
153
|
# 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.
|
141
154
|
# @param task_href
|
@@ -143,32 +156,19 @@ describe 'TasksApi' do
|
|
143
156
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
144
157
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
145
158
|
# @return [TaskResponse]
|
146
|
-
describe '
|
159
|
+
describe 'tasks_read test' do
|
147
160
|
it 'should work' do
|
148
161
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
149
162
|
end
|
150
163
|
end
|
151
164
|
|
152
|
-
# unit tests for
|
165
|
+
# unit tests for tasks_remove_role
|
153
166
|
# Remove a role for this object from users/groups.
|
154
167
|
# @param task_href
|
155
168
|
# @param nested_role
|
156
169
|
# @param [Hash] opts the optional parameters
|
157
170
|
# @return [NestedRoleResponse]
|
158
|
-
describe '
|
159
|
-
it 'should work' do
|
160
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
161
|
-
end
|
162
|
-
end
|
163
|
-
|
164
|
-
# unit tests for tasks_cancel
|
165
|
-
# Cancel a task
|
166
|
-
# This operation cancels a task.
|
167
|
-
# @param task_href
|
168
|
-
# @param patched_task_cancel
|
169
|
-
# @param [Hash] opts the optional parameters
|
170
|
-
# @return [TaskResponse]
|
171
|
-
describe 'tasks_cancel test' do
|
171
|
+
describe 'tasks_remove_role test' do
|
172
172
|
it 'should work' do
|
173
173
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
174
174
|
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
|
@@ -90,39 +90,39 @@ describe 'UploadsApi' do
|
|
90
90
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
91
91
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
92
92
|
# @return [PaginatedUploadResponseList]
|
93
|
-
describe '
|
93
|
+
describe 'uploads_list test' do
|
94
94
|
it 'should work' do
|
95
95
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
96
96
|
end
|
97
97
|
end
|
98
98
|
|
99
|
-
# unit tests for
|
99
|
+
# unit tests for uploads_list_roles
|
100
100
|
# List roles assigned to this object.
|
101
101
|
# @param upload_href
|
102
102
|
# @param [Hash] opts the optional parameters
|
103
103
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
104
104
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
105
105
|
# @return [ObjectRolesResponse]
|
106
|
-
describe '
|
106
|
+
describe 'uploads_list_roles test' do
|
107
107
|
it 'should work' do
|
108
108
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
109
109
|
end
|
110
110
|
end
|
111
111
|
|
112
|
-
# unit tests for
|
112
|
+
# unit tests for uploads_my_permissions
|
113
113
|
# List permissions available to the current user on this object.
|
114
114
|
# @param upload_href
|
115
115
|
# @param [Hash] opts the optional parameters
|
116
116
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
117
117
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
118
118
|
# @return [MyPermissionsResponse]
|
119
|
-
describe '
|
119
|
+
describe 'uploads_my_permissions test' do
|
120
120
|
it 'should work' do
|
121
121
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
122
122
|
end
|
123
123
|
end
|
124
124
|
|
125
|
-
# unit tests for
|
125
|
+
# unit tests for uploads_read
|
126
126
|
# Inspect an upload
|
127
127
|
# View for chunked uploads.
|
128
128
|
# @param upload_href
|
@@ -130,25 +130,25 @@ describe 'UploadsApi' do
|
|
130
130
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
131
131
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
132
132
|
# @return [UploadDetailResponse]
|
133
|
-
describe '
|
133
|
+
describe 'uploads_read test' do
|
134
134
|
it 'should work' do
|
135
135
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
136
136
|
end
|
137
137
|
end
|
138
138
|
|
139
|
-
# unit tests for
|
139
|
+
# unit tests for uploads_remove_role
|
140
140
|
# Remove a role for this object from users/groups.
|
141
141
|
# @param upload_href
|
142
142
|
# @param upload
|
143
143
|
# @param [Hash] opts the optional parameters
|
144
144
|
# @return [NestedRoleResponse]
|
145
|
-
describe '
|
145
|
+
describe 'uploads_remove_role test' do
|
146
146
|
it 'should work' do
|
147
147
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
148
148
|
end
|
149
149
|
end
|
150
150
|
|
151
|
-
# unit tests for
|
151
|
+
# unit tests for uploads_update
|
152
152
|
# Upload a file chunk
|
153
153
|
# Upload a chunk for an upload.
|
154
154
|
# @param content_range The Content-Range header specifies the location of the file chunk within the file.
|
@@ -157,7 +157,7 @@ describe 'UploadsApi' do
|
|
157
157
|
# @param [Hash] opts the optional parameters
|
158
158
|
# @option opts [String] :sha256 The SHA-256 checksum of the chunk if available.
|
159
159
|
# @return [UploadResponse]
|
160
|
-
describe '
|
160
|
+
describe 'uploads_update test' do
|
161
161
|
it 'should work' do
|
162
162
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
163
163
|
end
|
data/spec/api/users_api_spec.rb
CHANGED
@@ -32,31 +32,31 @@ describe 'UsersApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
-
# unit tests for
|
35
|
+
# unit tests for users_create
|
36
36
|
# Create an user
|
37
37
|
# ViewSet for User. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
38
38
|
# @param user
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
40
|
# @return [UserResponse]
|
41
|
-
describe '
|
41
|
+
describe 'users_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 users_delete
|
48
48
|
# Delete an user
|
49
49
|
# ViewSet for User. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
50
50
|
# @param auth_user_href
|
51
51
|
# @param [Hash] opts the optional parameters
|
52
52
|
# @return [nil]
|
53
|
-
describe '
|
53
|
+
describe 'users_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 users_list
|
60
60
|
# List users
|
61
61
|
# ViewSet for User. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
62
62
|
# @param [Hash] opts the optional parameters
|
@@ -88,26 +88,26 @@ describe 'UsersApi' do
|
|
88
88
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
89
89
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
90
90
|
# @return [PaginatedUserResponseList]
|
91
|
-
describe '
|
91
|
+
describe 'users_list test' do
|
92
92
|
it 'should work' do
|
93
93
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
94
94
|
end
|
95
95
|
end
|
96
96
|
|
97
|
-
# unit tests for
|
97
|
+
# unit tests for users_partial_update
|
98
98
|
# Update an user
|
99
99
|
# ViewSet for User. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
100
100
|
# @param auth_user_href
|
101
101
|
# @param patched_user
|
102
102
|
# @param [Hash] opts the optional parameters
|
103
103
|
# @return [UserResponse]
|
104
|
-
describe '
|
104
|
+
describe 'users_partial_update test' do
|
105
105
|
it 'should work' do
|
106
106
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
107
107
|
end
|
108
108
|
end
|
109
109
|
|
110
|
-
# unit tests for
|
110
|
+
# unit tests for users_read
|
111
111
|
# Inspect an user
|
112
112
|
# ViewSet for User. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
113
113
|
# @param auth_user_href
|
@@ -115,20 +115,20 @@ describe 'UsersApi' do
|
|
115
115
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
116
116
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
117
117
|
# @return [UserResponse]
|
118
|
-
describe '
|
118
|
+
describe 'users_read test' do
|
119
119
|
it 'should work' do
|
120
120
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
121
121
|
end
|
122
122
|
end
|
123
123
|
|
124
|
-
# unit tests for
|
124
|
+
# unit tests for users_update
|
125
125
|
# Update an user
|
126
126
|
# ViewSet for User. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
127
127
|
# @param auth_user_href
|
128
128
|
# @param user
|
129
129
|
# @param [Hash] opts the optional parameters
|
130
130
|
# @return [UserResponse]
|
131
|
-
describe '
|
131
|
+
describe 'users_update test' do
|
132
132
|
it 'should work' do
|
133
133
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
134
134
|
end
|