pulpcore_client 3.28.28 → 3.28.30
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 +157 -155
- data/docs/AccessPoliciesApi.md +26 -26
- data/docs/ArtifactDistributionResponse.md +12 -12
- data/docs/ArtifactsApi.md +21 -21
- data/docs/ContentApi.md +8 -8
- data/docs/ContentguardsApi.md +8 -8
- data/docs/ContentguardsContentRedirectApi.md +51 -51
- data/docs/ContentguardsRbacApi.md +51 -51
- data/docs/DistributionsApi.md +8 -8
- data/docs/DistributionsArtifactsApi.md +11 -11
- data/docs/DocsApiJsonApi.md +61 -0
- data/docs/DocsApiYamlApi.md +61 -0
- data/docs/DomainsApi.md +31 -31
- data/docs/ExportersFilesystemApi.md +31 -31
- data/docs/ExportersFilesystemExportsApi.md +21 -21
- data/docs/ExportersPulpApi.md +31 -31
- data/docs/ExportersPulpExportsApi.md +21 -21
- data/docs/GroupsApi.md +51 -51
- data/docs/GroupsRolesApi.md +21 -21
- data/docs/GroupsUsersApi.md +16 -16
- data/docs/ImportersPulpApi.md +31 -31
- data/docs/ImportersPulpImportCheckApi.md +1 -1
- data/docs/ImportersPulpImportsApi.md +21 -21
- data/docs/OrphansApi.md +6 -6
- data/docs/OrphansCleanupApi.md +6 -6
- data/docs/PublicationsApi.md +8 -8
- data/docs/RemoteResponseHiddenFields.md +2 -2
- data/docs/RemotesApi.md +8 -8
- data/docs/RepairApi.md +6 -6
- data/docs/RepositoriesApi.md +8 -8
- data/docs/RepositoriesReclaimSpaceApi.md +6 -6
- data/docs/RepositoryVersionsApi.md +6 -6
- data/docs/RolesApi.md +31 -31
- data/docs/SigningServicesApi.md +11 -11
- data/docs/StatusApi.md +1 -1
- data/docs/TaskGroupsApi.md +11 -11
- data/docs/TaskSchedulesApi.md +31 -31
- data/docs/TasksApi.md +96 -96
- data/docs/UploadsApi.md +51 -51
- data/docs/UpstreamPulpsApi.md +36 -36
- data/docs/UsersApi.md +31 -31
- data/docs/UsersRolesApi.md +21 -21
- data/docs/WorkersApi.md +11 -11
- data/lib/pulpcore_client/api/access_policies_api.rb +31 -31
- data/lib/pulpcore_client/api/artifacts_api.rb +29 -29
- data/lib/pulpcore_client/api/content_api.rb +8 -8
- data/lib/pulpcore_client/api/contentguards_api.rb +8 -8
- data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +63 -63
- data/lib/pulpcore_client/api/contentguards_rbac_api.rb +63 -63
- data/lib/pulpcore_client/api/distributions_api.rb +8 -8
- data/lib/pulpcore_client/api/distributions_artifacts_api.rb +11 -11
- data/lib/pulpcore_client/api/docs_api_json_api.rb +89 -0
- data/lib/pulpcore_client/api/docs_api_yaml_api.rb +89 -0
- data/lib/pulpcore_client/api/domains_api.rb +37 -37
- data/lib/pulpcore_client/api/exporters_filesystem_api.rb +37 -37
- data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +25 -25
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +37 -37
- data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +25 -25
- data/lib/pulpcore_client/api/groups_api.rb +63 -63
- data/lib/pulpcore_client/api/groups_roles_api.rb +25 -25
- data/lib/pulpcore_client/api/groups_users_api.rb +19 -19
- data/lib/pulpcore_client/api/importers_pulp_api.rb +37 -37
- data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +25 -25
- data/lib/pulpcore_client/api/orphans_api.rb +5 -5
- data/lib/pulpcore_client/api/orphans_cleanup_api.rb +6 -6
- data/lib/pulpcore_client/api/publications_api.rb +7 -11
- data/lib/pulpcore_client/api/remotes_api.rb +7 -11
- data/lib/pulpcore_client/api/repair_api.rb +6 -6
- data/lib/pulpcore_client/api/repositories_api.rb +7 -11
- data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +6 -6
- data/lib/pulpcore_client/api/repository_versions_api.rb +5 -5
- data/lib/pulpcore_client/api/roles_api.rb +37 -37
- data/lib/pulpcore_client/api/signing_services_api.rb +11 -11
- data/lib/pulpcore_client/api/task_groups_api.rb +11 -11
- data/lib/pulpcore_client/api/task_schedules_api.rb +37 -37
- data/lib/pulpcore_client/api/tasks_api.rb +119 -119
- data/lib/pulpcore_client/api/uploads_api.rb +65 -65
- data/lib/pulpcore_client/api/upstream_pulps_api.rb +43 -43
- data/lib/pulpcore_client/api/users_api.rb +37 -37
- data/lib/pulpcore_client/api/users_roles_api.rb +25 -25
- data/lib/pulpcore_client/api/workers_api.rb +11 -11
- data/lib/pulpcore_client/configuration.rb +3 -3
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +50 -50
- data/lib/pulpcore_client/models/remote_response.rb +20 -20
- data/lib/pulpcore_client/models/remote_response_hidden_fields.rb +10 -0
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +2 -0
- data/spec/api/access_policies_api_spec.rb +10 -10
- data/spec/api/artifacts_api_spec.rb +8 -8
- data/spec/api/content_api_spec.rb +3 -3
- data/spec/api/contentguards_api_spec.rb +3 -3
- data/spec/api/contentguards_content_redirect_api_spec.rb +20 -20
- data/spec/api/contentguards_rbac_api_spec.rb +20 -20
- data/spec/api/distributions_api_spec.rb +3 -3
- data/spec/api/distributions_artifacts_api_spec.rb +4 -4
- data/spec/api/docs_api_json_api_spec.rb +48 -0
- data/spec/api/docs_api_yaml_api_spec.rb +48 -0
- data/spec/api/domains_api_spec.rb +12 -12
- data/spec/api/exporters_filesystem_api_spec.rb +12 -12
- data/spec/api/exporters_filesystem_exports_api_spec.rb +8 -8
- data/spec/api/exporters_pulp_api_spec.rb +12 -12
- data/spec/api/exporters_pulp_exports_api_spec.rb +8 -8
- data/spec/api/groups_api_spec.rb +20 -20
- data/spec/api/groups_roles_api_spec.rb +8 -8
- data/spec/api/groups_users_api_spec.rb +6 -6
- data/spec/api/importers_pulp_api_spec.rb +12 -12
- data/spec/api/importers_pulp_imports_api_spec.rb +8 -8
- data/spec/api/orphans_api_spec.rb +2 -2
- data/spec/api/orphans_cleanup_api_spec.rb +2 -2
- data/spec/api/publications_api_spec.rb +3 -3
- data/spec/api/remotes_api_spec.rb +3 -3
- data/spec/api/repair_api_spec.rb +2 -2
- data/spec/api/repositories_api_spec.rb +3 -3
- data/spec/api/repositories_reclaim_space_api_spec.rb +2 -2
- data/spec/api/repository_versions_api_spec.rb +2 -2
- data/spec/api/roles_api_spec.rb +12 -12
- data/spec/api/signing_services_api_spec.rb +4 -4
- data/spec/api/task_groups_api_spec.rb +4 -4
- data/spec/api/task_schedules_api_spec.rb +12 -12
- data/spec/api/tasks_api_spec.rb +29 -29
- data/spec/api/uploads_api_spec.rb +20 -20
- data/spec/api/upstream_pulps_api_spec.rb +14 -14
- data/spec/api/users_api_spec.rb +12 -12
- data/spec/api/users_roles_api_spec.rb +8 -8
- data/spec/api/workers_api_spec.rb +4 -4
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/artifact_distribution_response_spec.rb +8 -8
- metadata +164 -156
data/spec/api/groups_api_spec.rb
CHANGED
|
@@ -32,43 +32,43 @@ describe 'GroupsApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# unit tests for
|
|
35
|
+
# unit tests for groups_add_role
|
|
36
36
|
# Add a role for this object to users/groups.
|
|
37
37
|
# @param group_href
|
|
38
38
|
# @param nested_role
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
40
|
# @return [NestedRoleResponse]
|
|
41
|
-
describe '
|
|
41
|
+
describe 'groups_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 groups_create
|
|
48
48
|
# Create a group
|
|
49
49
|
# ViewSet for Group.
|
|
50
50
|
# @param group
|
|
51
51
|
# @param [Hash] opts the optional parameters
|
|
52
52
|
# @return [GroupResponse]
|
|
53
|
-
describe '
|
|
53
|
+
describe 'groups_create 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 groups_delete
|
|
60
60
|
# Delete a group
|
|
61
61
|
# ViewSet for Group.
|
|
62
62
|
# @param group_href
|
|
63
63
|
# @param [Hash] opts the optional parameters
|
|
64
64
|
# @return [nil]
|
|
65
|
-
describe '
|
|
65
|
+
describe 'groups_delete 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
|
|
69
69
|
end
|
|
70
70
|
|
|
71
|
-
# unit tests for
|
|
71
|
+
# unit tests for groups_list
|
|
72
72
|
# List groups
|
|
73
73
|
# ViewSet for Group.
|
|
74
74
|
# @param [Hash] opts the optional parameters
|
|
@@ -87,52 +87,52 @@ describe 'GroupsApi' do
|
|
|
87
87
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
88
88
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
89
89
|
# @return [PaginatedGroupResponseList]
|
|
90
|
-
describe '
|
|
90
|
+
describe 'groups_list test' do
|
|
91
91
|
it 'should work' do
|
|
92
92
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
93
93
|
end
|
|
94
94
|
end
|
|
95
95
|
|
|
96
|
-
# unit tests for
|
|
96
|
+
# unit tests for groups_list_roles
|
|
97
97
|
# List roles assigned to this object.
|
|
98
98
|
# @param group_href
|
|
99
99
|
# @param [Hash] opts the optional parameters
|
|
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 [ObjectRolesResponse]
|
|
103
|
-
describe '
|
|
103
|
+
describe 'groups_list_roles 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 groups_my_permissions
|
|
110
110
|
# List permissions available to the current user on this object.
|
|
111
111
|
# @param group_href
|
|
112
112
|
# @param [Hash] opts the optional parameters
|
|
113
113
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
114
114
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
115
115
|
# @return [MyPermissionsResponse]
|
|
116
|
-
describe '
|
|
116
|
+
describe 'groups_my_permissions test' do
|
|
117
117
|
it 'should work' do
|
|
118
118
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
119
119
|
end
|
|
120
120
|
end
|
|
121
121
|
|
|
122
|
-
# unit tests for
|
|
122
|
+
# unit tests for groups_partial_update
|
|
123
123
|
# Update a group
|
|
124
124
|
# ViewSet for Group.
|
|
125
125
|
# @param group_href
|
|
126
126
|
# @param patched_group
|
|
127
127
|
# @param [Hash] opts the optional parameters
|
|
128
128
|
# @return [GroupResponse]
|
|
129
|
-
describe '
|
|
129
|
+
describe 'groups_partial_update test' do
|
|
130
130
|
it 'should work' do
|
|
131
131
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
132
132
|
end
|
|
133
133
|
end
|
|
134
134
|
|
|
135
|
-
# unit tests for
|
|
135
|
+
# unit tests for groups_read
|
|
136
136
|
# Inspect a group
|
|
137
137
|
# ViewSet for Group.
|
|
138
138
|
# @param group_href
|
|
@@ -140,32 +140,32 @@ describe 'GroupsApi' do
|
|
|
140
140
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
141
141
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
142
142
|
# @return [GroupResponse]
|
|
143
|
-
describe '
|
|
143
|
+
describe 'groups_read test' do
|
|
144
144
|
it 'should work' do
|
|
145
145
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
146
146
|
end
|
|
147
147
|
end
|
|
148
148
|
|
|
149
|
-
# unit tests for
|
|
149
|
+
# unit tests for groups_remove_role
|
|
150
150
|
# Remove a role for this object from users/groups.
|
|
151
151
|
# @param group_href
|
|
152
152
|
# @param nested_role
|
|
153
153
|
# @param [Hash] opts the optional parameters
|
|
154
154
|
# @return [NestedRoleResponse]
|
|
155
|
-
describe '
|
|
155
|
+
describe 'groups_remove_role test' do
|
|
156
156
|
it 'should work' do
|
|
157
157
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
158
158
|
end
|
|
159
159
|
end
|
|
160
160
|
|
|
161
|
-
# unit tests for
|
|
161
|
+
# unit tests for groups_update
|
|
162
162
|
# Update a group
|
|
163
163
|
# ViewSet for Group.
|
|
164
164
|
# @param group_href
|
|
165
165
|
# @param group
|
|
166
166
|
# @param [Hash] opts the optional parameters
|
|
167
167
|
# @return [GroupResponse]
|
|
168
|
-
describe '
|
|
168
|
+
describe 'groups_update test' do
|
|
169
169
|
it 'should work' do
|
|
170
170
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
171
171
|
end
|
|
@@ -32,32 +32,32 @@ describe 'GroupsRolesApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# unit tests for
|
|
35
|
+
# unit tests for groups_roles_create
|
|
36
36
|
# Create a group role
|
|
37
37
|
# ViewSet for GroupRole.
|
|
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 'groups_roles_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 groups_roles_delete
|
|
49
49
|
# Delete a group role
|
|
50
50
|
# ViewSet for GroupRole.
|
|
51
51
|
# @param groups_group_role_href
|
|
52
52
|
# @param [Hash] opts the optional parameters
|
|
53
53
|
# @return [nil]
|
|
54
|
-
describe '
|
|
54
|
+
describe 'groups_roles_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 groups_roles_list
|
|
61
61
|
# List group roles
|
|
62
62
|
# ViewSet for GroupRole.
|
|
63
63
|
# @param group_href
|
|
@@ -77,13 +77,13 @@ describe 'GroupsRolesApi' do
|
|
|
77
77
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
78
78
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
79
79
|
# @return [PaginatedGroupRoleResponseList]
|
|
80
|
-
describe '
|
|
80
|
+
describe 'groups_roles_list test' do
|
|
81
81
|
it 'should work' do
|
|
82
82
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
83
83
|
end
|
|
84
84
|
end
|
|
85
85
|
|
|
86
|
-
# unit tests for
|
|
86
|
+
# unit tests for groups_roles_read
|
|
87
87
|
# Inspect a group role
|
|
88
88
|
# ViewSet for GroupRole.
|
|
89
89
|
# @param groups_group_role_href
|
|
@@ -91,7 +91,7 @@ describe 'GroupsRolesApi' do
|
|
|
91
91
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
92
92
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
93
93
|
# @return [GroupRoleResponse]
|
|
94
|
-
describe '
|
|
94
|
+
describe 'groups_roles_read 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
|
|
@@ -32,32 +32,32 @@ describe 'GroupsUsersApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# unit tests for
|
|
35
|
+
# unit tests for groups_users_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 'groups_users_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 groups_users_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 'groups_users_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 groups_users_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 'groups_users_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 importers_core_pulp_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 'importers_core_pulp_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 importers_core_pulp_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 'importers_core_pulp_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 importers_core_pulp_list
|
|
60
60
|
# List pulp importers
|
|
61
61
|
# ViewSet for PulpImporters.
|
|
62
62
|
# @param [Hash] opts the optional parameters
|
|
@@ -73,26 +73,26 @@ describe 'ImportersPulpApi' do
|
|
|
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 [PaginatedPulpImporterResponseList]
|
|
76
|
-
describe '
|
|
76
|
+
describe 'importers_core_pulp_list 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 importers_core_pulp_partial_update
|
|
83
83
|
# Update a pulp importer
|
|
84
84
|
# ViewSet for PulpImporters.
|
|
85
85
|
# @param pulp_importer_href
|
|
86
86
|
# @param patched_pulp_importer
|
|
87
87
|
# @param [Hash] opts the optional parameters
|
|
88
88
|
# @return [PulpImporterResponse]
|
|
89
|
-
describe '
|
|
89
|
+
describe 'importers_core_pulp_partial_update 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 importers_core_pulp_read
|
|
96
96
|
# Inspect a pulp importer
|
|
97
97
|
# ViewSet for PulpImporters.
|
|
98
98
|
# @param pulp_importer_href
|
|
@@ -100,20 +100,20 @@ describe 'ImportersPulpApi' 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 [PulpImporterResponse]
|
|
103
|
-
describe '
|
|
103
|
+
describe 'importers_core_pulp_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 importers_core_pulp_update
|
|
110
110
|
# Update a pulp importer
|
|
111
111
|
# ViewSet for PulpImporters.
|
|
112
112
|
# @param pulp_importer_href
|
|
113
113
|
# @param pulp_importer
|
|
114
114
|
# @param [Hash] opts the optional parameters
|
|
115
115
|
# @return [PulpImporterResponse]
|
|
116
|
-
describe '
|
|
116
|
+
describe 'importers_core_pulp_update test' do
|
|
117
117
|
it 'should work' do
|
|
118
118
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
119
119
|
end
|
|
@@ -32,32 +32,32 @@ describe 'ImportersPulpImportsApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# unit tests for
|
|
35
|
+
# unit tests for importers_core_pulp_imports_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 'importers_core_pulp_imports_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 importers_core_pulp_imports_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 'importers_core_pulp_imports_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 importers_core_pulp_imports_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 'importers_core_pulp_imports_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 importers_core_pulp_imports_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 'importers_core_pulp_imports_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 orphans_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 'orphans_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 orphans_cleanup_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 'orphans_cleanup_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 publications_list
|
|
36
36
|
# List publications
|
|
37
37
|
# A base class for any publication viewset.
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
|
@@ -49,13 +49,13 @@ describe 'PublicationsApi' do
|
|
|
49
49
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
|
50
50
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
51
51
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
52
|
-
# @option opts [Array<String>] :pulp_type__in Pulp type is in
|
|
52
|
+
# @option opts [Array<String>] :pulp_type__in Pulp type is in
|
|
53
53
|
# @option opts [String] :repository Repository referenced by HREF
|
|
54
54
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
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 'publications_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 remotes_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
|
|
@@ -53,11 +53,11 @@ describe 'RemotesApi' do
|
|
|
53
53
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
|
54
54
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
|
55
55
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
|
56
|
-
# @option opts [Array<String>] :pulp_type__in Pulp type is in
|
|
56
|
+
# @option opts [Array<String>] :pulp_type__in Pulp type is in
|
|
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 'remotes_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 repair_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 'repair_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 repositories_list
|
|
36
36
|
# List repositories
|
|
37
37
|
# Endpoint to list all repositories.
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
|
@@ -48,7 +48,7 @@ describe 'RepositoriesApi' do
|
|
|
48
48
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
49
49
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
50
50
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
51
|
-
# @option opts [Array<String>] :pulp_type__in Pulp type is in
|
|
51
|
+
# @option opts [Array<String>] :pulp_type__in Pulp type is in
|
|
52
52
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
|
53
53
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
|
54
54
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
|
@@ -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 'repositories_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 repositories_reclaim_space_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 'repositories_reclaim_space_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 repository_versions_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 'repository_versions_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
|