pulpcore_client 3.28.30 → 3.28.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +154 -156
- data/docs/AccessPoliciesApi.md +25 -25
- data/docs/ArtifactDistributionResponse.md +9 -9
- data/docs/ArtifactsApi.md +20 -20
- data/docs/ContentApi.md +5 -5
- data/docs/ContentguardsApi.md +5 -5
- data/docs/ContentguardsContentRedirectApi.md +50 -50
- data/docs/ContentguardsRbacApi.md +50 -50
- data/docs/DistributionsApi.md +5 -5
- data/docs/DistributionsArtifactsApi.md +10 -10
- data/docs/DomainsApi.md +30 -30
- data/docs/ExportersFilesystemApi.md +30 -30
- data/docs/ExportersFilesystemExportsApi.md +20 -20
- data/docs/ExportersPulpApi.md +30 -30
- data/docs/ExportersPulpExportsApi.md +20 -20
- data/docs/GroupsApi.md +50 -50
- data/docs/GroupsRolesApi.md +20 -20
- data/docs/GroupsUsersApi.md +15 -15
- data/docs/ImportersPulpApi.md +30 -30
- data/docs/ImportersPulpImportsApi.md +20 -20
- data/docs/OrphansApi.md +5 -5
- data/docs/OrphansCleanupApi.md +5 -5
- data/docs/PublicationsApi.md +5 -5
- data/docs/RemotesApi.md +5 -5
- data/docs/RepairApi.md +5 -5
- data/docs/RepositoriesApi.md +5 -5
- data/docs/RepositoriesReclaimSpaceApi.md +5 -5
- data/docs/RepositoryVersionsApi.md +5 -5
- data/docs/RolesApi.md +30 -30
- data/docs/SigningServicesApi.md +10 -10
- data/docs/TaskGroupsApi.md +10 -10
- data/docs/TaskSchedulesApi.md +30 -30
- data/docs/TasksApi.md +95 -95
- data/docs/UploadsApi.md +50 -50
- data/docs/UpstreamPulpsApi.md +35 -35
- data/docs/UsersApi.md +30 -30
- data/docs/UsersRolesApi.md +20 -20
- data/docs/WorkersApi.md +10 -10
- 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 +5 -5
- 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 +5 -5
- data/lib/pulpcore_client/api/distributions_artifacts_api.rb +11 -11
- 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 +5 -5
- data/lib/pulpcore_client/api/remotes_api.rb +5 -5
- data/lib/pulpcore_client/api/repair_api.rb +6 -6
- data/lib/pulpcore_client/api/repositories_api.rb +5 -5
- 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/models/artifact_distribution_response.rb +39 -39
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +0 -2
- 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/distributions_artifacts_api_spec.rb +4 -4
- 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 +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/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/models/artifact_distribution_response_spec.rb +6 -6
- metadata +140 -148
- data/docs/DocsApiJsonApi.md +0 -61
- data/docs/DocsApiYamlApi.md +0 -61
- data/lib/pulpcore_client/api/docs_api_json_api.rb +0 -89
- data/lib/pulpcore_client/api/docs_api_yaml_api.rb +0 -89
- data/spec/api/docs_api_json_api_spec.rb +0 -48
- data/spec/api/docs_api_yaml_api_spec.rb +0 -48
|
@@ -32,32 +32,32 @@ describe 'ImportersPulpImportsApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# unit tests for
|
|
35
|
+
# unit tests for create
|
|
36
36
|
# Create a pulp import
|
|
37
37
|
# Trigger an asynchronous task to import a Pulp export.
|
|
38
38
|
# @param pulp_importer_href
|
|
39
39
|
# @param pulp_import
|
|
40
40
|
# @param [Hash] opts the optional parameters
|
|
41
41
|
# @return [TaskGroupOperationResponse]
|
|
42
|
-
describe '
|
|
42
|
+
describe 'create test' do
|
|
43
43
|
it 'should work' do
|
|
44
44
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
45
45
|
end
|
|
46
46
|
end
|
|
47
47
|
|
|
48
|
-
# unit tests for
|
|
48
|
+
# unit tests for delete
|
|
49
49
|
# Delete a pulp import
|
|
50
50
|
# ViewSet for PulpImports.
|
|
51
51
|
# @param pulp_pulp_import_href
|
|
52
52
|
# @param [Hash] opts the optional parameters
|
|
53
53
|
# @return [nil]
|
|
54
|
-
describe '
|
|
54
|
+
describe 'delete 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 list
|
|
61
61
|
# List pulp imports
|
|
62
62
|
# ViewSet for PulpImports.
|
|
63
63
|
# @param pulp_importer_href
|
|
@@ -67,13 +67,13 @@ describe 'ImportersPulpImportsApi' do
|
|
|
67
67
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
68
68
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
69
69
|
# @return [PaginatedImportResponseList]
|
|
70
|
-
describe '
|
|
70
|
+
describe 'list test' do
|
|
71
71
|
it 'should work' do
|
|
72
72
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
73
73
|
end
|
|
74
74
|
end
|
|
75
75
|
|
|
76
|
-
# unit tests for
|
|
76
|
+
# unit tests for read
|
|
77
77
|
# Inspect a pulp import
|
|
78
78
|
# ViewSet for PulpImports.
|
|
79
79
|
# @param pulp_pulp_import_href
|
|
@@ -81,7 +81,7 @@ describe 'ImportersPulpImportsApi' do
|
|
|
81
81
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
82
82
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
83
83
|
# @return [ImportResponse]
|
|
84
|
-
describe '
|
|
84
|
+
describe 'read test' do
|
|
85
85
|
it 'should work' do
|
|
86
86
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
87
87
|
end
|
|
@@ -32,12 +32,12 @@ describe 'OrphansApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# unit tests for
|
|
35
|
+
# unit tests for delete
|
|
36
36
|
# Delete orphans
|
|
37
37
|
# DEPRECATED! Trigger an asynchronous task that deletes all orphaned content and artifacts. Use the `POST /pulp/api/v3/orphans/cleanup/` call instead.
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
|
39
39
|
# @return [AsyncOperationResponse]
|
|
40
|
-
describe '
|
|
40
|
+
describe 'delete test' do
|
|
41
41
|
it 'should work' do
|
|
42
42
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
43
|
end
|
|
@@ -32,12 +32,12 @@ describe 'OrphansCleanupApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# unit tests for
|
|
35
|
+
# unit tests for cleanup
|
|
36
36
|
# Trigger an asynchronous orphan cleanup operation.
|
|
37
37
|
# @param orphans_cleanup
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
|
39
39
|
# @return [AsyncOperationResponse]
|
|
40
|
-
describe '
|
|
40
|
+
describe 'cleanup test' do
|
|
41
41
|
it 'should work' do
|
|
42
42
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
43
|
end
|
|
@@ -32,7 +32,7 @@ describe 'PublicationsApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# unit tests for
|
|
35
|
+
# unit tests for list
|
|
36
36
|
# List publications
|
|
37
37
|
# A base class for any publication viewset.
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
|
@@ -55,7 +55,7 @@ describe 'PublicationsApi' 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 [PaginatedPublicationResponseList]
|
|
58
|
-
describe '
|
|
58
|
+
describe 'list 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,7 +32,7 @@ describe 'RemotesApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# unit tests for
|
|
35
|
+
# unit tests for list
|
|
36
36
|
# List remotes
|
|
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
|
|
@@ -57,7 +57,7 @@ describe 'RemotesApi' do
|
|
|
57
57
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
58
58
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
59
59
|
# @return [PaginatedRemoteResponseList]
|
|
60
|
-
describe '
|
|
60
|
+
describe 'list test' do
|
|
61
61
|
it 'should work' do
|
|
62
62
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
63
63
|
end
|
data/spec/api/repair_api_spec.rb
CHANGED
|
@@ -32,13 +32,13 @@ describe 'RepairApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# unit tests for
|
|
35
|
+
# unit tests for post
|
|
36
36
|
# Repair Artifact Storage
|
|
37
37
|
# Trigger an asynchronous task that checks for missing or corrupted artifacts, and attempts to redownload them.
|
|
38
38
|
# @param repair
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
40
|
# @return [AsyncOperationResponse]
|
|
41
|
-
describe '
|
|
41
|
+
describe 'post 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
|
|
@@ -32,7 +32,7 @@ describe 'RepositoriesApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# unit tests for
|
|
35
|
+
# unit tests for list
|
|
36
36
|
# List repositories
|
|
37
37
|
# Endpoint to list all repositories.
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
|
@@ -62,7 +62,7 @@ describe 'RepositoriesApi' do
|
|
|
62
62
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
63
63
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
64
64
|
# @return [PaginatedRepositoryResponseList]
|
|
65
|
-
describe '
|
|
65
|
+
describe 'list test' do
|
|
66
66
|
it 'should work' do
|
|
67
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
68
68
|
end
|
|
@@ -32,12 +32,12 @@ describe 'RepositoriesReclaimSpaceApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# unit tests for
|
|
35
|
+
# unit tests for reclaim
|
|
36
36
|
# Trigger an asynchronous space reclaim operation.
|
|
37
37
|
# @param reclaim_space
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
|
39
39
|
# @return [AsyncOperationResponse]
|
|
40
|
-
describe '
|
|
40
|
+
describe 'reclaim test' do
|
|
41
41
|
it 'should work' do
|
|
42
42
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
43
|
end
|
|
@@ -32,7 +32,7 @@ describe 'RepositoryVersionsApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# unit tests for
|
|
35
|
+
# unit tests for list
|
|
36
36
|
# List repository versions
|
|
37
37
|
# A mixin to hold the shared get_queryset logic used by RepositoryVersionViewSets.
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
|
@@ -57,7 +57,7 @@ describe 'RepositoryVersionsApi' do
|
|
|
57
57
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
58
58
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
59
59
|
# @return [PaginatedRepositoryVersionResponseList]
|
|
60
|
-
describe '
|
|
60
|
+
describe 'list test' do
|
|
61
61
|
it 'should work' do
|
|
62
62
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
63
63
|
end
|
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 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 '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 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 '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 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 '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 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 '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 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 '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 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 '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 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 '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 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 '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 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 '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 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 '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 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 '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 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 '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 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 '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 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 '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 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 '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 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 '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,44 +32,31 @@ describe 'TasksApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# unit tests for
|
|
35
|
+
# unit tests for 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 '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
|
|
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
|
|
47
|
+
# unit tests for delete
|
|
61
48
|
# Delete a task
|
|
62
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.
|
|
63
50
|
# @param task_href
|
|
64
51
|
# @param [Hash] opts the optional parameters
|
|
65
52
|
# @return [nil]
|
|
66
|
-
describe '
|
|
53
|
+
describe 'delete test' do
|
|
67
54
|
it 'should work' do
|
|
68
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
69
56
|
end
|
|
70
57
|
end
|
|
71
58
|
|
|
72
|
-
# unit tests for
|
|
59
|
+
# unit tests for list
|
|
73
60
|
# List tasks
|
|
74
61
|
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
|
75
62
|
# @param [Hash] opts the optional parameters
|
|
@@ -113,51 +100,51 @@ describe 'TasksApi' do
|
|
|
113
100
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
114
101
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
115
102
|
# @return [PaginatedTaskResponseList]
|
|
116
|
-
describe '
|
|
103
|
+
describe 'list test' do
|
|
117
104
|
it 'should work' do
|
|
118
105
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
119
106
|
end
|
|
120
107
|
end
|
|
121
108
|
|
|
122
|
-
# unit tests for
|
|
109
|
+
# unit tests for list_roles
|
|
123
110
|
# List roles assigned to this object.
|
|
124
111
|
# @param task_href
|
|
125
112
|
# @param [Hash] opts the optional parameters
|
|
126
113
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
127
114
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
128
115
|
# @return [ObjectRolesResponse]
|
|
129
|
-
describe '
|
|
116
|
+
describe 'list_roles test' do
|
|
130
117
|
it 'should work' do
|
|
131
118
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
132
119
|
end
|
|
133
120
|
end
|
|
134
121
|
|
|
135
|
-
# unit tests for
|
|
122
|
+
# unit tests for my_permissions
|
|
136
123
|
# List permissions available to the current user on this object.
|
|
137
124
|
# @param task_href
|
|
138
125
|
# @param [Hash] opts the optional parameters
|
|
139
126
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
140
127
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
141
128
|
# @return [MyPermissionsResponse]
|
|
142
|
-
describe '
|
|
129
|
+
describe 'my_permissions test' do
|
|
143
130
|
it 'should work' do
|
|
144
131
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
145
132
|
end
|
|
146
133
|
end
|
|
147
134
|
|
|
148
|
-
# unit tests for
|
|
135
|
+
# unit tests for purge
|
|
149
136
|
# Purge Completed Tasks
|
|
150
137
|
# Trigger an asynchronous task that deletes completed tasks that finished prior to a specified timestamp.
|
|
151
138
|
# @param purge
|
|
152
139
|
# @param [Hash] opts the optional parameters
|
|
153
140
|
# @return [AsyncOperationResponse]
|
|
154
|
-
describe '
|
|
141
|
+
describe 'purge test' do
|
|
155
142
|
it 'should work' do
|
|
156
143
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
157
144
|
end
|
|
158
145
|
end
|
|
159
146
|
|
|
160
|
-
# unit tests for
|
|
147
|
+
# unit tests for read
|
|
161
148
|
# Inspect a task
|
|
162
149
|
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
|
163
150
|
# @param task_href
|
|
@@ -165,19 +152,32 @@ describe 'TasksApi' do
|
|
|
165
152
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
166
153
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
167
154
|
# @return [TaskResponse]
|
|
168
|
-
describe '
|
|
155
|
+
describe 'read test' do
|
|
169
156
|
it 'should work' do
|
|
170
157
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
171
158
|
end
|
|
172
159
|
end
|
|
173
160
|
|
|
174
|
-
# unit tests for
|
|
161
|
+
# unit tests for remove_role
|
|
175
162
|
# Remove a role for this object from users/groups.
|
|
176
163
|
# @param task_href
|
|
177
164
|
# @param nested_role
|
|
178
165
|
# @param [Hash] opts the optional parameters
|
|
179
166
|
# @return [NestedRoleResponse]
|
|
180
|
-
describe '
|
|
167
|
+
describe 'remove_role test' do
|
|
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
|
|
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
|