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,7 +32,7 @@ describe 'ArtifactsApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# unit tests for
|
|
35
|
+
# unit tests for artifacts_create
|
|
36
36
|
# Create an artifact
|
|
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 file The stored file.
|
|
@@ -45,25 +45,25 @@ describe 'ArtifactsApi' do
|
|
|
45
45
|
# @option opts [String] :sha384 The SHA-384 checksum of the file if available.
|
|
46
46
|
# @option opts [String] :sha512 The SHA-512 checksum of the file if available.
|
|
47
47
|
# @return [ArtifactResponse]
|
|
48
|
-
describe '
|
|
48
|
+
describe 'artifacts_create test' do
|
|
49
49
|
it 'should work' do
|
|
50
50
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
51
51
|
end
|
|
52
52
|
end
|
|
53
53
|
|
|
54
|
-
# unit tests for
|
|
54
|
+
# unit tests for artifacts_delete
|
|
55
55
|
# Delete an artifact
|
|
56
56
|
# Remove Artifact only if it is not associated with any Content.
|
|
57
57
|
# @param artifact_href
|
|
58
58
|
# @param [Hash] opts the optional parameters
|
|
59
59
|
# @return [nil]
|
|
60
|
-
describe '
|
|
60
|
+
describe 'artifacts_delete 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 artifacts_list
|
|
67
67
|
# List artifacts
|
|
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 [Hash] opts the optional parameters
|
|
@@ -80,13 +80,13 @@ describe 'ArtifactsApi' do
|
|
|
80
80
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
81
81
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
82
82
|
# @return [PaginatedArtifactResponseList]
|
|
83
|
-
describe '
|
|
83
|
+
describe 'artifacts_list test' do
|
|
84
84
|
it 'should work' do
|
|
85
85
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
86
86
|
end
|
|
87
87
|
end
|
|
88
88
|
|
|
89
|
-
# unit tests for
|
|
89
|
+
# unit tests for artifacts_read
|
|
90
90
|
# Inspect an artifact
|
|
91
91
|
# 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.
|
|
92
92
|
# @param artifact_href
|
|
@@ -94,7 +94,7 @@ describe 'ArtifactsApi' do
|
|
|
94
94
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
95
95
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
96
96
|
# @return [ArtifactResponse]
|
|
97
|
-
describe '
|
|
97
|
+
describe 'artifacts_read test' do
|
|
98
98
|
it 'should work' do
|
|
99
99
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
100
100
|
end
|
|
@@ -32,7 +32,7 @@ describe 'ContentApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# unit tests for
|
|
35
|
+
# unit tests for content_list
|
|
36
36
|
# List content
|
|
37
37
|
# Endpoint to list all content.
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
|
@@ -45,7 +45,7 @@ describe 'ContentApi' do
|
|
|
45
45
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
46
46
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
47
47
|
# @return [PaginatedMultipleArtifactContentResponseList]
|
|
48
|
-
describe '
|
|
48
|
+
describe 'content_list test' do
|
|
49
49
|
it 'should work' do
|
|
50
50
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
51
51
|
end
|
|
@@ -32,7 +32,7 @@ describe 'ContentguardsApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# unit tests for
|
|
35
|
+
# unit tests for contentguards_list
|
|
36
36
|
# List content guards
|
|
37
37
|
# Endpoint to list all contentguards.
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
|
@@ -47,7 +47,7 @@ describe 'ContentguardsApi' do
|
|
|
47
47
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
48
48
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
49
49
|
# @return [PaginatedContentGuardResponseList]
|
|
50
|
-
describe '
|
|
50
|
+
describe 'contentguards_list test' do
|
|
51
51
|
it 'should work' do
|
|
52
52
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
53
53
|
end
|
|
@@ -32,43 +32,43 @@ describe 'ContentguardsContentRedirectApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# unit tests for
|
|
35
|
+
# unit tests for contentguards_core_content_redirect_add_role
|
|
36
36
|
# Add a role for this object to users/groups.
|
|
37
37
|
# @param content_redirect_content_guard_href
|
|
38
38
|
# @param nested_role
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
40
|
# @return [NestedRoleResponse]
|
|
41
|
-
describe '
|
|
41
|
+
describe 'contentguards_core_content_redirect_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 contentguards_core_content_redirect_create
|
|
48
48
|
# Create a content redirect content guard
|
|
49
49
|
# Content guard to protect preauthenticated redirects to the content app.
|
|
50
50
|
# @param content_redirect_content_guard
|
|
51
51
|
# @param [Hash] opts the optional parameters
|
|
52
52
|
# @return [ContentRedirectContentGuardResponse]
|
|
53
|
-
describe '
|
|
53
|
+
describe 'contentguards_core_content_redirect_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 contentguards_core_content_redirect_delete
|
|
60
60
|
# Delete a content redirect content guard
|
|
61
61
|
# Content guard to protect preauthenticated redirects to the content app.
|
|
62
62
|
# @param content_redirect_content_guard_href
|
|
63
63
|
# @param [Hash] opts the optional parameters
|
|
64
64
|
# @return [nil]
|
|
65
|
-
describe '
|
|
65
|
+
describe 'contentguards_core_content_redirect_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 contentguards_core_content_redirect_list
|
|
72
72
|
# List content redirect content guards
|
|
73
73
|
# Content guard to protect preauthenticated redirects to the content app.
|
|
74
74
|
# @param [Hash] opts the optional parameters
|
|
@@ -83,52 +83,52 @@ describe 'ContentguardsContentRedirectApi' do
|
|
|
83
83
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
84
84
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
85
85
|
# @return [PaginatedContentRedirectContentGuardResponseList]
|
|
86
|
-
describe '
|
|
86
|
+
describe 'contentguards_core_content_redirect_list test' do
|
|
87
87
|
it 'should work' do
|
|
88
88
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
89
89
|
end
|
|
90
90
|
end
|
|
91
91
|
|
|
92
|
-
# unit tests for
|
|
92
|
+
# unit tests for contentguards_core_content_redirect_list_roles
|
|
93
93
|
# List roles assigned to this object.
|
|
94
94
|
# @param content_redirect_content_guard_href
|
|
95
95
|
# @param [Hash] opts the optional parameters
|
|
96
96
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
97
97
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
98
98
|
# @return [ObjectRolesResponse]
|
|
99
|
-
describe '
|
|
99
|
+
describe 'contentguards_core_content_redirect_list_roles test' do
|
|
100
100
|
it 'should work' do
|
|
101
101
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
102
102
|
end
|
|
103
103
|
end
|
|
104
104
|
|
|
105
|
-
# unit tests for
|
|
105
|
+
# unit tests for contentguards_core_content_redirect_my_permissions
|
|
106
106
|
# List permissions available to the current user on this object.
|
|
107
107
|
# @param content_redirect_content_guard_href
|
|
108
108
|
# @param [Hash] opts the optional parameters
|
|
109
109
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
110
110
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
111
111
|
# @return [MyPermissionsResponse]
|
|
112
|
-
describe '
|
|
112
|
+
describe 'contentguards_core_content_redirect_my_permissions test' do
|
|
113
113
|
it 'should work' do
|
|
114
114
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
115
115
|
end
|
|
116
116
|
end
|
|
117
117
|
|
|
118
|
-
# unit tests for
|
|
118
|
+
# unit tests for contentguards_core_content_redirect_partial_update
|
|
119
119
|
# Update a content redirect content guard
|
|
120
120
|
# Content guard to protect preauthenticated redirects to the content app.
|
|
121
121
|
# @param content_redirect_content_guard_href
|
|
122
122
|
# @param patched_content_redirect_content_guard
|
|
123
123
|
# @param [Hash] opts the optional parameters
|
|
124
124
|
# @return [ContentRedirectContentGuardResponse]
|
|
125
|
-
describe '
|
|
125
|
+
describe 'contentguards_core_content_redirect_partial_update test' do
|
|
126
126
|
it 'should work' do
|
|
127
127
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
128
128
|
end
|
|
129
129
|
end
|
|
130
130
|
|
|
131
|
-
# unit tests for
|
|
131
|
+
# unit tests for contentguards_core_content_redirect_read
|
|
132
132
|
# Inspect a content redirect content guard
|
|
133
133
|
# Content guard to protect preauthenticated redirects to the content app.
|
|
134
134
|
# @param content_redirect_content_guard_href
|
|
@@ -136,32 +136,32 @@ describe 'ContentguardsContentRedirectApi' do
|
|
|
136
136
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
137
137
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
138
138
|
# @return [ContentRedirectContentGuardResponse]
|
|
139
|
-
describe '
|
|
139
|
+
describe 'contentguards_core_content_redirect_read test' do
|
|
140
140
|
it 'should work' do
|
|
141
141
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
142
142
|
end
|
|
143
143
|
end
|
|
144
144
|
|
|
145
|
-
# unit tests for
|
|
145
|
+
# unit tests for contentguards_core_content_redirect_remove_role
|
|
146
146
|
# Remove a role for this object from users/groups.
|
|
147
147
|
# @param content_redirect_content_guard_href
|
|
148
148
|
# @param nested_role
|
|
149
149
|
# @param [Hash] opts the optional parameters
|
|
150
150
|
# @return [NestedRoleResponse]
|
|
151
|
-
describe '
|
|
151
|
+
describe 'contentguards_core_content_redirect_remove_role test' do
|
|
152
152
|
it 'should work' do
|
|
153
153
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
154
154
|
end
|
|
155
155
|
end
|
|
156
156
|
|
|
157
|
-
# unit tests for
|
|
157
|
+
# unit tests for contentguards_core_content_redirect_update
|
|
158
158
|
# Update a content redirect content guard
|
|
159
159
|
# Content guard to protect preauthenticated redirects to the content app.
|
|
160
160
|
# @param content_redirect_content_guard_href
|
|
161
161
|
# @param content_redirect_content_guard
|
|
162
162
|
# @param [Hash] opts the optional parameters
|
|
163
163
|
# @return [ContentRedirectContentGuardResponse]
|
|
164
|
-
describe '
|
|
164
|
+
describe 'contentguards_core_content_redirect_update test' do
|
|
165
165
|
it 'should work' do
|
|
166
166
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
167
167
|
end
|
|
@@ -32,43 +32,43 @@ describe 'ContentguardsRbacApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# unit tests for
|
|
35
|
+
# unit tests for contentguards_core_rbac_add_role
|
|
36
36
|
# Add a role for this object to users/groups.
|
|
37
37
|
# @param r_b_a_c_content_guard_href
|
|
38
38
|
# @param nested_role
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
40
|
# @return [NestedRoleResponse]
|
|
41
|
-
describe '
|
|
41
|
+
describe 'contentguards_core_rbac_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 contentguards_core_rbac_create
|
|
48
48
|
# Create a rbac content guard
|
|
49
49
|
# Viewset for creating contentguards that use RBAC to protect content. Has add and remove actions for managing permission for users and groups to download content protected by this guard.
|
|
50
50
|
# @param rbac_content_guard
|
|
51
51
|
# @param [Hash] opts the optional parameters
|
|
52
52
|
# @return [RBACContentGuardResponse]
|
|
53
|
-
describe '
|
|
53
|
+
describe 'contentguards_core_rbac_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 contentguards_core_rbac_delete
|
|
60
60
|
# Delete a rbac content guard
|
|
61
61
|
# Viewset for creating contentguards that use RBAC to protect content. Has add and remove actions for managing permission for users and groups to download content protected by this guard.
|
|
62
62
|
# @param r_b_a_c_content_guard_href
|
|
63
63
|
# @param [Hash] opts the optional parameters
|
|
64
64
|
# @return [nil]
|
|
65
|
-
describe '
|
|
65
|
+
describe 'contentguards_core_rbac_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 contentguards_core_rbac_list
|
|
72
72
|
# List rbac content guards
|
|
73
73
|
# Viewset for creating contentguards that use RBAC to protect content. Has add and remove actions for managing permission for users and groups to download content protected by this guard.
|
|
74
74
|
# @param [Hash] opts the optional parameters
|
|
@@ -83,52 +83,52 @@ describe 'ContentguardsRbacApi' do
|
|
|
83
83
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
84
84
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
85
85
|
# @return [PaginatedRBACContentGuardResponseList]
|
|
86
|
-
describe '
|
|
86
|
+
describe 'contentguards_core_rbac_list test' do
|
|
87
87
|
it 'should work' do
|
|
88
88
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
89
89
|
end
|
|
90
90
|
end
|
|
91
91
|
|
|
92
|
-
# unit tests for
|
|
92
|
+
# unit tests for contentguards_core_rbac_list_roles
|
|
93
93
|
# List roles assigned to this object.
|
|
94
94
|
# @param r_b_a_c_content_guard_href
|
|
95
95
|
# @param [Hash] opts the optional parameters
|
|
96
96
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
97
97
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
98
98
|
# @return [ObjectRolesResponse]
|
|
99
|
-
describe '
|
|
99
|
+
describe 'contentguards_core_rbac_list_roles test' do
|
|
100
100
|
it 'should work' do
|
|
101
101
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
102
102
|
end
|
|
103
103
|
end
|
|
104
104
|
|
|
105
|
-
# unit tests for
|
|
105
|
+
# unit tests for contentguards_core_rbac_my_permissions
|
|
106
106
|
# List permissions available to the current user on this object.
|
|
107
107
|
# @param r_b_a_c_content_guard_href
|
|
108
108
|
# @param [Hash] opts the optional parameters
|
|
109
109
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
110
110
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
111
111
|
# @return [MyPermissionsResponse]
|
|
112
|
-
describe '
|
|
112
|
+
describe 'contentguards_core_rbac_my_permissions test' do
|
|
113
113
|
it 'should work' do
|
|
114
114
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
115
115
|
end
|
|
116
116
|
end
|
|
117
117
|
|
|
118
|
-
# unit tests for
|
|
118
|
+
# unit tests for contentguards_core_rbac_partial_update
|
|
119
119
|
# Update a rbac content guard
|
|
120
120
|
# Viewset for creating contentguards that use RBAC to protect content. Has add and remove actions for managing permission for users and groups to download content protected by this guard.
|
|
121
121
|
# @param r_b_a_c_content_guard_href
|
|
122
122
|
# @param patched_rbac_content_guard
|
|
123
123
|
# @param [Hash] opts the optional parameters
|
|
124
124
|
# @return [RBACContentGuardResponse]
|
|
125
|
-
describe '
|
|
125
|
+
describe 'contentguards_core_rbac_partial_update test' do
|
|
126
126
|
it 'should work' do
|
|
127
127
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
128
128
|
end
|
|
129
129
|
end
|
|
130
130
|
|
|
131
|
-
# unit tests for
|
|
131
|
+
# unit tests for contentguards_core_rbac_read
|
|
132
132
|
# Inspect a rbac content guard
|
|
133
133
|
# Viewset for creating contentguards that use RBAC to protect content. Has add and remove actions for managing permission for users and groups to download content protected by this guard.
|
|
134
134
|
# @param r_b_a_c_content_guard_href
|
|
@@ -136,32 +136,32 @@ describe 'ContentguardsRbacApi' do
|
|
|
136
136
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
137
137
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
138
138
|
# @return [RBACContentGuardResponse]
|
|
139
|
-
describe '
|
|
139
|
+
describe 'contentguards_core_rbac_read test' do
|
|
140
140
|
it 'should work' do
|
|
141
141
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
142
142
|
end
|
|
143
143
|
end
|
|
144
144
|
|
|
145
|
-
# unit tests for
|
|
145
|
+
# unit tests for contentguards_core_rbac_remove_role
|
|
146
146
|
# Remove a role for this object from users/groups.
|
|
147
147
|
# @param r_b_a_c_content_guard_href
|
|
148
148
|
# @param nested_role
|
|
149
149
|
# @param [Hash] opts the optional parameters
|
|
150
150
|
# @return [NestedRoleResponse]
|
|
151
|
-
describe '
|
|
151
|
+
describe 'contentguards_core_rbac_remove_role test' do
|
|
152
152
|
it 'should work' do
|
|
153
153
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
154
154
|
end
|
|
155
155
|
end
|
|
156
156
|
|
|
157
|
-
# unit tests for
|
|
157
|
+
# unit tests for contentguards_core_rbac_update
|
|
158
158
|
# Update a rbac content guard
|
|
159
159
|
# Viewset for creating contentguards that use RBAC to protect content. Has add and remove actions for managing permission for users and groups to download content protected by this guard.
|
|
160
160
|
# @param r_b_a_c_content_guard_href
|
|
161
161
|
# @param rbac_content_guard
|
|
162
162
|
# @param [Hash] opts the optional parameters
|
|
163
163
|
# @return [RBACContentGuardResponse]
|
|
164
|
-
describe '
|
|
164
|
+
describe 'contentguards_core_rbac_update test' do
|
|
165
165
|
it 'should work' do
|
|
166
166
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
167
167
|
end
|
|
@@ -32,7 +32,7 @@ describe 'DistributionsApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# unit tests for
|
|
35
|
+
# unit tests for distributions_list
|
|
36
36
|
# List distributions
|
|
37
37
|
# Provides base viewset for Distributions.
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
|
@@ -53,7 +53,7 @@ describe 'DistributionsApi' do
|
|
|
53
53
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
54
54
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
55
55
|
# @return [PaginatedDistributionResponseList]
|
|
56
|
-
describe '
|
|
56
|
+
describe 'distributions_list test' do
|
|
57
57
|
it 'should work' do
|
|
58
58
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
59
59
|
end
|
|
@@ -32,7 +32,7 @@ describe 'DistributionsArtifactsApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# unit tests for
|
|
35
|
+
# unit tests for distributions_core_artifacts_list
|
|
36
36
|
# List artifact distributions
|
|
37
37
|
# ViewSet for ArtifactDistribution.
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
|
@@ -53,13 +53,13 @@ describe 'DistributionsArtifactsApi' do
|
|
|
53
53
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
54
54
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
55
55
|
# @return [PaginatedArtifactDistributionResponseList]
|
|
56
|
-
describe '
|
|
56
|
+
describe 'distributions_core_artifacts_list test' do
|
|
57
57
|
it 'should work' do
|
|
58
58
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
59
59
|
end
|
|
60
60
|
end
|
|
61
61
|
|
|
62
|
-
# unit tests for
|
|
62
|
+
# unit tests for distributions_core_artifacts_read
|
|
63
63
|
# Inspect an artifact distribution
|
|
64
64
|
# ViewSet for ArtifactDistribution.
|
|
65
65
|
# @param artifact_distribution_href
|
|
@@ -67,7 +67,7 @@ describe 'DistributionsArtifactsApi' 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 [ArtifactDistributionResponse]
|
|
70
|
-
describe '
|
|
70
|
+
describe 'distributions_core_artifacts_read 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
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Pulp 3 API
|
|
3
|
+
|
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: v3
|
|
7
|
+
Contact: pulp-list@redhat.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 4.3.1
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
|
|
16
|
+
# Unit tests for PulpcoreClient::DocsApiJsonApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'DocsApiJsonApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = PulpcoreClient::DocsApiJsonApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of DocsApiJsonApi' do
|
|
30
|
+
it 'should create an instance of DocsApiJsonApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(PulpcoreClient::DocsApiJsonApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for docs_api_json_get
|
|
36
|
+
# OpenApi3 schema for this API. Format can be selected via content negotiation. - YAML: application/vnd.oai.openapi - JSON: application/vnd.oai.openapi+json
|
|
37
|
+
# @param [Hash] opts the optional parameters
|
|
38
|
+
# @option opts [String] :lang
|
|
39
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
40
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
41
|
+
# @return [Object]
|
|
42
|
+
describe 'docs_api_json_get test' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
end
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Pulp 3 API
|
|
3
|
+
|
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: v3
|
|
7
|
+
Contact: pulp-list@redhat.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 4.3.1
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
|
|
16
|
+
# Unit tests for PulpcoreClient::DocsApiYamlApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'DocsApiYamlApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = PulpcoreClient::DocsApiYamlApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of DocsApiYamlApi' do
|
|
30
|
+
it 'should create an instance of DocsApiYamlApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(PulpcoreClient::DocsApiYamlApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for docs_api_yaml_get
|
|
36
|
+
# OpenApi3 schema for this API. Format can be selected via content negotiation. - YAML: application/vnd.oai.openapi - JSON: application/vnd.oai.openapi+json
|
|
37
|
+
# @param [Hash] opts the optional parameters
|
|
38
|
+
# @option opts [String] :lang
|
|
39
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
40
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
41
|
+
# @return [Object]
|
|
42
|
+
describe 'docs_api_yaml_get test' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
end
|
|
@@ -32,31 +32,31 @@ describe 'ExportersFilesystemApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# unit tests for
|
|
35
|
+
# unit tests for exporters_core_filesystem_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 'exporters_core_filesystem_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 exporters_core_filesystem_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 'exporters_core_filesystem_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 exporters_core_filesystem_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
|
|
@@ -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 'exporters_core_filesystem_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 exporters_core_filesystem_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 'exporters_core_filesystem_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 exporters_core_filesystem_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 'exporters_core_filesystem_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 exporters_core_filesystem_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 'exporters_core_filesystem_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
|