pulpcore_client 3.21.32 → 3.22.0
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 +147 -143
- data/docs/AccessPoliciesApi.md +28 -28
- data/docs/ArtifactDistributionResponse.md +29 -0
- data/docs/ArtifactsApi.md +21 -21
- data/docs/ContentApi.md +6 -6
- data/docs/ContentSettingsResponse.md +19 -0
- data/docs/ContentguardsApi.md +8 -8
- data/docs/ContentguardsContentRedirectApi.md +53 -53
- data/docs/ContentguardsRbacApi.md +53 -53
- data/docs/DistributionResponse.md +1 -1
- data/docs/DistributionsApi.md +11 -11
- data/docs/DistributionsArtifactsApi.md +154 -0
- data/docs/ExportersFilesystemApi.md +33 -33
- data/docs/ExportersFilesystemExportsApi.md +21 -21
- data/docs/ExportersPulpApi.md +33 -33
- data/docs/ExportersPulpExportsApi.md +21 -21
- data/docs/FilesystemExport.md +1 -3
- data/docs/GroupsApi.md +51 -51
- data/docs/GroupsRolesApi.md +21 -21
- data/docs/GroupsUsersApi.md +16 -16
- data/docs/ImportersPulpApi.md +33 -33
- 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/PaginatedArtifactDistributionResponseList.md +23 -0
- data/docs/PublicationsApi.md +8 -8
- data/docs/RemoteResponse.md +4 -2
- data/docs/RemoteResponseHiddenFields.md +19 -0
- data/docs/RemotesApi.md +10 -10
- data/docs/RepairApi.md +6 -6
- data/docs/RepositoriesApi.md +9 -9
- data/docs/RepositoriesReclaimSpaceApi.md +6 -6
- data/docs/RepositoryResponse.md +1 -1
- data/docs/RepositoryVersionsApi.md +10 -10
- data/docs/RolesApi.md +31 -31
- data/docs/SigningServicesApi.md +15 -13
- data/docs/StatusApi.md +1 -1
- data/docs/StatusResponse.md +3 -1
- data/docs/TaskGroupsApi.md +11 -13
- data/docs/TaskSchedulesApi.md +35 -35
- data/docs/TasksApi.md +128 -114
- data/docs/UploadsApi.md +61 -51
- data/docs/UserResponse.md +3 -1
- data/docs/UsersApi.md +31 -31
- data/docs/UsersRolesApi.md +21 -21
- data/docs/WorkersApi.md +15 -15
- data/lib/pulpcore_client/api/access_policies_api.rb +34 -34
- data/lib/pulpcore_client/api/artifacts_api.rb +30 -30
- data/lib/pulpcore_client/api/content_api.rb +5 -5
- data/lib/pulpcore_client/api/contentguards_api.rb +8 -8
- data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +66 -66
- data/lib/pulpcore_client/api/contentguards_rbac_api.rb +66 -66
- data/lib/pulpcore_client/api/distributions_api.rb +12 -12
- data/lib/pulpcore_client/api/distributions_artifacts_api.rb +198 -0
- data/lib/pulpcore_client/api/exporters_filesystem_api.rb +40 -40
- data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +25 -25
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +40 -40
- data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +25 -25
- data/lib/pulpcore_client/api/groups_api.rb +64 -64
- 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 +40 -40
- 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 +8 -8
- data/lib/pulpcore_client/api/remotes_api.rb +10 -10
- data/lib/pulpcore_client/api/repair_api.rb +6 -6
- data/lib/pulpcore_client/api/repositories_api.rb +8 -8
- data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +6 -6
- data/lib/pulpcore_client/api/repository_versions_api.rb +10 -10
- data/lib/pulpcore_client/api/roles_api.rb +38 -38
- data/lib/pulpcore_client/api/signing_services_api.rb +20 -13
- data/lib/pulpcore_client/api/task_groups_api.rb +11 -18
- data/lib/pulpcore_client/api/task_schedules_api.rb +42 -42
- data/lib/pulpcore_client/api/tasks_api.rb +159 -138
- data/lib/pulpcore_client/api/uploads_api.rb +84 -65
- data/lib/pulpcore_client/api/users_api.rb +38 -38
- data/lib/pulpcore_client/api/users_roles_api.rb +25 -25
- data/lib/pulpcore_client/api/workers_api.rb +16 -16
- data/lib/pulpcore_client/configuration.rb +3 -3
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +279 -0
- data/lib/pulpcore_client/models/content_settings_response.rb +228 -0
- data/lib/pulpcore_client/models/distribution_response.rb +4 -2
- data/lib/pulpcore_client/models/filesystem_export.rb +4 -14
- data/lib/pulpcore_client/models/group_role.rb +19 -0
- data/lib/pulpcore_client/models/paginated_artifact_distribution_response_list.rb +237 -0
- data/lib/pulpcore_client/models/remote_response.rb +41 -27
- data/lib/pulpcore_client/models/remote_response_hidden_fields.rb +215 -0
- data/lib/pulpcore_client/models/repository_response.rb +4 -2
- data/lib/pulpcore_client/models/status_response.rb +19 -4
- data/lib/pulpcore_client/models/user_response.rb +16 -4
- data/lib/pulpcore_client/models/user_role.rb +19 -0
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +5 -2
- data/spec/api/access_policies_api_spec.rb +11 -11
- 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 +3 -3
- data/spec/api/contentguards_content_redirect_api_spec.rb +21 -21
- data/spec/api/contentguards_rbac_api_spec.rb +21 -21
- data/spec/api/distributions_api_spec.rb +5 -5
- data/spec/api/distributions_artifacts_api_spec.rb +76 -0
- data/spec/api/exporters_filesystem_api_spec.rb +13 -13
- data/spec/api/exporters_filesystem_exports_api_spec.rb +8 -8
- data/spec/api/exporters_pulp_api_spec.rb +13 -13
- 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 +13 -13
- 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 +4 -4
- 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 +4 -4
- data/spec/api/roles_api_spec.rb +12 -12
- data/spec/api/signing_services_api_spec.rb +6 -5
- data/spec/api/task_groups_api_spec.rb +4 -5
- data/spec/api/task_schedules_api_spec.rb +14 -14
- data/spec/api/tasks_api_spec.rb +45 -38
- data/spec/api/uploads_api_spec.rb +25 -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 +6 -6
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/artifact_distribution_response_spec.rb +77 -0
- data/spec/models/content_settings_response_spec.rb +47 -0
- data/spec/models/filesystem_export_spec.rb +0 -6
- data/spec/models/paginated_artifact_distribution_response_list_spec.rb +59 -0
- data/spec/models/remote_response_hidden_fields_spec.rb +47 -0
- data/spec/models/remote_response_spec.rb +6 -0
- data/spec/models/status_response_spec.rb +6 -0
- data/spec/models/user_response_spec.rb +6 -0
- metadata +162 -150
- 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,36 +32,36 @@ describe 'ExportersFilesystemApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# unit tests for
|
|
35
|
+
# unit tests for create
|
|
36
36
|
# Create a filesystem exporter
|
|
37
37
|
# Endpoint for managing FilesystemExporters. FilesystemExporters are provided as a tech preview.
|
|
38
38
|
# @param filesystem_exporter
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
40
|
# @return [FilesystemExporterResponse]
|
|
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 filesystem exporter
|
|
49
49
|
# Trigger an asynchronous delete task
|
|
50
50
|
# @param filesystem_exporter_href
|
|
51
51
|
# @param [Hash] opts the optional parameters
|
|
52
52
|
# @return [AsyncOperationResponse]
|
|
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 filesystem exporters
|
|
61
61
|
# Endpoint for managing FilesystemExporters. FilesystemExporters are provided as a tech preview.
|
|
62
62
|
# @param [Hash] opts the optional parameters
|
|
63
63
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
64
|
-
# @option opts [String] :name
|
|
64
|
+
# @option opts [String] :name Filter results where name matches value
|
|
65
65
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
66
66
|
# @option opts [String] :name__icontains Filter results where name contains value
|
|
67
67
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
@@ -71,26 +71,26 @@ describe 'ExportersFilesystemApi' 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 [PaginatedFilesystemExporterResponseList]
|
|
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 filesystem exporter
|
|
82
82
|
# Trigger an asynchronous partial update task
|
|
83
83
|
# @param filesystem_exporter_href
|
|
84
84
|
# @param patched_filesystem_exporter
|
|
85
85
|
# @param [Hash] opts the optional parameters
|
|
86
86
|
# @return [AsyncOperationResponse]
|
|
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 filesystem exporter
|
|
95
95
|
# Endpoint for managing FilesystemExporters. FilesystemExporters are provided as a tech preview.
|
|
96
96
|
# @param filesystem_exporter_href
|
|
@@ -98,20 +98,20 @@ describe 'ExportersFilesystemApi' 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 [FilesystemExporterResponse]
|
|
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 filesystem exporter
|
|
109
109
|
# Trigger an asynchronous update task
|
|
110
110
|
# @param filesystem_exporter_href
|
|
111
111
|
# @param filesystem_exporter
|
|
112
112
|
# @param [Hash] opts the optional parameters
|
|
113
113
|
# @return [AsyncOperationResponse]
|
|
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 'ExportersFilesystemExportsApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# unit tests for
|
|
35
|
+
# unit tests for create
|
|
36
36
|
# Create a filesystem export
|
|
37
37
|
# Trigger an asynchronous task to export files to the filesystem
|
|
38
38
|
# @param filesystem_exporter_href
|
|
39
39
|
# @param filesystem_export
|
|
40
40
|
# @param [Hash] opts the optional parameters
|
|
41
41
|
# @return [AsyncOperationResponse]
|
|
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 filesystem export
|
|
50
50
|
# Endpoint for managing FilesystemExports. This endpoint is provided as a tech preview.
|
|
51
51
|
# @param filesystem_filesystem_export_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 filesystem exports
|
|
62
62
|
# Endpoint for managing FilesystemExports. This endpoint is provided as a tech preview.
|
|
63
63
|
# @param filesystem_exporter_href
|
|
@@ -67,13 +67,13 @@ describe 'ExportersFilesystemExportsApi' 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 [PaginatedFilesystemExportResponseList]
|
|
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 filesystem export
|
|
78
78
|
# Endpoint for managing FilesystemExports. This endpoint is provided as a tech preview.
|
|
79
79
|
# @param filesystem_filesystem_export_href
|
|
@@ -81,7 +81,7 @@ describe 'ExportersFilesystemExportsApi' 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 [FilesystemExportResponse]
|
|
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,36 +32,36 @@ describe 'ExportersPulpApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# unit tests for
|
|
35
|
+
# unit tests for create
|
|
36
36
|
# Create a pulp exporter
|
|
37
37
|
# ViewSet for viewing PulpExporters.
|
|
38
38
|
# @param pulp_exporter
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
40
|
# @return [PulpExporterResponse]
|
|
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 exporter
|
|
49
49
|
# Trigger an asynchronous delete task
|
|
50
50
|
# @param pulp_exporter_href
|
|
51
51
|
# @param [Hash] opts the optional parameters
|
|
52
52
|
# @return [AsyncOperationResponse]
|
|
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 exporters
|
|
61
61
|
# ViewSet for viewing PulpExporters.
|
|
62
62
|
# @param [Hash] opts the optional parameters
|
|
63
63
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
64
|
-
# @option opts [String] :name
|
|
64
|
+
# @option opts [String] :name Filter results where name matches value
|
|
65
65
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
66
66
|
# @option opts [String] :name__icontains Filter results where name contains value
|
|
67
67
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
@@ -71,26 +71,26 @@ describe 'ExportersPulpApi' 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 [PaginatedPulpExporterResponseList]
|
|
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 exporter
|
|
82
82
|
# Trigger an asynchronous partial update task
|
|
83
83
|
# @param pulp_exporter_href
|
|
84
84
|
# @param patched_pulp_exporter
|
|
85
85
|
# @param [Hash] opts the optional parameters
|
|
86
86
|
# @return [AsyncOperationResponse]
|
|
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 exporter
|
|
95
95
|
# ViewSet for viewing PulpExporters.
|
|
96
96
|
# @param pulp_exporter_href
|
|
@@ -98,20 +98,20 @@ describe 'ExportersPulpApi' 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 [PulpExporterResponse]
|
|
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 exporter
|
|
109
109
|
# Trigger an asynchronous update task
|
|
110
110
|
# @param pulp_exporter_href
|
|
111
111
|
# @param pulp_exporter
|
|
112
112
|
# @param [Hash] opts the optional parameters
|
|
113
113
|
# @return [AsyncOperationResponse]
|
|
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 'ExportersPulpExportsApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# unit tests for
|
|
35
|
+
# unit tests for create
|
|
36
36
|
# Create a pulp export
|
|
37
37
|
# Trigger an asynchronous task to export a set of repositories
|
|
38
38
|
# @param pulp_exporter_href
|
|
39
39
|
# @param pulp_export
|
|
40
40
|
# @param [Hash] opts the optional parameters
|
|
41
41
|
# @return [AsyncOperationResponse]
|
|
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 export
|
|
50
50
|
# ViewSet for viewing exports from a PulpExporter.
|
|
51
51
|
# @param pulp_pulp_export_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 exports
|
|
62
62
|
# ViewSet for viewing exports from a PulpExporter.
|
|
63
63
|
# @param pulp_exporter_href
|
|
@@ -67,13 +67,13 @@ describe 'ExportersPulpExportsApi' 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 [PaginatedPulpExportResponseList]
|
|
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 export
|
|
78
78
|
# ViewSet for viewing exports from a PulpExporter.
|
|
79
79
|
# @param pulp_pulp_export_href
|
|
@@ -81,7 +81,7 @@ describe 'ExportersPulpExportsApi' 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 [PulpExportResponse]
|
|
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
|
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 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 '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 create
|
|
48
48
|
# Create a group
|
|
49
49
|
# ViewSet for Group. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
50
50
|
# @param group
|
|
51
51
|
# @param [Hash] opts the optional parameters
|
|
52
52
|
# @return [GroupResponse]
|
|
53
|
-
describe '
|
|
53
|
+
describe '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 delete
|
|
60
60
|
# Delete a group
|
|
61
61
|
# ViewSet for Group. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
62
62
|
# @param group_href
|
|
63
63
|
# @param [Hash] opts the optional parameters
|
|
64
64
|
# @return [nil]
|
|
65
|
-
describe '
|
|
65
|
+
describe '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 list
|
|
72
72
|
# List groups
|
|
73
73
|
# ViewSet for Group. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
74
74
|
# @param [Hash] opts the optional parameters
|
|
@@ -85,52 +85,52 @@ describe 'GroupsApi' do
|
|
|
85
85
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
86
86
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
87
87
|
# @return [PaginatedGroupResponseList]
|
|
88
|
-
describe '
|
|
88
|
+
describe 'list test' do
|
|
89
89
|
it 'should work' do
|
|
90
90
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
91
91
|
end
|
|
92
92
|
end
|
|
93
93
|
|
|
94
|
-
# unit tests for
|
|
94
|
+
# unit tests for list_roles
|
|
95
95
|
# List roles assigned to this object.
|
|
96
96
|
# @param group_href
|
|
97
97
|
# @param [Hash] opts the optional parameters
|
|
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 [ObjectRolesResponse]
|
|
101
|
-
describe '
|
|
101
|
+
describe 'list_roles 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 my_permissions
|
|
108
108
|
# List permissions available to the current user on this object.
|
|
109
109
|
# @param group_href
|
|
110
110
|
# @param [Hash] opts the optional parameters
|
|
111
111
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
112
112
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
113
113
|
# @return [MyPermissionsResponse]
|
|
114
|
-
describe '
|
|
114
|
+
describe 'my_permissions 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
|
|
118
118
|
end
|
|
119
119
|
|
|
120
|
-
# unit tests for
|
|
120
|
+
# unit tests for partial_update
|
|
121
121
|
# Update a group
|
|
122
122
|
# ViewSet for Group. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
123
123
|
# @param group_href
|
|
124
124
|
# @param patched_group
|
|
125
125
|
# @param [Hash] opts the optional parameters
|
|
126
126
|
# @return [GroupResponse]
|
|
127
|
-
describe '
|
|
127
|
+
describe 'partial_update test' do
|
|
128
128
|
it 'should work' do
|
|
129
129
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
130
130
|
end
|
|
131
131
|
end
|
|
132
132
|
|
|
133
|
-
# unit tests for
|
|
133
|
+
# unit tests for read
|
|
134
134
|
# Inspect a group
|
|
135
135
|
# ViewSet for Group. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
136
136
|
# @param group_href
|
|
@@ -138,32 +138,32 @@ describe 'GroupsApi' do
|
|
|
138
138
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
139
139
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
140
140
|
# @return [GroupResponse]
|
|
141
|
-
describe '
|
|
141
|
+
describe 'read test' do
|
|
142
142
|
it 'should work' do
|
|
143
143
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
144
144
|
end
|
|
145
145
|
end
|
|
146
146
|
|
|
147
|
-
# unit tests for
|
|
147
|
+
# unit tests for remove_role
|
|
148
148
|
# Remove a role for this object from users/groups.
|
|
149
149
|
# @param group_href
|
|
150
150
|
# @param nested_role
|
|
151
151
|
# @param [Hash] opts the optional parameters
|
|
152
152
|
# @return [NestedRoleResponse]
|
|
153
|
-
describe '
|
|
153
|
+
describe 'remove_role test' do
|
|
154
154
|
it 'should work' do
|
|
155
155
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
156
156
|
end
|
|
157
157
|
end
|
|
158
158
|
|
|
159
|
-
# unit tests for
|
|
159
|
+
# unit tests for update
|
|
160
160
|
# Update a group
|
|
161
161
|
# ViewSet for Group. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
162
162
|
# @param group_href
|
|
163
163
|
# @param group
|
|
164
164
|
# @param [Hash] opts the optional parameters
|
|
165
165
|
# @return [GroupResponse]
|
|
166
|
-
describe '
|
|
166
|
+
describe 'update test' do
|
|
167
167
|
it 'should work' do
|
|
168
168
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
169
169
|
end
|
|
@@ -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
|