pulpcore_client 3.22.28 → 3.22.29
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 +144 -142
- data/docs/AccessPoliciesApi.md +26 -26
- data/docs/ArtifactDistributionResponse.md +8 -8
- data/docs/ArtifactsApi.md +21 -21
- data/docs/ContentApi.md +6 -6
- data/docs/ContentguardsApi.md +6 -6
- data/docs/ContentguardsContentRedirectApi.md +51 -51
- data/docs/ContentguardsRbacApi.md +51 -51
- data/docs/DistributionsApi.md +6 -6
- data/docs/DistributionsArtifactsApi.md +11 -11
- data/docs/DocsApiJsonApi.md +61 -0
- data/docs/DocsApiYamlApi.md +61 -0
- data/docs/ExportersFilesystemApi.md +31 -31
- data/docs/ExportersFilesystemExportsApi.md +21 -21
- data/docs/ExportersPulpApi.md +31 -31
- data/docs/ExportersPulpExportsApi.md +21 -21
- data/docs/GroupsApi.md +51 -51
- data/docs/GroupsRolesApi.md +21 -21
- data/docs/GroupsUsersApi.md +16 -16
- data/docs/ImportersPulpApi.md +31 -31
- data/docs/ImportersPulpImportCheckApi.md +1 -1
- data/docs/ImportersPulpImportsApi.md +21 -21
- data/docs/OrphansApi.md +6 -6
- data/docs/OrphansCleanupApi.md +6 -6
- data/docs/PublicationsApi.md +6 -6
- data/docs/RemoteResponseHiddenFields.md +2 -2
- data/docs/RemotesApi.md +6 -6
- data/docs/RepairApi.md +6 -6
- data/docs/RepositoriesApi.md +6 -6
- data/docs/RepositoriesReclaimSpaceApi.md +6 -6
- data/docs/RepositoryVersionsApi.md +6 -6
- data/docs/RolesApi.md +31 -31
- data/docs/SigningServicesApi.md +11 -11
- data/docs/StatusApi.md +1 -1
- data/docs/TaskGroupsApi.md +11 -11
- data/docs/TaskSchedulesApi.md +31 -31
- data/docs/TasksApi.md +96 -96
- data/docs/UploadsApi.md +51 -51
- data/docs/UsersApi.md +31 -31
- data/docs/UsersRolesApi.md +21 -21
- data/docs/WorkersApi.md +11 -11
- data/lib/pulpcore_client/api/access_policies_api.rb +31 -31
- data/lib/pulpcore_client/api/artifacts_api.rb +29 -29
- data/lib/pulpcore_client/api/content_api.rb +5 -5
- data/lib/pulpcore_client/api/contentguards_api.rb +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/docs_api_json_api.rb +89 -0
- data/lib/pulpcore_client/api/docs_api_yaml_api.rb +89 -0
- data/lib/pulpcore_client/api/exporters_filesystem_api.rb +37 -37
- data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +25 -25
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +37 -37
- data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +25 -25
- data/lib/pulpcore_client/api/groups_api.rb +63 -63
- data/lib/pulpcore_client/api/groups_roles_api.rb +25 -25
- data/lib/pulpcore_client/api/groups_users_api.rb +19 -19
- data/lib/pulpcore_client/api/importers_pulp_api.rb +37 -37
- data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +25 -25
- data/lib/pulpcore_client/api/orphans_api.rb +5 -5
- data/lib/pulpcore_client/api/orphans_cleanup_api.rb +6 -6
- data/lib/pulpcore_client/api/publications_api.rb +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/configuration.rb +3 -3
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +37 -37
- 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 +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/docs_api_json_api_spec.rb +48 -0
- data/spec/api/docs_api_yaml_api_spec.rb +48 -0
- data/spec/api/exporters_filesystem_api_spec.rb +12 -12
- data/spec/api/exporters_filesystem_exports_api_spec.rb +8 -8
- data/spec/api/exporters_pulp_api_spec.rb +12 -12
- data/spec/api/exporters_pulp_exports_api_spec.rb +8 -8
- data/spec/api/groups_api_spec.rb +20 -20
- data/spec/api/groups_roles_api_spec.rb +8 -8
- data/spec/api/groups_users_api_spec.rb +6 -6
- data/spec/api/importers_pulp_api_spec.rb +12 -12
- data/spec/api/importers_pulp_imports_api_spec.rb +8 -8
- data/spec/api/orphans_api_spec.rb +2 -2
- data/spec/api/orphans_cleanup_api_spec.rb +2 -2
- data/spec/api/publications_api_spec.rb +2 -2
- data/spec/api/remotes_api_spec.rb +2 -2
- data/spec/api/repair_api_spec.rb +2 -2
- data/spec/api/repositories_api_spec.rb +2 -2
- data/spec/api/repositories_reclaim_space_api_spec.rb +2 -2
- data/spec/api/repository_versions_api_spec.rb +2 -2
- data/spec/api/roles_api_spec.rb +12 -12
- data/spec/api/signing_services_api_spec.rb +4 -4
- data/spec/api/task_groups_api_spec.rb +4 -4
- data/spec/api/task_schedules_api_spec.rb +12 -12
- data/spec/api/tasks_api_spec.rb +29 -29
- data/spec/api/uploads_api_spec.rb +20 -20
- data/spec/api/users_api_spec.rb +12 -12
- data/spec/api/users_roles_api_spec.rb +8 -8
- data/spec/api/workers_api_spec.rb +4 -4
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/artifact_distribution_response_spec.rb +5 -5
- metadata +152 -144
|
@@ -32,56 +32,56 @@ describe 'UploadsApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# unit tests for
|
|
35
|
+
# unit tests for uploads_add_role
|
|
36
36
|
# Add a role for this object to users/groups.
|
|
37
37
|
# @param upload_href
|
|
38
38
|
# @param upload
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
40
|
# @return [NestedRoleResponse]
|
|
41
|
-
describe '
|
|
41
|
+
describe 'uploads_add_role test' do
|
|
42
42
|
it 'should work' do
|
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
44
|
end
|
|
45
45
|
end
|
|
46
46
|
|
|
47
|
-
# unit tests for
|
|
47
|
+
# unit tests for uploads_commit
|
|
48
48
|
# Finish an Upload
|
|
49
49
|
# Queues a Task that creates an Artifact, and the Upload gets deleted and cannot be re-used.
|
|
50
50
|
# @param upload_href
|
|
51
51
|
# @param upload_commit
|
|
52
52
|
# @param [Hash] opts the optional parameters
|
|
53
53
|
# @return [AsyncOperationResponse]
|
|
54
|
-
describe '
|
|
54
|
+
describe 'uploads_commit test' do
|
|
55
55
|
it 'should work' do
|
|
56
56
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
57
57
|
end
|
|
58
58
|
end
|
|
59
59
|
|
|
60
|
-
# unit tests for
|
|
60
|
+
# unit tests for uploads_create
|
|
61
61
|
# Create an upload
|
|
62
62
|
# View for chunked uploads.
|
|
63
63
|
# @param upload
|
|
64
64
|
# @param [Hash] opts the optional parameters
|
|
65
65
|
# @return [UploadResponse]
|
|
66
|
-
describe '
|
|
66
|
+
describe 'uploads_create test' do
|
|
67
67
|
it 'should work' do
|
|
68
68
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
69
69
|
end
|
|
70
70
|
end
|
|
71
71
|
|
|
72
|
-
# unit tests for
|
|
72
|
+
# unit tests for uploads_delete
|
|
73
73
|
# Delete an upload
|
|
74
74
|
# View for chunked uploads.
|
|
75
75
|
# @param upload_href
|
|
76
76
|
# @param [Hash] opts the optional parameters
|
|
77
77
|
# @return [nil]
|
|
78
|
-
describe '
|
|
78
|
+
describe 'uploads_delete test' do
|
|
79
79
|
it 'should work' do
|
|
80
80
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
81
81
|
end
|
|
82
82
|
end
|
|
83
83
|
|
|
84
|
-
# unit tests for
|
|
84
|
+
# unit tests for uploads_list
|
|
85
85
|
# List uploads
|
|
86
86
|
# View for chunked uploads.
|
|
87
87
|
# @param [Hash] opts the optional parameters
|
|
@@ -95,39 +95,39 @@ describe 'UploadsApi' do
|
|
|
95
95
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
96
96
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
97
97
|
# @return [PaginatedUploadResponseList]
|
|
98
|
-
describe '
|
|
98
|
+
describe 'uploads_list test' do
|
|
99
99
|
it 'should work' do
|
|
100
100
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
101
101
|
end
|
|
102
102
|
end
|
|
103
103
|
|
|
104
|
-
# unit tests for
|
|
104
|
+
# unit tests for uploads_list_roles
|
|
105
105
|
# List roles assigned to this object.
|
|
106
106
|
# @param upload_href
|
|
107
107
|
# @param [Hash] opts the optional parameters
|
|
108
108
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
109
109
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
110
110
|
# @return [ObjectRolesResponse]
|
|
111
|
-
describe '
|
|
111
|
+
describe 'uploads_list_roles test' do
|
|
112
112
|
it 'should work' do
|
|
113
113
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
114
114
|
end
|
|
115
115
|
end
|
|
116
116
|
|
|
117
|
-
# unit tests for
|
|
117
|
+
# unit tests for uploads_my_permissions
|
|
118
118
|
# List permissions available to the current user on this object.
|
|
119
119
|
# @param upload_href
|
|
120
120
|
# @param [Hash] opts the optional parameters
|
|
121
121
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
122
122
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
123
123
|
# @return [MyPermissionsResponse]
|
|
124
|
-
describe '
|
|
124
|
+
describe 'uploads_my_permissions test' do
|
|
125
125
|
it 'should work' do
|
|
126
126
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
127
127
|
end
|
|
128
128
|
end
|
|
129
129
|
|
|
130
|
-
# unit tests for
|
|
130
|
+
# unit tests for uploads_read
|
|
131
131
|
# Inspect an upload
|
|
132
132
|
# View for chunked uploads.
|
|
133
133
|
# @param upload_href
|
|
@@ -135,25 +135,25 @@ describe 'UploadsApi' do
|
|
|
135
135
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
136
136
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
137
137
|
# @return [UploadDetailResponse]
|
|
138
|
-
describe '
|
|
138
|
+
describe 'uploads_read test' do
|
|
139
139
|
it 'should work' do
|
|
140
140
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
141
141
|
end
|
|
142
142
|
end
|
|
143
143
|
|
|
144
|
-
# unit tests for
|
|
144
|
+
# unit tests for uploads_remove_role
|
|
145
145
|
# Remove a role for this object from users/groups.
|
|
146
146
|
# @param upload_href
|
|
147
147
|
# @param upload
|
|
148
148
|
# @param [Hash] opts the optional parameters
|
|
149
149
|
# @return [NestedRoleResponse]
|
|
150
|
-
describe '
|
|
150
|
+
describe 'uploads_remove_role test' do
|
|
151
151
|
it 'should work' do
|
|
152
152
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
153
153
|
end
|
|
154
154
|
end
|
|
155
155
|
|
|
156
|
-
# unit tests for
|
|
156
|
+
# unit tests for uploads_update
|
|
157
157
|
# Upload a file chunk
|
|
158
158
|
# Upload a chunk for an upload.
|
|
159
159
|
# @param content_range The Content-Range header specifies the location of the file chunk within the file.
|
|
@@ -162,7 +162,7 @@ describe 'UploadsApi' do
|
|
|
162
162
|
# @param [Hash] opts the optional parameters
|
|
163
163
|
# @option opts [String] :sha256 The SHA-256 checksum of the chunk if available.
|
|
164
164
|
# @return [UploadResponse]
|
|
165
|
-
describe '
|
|
165
|
+
describe 'uploads_update test' do
|
|
166
166
|
it 'should work' do
|
|
167
167
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
168
168
|
end
|
data/spec/api/users_api_spec.rb
CHANGED
|
@@ -32,31 +32,31 @@ describe 'UsersApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# unit tests for
|
|
35
|
+
# unit tests for users_create
|
|
36
36
|
# Create an user
|
|
37
37
|
# ViewSet for User. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
38
38
|
# @param user
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
40
|
# @return [UserResponse]
|
|
41
|
-
describe '
|
|
41
|
+
describe 'users_create test' do
|
|
42
42
|
it 'should work' do
|
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
44
|
end
|
|
45
45
|
end
|
|
46
46
|
|
|
47
|
-
# unit tests for
|
|
47
|
+
# unit tests for users_delete
|
|
48
48
|
# Delete an user
|
|
49
49
|
# ViewSet for User. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
50
50
|
# @param auth_user_href
|
|
51
51
|
# @param [Hash] opts the optional parameters
|
|
52
52
|
# @return [nil]
|
|
53
|
-
describe '
|
|
53
|
+
describe 'users_delete test' do
|
|
54
54
|
it 'should work' do
|
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
56
|
end
|
|
57
57
|
end
|
|
58
58
|
|
|
59
|
-
# unit tests for
|
|
59
|
+
# unit tests for users_list
|
|
60
60
|
# List users
|
|
61
61
|
# ViewSet for User. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
62
62
|
# @param [Hash] opts the optional parameters
|
|
@@ -88,26 +88,26 @@ describe 'UsersApi' do
|
|
|
88
88
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
89
89
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
90
90
|
# @return [PaginatedUserResponseList]
|
|
91
|
-
describe '
|
|
91
|
+
describe 'users_list test' do
|
|
92
92
|
it 'should work' do
|
|
93
93
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
94
94
|
end
|
|
95
95
|
end
|
|
96
96
|
|
|
97
|
-
# unit tests for
|
|
97
|
+
# unit tests for users_partial_update
|
|
98
98
|
# Update an user
|
|
99
99
|
# ViewSet for User. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
100
100
|
# @param auth_user_href
|
|
101
101
|
# @param patched_user
|
|
102
102
|
# @param [Hash] opts the optional parameters
|
|
103
103
|
# @return [UserResponse]
|
|
104
|
-
describe '
|
|
104
|
+
describe 'users_partial_update test' do
|
|
105
105
|
it 'should work' do
|
|
106
106
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
107
107
|
end
|
|
108
108
|
end
|
|
109
109
|
|
|
110
|
-
# unit tests for
|
|
110
|
+
# unit tests for users_read
|
|
111
111
|
# Inspect an user
|
|
112
112
|
# ViewSet for User. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
113
113
|
# @param auth_user_href
|
|
@@ -115,20 +115,20 @@ describe 'UsersApi' do
|
|
|
115
115
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
116
116
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
117
117
|
# @return [UserResponse]
|
|
118
|
-
describe '
|
|
118
|
+
describe 'users_read test' do
|
|
119
119
|
it 'should work' do
|
|
120
120
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
121
121
|
end
|
|
122
122
|
end
|
|
123
123
|
|
|
124
|
-
# unit tests for
|
|
124
|
+
# unit tests for users_update
|
|
125
125
|
# Update an user
|
|
126
126
|
# ViewSet for User. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
127
127
|
# @param auth_user_href
|
|
128
128
|
# @param user
|
|
129
129
|
# @param [Hash] opts the optional parameters
|
|
130
130
|
# @return [UserResponse]
|
|
131
|
-
describe '
|
|
131
|
+
describe 'users_update test' do
|
|
132
132
|
it 'should work' do
|
|
133
133
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
134
134
|
end
|
|
@@ -32,32 +32,32 @@ describe 'UsersRolesApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# unit tests for
|
|
35
|
+
# unit tests for users_roles_create
|
|
36
36
|
# Create an user role
|
|
37
37
|
# ViewSet for UserRole. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
38
38
|
# @param auth_user_href
|
|
39
39
|
# @param user_role
|
|
40
40
|
# @param [Hash] opts the optional parameters
|
|
41
41
|
# @return [UserRoleResponse]
|
|
42
|
-
describe '
|
|
42
|
+
describe 'users_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 users_roles_delete
|
|
49
49
|
# Delete an user role
|
|
50
50
|
# ViewSet for UserRole. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
51
51
|
# @param auth_users_user_role_href
|
|
52
52
|
# @param [Hash] opts the optional parameters
|
|
53
53
|
# @return [nil]
|
|
54
|
-
describe '
|
|
54
|
+
describe 'users_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 users_roles_list
|
|
61
61
|
# List user roles
|
|
62
62
|
# ViewSet for UserRole. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
63
63
|
# @param auth_user_href
|
|
@@ -74,13 +74,13 @@ describe 'UsersRolesApi' 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 [PaginatedUserRoleResponseList]
|
|
77
|
-
describe '
|
|
77
|
+
describe 'users_roles_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 users_roles_read
|
|
84
84
|
# Inspect an user role
|
|
85
85
|
# ViewSet for UserRole. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
86
86
|
# @param auth_users_user_role_href
|
|
@@ -88,7 +88,7 @@ describe 'UsersRolesApi' 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 [UserRoleResponse]
|
|
91
|
-
describe '
|
|
91
|
+
describe 'users_roles_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,7 +32,7 @@ describe 'WorkersApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# unit tests for
|
|
35
|
+
# unit tests for workers_list
|
|
36
36
|
# List workers
|
|
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
|
|
@@ -55,13 +55,13 @@ describe 'WorkersApi' 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 [PaginatedWorkerResponseList]
|
|
58
|
-
describe '
|
|
58
|
+
describe 'workers_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
|
|
62
62
|
end
|
|
63
63
|
|
|
64
|
-
# unit tests for
|
|
64
|
+
# unit tests for workers_read
|
|
65
65
|
# Inspect a worker
|
|
66
66
|
# 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.
|
|
67
67
|
# @param worker_href
|
|
@@ -69,7 +69,7 @@ describe 'WorkersApi' do
|
|
|
69
69
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
70
70
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
71
71
|
# @return [WorkerResponse]
|
|
72
|
-
describe '
|
|
72
|
+
describe 'workers_read test' do
|
|
73
73
|
it 'should work' do
|
|
74
74
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
75
75
|
end
|
data/spec/configuration_spec.rb
CHANGED
|
@@ -18,7 +18,7 @@ describe PulpcoreClient::Configuration do
|
|
|
18
18
|
before(:each) do
|
|
19
19
|
# uncomment below to setup host and base_path
|
|
20
20
|
# require 'URI'
|
|
21
|
-
# uri = URI.parse("
|
|
21
|
+
# uri = URI.parse("http://localhost:24817")
|
|
22
22
|
# PulpcoreClient.configure do |c|
|
|
23
23
|
# c.host = uri.host
|
|
24
24
|
# c.base_path = uri.path
|
|
@@ -28,14 +28,14 @@ describe PulpcoreClient::Configuration do
|
|
|
28
28
|
describe '#base_url' do
|
|
29
29
|
it 'should have the default value' do
|
|
30
30
|
# uncomment below to test default value of the base path
|
|
31
|
-
# expect(config.base_url).to eq("
|
|
31
|
+
# expect(config.base_url).to eq("http://localhost:24817")
|
|
32
32
|
end
|
|
33
33
|
|
|
34
34
|
it 'should remove trailing slashes' do
|
|
35
35
|
[nil, '', '/', '//'].each do |base_path|
|
|
36
36
|
config.base_path = base_path
|
|
37
37
|
# uncomment below to test trailing slashes
|
|
38
|
-
# expect(config.base_url).to eq("
|
|
38
|
+
# expect(config.base_url).to eq("http://localhost:24817")
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
41
|
end
|
|
@@ -32,7 +32,7 @@ describe 'ArtifactDistributionResponse' do
|
|
|
32
32
|
expect(@instance).to be_instance_of(PulpcoreClient::ArtifactDistributionResponse)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
35
|
+
describe 'test attribute "base_path"' do
|
|
36
36
|
it 'should work' do
|
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
38
|
end
|
|
@@ -50,25 +50,25 @@ describe 'ArtifactDistributionResponse' do
|
|
|
50
50
|
end
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
-
describe 'test attribute "
|
|
53
|
+
describe 'test attribute "pulp_href"' 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
|
-
describe 'test attribute "
|
|
59
|
+
describe 'test attribute "content_guard"' 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
|
|
63
63
|
end
|
|
64
64
|
|
|
65
|
-
describe 'test attribute "
|
|
65
|
+
describe 'test attribute "name"' 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
|
-
describe 'test attribute "
|
|
71
|
+
describe 'test attribute "pulp_created"' do
|
|
72
72
|
it 'should work' do
|
|
73
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
74
74
|
end
|