pulpcore_client 3.116.3 → 3.117.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 +4 -4
- data/docs/ArtifactDistributionResponse.md +19 -19
- data/docs/ArtifactsApi.md +3 -3
- data/docs/Domain.md +3 -1
- data/docs/DomainResponse.md +5 -1
- data/docs/PatchedDomain.md +3 -1
- data/docs/PatchedUser.md +1 -1
- data/docs/RemotesApi.md +1 -1
- data/docs/TasksApi.md +3 -3
- data/docs/User.md +1 -1
- data/docs/VulnReportApi.md +3 -3
- data/docs/WorkersApi.md +2 -2
- data/lib/pulpcore_client/api/artifacts_api.rb +6 -6
- data/lib/pulpcore_client/api/remotes_api.rb +2 -2
- data/lib/pulpcore_client/api/tasks_api.rb +6 -6
- data/lib/pulpcore_client/api/vuln_report_api.rb +6 -6
- data/lib/pulpcore_client/api/workers_api.rb +4 -4
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +81 -81
- data/lib/pulpcore_client/models/artifact_response.rb +1 -1
- data/lib/pulpcore_client/models/domain.rb +15 -4
- data/lib/pulpcore_client/models/domain_response.rb +25 -4
- data/lib/pulpcore_client/models/group_progress_report_response.rb +1 -1
- data/lib/pulpcore_client/models/minimal_task_response.rb +1 -1
- data/lib/pulpcore_client/models/multiple_artifact_content_response.rb +1 -1
- data/lib/pulpcore_client/models/nested_open_pgp_public_subkey.rb +1 -1
- data/lib/pulpcore_client/models/nested_open_pgp_public_subkey_response.rb +1 -1
- data/lib/pulpcore_client/models/nested_open_pgp_signature.rb +1 -1
- data/lib/pulpcore_client/models/nested_open_pgp_signature_response.rb +1 -1
- data/lib/pulpcore_client/models/nested_open_pgp_user_attribute.rb +1 -1
- data/lib/pulpcore_client/models/nested_open_pgp_user_attribute_response.rb +1 -1
- data/lib/pulpcore_client/models/nested_open_pgp_user_id.rb +1 -1
- data/lib/pulpcore_client/models/nested_open_pgp_user_id_response.rb +1 -1
- data/lib/pulpcore_client/models/nested_role.rb +1 -1
- data/lib/pulpcore_client/models/nested_role_response.rb +1 -1
- data/lib/pulpcore_client/models/open_pgp_keyring.rb +1 -1
- data/lib/pulpcore_client/models/open_pgp_keyring_response.rb +1 -1
- data/lib/pulpcore_client/models/open_pgp_public_subkey_response.rb +1 -1
- data/lib/pulpcore_client/models/open_pgp_signature_response.rb +1 -1
- data/lib/pulpcore_client/models/open_pgp_user_attribute_response.rb +1 -1
- data/lib/pulpcore_client/models/open_pgp_user_id_response.rb +1 -1
- data/lib/pulpcore_client/models/patched_domain.rb +15 -4
- data/lib/pulpcore_client/models/patched_open_pgp_keyring.rb +1 -1
- data/lib/pulpcore_client/models/patched_user.rb +1 -1
- data/lib/pulpcore_client/models/progress_report_response.rb +1 -1
- data/lib/pulpcore_client/models/publication_response.rb +1 -1
- data/lib/pulpcore_client/models/repository_add_remove_content.rb +1 -1
- data/lib/pulpcore_client/models/repository_response.rb +1 -1
- data/lib/pulpcore_client/models/repository_version_response.rb +1 -1
- data/lib/pulpcore_client/models/task_group_response.rb +1 -1
- data/lib/pulpcore_client/models/task_response.rb +1 -1
- data/lib/pulpcore_client/models/task_schedule_response.rb +1 -1
- data/lib/pulpcore_client/models/user.rb +1 -1
- data/lib/pulpcore_client/models/worker_response.rb +1 -1
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/api/artifacts_api_spec.rb +3 -3
- data/spec/api/remotes_api_spec.rb +1 -1
- data/spec/api/tasks_api_spec.rb +3 -3
- data/spec/api/vuln_report_api_spec.rb +3 -3
- data/spec/api/workers_api_spec.rb +2 -2
- data/spec/models/artifact_distribution_response_spec.rb +12 -12
- data/spec/models/domain_response_spec.rb +12 -0
- data/spec/models/domain_spec.rb +6 -0
- data/spec/models/patched_domain_spec.rb +6 -0
- metadata +195 -195
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PulpcoreClient
|
|
17
|
-
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the
|
|
17
|
+
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the `ref_name` attribute in the ModelSerializers's `Meta` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
|
|
18
18
|
class OpenPGPUserAttributeResponse
|
|
19
19
|
attr_accessor :pulp_href
|
|
20
20
|
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PulpcoreClient
|
|
17
|
-
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the
|
|
17
|
+
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the `ref_name` attribute in the ModelSerializers's `Meta` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
|
|
18
18
|
class OpenPGPUserIDResponse
|
|
19
19
|
attr_accessor :pulp_href
|
|
20
20
|
|
|
@@ -36,6 +36,9 @@ module PulpcoreClient
|
|
|
36
36
|
# Boolean to hide distributions with a content guard in the content app.
|
|
37
37
|
attr_accessor :hide_guarded_distributions
|
|
38
38
|
|
|
39
|
+
# An optional content-guard that is automatically assigned to new distributions created within this domain when they do not specify their own content-guard. To apply multiple guards by default, use a composite content-guard.
|
|
40
|
+
attr_accessor :default_content_guard
|
|
41
|
+
|
|
39
42
|
class EnumAttributeValidator
|
|
40
43
|
attr_reader :datatype
|
|
41
44
|
attr_reader :allowable_values
|
|
@@ -67,7 +70,8 @@ module PulpcoreClient
|
|
|
67
70
|
:'storage_class' => :'storage_class',
|
|
68
71
|
:'storage_settings' => :'storage_settings',
|
|
69
72
|
:'redirect_to_object_storage' => :'redirect_to_object_storage',
|
|
70
|
-
:'hide_guarded_distributions' => :'hide_guarded_distributions'
|
|
73
|
+
:'hide_guarded_distributions' => :'hide_guarded_distributions',
|
|
74
|
+
:'default_content_guard' => :'default_content_guard'
|
|
71
75
|
}
|
|
72
76
|
end
|
|
73
77
|
|
|
@@ -85,7 +89,8 @@ module PulpcoreClient
|
|
|
85
89
|
:'storage_class' => :'StorageClassEnum',
|
|
86
90
|
:'storage_settings' => :'Object',
|
|
87
91
|
:'redirect_to_object_storage' => :'Boolean',
|
|
88
|
-
:'hide_guarded_distributions' => :'Boolean'
|
|
92
|
+
:'hide_guarded_distributions' => :'Boolean',
|
|
93
|
+
:'default_content_guard' => :'String'
|
|
89
94
|
}
|
|
90
95
|
end
|
|
91
96
|
|
|
@@ -93,6 +98,7 @@ module PulpcoreClient
|
|
|
93
98
|
def self.openapi_nullable
|
|
94
99
|
Set.new([
|
|
95
100
|
:'description',
|
|
101
|
+
:'default_content_guard'
|
|
96
102
|
])
|
|
97
103
|
end
|
|
98
104
|
|
|
@@ -144,6 +150,10 @@ module PulpcoreClient
|
|
|
144
150
|
else
|
|
145
151
|
self.hide_guarded_distributions = false
|
|
146
152
|
end
|
|
153
|
+
|
|
154
|
+
if attributes.key?(:'default_content_guard')
|
|
155
|
+
self.default_content_guard = attributes[:'default_content_guard']
|
|
156
|
+
end
|
|
147
157
|
end
|
|
148
158
|
|
|
149
159
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -226,7 +236,8 @@ module PulpcoreClient
|
|
|
226
236
|
storage_class == o.storage_class &&
|
|
227
237
|
storage_settings == o.storage_settings &&
|
|
228
238
|
redirect_to_object_storage == o.redirect_to_object_storage &&
|
|
229
|
-
hide_guarded_distributions == o.hide_guarded_distributions
|
|
239
|
+
hide_guarded_distributions == o.hide_guarded_distributions &&
|
|
240
|
+
default_content_guard == o.default_content_guard
|
|
230
241
|
end
|
|
231
242
|
|
|
232
243
|
# @see the `==` method
|
|
@@ -238,7 +249,7 @@ module PulpcoreClient
|
|
|
238
249
|
# Calculates hash code according to all attributes.
|
|
239
250
|
# @return [Integer] Hash code
|
|
240
251
|
def hash
|
|
241
|
-
[name, description, pulp_labels, storage_class, storage_settings, redirect_to_object_storage, hide_guarded_distributions].hash
|
|
252
|
+
[name, description, pulp_labels, storage_class, storage_settings, redirect_to_object_storage, hide_guarded_distributions, default_content_guard].hash
|
|
242
253
|
end
|
|
243
254
|
|
|
244
255
|
# Builds the object from hash
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PulpcoreClient
|
|
17
|
-
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the
|
|
17
|
+
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the `ref_name` attribute in the ModelSerializers's `Meta` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
|
|
18
18
|
class PatchedOpenPGPKeyring
|
|
19
19
|
attr_accessor :pulp_labels
|
|
20
20
|
|
|
@@ -19,7 +19,7 @@ module PulpcoreClient
|
|
|
19
19
|
# Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.
|
|
20
20
|
attr_accessor :username
|
|
21
21
|
|
|
22
|
-
# Users password. Set to
|
|
22
|
+
# Users password. Set to `null` to disable password authentication.
|
|
23
23
|
attr_accessor :password
|
|
24
24
|
|
|
25
25
|
# First name
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PulpcoreClient
|
|
17
|
-
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the
|
|
17
|
+
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the `ref_name` attribute in the ModelSerializers's `Meta` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
|
|
18
18
|
class ProgressReportResponse
|
|
19
19
|
# The message shown to the user for the progress report.
|
|
20
20
|
attr_accessor :message
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PulpcoreClient
|
|
17
|
-
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the
|
|
17
|
+
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the `ref_name` attribute in the ModelSerializers's `Meta` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
|
|
18
18
|
class PublicationResponse
|
|
19
19
|
attr_accessor :pulp_href
|
|
20
20
|
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PulpcoreClient
|
|
17
|
-
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the
|
|
17
|
+
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the `ref_name` attribute in the ModelSerializers's `Meta` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
|
|
18
18
|
class RepositoryAddRemoveContent
|
|
19
19
|
# A list of content units to add to a new repository version. This content is added after remove_content_units are removed.
|
|
20
20
|
attr_accessor :add_content_units
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PulpcoreClient
|
|
17
|
-
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the
|
|
17
|
+
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the `ref_name` attribute in the ModelSerializers's `Meta` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
|
|
18
18
|
class RepositoryResponse
|
|
19
19
|
attr_accessor :pulp_href
|
|
20
20
|
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PulpcoreClient
|
|
17
|
-
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the
|
|
17
|
+
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the `ref_name` attribute in the ModelSerializers's `Meta` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
|
|
18
18
|
class RepositoryVersionResponse
|
|
19
19
|
attr_accessor :pulp_href
|
|
20
20
|
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PulpcoreClient
|
|
17
|
-
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the
|
|
17
|
+
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the `ref_name` attribute in the ModelSerializers's `Meta` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
|
|
18
18
|
class TaskGroupResponse
|
|
19
19
|
attr_accessor :pulp_href
|
|
20
20
|
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PulpcoreClient
|
|
17
|
-
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the
|
|
17
|
+
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the `ref_name` attribute in the ModelSerializers's `Meta` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
|
|
18
18
|
class TaskResponse
|
|
19
19
|
attr_accessor :pulp_href
|
|
20
20
|
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PulpcoreClient
|
|
17
|
-
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the
|
|
17
|
+
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the `ref_name` attribute in the ModelSerializers's `Meta` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
|
|
18
18
|
class TaskScheduleResponse
|
|
19
19
|
attr_accessor :pulp_href
|
|
20
20
|
|
|
@@ -19,7 +19,7 @@ module PulpcoreClient
|
|
|
19
19
|
# Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.
|
|
20
20
|
attr_accessor :username
|
|
21
21
|
|
|
22
|
-
# Users password. Set to
|
|
22
|
+
# Users password. Set to `null` to disable password authentication.
|
|
23
23
|
attr_accessor :password
|
|
24
24
|
|
|
25
25
|
# First name
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PulpcoreClient
|
|
17
|
-
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the
|
|
17
|
+
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the `ref_name` attribute in the ModelSerializers's `Meta` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
|
|
18
18
|
class WorkerResponse
|
|
19
19
|
attr_accessor :pulp_href
|
|
20
20
|
|
|
@@ -34,7 +34,7 @@ describe 'ArtifactsApi' do
|
|
|
34
34
|
|
|
35
35
|
# unit tests for create
|
|
36
36
|
# Create an artifact
|
|
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 `
|
|
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.
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
40
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
@@ -67,7 +67,7 @@ describe 'ArtifactsApi' do
|
|
|
67
67
|
|
|
68
68
|
# unit tests for list
|
|
69
69
|
# List artifacts
|
|
70
|
-
# 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 `
|
|
70
|
+
# 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.
|
|
71
71
|
# @param [Hash] opts the optional parameters
|
|
72
72
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
73
73
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
@@ -96,7 +96,7 @@ describe 'ArtifactsApi' do
|
|
|
96
96
|
|
|
97
97
|
# unit tests for read
|
|
98
98
|
# Inspect an artifact
|
|
99
|
-
# 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 `
|
|
99
|
+
# 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.
|
|
100
100
|
# @param artifact_href
|
|
101
101
|
# @param [Hash] opts the optional parameters
|
|
102
102
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
@@ -34,7 +34,7 @@ describe 'RemotesApi' do
|
|
|
34
34
|
|
|
35
35
|
# unit tests for list
|
|
36
36
|
# List remotes
|
|
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 `
|
|
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
|
|
39
39
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
40
40
|
# @option opts [Integer] :limit Number of results to return per page.
|
data/spec/api/tasks_api_spec.rb
CHANGED
|
@@ -48,7 +48,7 @@ describe 'TasksApi' do
|
|
|
48
48
|
|
|
49
49
|
# unit tests for delete
|
|
50
50
|
# Delete a task
|
|
51
|
-
# 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 `
|
|
51
|
+
# 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.
|
|
52
52
|
# @param task_href
|
|
53
53
|
# @param [Hash] opts the optional parameters
|
|
54
54
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
@@ -61,7 +61,7 @@ describe 'TasksApi' do
|
|
|
61
61
|
|
|
62
62
|
# unit tests for list
|
|
63
63
|
# List tasks
|
|
64
|
-
# 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 `
|
|
64
|
+
# 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.
|
|
65
65
|
# @param [Hash] opts the optional parameters
|
|
66
66
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
67
67
|
# @option opts [String] :child_tasks
|
|
@@ -188,7 +188,7 @@ describe 'TasksApi' do
|
|
|
188
188
|
|
|
189
189
|
# unit tests for read
|
|
190
190
|
# Inspect a task
|
|
191
|
-
# 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 `
|
|
191
|
+
# 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.
|
|
192
192
|
# @param task_href
|
|
193
193
|
# @param [Hash] opts the optional parameters
|
|
194
194
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
@@ -34,7 +34,7 @@ describe 'VulnReportApi' do
|
|
|
34
34
|
|
|
35
35
|
# unit tests for delete
|
|
36
36
|
# Delete a vulnerability report
|
|
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 `
|
|
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 vulnerability_report_href
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
40
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
@@ -47,7 +47,7 @@ describe 'VulnReportApi' do
|
|
|
47
47
|
|
|
48
48
|
# unit tests for list
|
|
49
49
|
# List vulnerability reports
|
|
50
|
-
# 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 `
|
|
50
|
+
# 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.
|
|
51
51
|
# @param [Hash] opts the optional parameters
|
|
52
52
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
53
53
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
@@ -69,7 +69,7 @@ describe 'VulnReportApi' do
|
|
|
69
69
|
|
|
70
70
|
# unit tests for read
|
|
71
71
|
# Inspect a vulnerability report
|
|
72
|
-
# 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 `
|
|
72
|
+
# 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.
|
|
73
73
|
# @param vulnerability_report_href
|
|
74
74
|
# @param [Hash] opts the optional parameters
|
|
75
75
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
@@ -34,7 +34,7 @@ describe 'WorkersApi' do
|
|
|
34
34
|
|
|
35
35
|
# unit tests for list
|
|
36
36
|
# List app statuss
|
|
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 `
|
|
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
|
|
39
39
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
40
40
|
# @option opts [Time] :last_heartbeat Filter results where last_heartbeat matches value
|
|
@@ -73,7 +73,7 @@ describe 'WorkersApi' do
|
|
|
73
73
|
|
|
74
74
|
# unit tests for read
|
|
75
75
|
# Inspect an app status
|
|
76
|
-
# 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 `
|
|
76
|
+
# 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.
|
|
77
77
|
# @param worker_href
|
|
78
78
|
# @param [Hash] opts the optional parameters
|
|
79
79
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
@@ -27,37 +27,37 @@ describe PulpcoreClient::ArtifactDistributionResponse do
|
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
-
describe 'test attribute "
|
|
30
|
+
describe 'test attribute "pulp_href"' do
|
|
31
31
|
it 'should work' do
|
|
32
32
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
-
describe 'test attribute "
|
|
36
|
+
describe 'test attribute "base_path"' do
|
|
37
37
|
it 'should work' do
|
|
38
38
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
41
|
|
|
42
|
-
describe 'test attribute "
|
|
42
|
+
describe 'test attribute "pulp_last_updated"' do
|
|
43
43
|
it 'should work' do
|
|
44
44
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
45
|
end
|
|
46
46
|
end
|
|
47
47
|
|
|
48
|
-
describe 'test attribute "
|
|
48
|
+
describe 'test attribute "hidden"' do
|
|
49
49
|
it 'should work' do
|
|
50
50
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
51
|
end
|
|
52
52
|
end
|
|
53
53
|
|
|
54
|
-
describe 'test attribute "
|
|
54
|
+
describe 'test attribute "name"' do
|
|
55
55
|
it 'should work' do
|
|
56
56
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
57
|
end
|
|
58
58
|
end
|
|
59
59
|
|
|
60
|
-
describe 'test attribute "
|
|
60
|
+
describe 'test attribute "content_guard_prn"' do
|
|
61
61
|
it 'should work' do
|
|
62
62
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
63
|
end
|
|
@@ -69,37 +69,37 @@ describe PulpcoreClient::ArtifactDistributionResponse do
|
|
|
69
69
|
end
|
|
70
70
|
end
|
|
71
71
|
|
|
72
|
-
describe 'test attribute "
|
|
72
|
+
describe 'test attribute "pulp_labels"' do
|
|
73
73
|
it 'should work' do
|
|
74
74
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
75
|
end
|
|
76
76
|
end
|
|
77
77
|
|
|
78
|
-
describe 'test attribute "
|
|
78
|
+
describe 'test attribute "prn"' do
|
|
79
79
|
it 'should work' do
|
|
80
80
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
81
81
|
end
|
|
82
82
|
end
|
|
83
83
|
|
|
84
|
-
describe 'test attribute "
|
|
84
|
+
describe 'test attribute "content_guard"' do
|
|
85
85
|
it 'should work' do
|
|
86
86
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
87
87
|
end
|
|
88
88
|
end
|
|
89
89
|
|
|
90
|
-
describe 'test attribute "
|
|
90
|
+
describe 'test attribute "repository_version"' do
|
|
91
91
|
it 'should work' do
|
|
92
92
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
93
93
|
end
|
|
94
94
|
end
|
|
95
95
|
|
|
96
|
-
describe 'test attribute "
|
|
96
|
+
describe 'test attribute "no_content_change_since"' do
|
|
97
97
|
it 'should work' do
|
|
98
98
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
99
99
|
end
|
|
100
100
|
end
|
|
101
101
|
|
|
102
|
-
describe 'test attribute "
|
|
102
|
+
describe 'test attribute "pulp_created"' do
|
|
103
103
|
it 'should work' do
|
|
104
104
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
105
105
|
end
|
|
@@ -93,4 +93,16 @@ describe PulpcoreClient::DomainResponse do
|
|
|
93
93
|
end
|
|
94
94
|
end
|
|
95
95
|
|
|
96
|
+
describe 'test attribute "default_content_guard"' do
|
|
97
|
+
it 'should work' do
|
|
98
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
99
|
+
end
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
describe 'test attribute "default_content_guard_prn"' do
|
|
103
|
+
it 'should work' do
|
|
104
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
105
|
+
end
|
|
106
|
+
end
|
|
107
|
+
|
|
96
108
|
end
|
data/spec/models/domain_spec.rb
CHANGED
|
@@ -69,4 +69,10 @@ describe PulpcoreClient::PatchedDomain do
|
|
|
69
69
|
end
|
|
70
70
|
end
|
|
71
71
|
|
|
72
|
+
describe 'test attribute "default_content_guard"' do
|
|
73
|
+
it 'should work' do
|
|
74
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
|
|
72
78
|
end
|