pulpcore_client 3.28.30 → 3.28.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +154 -156
- data/docs/AccessPoliciesApi.md +25 -25
- data/docs/ArtifactDistributionResponse.md +9 -9
- data/docs/ArtifactsApi.md +20 -20
- data/docs/ContentApi.md +5 -5
- data/docs/ContentguardsApi.md +5 -5
- data/docs/ContentguardsContentRedirectApi.md +50 -50
- data/docs/ContentguardsRbacApi.md +50 -50
- data/docs/DistributionsApi.md +5 -5
- data/docs/DistributionsArtifactsApi.md +10 -10
- data/docs/DomainsApi.md +30 -30
- data/docs/ExportersFilesystemApi.md +30 -30
- data/docs/ExportersFilesystemExportsApi.md +20 -20
- data/docs/ExportersPulpApi.md +30 -30
- data/docs/ExportersPulpExportsApi.md +20 -20
- data/docs/GroupsApi.md +50 -50
- data/docs/GroupsRolesApi.md +20 -20
- data/docs/GroupsUsersApi.md +15 -15
- data/docs/ImportersPulpApi.md +30 -30
- data/docs/ImportersPulpImportsApi.md +20 -20
- data/docs/OrphansApi.md +5 -5
- data/docs/OrphansCleanupApi.md +5 -5
- data/docs/PublicationsApi.md +5 -5
- data/docs/RemotesApi.md +5 -5
- data/docs/RepairApi.md +5 -5
- data/docs/RepositoriesApi.md +5 -5
- data/docs/RepositoriesReclaimSpaceApi.md +5 -5
- data/docs/RepositoryVersionsApi.md +5 -5
- data/docs/RolesApi.md +30 -30
- data/docs/SigningServicesApi.md +10 -10
- data/docs/TaskGroupsApi.md +10 -10
- data/docs/TaskSchedulesApi.md +30 -30
- data/docs/TasksApi.md +95 -95
- data/docs/UploadsApi.md +50 -50
- data/docs/UpstreamPulpsApi.md +35 -35
- data/docs/UsersApi.md +30 -30
- data/docs/UsersRolesApi.md +20 -20
- data/docs/WorkersApi.md +10 -10
- data/lib/pulpcore_client/api/access_policies_api.rb +31 -31
- data/lib/pulpcore_client/api/artifacts_api.rb +29 -29
- data/lib/pulpcore_client/api/content_api.rb +5 -5
- data/lib/pulpcore_client/api/contentguards_api.rb +5 -5
- data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +63 -63
- data/lib/pulpcore_client/api/contentguards_rbac_api.rb +63 -63
- data/lib/pulpcore_client/api/distributions_api.rb +5 -5
- data/lib/pulpcore_client/api/distributions_artifacts_api.rb +11 -11
- data/lib/pulpcore_client/api/domains_api.rb +37 -37
- data/lib/pulpcore_client/api/exporters_filesystem_api.rb +37 -37
- data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +25 -25
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +37 -37
- data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +25 -25
- data/lib/pulpcore_client/api/groups_api.rb +63 -63
- data/lib/pulpcore_client/api/groups_roles_api.rb +25 -25
- data/lib/pulpcore_client/api/groups_users_api.rb +19 -19
- data/lib/pulpcore_client/api/importers_pulp_api.rb +37 -37
- data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +25 -25
- data/lib/pulpcore_client/api/orphans_api.rb +5 -5
- data/lib/pulpcore_client/api/orphans_cleanup_api.rb +6 -6
- data/lib/pulpcore_client/api/publications_api.rb +5 -5
- data/lib/pulpcore_client/api/remotes_api.rb +5 -5
- data/lib/pulpcore_client/api/repair_api.rb +6 -6
- data/lib/pulpcore_client/api/repositories_api.rb +5 -5
- data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +6 -6
- data/lib/pulpcore_client/api/repository_versions_api.rb +5 -5
- data/lib/pulpcore_client/api/roles_api.rb +37 -37
- data/lib/pulpcore_client/api/signing_services_api.rb +11 -11
- data/lib/pulpcore_client/api/task_groups_api.rb +11 -11
- data/lib/pulpcore_client/api/task_schedules_api.rb +37 -37
- data/lib/pulpcore_client/api/tasks_api.rb +119 -119
- data/lib/pulpcore_client/api/uploads_api.rb +65 -65
- data/lib/pulpcore_client/api/upstream_pulps_api.rb +43 -43
- data/lib/pulpcore_client/api/users_api.rb +37 -37
- data/lib/pulpcore_client/api/users_roles_api.rb +25 -25
- data/lib/pulpcore_client/api/workers_api.rb +11 -11
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +39 -39
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +0 -2
- data/spec/api/access_policies_api_spec.rb +10 -10
- data/spec/api/artifacts_api_spec.rb +8 -8
- data/spec/api/content_api_spec.rb +2 -2
- data/spec/api/contentguards_api_spec.rb +2 -2
- data/spec/api/contentguards_content_redirect_api_spec.rb +20 -20
- data/spec/api/contentguards_rbac_api_spec.rb +20 -20
- data/spec/api/distributions_api_spec.rb +2 -2
- data/spec/api/distributions_artifacts_api_spec.rb +4 -4
- data/spec/api/domains_api_spec.rb +12 -12
- data/spec/api/exporters_filesystem_api_spec.rb +12 -12
- data/spec/api/exporters_filesystem_exports_api_spec.rb +8 -8
- data/spec/api/exporters_pulp_api_spec.rb +12 -12
- data/spec/api/exporters_pulp_exports_api_spec.rb +8 -8
- data/spec/api/groups_api_spec.rb +20 -20
- data/spec/api/groups_roles_api_spec.rb +8 -8
- data/spec/api/groups_users_api_spec.rb +6 -6
- data/spec/api/importers_pulp_api_spec.rb +12 -12
- data/spec/api/importers_pulp_imports_api_spec.rb +8 -8
- data/spec/api/orphans_api_spec.rb +2 -2
- data/spec/api/orphans_cleanup_api_spec.rb +2 -2
- data/spec/api/publications_api_spec.rb +2 -2
- data/spec/api/remotes_api_spec.rb +2 -2
- data/spec/api/repair_api_spec.rb +2 -2
- data/spec/api/repositories_api_spec.rb +2 -2
- data/spec/api/repositories_reclaim_space_api_spec.rb +2 -2
- data/spec/api/repository_versions_api_spec.rb +2 -2
- data/spec/api/roles_api_spec.rb +12 -12
- data/spec/api/signing_services_api_spec.rb +4 -4
- data/spec/api/task_groups_api_spec.rb +4 -4
- data/spec/api/task_schedules_api_spec.rb +12 -12
- data/spec/api/tasks_api_spec.rb +29 -29
- data/spec/api/uploads_api_spec.rb +20 -20
- data/spec/api/upstream_pulps_api_spec.rb +14 -14
- data/spec/api/users_api_spec.rb +12 -12
- data/spec/api/users_roles_api_spec.rb +8 -8
- data/spec/api/workers_api_spec.rb +4 -4
- data/spec/models/artifact_distribution_response_spec.rb +6 -6
- metadata +140 -148
- data/docs/DocsApiJsonApi.md +0 -61
- data/docs/DocsApiYamlApi.md +0 -61
- data/lib/pulpcore_client/api/docs_api_json_api.rb +0 -89
- data/lib/pulpcore_client/api/docs_api_yaml_api.rb +0 -89
- data/spec/api/docs_api_json_api_spec.rb +0 -48
- data/spec/api/docs_api_yaml_api_spec.rb +0 -48
|
@@ -32,56 +32,56 @@ describe 'UploadsApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# unit tests for
|
|
35
|
+
# unit tests for add_role
|
|
36
36
|
# Add a role for this object to users/groups.
|
|
37
37
|
# @param upload_href
|
|
38
38
|
# @param upload
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
40
|
# @return [NestedRoleResponse]
|
|
41
|
-
describe '
|
|
41
|
+
describe 'add_role test' do
|
|
42
42
|
it 'should work' do
|
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
44
|
end
|
|
45
45
|
end
|
|
46
46
|
|
|
47
|
-
# unit tests for
|
|
47
|
+
# unit tests for 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 '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 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 '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 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 '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 list
|
|
85
85
|
# List uploads
|
|
86
86
|
# View for chunked uploads.
|
|
87
87
|
# @param [Hash] opts the optional parameters
|
|
@@ -97,39 +97,39 @@ describe 'UploadsApi' do
|
|
|
97
97
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
98
98
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
99
99
|
# @return [PaginatedUploadResponseList]
|
|
100
|
-
describe '
|
|
100
|
+
describe 'list test' do
|
|
101
101
|
it 'should work' do
|
|
102
102
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
103
103
|
end
|
|
104
104
|
end
|
|
105
105
|
|
|
106
|
-
# unit tests for
|
|
106
|
+
# unit tests for list_roles
|
|
107
107
|
# List roles assigned to this object.
|
|
108
108
|
# @param upload_href
|
|
109
109
|
# @param [Hash] opts the optional parameters
|
|
110
110
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
111
111
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
112
112
|
# @return [ObjectRolesResponse]
|
|
113
|
-
describe '
|
|
113
|
+
describe 'list_roles test' do
|
|
114
114
|
it 'should work' do
|
|
115
115
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
116
116
|
end
|
|
117
117
|
end
|
|
118
118
|
|
|
119
|
-
# unit tests for
|
|
119
|
+
# unit tests for my_permissions
|
|
120
120
|
# List permissions available to the current user on this object.
|
|
121
121
|
# @param upload_href
|
|
122
122
|
# @param [Hash] opts the optional parameters
|
|
123
123
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
124
124
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
125
125
|
# @return [MyPermissionsResponse]
|
|
126
|
-
describe '
|
|
126
|
+
describe 'my_permissions test' do
|
|
127
127
|
it 'should work' do
|
|
128
128
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
129
129
|
end
|
|
130
130
|
end
|
|
131
131
|
|
|
132
|
-
# unit tests for
|
|
132
|
+
# unit tests for read
|
|
133
133
|
# Inspect an upload
|
|
134
134
|
# View for chunked uploads.
|
|
135
135
|
# @param upload_href
|
|
@@ -137,25 +137,25 @@ describe 'UploadsApi' do
|
|
|
137
137
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
138
138
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
139
139
|
# @return [UploadDetailResponse]
|
|
140
|
-
describe '
|
|
140
|
+
describe 'read test' do
|
|
141
141
|
it 'should work' do
|
|
142
142
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
143
143
|
end
|
|
144
144
|
end
|
|
145
145
|
|
|
146
|
-
# unit tests for
|
|
146
|
+
# unit tests for remove_role
|
|
147
147
|
# Remove a role for this object from users/groups.
|
|
148
148
|
# @param upload_href
|
|
149
149
|
# @param upload
|
|
150
150
|
# @param [Hash] opts the optional parameters
|
|
151
151
|
# @return [NestedRoleResponse]
|
|
152
|
-
describe '
|
|
152
|
+
describe 'remove_role test' do
|
|
153
153
|
it 'should work' do
|
|
154
154
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
155
155
|
end
|
|
156
156
|
end
|
|
157
157
|
|
|
158
|
-
# unit tests for
|
|
158
|
+
# unit tests for update
|
|
159
159
|
# Upload a file chunk
|
|
160
160
|
# Upload a chunk for an upload.
|
|
161
161
|
# @param content_range The Content-Range header specifies the location of the file chunk within the file.
|
|
@@ -164,7 +164,7 @@ describe 'UploadsApi' do
|
|
|
164
164
|
# @param [Hash] opts the optional parameters
|
|
165
165
|
# @option opts [String] :sha256 The SHA-256 checksum of the chunk if available.
|
|
166
166
|
# @return [UploadResponse]
|
|
167
|
-
describe '
|
|
167
|
+
describe 'update test' do
|
|
168
168
|
it 'should work' do
|
|
169
169
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
170
170
|
end
|
|
@@ -32,31 +32,31 @@ describe 'UpstreamPulpsApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# unit tests for
|
|
35
|
+
# unit tests for create
|
|
36
36
|
# Create an upstream pulp
|
|
37
37
|
# API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
|
38
38
|
# @param upstream_pulp
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
40
|
# @return [UpstreamPulpResponse]
|
|
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 an upstream pulp
|
|
49
49
|
# API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
|
50
50
|
# @param upstream_pulp_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 upstream pulps
|
|
61
61
|
# API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
|
62
62
|
# @param [Hash] opts the optional parameters
|
|
@@ -65,26 +65,26 @@ describe 'UpstreamPulpsApi' do
|
|
|
65
65
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
66
66
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
67
67
|
# @return [PaginatedUpstreamPulpResponseList]
|
|
68
|
-
describe '
|
|
68
|
+
describe 'list test' do
|
|
69
69
|
it 'should work' do
|
|
70
70
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
71
71
|
end
|
|
72
72
|
end
|
|
73
73
|
|
|
74
|
-
# unit tests for
|
|
74
|
+
# unit tests for partial_update
|
|
75
75
|
# Update an upstream pulp
|
|
76
76
|
# API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
|
77
77
|
# @param upstream_pulp_href
|
|
78
78
|
# @param patched_upstream_pulp
|
|
79
79
|
# @param [Hash] opts the optional parameters
|
|
80
80
|
# @return [UpstreamPulpResponse]
|
|
81
|
-
describe '
|
|
81
|
+
describe 'partial_update 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 read
|
|
88
88
|
# Inspect an upstream pulp
|
|
89
89
|
# API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
|
90
90
|
# @param upstream_pulp_href
|
|
@@ -92,32 +92,32 @@ describe 'UpstreamPulpsApi' do
|
|
|
92
92
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
93
93
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
94
94
|
# @return [UpstreamPulpResponse]
|
|
95
|
-
describe '
|
|
95
|
+
describe 'read test' do
|
|
96
96
|
it 'should work' do
|
|
97
97
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
98
98
|
end
|
|
99
99
|
end
|
|
100
100
|
|
|
101
|
-
# unit tests for
|
|
101
|
+
# unit tests for replicate
|
|
102
102
|
# Replicate
|
|
103
103
|
# Trigger an asynchronous repository replication task group. This API is provided as a tech preview.
|
|
104
104
|
# @param upstream_pulp_href
|
|
105
105
|
# @param [Hash] opts the optional parameters
|
|
106
106
|
# @return [TaskGroupOperationResponse]
|
|
107
|
-
describe '
|
|
107
|
+
describe 'replicate test' do
|
|
108
108
|
it 'should work' do
|
|
109
109
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
110
110
|
end
|
|
111
111
|
end
|
|
112
112
|
|
|
113
|
-
# unit tests for
|
|
113
|
+
# unit tests for update
|
|
114
114
|
# Update an upstream pulp
|
|
115
115
|
# API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
|
116
116
|
# @param upstream_pulp_href
|
|
117
117
|
# @param upstream_pulp
|
|
118
118
|
# @param [Hash] opts the optional parameters
|
|
119
119
|
# @return [UpstreamPulpResponse]
|
|
120
|
-
describe '
|
|
120
|
+
describe 'update test' do
|
|
121
121
|
it 'should work' do
|
|
122
122
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
123
123
|
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 create
|
|
36
36
|
# Create an user
|
|
37
37
|
# ViewSet for User.
|
|
38
38
|
# @param user
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
40
|
# @return [UserResponse]
|
|
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 an user
|
|
49
49
|
# ViewSet for User.
|
|
50
50
|
# @param auth_user_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 users
|
|
61
61
|
# ViewSet for User.
|
|
62
62
|
# @param [Hash] opts the optional parameters
|
|
@@ -90,26 +90,26 @@ describe 'UsersApi' do
|
|
|
90
90
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
91
91
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
92
92
|
# @return [PaginatedUserResponseList]
|
|
93
|
-
describe '
|
|
93
|
+
describe 'list test' do
|
|
94
94
|
it 'should work' do
|
|
95
95
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
96
96
|
end
|
|
97
97
|
end
|
|
98
98
|
|
|
99
|
-
# unit tests for
|
|
99
|
+
# unit tests for partial_update
|
|
100
100
|
# Update an user
|
|
101
101
|
# ViewSet for User.
|
|
102
102
|
# @param auth_user_href
|
|
103
103
|
# @param patched_user
|
|
104
104
|
# @param [Hash] opts the optional parameters
|
|
105
105
|
# @return [UserResponse]
|
|
106
|
-
describe '
|
|
106
|
+
describe 'partial_update test' do
|
|
107
107
|
it 'should work' do
|
|
108
108
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
109
109
|
end
|
|
110
110
|
end
|
|
111
111
|
|
|
112
|
-
# unit tests for
|
|
112
|
+
# unit tests for read
|
|
113
113
|
# Inspect an user
|
|
114
114
|
# ViewSet for User.
|
|
115
115
|
# @param auth_user_href
|
|
@@ -117,20 +117,20 @@ describe 'UsersApi' do
|
|
|
117
117
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
118
118
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
119
119
|
# @return [UserResponse]
|
|
120
|
-
describe '
|
|
120
|
+
describe 'read test' do
|
|
121
121
|
it 'should work' do
|
|
122
122
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
123
123
|
end
|
|
124
124
|
end
|
|
125
125
|
|
|
126
|
-
# unit tests for
|
|
126
|
+
# unit tests for update
|
|
127
127
|
# Update an user
|
|
128
128
|
# ViewSet for User.
|
|
129
129
|
# @param auth_user_href
|
|
130
130
|
# @param user
|
|
131
131
|
# @param [Hash] opts the optional parameters
|
|
132
132
|
# @return [UserResponse]
|
|
133
|
-
describe '
|
|
133
|
+
describe 'update test' do
|
|
134
134
|
it 'should work' do
|
|
135
135
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
136
136
|
end
|
|
@@ -32,32 +32,32 @@ describe 'UsersRolesApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# unit tests for
|
|
35
|
+
# unit tests for create
|
|
36
36
|
# Create an user role
|
|
37
37
|
# ViewSet for UserRole.
|
|
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 '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 role
|
|
50
50
|
# ViewSet for UserRole.
|
|
51
51
|
# @param auth_users_user_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 user roles
|
|
62
62
|
# ViewSet for UserRole.
|
|
63
63
|
# @param auth_user_href
|
|
@@ -77,13 +77,13 @@ describe 'UsersRolesApi' 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 [PaginatedUserRoleResponseList]
|
|
80
|
-
describe '
|
|
80
|
+
describe '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 read
|
|
87
87
|
# Inspect an user role
|
|
88
88
|
# ViewSet for UserRole.
|
|
89
89
|
# @param auth_users_user_role_href
|
|
@@ -91,7 +91,7 @@ describe 'UsersRolesApi' 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 [UserRoleResponse]
|
|
94
|
-
describe '
|
|
94
|
+
describe '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,7 +32,7 @@ describe 'WorkersApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# unit tests for
|
|
35
|
+
# unit tests for 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
|
|
@@ -57,13 +57,13 @@ describe 'WorkersApi' 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 [PaginatedWorkerResponseList]
|
|
60
|
-
describe '
|
|
60
|
+
describe 'list test' do
|
|
61
61
|
it 'should work' do
|
|
62
62
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
63
63
|
end
|
|
64
64
|
end
|
|
65
65
|
|
|
66
|
-
# unit tests for
|
|
66
|
+
# unit tests for read
|
|
67
67
|
# Inspect a worker
|
|
68
68
|
# 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.
|
|
69
69
|
# @param worker_href
|
|
@@ -71,7 +71,7 @@ describe 'WorkersApi' 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 [WorkerResponse]
|
|
74
|
-
describe '
|
|
74
|
+
describe 'read 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
|
|
@@ -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 "pulp_href"' 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
|
|
@@ -44,19 +44,19 @@ describe 'ArtifactDistributionResponse' do
|
|
|
44
44
|
end
|
|
45
45
|
end
|
|
46
46
|
|
|
47
|
-
describe 'test attribute "
|
|
47
|
+
describe 'test attribute "base_path"' do
|
|
48
48
|
it 'should work' do
|
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
50
|
end
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
-
describe 'test attribute "
|
|
53
|
+
describe 'test attribute "hidden"' 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 "pulp_created"' 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
|
|
@@ -68,13 +68,13 @@ describe 'ArtifactDistributionResponse' do
|
|
|
68
68
|
end
|
|
69
69
|
end
|
|
70
70
|
|
|
71
|
-
describe 'test attribute "
|
|
71
|
+
describe 'test attribute "base_url"' 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
|
|
75
75
|
end
|
|
76
76
|
|
|
77
|
-
describe 'test attribute "
|
|
77
|
+
describe 'test attribute "pulp_labels"' 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
|