pulpcore_client 3.21.32 → 3.21.33
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 +139 -141
- data/docs/AccessPoliciesApi.md +25 -25
- 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/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/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/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/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/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/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
- metadata +125 -133
- 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 'GroupsRolesApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# unit tests for
|
|
35
|
+
# unit tests for create
|
|
36
36
|
# Create a group role
|
|
37
37
|
# ViewSet for GroupRole. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
38
38
|
# @param group_href
|
|
39
39
|
# @param group_role
|
|
40
40
|
# @param [Hash] opts the optional parameters
|
|
41
41
|
# @return [GroupRoleResponse]
|
|
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 group role
|
|
50
50
|
# ViewSet for GroupRole. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
51
51
|
# @param groups_group_role_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 group roles
|
|
62
62
|
# ViewSet for GroupRole. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
63
63
|
# @param group_href
|
|
@@ -74,13 +74,13 @@ describe 'GroupsRolesApi' do
|
|
|
74
74
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
75
75
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
76
76
|
# @return [PaginatedGroupRoleResponseList]
|
|
77
|
-
describe '
|
|
77
|
+
describe 'list test' do
|
|
78
78
|
it 'should work' do
|
|
79
79
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
80
80
|
end
|
|
81
81
|
end
|
|
82
82
|
|
|
83
|
-
# unit tests for
|
|
83
|
+
# unit tests for read
|
|
84
84
|
# Inspect a group role
|
|
85
85
|
# ViewSet for GroupRole. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
86
86
|
# @param groups_group_role_href
|
|
@@ -88,7 +88,7 @@ describe 'GroupsRolesApi' 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 [GroupRoleResponse]
|
|
91
|
-
describe '
|
|
91
|
+
describe 'read 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
|
|
@@ -32,32 +32,32 @@ describe 'GroupsUsersApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# unit tests for
|
|
35
|
+
# unit tests for create
|
|
36
36
|
# Create an user
|
|
37
37
|
# Add a user to a group.
|
|
38
38
|
# @param group_href
|
|
39
39
|
# @param group_user
|
|
40
40
|
# @param [Hash] opts the optional parameters
|
|
41
41
|
# @return [GroupUserResponse]
|
|
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 an user
|
|
50
50
|
# Remove a user from a group.
|
|
51
51
|
# @param groups_user_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 users
|
|
62
62
|
# List group users.
|
|
63
63
|
# @param group_href
|
|
@@ -67,7 +67,7 @@ describe 'GroupsUsersApi' 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 [PaginatedGroupUserResponseList]
|
|
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
|
|
@@ -32,31 +32,31 @@ describe 'ImportersPulpApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# unit tests for
|
|
35
|
+
# unit tests for create
|
|
36
36
|
# Create a pulp importer
|
|
37
37
|
# ViewSet for PulpImporters.
|
|
38
38
|
# @param pulp_importer
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
40
|
# @return [PulpImporterResponse]
|
|
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 pulp importer
|
|
49
49
|
# ViewSet for PulpImporters.
|
|
50
50
|
# @param pulp_importer_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 pulp importers
|
|
61
61
|
# ViewSet for PulpImporters.
|
|
62
62
|
# @param [Hash] opts the optional parameters
|
|
@@ -71,26 +71,26 @@ describe 'ImportersPulpApi' do
|
|
|
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 [PaginatedPulpImporterResponseList]
|
|
74
|
-
describe '
|
|
74
|
+
describe 'list 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 partial_update
|
|
81
81
|
# Update a pulp importer
|
|
82
82
|
# ViewSet for PulpImporters.
|
|
83
83
|
# @param pulp_importer_href
|
|
84
84
|
# @param patched_pulp_importer
|
|
85
85
|
# @param [Hash] opts the optional parameters
|
|
86
86
|
# @return [PulpImporterResponse]
|
|
87
|
-
describe '
|
|
87
|
+
describe 'partial_update 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 read
|
|
94
94
|
# Inspect a pulp importer
|
|
95
95
|
# ViewSet for PulpImporters.
|
|
96
96
|
# @param pulp_importer_href
|
|
@@ -98,20 +98,20 @@ describe 'ImportersPulpApi' 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 [PulpImporterResponse]
|
|
101
|
-
describe '
|
|
101
|
+
describe '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 update
|
|
108
108
|
# Update a pulp importer
|
|
109
109
|
# ViewSet for PulpImporters.
|
|
110
110
|
# @param pulp_importer_href
|
|
111
111
|
# @param pulp_importer
|
|
112
112
|
# @param [Hash] opts the optional parameters
|
|
113
113
|
# @return [PulpImporterResponse]
|
|
114
|
-
describe '
|
|
114
|
+
describe 'update test' do
|
|
115
115
|
it 'should work' do
|
|
116
116
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
117
117
|
end
|
|
@@ -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 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
|
|
@@ -52,7 +52,7 @@ describe 'PublicationsApi' do
|
|
|
52
52
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
53
53
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
54
54
|
# @return [PaginatedPublicationResponseList]
|
|
55
|
-
describe '
|
|
55
|
+
describe 'list test' do
|
|
56
56
|
it 'should work' do
|
|
57
57
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
58
58
|
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
|
|
@@ -54,7 +54,7 @@ describe 'RemotesApi' do
|
|
|
54
54
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
55
55
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
56
56
|
# @return [PaginatedRemoteResponseList]
|
|
57
|
-
describe '
|
|
57
|
+
describe 'list test' do
|
|
58
58
|
it 'should work' do
|
|
59
59
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
60
60
|
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
|
|
@@ -49,7 +49,7 @@ describe 'RepositoriesApi' do
|
|
|
49
49
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
50
50
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
51
51
|
# @return [PaginatedRepositoryResponseList]
|
|
52
|
-
describe '
|
|
52
|
+
describe 'list test' do
|
|
53
53
|
it 'should work' do
|
|
54
54
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
55
55
|
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
|
# @param [Hash] opts the optional parameters
|
|
38
38
|
# @option opts [String] :content Content Unit referenced by HREF
|
|
@@ -55,7 +55,7 @@ describe 'RepositoryVersionsApi' 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 [PaginatedRepositoryVersionResponseList]
|
|
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
|
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. 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 '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. 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 '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. 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 '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 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 '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 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 '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 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 '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 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 '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 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 '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 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 '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 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 '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
|