pulp_deb_client 3.3.0 → 3.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -6
- data/docs/ContentGenericContentsApi.md +14 -10
- data/docs/ContentInstallerFileIndicesApi.md +11 -9
- data/docs/ContentInstallerPackagesApi.md +14 -10
- data/docs/ContentPackageIndicesApi.md +11 -9
- data/docs/ContentPackageReleaseComponentsApi.md +11 -9
- data/docs/ContentPackagesApi.md +13 -9
- data/docs/ContentReleaseArchitecturesApi.md +11 -9
- data/docs/ContentReleaseComponentsApi.md +11 -9
- data/docs/ContentReleaseFilesApi.md +11 -9
- data/docs/ContentReleasesApi.md +11 -9
- data/docs/ContentSourceIndicesApi.md +11 -9
- data/docs/ContentSourcePackagesApi.md +11 -9
- data/docs/ContentSourceReleaseComponentsApi.md +11 -9
- data/docs/DebAptDistributionResponse.md +4 -0
- data/docs/DebAptPublicationResponse.md +2 -0
- data/docs/DebAptRemoteResponse.md +2 -0
- data/docs/DebAptRepositoryResponse.md +2 -0
- data/docs/DebCopyApi.md +1 -1
- data/docs/DebGenericContent.md +3 -1
- data/docs/DebGenericContentResponse.md +2 -0
- data/docs/DebInstallerFileIndexResponse.md +2 -0
- data/docs/DebInstallerPackage.md +3 -1
- data/docs/DebInstallerPackageResponse.md +2 -0
- data/docs/DebPackage.md +2 -0
- data/docs/DebPackageIndexResponse.md +2 -0
- data/docs/DebPackageReleaseComponentResponse.md +2 -0
- data/docs/DebPackageResponse.md +2 -0
- data/docs/DebReleaseArchitectureResponse.md +2 -0
- data/docs/DebReleaseComponentResponse.md +2 -0
- data/docs/DebReleaseFileResponse.md +2 -0
- data/docs/DebReleaseResponse.md +2 -0
- data/docs/DebSourceIndexResponse.md +2 -0
- data/docs/DebSourcePackageReleaseComponentResponse.md +2 -0
- data/docs/DebSourcePackageResponse.md +2 -0
- data/docs/DebVerbatimPublicationResponse.md +2 -0
- data/docs/DistributionsAptApi.md +5 -3
- data/docs/PublicationsAptApi.md +13 -11
- data/docs/PublicationsVerbatimApi.md +13 -11
- data/docs/RemotesAptApi.md +5 -3
- data/docs/RepositoriesAptApi.md +9 -7
- data/docs/RepositoriesAptVersionsApi.md +9 -7
- data/docs/RepositoryVersionResponse.md +2 -0
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +18 -8
- data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +18 -8
- data/lib/pulp_deb_client/api/content_package_indices_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_packages_api.rb +18 -8
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_release_components_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_release_files_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_releases_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_source_indices_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_source_packages_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_source_release_components_api.rb +11 -8
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +5 -2
- data/lib/pulp_deb_client/api/publications_apt_api.rb +14 -11
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +14 -11
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +5 -2
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +9 -6
- data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +10 -7
- data/lib/pulp_deb_client/configuration.rb +2 -2
- data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +21 -1
- data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_apt_remote.rb +20 -20
- data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +31 -21
- data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_generic_content.rb +29 -4
- data/lib/pulp_deb_client/models/deb_generic_content_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_installer_package.rb +29 -4
- data/lib/pulp_deb_client/models/deb_installer_package_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_package.rb +26 -1
- data/lib/pulp_deb_client/models/deb_package_index_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_package_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_release_component_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_release_file_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_release_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_source_index_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_source_package_release_component_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_source_package_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_verbatim_publication_response.rb +11 -1
- data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +20 -20
- data/lib/pulp_deb_client/models/repository_add_remove_content.rb +1 -1
- data/lib/pulp_deb_client/models/repository_version_response.rb +12 -2
- data/lib/pulp_deb_client/version.rb +1 -1
- data/spec/api/content_generic_contents_api_spec.rb +6 -4
- data/spec/api/content_installer_file_indices_api_spec.rb +5 -4
- data/spec/api/content_installer_packages_api_spec.rb +6 -4
- data/spec/api/content_package_indices_api_spec.rb +5 -4
- data/spec/api/content_package_release_components_api_spec.rb +5 -4
- data/spec/api/content_packages_api_spec.rb +6 -4
- data/spec/api/content_release_architectures_api_spec.rb +5 -4
- data/spec/api/content_release_components_api_spec.rb +5 -4
- data/spec/api/content_release_files_api_spec.rb +5 -4
- data/spec/api/content_releases_api_spec.rb +5 -4
- data/spec/api/content_source_indices_api_spec.rb +5 -4
- data/spec/api/content_source_packages_api_spec.rb +5 -4
- data/spec/api/content_source_release_components_api_spec.rb +5 -4
- data/spec/api/distributions_apt_api_spec.rb +2 -1
- data/spec/api/publications_apt_api_spec.rb +6 -5
- data/spec/api/publications_verbatim_api_spec.rb +6 -5
- data/spec/api/remotes_apt_api_spec.rb +2 -1
- data/spec/api/repositories_apt_api_spec.rb +4 -3
- data/spec/api/repositories_apt_versions_api_spec.rb +4 -3
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/deb_apt_distribution_response_spec.rb +12 -0
- data/spec/models/deb_apt_publication_response_spec.rb +6 -0
- data/spec/models/deb_apt_remote_response_spec.rb +6 -0
- data/spec/models/deb_apt_repository_response_spec.rb +6 -0
- data/spec/models/deb_generic_content_response_spec.rb +6 -0
- data/spec/models/deb_generic_content_spec.rb +6 -0
- data/spec/models/deb_installer_file_index_response_spec.rb +6 -0
- data/spec/models/deb_installer_package_response_spec.rb +6 -0
- data/spec/models/deb_installer_package_spec.rb +6 -0
- data/spec/models/deb_package_index_response_spec.rb +6 -0
- data/spec/models/deb_package_release_component_response_spec.rb +6 -0
- data/spec/models/deb_package_response_spec.rb +6 -0
- data/spec/models/deb_package_spec.rb +6 -0
- data/spec/models/deb_release_architecture_response_spec.rb +6 -0
- data/spec/models/deb_release_component_response_spec.rb +6 -0
- data/spec/models/deb_release_file_response_spec.rb +6 -0
- data/spec/models/deb_release_response_spec.rb +6 -0
- data/spec/models/deb_source_index_response_spec.rb +6 -0
- data/spec/models/deb_source_package_release_component_response_spec.rb +6 -0
- data/spec/models/deb_source_package_response_spec.rb +6 -0
- data/spec/models/deb_verbatim_publication_response_spec.rb +6 -0
- data/spec/models/repository_version_response_spec.rb +6 -0
- metadata +85 -85
@@ -13,10 +13,13 @@ OpenAPI Generator version: 4.3.1
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpDebClient
|
16
|
-
# Base serializer for use with
|
16
|
+
# 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.
|
17
17
|
class RepositoryVersionResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
@@ -37,6 +40,7 @@ module PulpDebClient
|
|
37
40
|
def self.attribute_map
|
38
41
|
{
|
39
42
|
:'pulp_href' => :'pulp_href',
|
43
|
+
:'prn' => :'prn',
|
40
44
|
:'pulp_created' => :'pulp_created',
|
41
45
|
:'pulp_last_updated' => :'pulp_last_updated',
|
42
46
|
:'number' => :'number',
|
@@ -50,6 +54,7 @@ module PulpDebClient
|
|
50
54
|
def self.openapi_types
|
51
55
|
{
|
52
56
|
:'pulp_href' => :'String',
|
57
|
+
:'prn' => :'String',
|
53
58
|
:'pulp_created' => :'DateTime',
|
54
59
|
:'pulp_last_updated' => :'DateTime',
|
55
60
|
:'number' => :'Integer',
|
@@ -84,6 +89,10 @@ module PulpDebClient
|
|
84
89
|
self.pulp_href = attributes[:'pulp_href']
|
85
90
|
end
|
86
91
|
|
92
|
+
if attributes.key?(:'prn')
|
93
|
+
self.prn = attributes[:'prn']
|
94
|
+
end
|
95
|
+
|
87
96
|
if attributes.key?(:'pulp_created')
|
88
97
|
self.pulp_created = attributes[:'pulp_created']
|
89
98
|
end
|
@@ -128,6 +137,7 @@ module PulpDebClient
|
|
128
137
|
return true if self.equal?(o)
|
129
138
|
self.class == o.class &&
|
130
139
|
pulp_href == o.pulp_href &&
|
140
|
+
prn == o.prn &&
|
131
141
|
pulp_created == o.pulp_created &&
|
132
142
|
pulp_last_updated == o.pulp_last_updated &&
|
133
143
|
number == o.number &&
|
@@ -145,7 +155,7 @@ module PulpDebClient
|
|
145
155
|
# Calculates hash code according to all attributes.
|
146
156
|
# @return [Integer] Hash code
|
147
157
|
def hash
|
148
|
-
[pulp_href, pulp_created, pulp_last_updated, number, repository, base_version, content_summary].hash
|
158
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, number, repository, base_version, content_summary].hash
|
149
159
|
end
|
150
160
|
|
151
161
|
# Builds the object from hash
|
@@ -41,6 +41,7 @@ describe 'ContentGenericContentsApi' do
|
|
41
41
|
# @option opts [String] :artifact Artifact file representing the physical content
|
42
42
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
43
43
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
44
|
+
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
44
45
|
# @return [AsyncOperationResponse]
|
45
46
|
describe 'create test' do
|
46
47
|
it 'should work' do
|
@@ -56,13 +57,14 @@ describe 'ContentGenericContentsApi' do
|
|
56
57
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
57
58
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
58
59
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
60
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
59
61
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
60
62
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
61
|
-
# @option opts [String] :q
|
63
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
62
64
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
63
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
64
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
65
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
65
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
66
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
67
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
|
66
68
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
67
69
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
68
70
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
@@ -54,13 +54,14 @@ describe 'ContentInstallerFileIndicesApi' do
|
|
54
54
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
55
55
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `component` - Component * `-component` - Component (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
56
56
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
57
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
57
58
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
58
59
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
59
|
-
# @option opts [String] :q
|
60
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
60
61
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
61
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
62
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
63
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
62
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
63
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
64
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
|
64
65
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
65
66
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
66
67
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
@@ -41,6 +41,7 @@ describe 'ContentInstallerPackagesApi' do
|
|
41
41
|
# @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path
|
42
42
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
43
43
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
44
|
+
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
44
45
|
# @return [AsyncOperationResponse]
|
45
46
|
describe 'create test' do
|
46
47
|
it 'should work' do
|
@@ -68,12 +69,13 @@ describe 'ContentInstallerPackagesApi' do
|
|
68
69
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
69
70
|
# @option opts [String] :package Filter results where package matches value
|
70
71
|
# @option opts [String] :priority Filter results where priority matches value
|
72
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
71
73
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
72
74
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
73
|
-
# @option opts [String] :q
|
74
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
75
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
76
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
75
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
76
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
77
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
78
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
|
77
79
|
# @option opts [String] :section Filter results where section matches value
|
78
80
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
79
81
|
# @option opts [String] :source Filter results where source matches value
|
@@ -54,13 +54,14 @@ describe 'ContentPackageIndicesApi' do
|
|
54
54
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
55
55
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `component` - Component * `-component` - Component (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `artifact_set_sha256` - Artifact set sha256 * `-artifact_set_sha256` - Artifact set sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
56
56
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
57
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
57
58
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
58
59
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
59
|
-
# @option opts [String] :q
|
60
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
60
61
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
61
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
62
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
63
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
62
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
63
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
64
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
|
64
65
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
65
66
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
66
67
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
@@ -53,13 +53,14 @@ describe 'ContentPackageReleaseComponentsApi' do
|
|
53
53
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
54
54
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
55
55
|
# @option opts [String] :package Filter results where package matches value
|
56
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
56
57
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
57
58
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
58
|
-
# @option opts [String] :q
|
59
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
59
60
|
# @option opts [String] :release_component Filter results where release_component matches value
|
60
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
61
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
62
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
61
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
62
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
63
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
|
63
64
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
64
65
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
65
66
|
# @return [PaginateddebPackageReleaseComponentResponseList]
|
@@ -41,6 +41,7 @@ describe 'ContentPackagesApi' do
|
|
41
41
|
# @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path
|
42
42
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
43
43
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
44
|
+
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
44
45
|
# @option opts [String] :distribution Name of the distribution.
|
45
46
|
# @option opts [String] :component Name of the component.
|
46
47
|
# @return [AsyncOperationResponse]
|
@@ -78,15 +79,16 @@ describe 'ContentPackagesApi' do
|
|
78
79
|
# @option opts [String] :package__regex Filter results where package matches regex value
|
79
80
|
# @option opts [String] :package__startswith Filter results where package starts with value
|
80
81
|
# @option opts [String] :priority Filter results where priority matches value
|
82
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
81
83
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
82
84
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
83
|
-
# @option opts [String] :q
|
85
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
84
86
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
85
87
|
# @option opts [String] :release Must be a comma-separated string: \"release_href,repository_or_repository_version_href\" release_href: Filter results where Package in Release repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version)
|
86
88
|
# @option opts [String] :release_component Must be a comma-separated string: \"release_component_href,repository_or_repository_version_href\" release_component_href: Filter results where Package in ReleaseComponent repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version)
|
87
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
88
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
89
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
89
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
90
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
91
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
|
90
92
|
# @option opts [String] :section Filter results where section matches value
|
91
93
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
92
94
|
# @option opts [String] :source Filter results where source matches value
|
@@ -54,12 +54,13 @@ describe 'ContentReleaseArchitecturesApi' do
|
|
54
54
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
55
55
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
56
56
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
57
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
57
58
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
58
59
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
59
|
-
# @option opts [String] :q
|
60
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
61
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
62
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
60
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
61
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
62
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
63
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
|
63
64
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
64
65
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
65
66
|
# @return [PaginateddebReleaseArchitectureResponseList]
|
@@ -55,12 +55,13 @@ describe 'ContentReleaseComponentsApi' do
|
|
55
55
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `component` - Component * `-component` - Component (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
56
56
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
57
57
|
# @option opts [String] :package Must be a comma-separated string: \"package_href,repository_or_repository_version_href\" package_href: Filter results where ReleaseComponent contains Package repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version)
|
58
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
58
59
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
59
60
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
60
|
-
# @option opts [String] :q
|
61
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
62
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
63
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
61
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
62
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
63
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
64
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
|
64
65
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
65
66
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
66
67
|
# @return [PaginateddebReleaseComponentResponseList]
|
@@ -53,13 +53,14 @@ describe 'ContentReleaseFilesApi' do
|
|
53
53
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
54
54
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `codename` - Codename * `-codename` - Codename (descending) * `suite` - Suite * `-suite` - Suite (descending) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `components` - Components * `-components` - Components (descending) * `architectures` - Architectures * `-architectures` - Architectures (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `artifact_set_sha256` - Artifact set sha256 * `-artifact_set_sha256` - Artifact set sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
55
55
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
56
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
56
57
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
57
58
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
58
|
-
# @option opts [String] :q
|
59
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
59
60
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
60
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
61
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
62
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
61
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
62
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
63
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
|
63
64
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
64
65
|
# @option opts [String] :suite Filter results where suite matches value
|
65
66
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
@@ -57,12 +57,13 @@ describe 'ContentReleasesApi' do
|
|
57
57
|
# @option opts [String] :origin Filter results where origin matches value
|
58
58
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
59
59
|
# @option opts [String] :package Must be a comma-separated string: \"package_href,repository_or_repository_version_href\" package_href: Filter results where Release contains Package repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version)
|
60
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
60
61
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
61
62
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
62
|
-
# @option opts [String] :q
|
63
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
64
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
65
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
63
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
64
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
65
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
66
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
|
66
67
|
# @option opts [String] :suite Filter results where suite matches value
|
67
68
|
# @option opts [String] :version Filter results where version matches value
|
68
69
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
@@ -53,13 +53,14 @@ describe 'ContentSourceIndicesApi' do
|
|
53
53
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
54
54
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `component` - Component * `-component` - Component (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
55
55
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
56
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
56
57
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
57
58
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
58
|
-
# @option opts [String] :q
|
59
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
59
60
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
60
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
61
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
62
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
61
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
62
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
63
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
|
63
64
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
64
65
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
65
66
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
@@ -65,15 +65,16 @@ describe 'ContentSourcePackagesApi' do
|
|
65
65
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `format` - Format * `-format` - Format (descending) * `source` - Source * `-source` - Source (descending) * `binary` - Binary * `-binary` - Binary (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `version` - Version * `-version` - Version (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `uploaders` - Uploaders * `-uploaders` - Uploaders (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `vcs_browser` - Vcs browser * `-vcs_browser` - Vcs browser (descending) * `vcs_arch` - Vcs arch * `-vcs_arch` - Vcs arch (descending) * `vcs_bzr` - Vcs bzr * `-vcs_bzr` - Vcs bzr (descending) * `vcs_cvs` - Vcs cvs * `-vcs_cvs` - Vcs cvs (descending) * `vcs_darcs` - Vcs darcs * `-vcs_darcs` - Vcs darcs (descending) * `vcs_git` - Vcs git * `-vcs_git` - Vcs git (descending) * `vcs_hg` - Vcs hg * `-vcs_hg` - Vcs hg (descending) * `vcs_mtn` - Vcs mtn * `-vcs_mtn` - Vcs mtn (descending) * `vcs_snv` - Vcs snv * `-vcs_snv` - Vcs snv (descending) * `testsuite` - Testsuite * `-testsuite` - Testsuite (descending) * `dgit` - Dgit * `-dgit` - Dgit (descending) * `standards_version` - Standards version * `-standards_version` - Standards version (descending) * `build_depends` - Build depends * `-build_depends` - Build depends (descending) * `build_depends_indep` - Build depends indep * `-build_depends_indep` - Build depends indep (descending) * `build_depends_arch` - Build depends arch * `-build_depends_arch` - Build depends arch (descending) * `build_conflicts` - Build conflicts * `-build_conflicts` - Build conflicts (descending) * `build_conflicts_indep` - Build conflicts indep * `-build_conflicts_indep` - Build conflicts indep (descending) * `build_conflicts_arch` - Build conflicts arch * `-build_conflicts_arch` - Build conflicts arch (descending) * `package_list` - Package list * `-package_list` - Package list (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
66
66
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
67
67
|
# @option opts [String] :package_list Filter results where package_list matches value
|
68
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
68
69
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
69
70
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
70
|
-
# @option opts [String] :q
|
71
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
71
72
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
72
73
|
# @option opts [String] :release Must be a comma-separated string: \"release_href,repository_or_repository_version_href\" release_href: Filter results where SourcePackage in Release repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version)
|
73
74
|
# @option opts [String] :release_component Must be a comma-separated string: \"release_component_href,repository_or_repository_version_href\" release_component_href: Filter results where SourcePackage in ReleaseComponent repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version)
|
74
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
75
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
76
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
75
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
76
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
77
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
|
77
78
|
# @option opts [String] :source Filter results where source matches value
|
78
79
|
# @option opts [String] :standards_version Filter results where standards_version matches value
|
79
80
|
# @option opts [String] :testsuite Filter results where testsuite matches value
|
@@ -52,13 +52,14 @@ describe 'ContentSourceReleaseComponentsApi' do
|
|
52
52
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
53
53
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
54
54
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
55
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
55
56
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
56
57
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
57
|
-
# @option opts [String] :q
|
58
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
58
59
|
# @option opts [String] :release_component Filter results where release_component matches value
|
59
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
60
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
61
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
60
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
61
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
62
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
|
62
63
|
# @option opts [String] :source_package Filter results where source_package matches value
|
63
64
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
64
65
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
@@ -76,10 +76,11 @@ describe 'DistributionsAptApi' do
|
|
76
76
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
77
77
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
78
78
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
79
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
79
80
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
80
81
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
81
82
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
82
|
-
# @option opts [String] :q
|
83
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
83
84
|
# @option opts [String] :repository Filter results where repository matches value
|
84
85
|
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
85
86
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
@@ -60,11 +60,12 @@ describe 'PublicationsAptApi' do
|
|
60
60
|
# List apt publications
|
61
61
|
# An AptPublication is the ready to serve Pulp-internal representation of an AptRepositoryVersion. When creating an APT publication, users must use simple or structured mode (or both). If the publication should include '.deb' packages that were manually uploaded to the relevant AptRepository, users must use 'simple=true'. Conversely, 'structured=true' is only useful for publishing content obtained via synchronization. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
|
62
62
|
# @param [Hash] opts the optional parameters
|
63
|
-
# @option opts [String] :content Content Unit referenced by HREF
|
64
|
-
# @option opts [String] :content__in
|
63
|
+
# @option opts [String] :content Content Unit referenced by HREF/PRN
|
64
|
+
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
65
65
|
# @option opts [Integer] :limit Number of results to return per page.
|
66
66
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
67
67
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
68
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
68
69
|
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
69
70
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
70
71
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
@@ -73,9 +74,9 @@ describe 'PublicationsAptApi' do
|
|
73
74
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
74
75
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
75
76
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
76
|
-
# @option opts [String] :q
|
77
|
-
# @option opts [String] :repository Repository referenced by HREF
|
78
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
77
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
78
|
+
# @option opts [String] :repository Repository referenced by HREF/PRN
|
79
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
79
80
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
80
81
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
81
82
|
# @return [PaginateddebAptPublicationResponseList]
|
@@ -60,11 +60,12 @@ describe 'PublicationsVerbatimApi' do
|
|
60
60
|
# List verbatim publications
|
61
61
|
# An VerbatimPublication is the Pulp-internal representation of a \"mirrored\" AptRepositoryVersion. In other words, the verbatim publisher will recreate the synced subset of some a APT repository using the exact same metadata files and signatures as used by the upstream original. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
|
62
62
|
# @param [Hash] opts the optional parameters
|
63
|
-
# @option opts [String] :content Content Unit referenced by HREF
|
64
|
-
# @option opts [String] :content__in
|
63
|
+
# @option opts [String] :content Content Unit referenced by HREF/PRN
|
64
|
+
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
65
65
|
# @option opts [Integer] :limit Number of results to return per page.
|
66
66
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
67
67
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
68
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
68
69
|
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
69
70
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
70
71
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
@@ -73,9 +74,9 @@ describe 'PublicationsVerbatimApi' do
|
|
73
74
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
74
75
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
75
76
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
76
|
-
# @option opts [String] :q
|
77
|
-
# @option opts [String] :repository Repository referenced by HREF
|
78
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
77
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
78
|
+
# @option opts [String] :repository Repository referenced by HREF/PRN
|
79
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
79
80
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
80
81
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
81
82
|
# @return [PaginateddebVerbatimPublicationResponseList]
|
@@ -72,6 +72,7 @@ describe 'RemotesAptApi' do
|
|
72
72
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
73
73
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
74
74
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
75
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
75
76
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
76
77
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
77
78
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
@@ -81,7 +82,7 @@ describe 'RemotesAptApi' do
|
|
81
82
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
82
83
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
83
84
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
84
|
-
# @option opts [String] :q
|
85
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
85
86
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
86
87
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
87
88
|
# @return [PaginateddebAptRemoteResponseList]
|
@@ -60,7 +60,7 @@ describe 'RepositoriesAptApi' do
|
|
60
60
|
# List apt repositorys
|
61
61
|
# An AptRepository is the locally stored, Pulp-internal representation of a APT repository. It may be filled with content via synchronization or content upload to create an AptRepositoryVersion.
|
62
62
|
# @param [Hash] opts the optional parameters
|
63
|
-
# @option opts [String] :latest_with_content Content Unit referenced by HREF
|
63
|
+
# @option opts [String] :latest_with_content Content Unit referenced by HREF/PRN
|
64
64
|
# @option opts [Integer] :limit Number of results to return per page.
|
65
65
|
# @option opts [String] :name Filter results where name matches value
|
66
66
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -73,10 +73,11 @@ describe 'RepositoriesAptApi' do
|
|
73
73
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
74
74
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
75
75
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
76
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
76
77
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
77
78
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
78
79
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
79
|
-
# @option opts [String] :q
|
80
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
80
81
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
81
82
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
82
83
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
@@ -86,7 +87,7 @@ describe 'RepositoriesAptApi' do
|
|
86
87
|
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
87
88
|
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
88
89
|
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
89
|
-
# @option opts [String] :with_content Content Unit referenced by HREF
|
90
|
+
# @option opts [String] :with_content Content Unit referenced by HREF/PRN
|
90
91
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
91
92
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
92
93
|
# @return [PaginateddebAptRepositoryResponseList]
|
@@ -49,8 +49,8 @@ describe 'RepositoriesAptVersionsApi' do
|
|
49
49
|
# An AptRepositoryVersion represents a single APT repository version as stored by Pulp. It may be used as the basis for the creation of Pulp distributions in order to actually serve the content contained within the repository version.
|
50
50
|
# @param deb_apt_repository_href
|
51
51
|
# @param [Hash] opts the optional parameters
|
52
|
-
# @option opts [String] :content Content Unit referenced by HREF
|
53
|
-
# @option opts [String] :content__in
|
52
|
+
# @option opts [String] :content Content Unit referenced by HREF/PRN
|
53
|
+
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
54
54
|
# @option opts [Integer] :limit Number of results to return per page.
|
55
55
|
# @option opts [Integer] :number Filter results where number matches value
|
56
56
|
# @option opts [Integer] :number__gt Filter results where number is greater than value
|
@@ -60,6 +60,7 @@ describe 'RepositoriesAptVersionsApi' do
|
|
60
60
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
61
61
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
62
62
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
63
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
63
64
|
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
64
65
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
65
66
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
@@ -67,7 +68,7 @@ describe 'RepositoriesAptVersionsApi' do
|
|
67
68
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
68
69
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
69
70
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
70
|
-
# @option opts [String] :q
|
71
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
71
72
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
72
73
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
73
74
|
# @return [PaginatedRepositoryVersionResponseList]
|
data/spec/configuration_spec.rb
CHANGED
@@ -18,7 +18,7 @@ describe PulpDebClient::Configuration do
|
|
18
18
|
before(:each) do
|
19
19
|
# uncomment below to setup host and base_path
|
20
20
|
# require 'URI'
|
21
|
-
# uri = URI.parse("http://
|
21
|
+
# uri = URI.parse("http://localhost:24817")
|
22
22
|
# PulpDebClient.configure do |c|
|
23
23
|
# c.host = uri.host
|
24
24
|
# c.base_path = uri.path
|
@@ -28,14 +28,14 @@ describe PulpDebClient::Configuration do
|
|
28
28
|
describe '#base_url' do
|
29
29
|
it 'should have the default value' do
|
30
30
|
# uncomment below to test default value of the base path
|
31
|
-
# expect(config.base_url).to eq("http://
|
31
|
+
# expect(config.base_url).to eq("http://localhost:24817")
|
32
32
|
end
|
33
33
|
|
34
34
|
it 'should remove trailing slashes' do
|
35
35
|
[nil, '', '/', '//'].each do |base_path|
|
36
36
|
config.base_path = base_path
|
37
37
|
# uncomment below to test trailing slashes
|
38
|
-
# expect(config.base_url).to eq("http://
|
38
|
+
# expect(config.base_url).to eq("http://localhost:24817")
|
39
39
|
end
|
40
40
|
end
|
41
41
|
end
|
@@ -38,6 +38,12 @@ describe 'DebAptDistributionResponse' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
+
describe 'test attribute "prn"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
41
47
|
describe 'test attribute "pulp_created"' do
|
42
48
|
it 'should work' do
|
43
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -68,6 +74,12 @@ describe 'DebAptDistributionResponse' do
|
|
68
74
|
end
|
69
75
|
end
|
70
76
|
|
77
|
+
describe 'test attribute "no_content_change_since"' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
71
83
|
describe 'test attribute "hidden"' do
|
72
84
|
it 'should work' do
|
73
85
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|