pulp_deb_client 3.2.1 → 3.3.1
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 +6 -5
- data/docs/ContentGenericContentsApi.md +3 -1
- data/docs/ContentInstallerPackagesApi.md +3 -1
- data/docs/ContentPackagesApi.md +2 -0
- data/docs/ContentReleasesApi.md +3 -3
- data/docs/Copy.md +1 -1
- data/docs/DebGenericContent.md +3 -1
- data/docs/DebInstallerPackage.md +3 -1
- data/docs/DebPackage.md +2 -0
- data/docs/DebRelease.md +5 -1
- data/docs/DebReleaseResponse.md +5 -1
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +7 -0
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +7 -0
- data/lib/pulp_deb_client/api/content_packages_api.rb +7 -0
- data/lib/pulp_deb_client/api/content_releases_api.rb +5 -5
- data/lib/pulp_deb_client/models/copy.rb +1 -1
- data/lib/pulp_deb_client/models/deb_generic_content.rb +29 -4
- data/lib/pulp_deb_client/models/deb_installer_package.rb +29 -4
- data/lib/pulp_deb_client/models/deb_package.rb +26 -1
- data/lib/pulp_deb_client/models/deb_release.rb +27 -5
- data/lib/pulp_deb_client/models/deb_release_response.rb +27 -5
- data/lib/pulp_deb_client/version.rb +1 -1
- data/spec/api/content_generic_contents_api_spec.rb +1 -0
- data/spec/api/content_installer_packages_api_spec.rb +1 -0
- data/spec/api/content_packages_api_spec.rb +1 -0
- data/spec/api/content_releases_api_spec.rb +2 -2
- data/spec/models/deb_generic_content_spec.rb +6 -0
- data/spec/models/deb_installer_package_spec.rb +6 -0
- data/spec/models/deb_package_spec.rb +6 -0
- data/spec/models/deb_release_response_spec.rb +12 -0
- data/spec/models/deb_release_spec.rb +12 -0
- metadata +70 -70
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1362fe19a80656f5019123c373a3dc8ec47599d184f0cab16f1e52d2e9097074
|
4
|
+
data.tar.gz: e89543321aeb418f0e95ea8d989a370a920c94094309be9582eb3951de347b8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fcc23544a14654914d331249f98b526b8f5089c8e4e4ad63614ea9a641cca4c8ed924dc75bcf844e944805147ebc394f193cf9e66a2298ebcc22c74ab9c67d1c
|
7
|
+
data.tar.gz: 144d8cc419e8653b47f8072a8fa81d5983b9e8d4d6415d0e49387b87b687cc4919dd98fb5479057163e9933694f2f54c49385a6fde6d543b1f85090a06b6aa04
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: v3
|
10
|
-
- Package version: 3.
|
10
|
+
- Package version: 3.3.1
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build pulp_deb_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_deb_client-3.
|
27
|
+
gem install ./pulp_deb_client-3.3.1.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_deb_client-3.
|
30
|
+
(for development, run `gem install --dev ./pulp_deb_client-3.3.1.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'pulp_deb_client', '~> 3.
|
36
|
+
gem 'pulp_deb_client', '~> 3.3.1'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -70,7 +70,8 @@ opts = {
|
|
70
70
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
71
71
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
72
72
|
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the content unit.
|
73
|
-
upload: 'upload_example' # String | An uncommitted upload that may be turned into the content unit.
|
73
|
+
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
74
|
+
file_url: 'file_url_example' # String | A url that Pulp can download and turn into the content unit.
|
74
75
|
}
|
75
76
|
|
76
77
|
begin
|
@@ -36,7 +36,8 @@ opts = {
|
|
36
36
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
37
37
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
38
38
|
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the content unit.
|
39
|
-
upload: 'upload_example' # String | An uncommitted upload that may be turned into the content unit.
|
39
|
+
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
40
|
+
file_url: 'file_url_example' # String | A url that Pulp can download and turn into the content unit.
|
40
41
|
}
|
41
42
|
|
42
43
|
begin
|
@@ -58,6 +59,7 @@ Name | Type | Description | Notes
|
|
58
59
|
**artifact** | **String**| Artifact file representing the physical content | [optional]
|
59
60
|
**file** | **File**| An uploaded file that may be turned into the content unit. | [optional]
|
60
61
|
**upload** | **String**| An uncommitted upload that may be turned into the content unit. | [optional]
|
62
|
+
**file_url** | **String**| A url that Pulp can download and turn into the content unit. | [optional]
|
61
63
|
|
62
64
|
### Return type
|
63
65
|
|
@@ -36,7 +36,8 @@ opts = {
|
|
36
36
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
37
37
|
relative_path: 'relative_path_example', # String | Path where the artifact is located relative to distributions base_path
|
38
38
|
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the content unit.
|
39
|
-
upload: 'upload_example' # String | An uncommitted upload that may be turned into the content unit.
|
39
|
+
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
40
|
+
file_url: 'file_url_example' # String | A url that Pulp can download and turn into the content unit.
|
40
41
|
}
|
41
42
|
|
42
43
|
begin
|
@@ -58,6 +59,7 @@ Name | Type | Description | Notes
|
|
58
59
|
**relative_path** | **String**| Path where the artifact is located relative to distributions base_path | [optional]
|
59
60
|
**file** | **File**| An uploaded file that may be turned into the content unit. | [optional]
|
60
61
|
**upload** | **String**| An uncommitted upload that may be turned into the content unit. | [optional]
|
62
|
+
**file_url** | **String**| A url that Pulp can download and turn into the content unit. | [optional]
|
61
63
|
|
62
64
|
### Return type
|
63
65
|
|
data/docs/ContentPackagesApi.md
CHANGED
@@ -37,6 +37,7 @@ opts = {
|
|
37
37
|
relative_path: 'relative_path_example', # String | Path where the artifact is located relative to distributions base_path
|
38
38
|
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the content unit.
|
39
39
|
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
40
|
+
file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
|
40
41
|
distribution: 'distribution_example', # String | Name of the distribution.
|
41
42
|
component: 'component_example' # String | Name of the component.
|
42
43
|
}
|
@@ -60,6 +61,7 @@ Name | Type | Description | Notes
|
|
60
61
|
**relative_path** | **String**| Path where the artifact is located relative to distributions base_path | [optional]
|
61
62
|
**file** | **File**| An uploaded file that may be turned into the content unit. | [optional]
|
62
63
|
**upload** | **String**| An uncommitted upload that may be turned into the content unit. | [optional]
|
64
|
+
**file_url** | **String**| A url that Pulp can download and turn into the content unit. | [optional]
|
63
65
|
**distribution** | **String**| Name of the distribution. | [optional]
|
64
66
|
**component** | **String**| Name of the component. | [optional]
|
65
67
|
|
data/docs/ContentReleasesApi.md
CHANGED
@@ -12,11 +12,11 @@ Method | HTTP request | Description
|
|
12
12
|
|
13
13
|
## create
|
14
14
|
|
15
|
-
>
|
15
|
+
> AsyncOperationResponse create(deb_release)
|
16
16
|
|
17
17
|
Create a release
|
18
18
|
|
19
|
-
|
19
|
+
Trigger an asynchronous task to create content,optionally create new repository version.
|
20
20
|
|
21
21
|
### Example
|
22
22
|
|
@@ -51,7 +51,7 @@ Name | Type | Description | Notes
|
|
51
51
|
|
52
52
|
### Return type
|
53
53
|
|
54
|
-
[**
|
54
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
55
55
|
|
56
56
|
### Authorization
|
57
57
|
|
data/docs/Copy.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**config** | [**
|
7
|
+
**config** | [**AnyType**](.md) | A JSON document describing sources, destinations, and content to be copied |
|
8
8
|
**structured** | **Boolean** | Also copy any distributions, components, and releases as needed for any packages being copied. This will allow for structured publications of the target repository.Default is set to True | [optional] [default to true]
|
9
9
|
**dependency_solving** | **Boolean** | Also copy dependencies of any packages being copied. NOT YETIMPLEMENTED! You must keep this at \"False\"! | [optional] [default to false]
|
10
10
|
|
data/docs/DebGenericContent.md
CHANGED
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
9
9
|
**relative_path** | **String** | Path where the artifact is located relative to distributions base_path |
|
10
10
|
**file** | **File** | An uploaded file that may be turned into the content unit. | [optional]
|
11
11
|
**upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional]
|
12
|
+
**file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional]
|
12
13
|
|
13
14
|
## Code Sample
|
14
15
|
|
@@ -19,7 +20,8 @@ instance = PulpDebClient::DebGenericContent.new(repository: null,
|
|
19
20
|
artifact: null,
|
20
21
|
relative_path: null,
|
21
22
|
file: null,
|
22
|
-
upload: null
|
23
|
+
upload: null,
|
24
|
+
file_url: null)
|
23
25
|
```
|
24
26
|
|
25
27
|
|
data/docs/DebInstallerPackage.md
CHANGED
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
9
9
|
**relative_path** | **String** | Path where the artifact is located relative to distributions base_path | [optional]
|
10
10
|
**file** | **File** | An uploaded file that may be turned into the content unit. | [optional]
|
11
11
|
**upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional]
|
12
|
+
**file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional]
|
12
13
|
|
13
14
|
## Code Sample
|
14
15
|
|
@@ -19,7 +20,8 @@ instance = PulpDebClient::DebInstallerPackage.new(repository: null,
|
|
19
20
|
artifact: null,
|
20
21
|
relative_path: null,
|
21
22
|
file: null,
|
22
|
-
upload: null
|
23
|
+
upload: null,
|
24
|
+
file_url: null)
|
23
25
|
```
|
24
26
|
|
25
27
|
|
data/docs/DebPackage.md
CHANGED
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
9
9
|
**relative_path** | **String** | Path where the artifact is located relative to distributions base_path | [optional]
|
10
10
|
**file** | **File** | An uploaded file that may be turned into the content unit. | [optional]
|
11
11
|
**upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional]
|
12
|
+
**file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional]
|
12
13
|
**distribution** | **String** | Name of the distribution. | [optional]
|
13
14
|
**component** | **String** | Name of the component. | [optional]
|
14
15
|
|
@@ -22,6 +23,7 @@ instance = PulpDebClient::DebPackage.new(repository: null,
|
|
22
23
|
relative_path: null,
|
23
24
|
file: null,
|
24
25
|
upload: null,
|
26
|
+
file_url: null,
|
25
27
|
distribution: null,
|
26
28
|
component: null)
|
27
29
|
```
|
data/docs/DebRelease.md
CHANGED
@@ -12,6 +12,8 @@ Name | Type | Description | Notes
|
|
12
12
|
**origin** | **String** | | [optional]
|
13
13
|
**label** | **String** | | [optional]
|
14
14
|
**description** | **String** | | [optional]
|
15
|
+
**architectures** | **Array<String>** | | [optional]
|
16
|
+
**components** | **Array<String>** | | [optional]
|
15
17
|
|
16
18
|
## Code Sample
|
17
19
|
|
@@ -25,7 +27,9 @@ instance = PulpDebClient::DebRelease.new(repository: null,
|
|
25
27
|
version: null,
|
26
28
|
origin: null,
|
27
29
|
label: null,
|
28
|
-
description: null
|
30
|
+
description: null,
|
31
|
+
architectures: null,
|
32
|
+
components: null)
|
29
33
|
```
|
30
34
|
|
31
35
|
|
data/docs/DebReleaseResponse.md
CHANGED
@@ -14,6 +14,8 @@ Name | Type | Description | Notes
|
|
14
14
|
**origin** | **String** | | [optional]
|
15
15
|
**label** | **String** | | [optional]
|
16
16
|
**description** | **String** | | [optional]
|
17
|
+
**architectures** | **Array<String>** | | [optional]
|
18
|
+
**components** | **Array<String>** | | [optional]
|
17
19
|
|
18
20
|
## Code Sample
|
19
21
|
|
@@ -29,7 +31,9 @@ instance = PulpDebClient::DebReleaseResponse.new(pulp_href: null,
|
|
29
31
|
version: null,
|
30
32
|
origin: null,
|
31
33
|
label: null,
|
32
|
-
description: null
|
34
|
+
description: null,
|
35
|
+
architectures: null,
|
36
|
+
components: null)
|
33
37
|
```
|
34
38
|
|
35
39
|
|
@@ -27,6 +27,7 @@ module PulpDebClient
|
|
27
27
|
# @option opts [String] :artifact Artifact file representing the physical content
|
28
28
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
29
29
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
30
|
+
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
30
31
|
# @return [AsyncOperationResponse]
|
31
32
|
def create(relative_path, opts = {})
|
32
33
|
data, _status_code, _headers = create_with_http_info(relative_path, opts)
|
@@ -41,6 +42,7 @@ module PulpDebClient
|
|
41
42
|
# @option opts [String] :artifact Artifact file representing the physical content
|
42
43
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
43
44
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
45
|
+
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
44
46
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
45
47
|
def create_with_http_info(relative_path, opts = {})
|
46
48
|
if @api_client.config.debugging
|
@@ -54,6 +56,10 @@ module PulpDebClient
|
|
54
56
|
fail ArgumentError, 'invalid value for "relative_path" when calling ContentGenericContentsApi.create, the character length must be great than or equal to 1.'
|
55
57
|
end
|
56
58
|
|
59
|
+
if @api_client.config.client_side_validation && !opts[:'file_url'].nil? && opts[:'file_url'].to_s.length < 1
|
60
|
+
fail ArgumentError, 'invalid value for "opts[:"file_url"]" when calling ContentGenericContentsApi.create, the character length must be great than or equal to 1.'
|
61
|
+
end
|
62
|
+
|
57
63
|
# resource path
|
58
64
|
local_var_path = '/pulp/api/v3/content/deb/generic_contents/'
|
59
65
|
|
@@ -74,6 +80,7 @@ module PulpDebClient
|
|
74
80
|
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
75
81
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
76
82
|
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
83
|
+
form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
|
77
84
|
|
78
85
|
# http body (model)
|
79
86
|
post_body = opts[:body]
|
@@ -27,6 +27,7 @@ module PulpDebClient
|
|
27
27
|
# @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path
|
28
28
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
29
29
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
30
|
+
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
30
31
|
# @return [AsyncOperationResponse]
|
31
32
|
def create(opts = {})
|
32
33
|
data, _status_code, _headers = create_with_http_info(opts)
|
@@ -41,6 +42,7 @@ module PulpDebClient
|
|
41
42
|
# @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path
|
42
43
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
43
44
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
45
|
+
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
44
46
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
45
47
|
def create_with_http_info(opts = {})
|
46
48
|
if @api_client.config.debugging
|
@@ -50,6 +52,10 @@ module PulpDebClient
|
|
50
52
|
fail ArgumentError, 'invalid value for "opts[:"relative_path"]" when calling ContentInstallerPackagesApi.create, the character length must be great than or equal to 1.'
|
51
53
|
end
|
52
54
|
|
55
|
+
if @api_client.config.client_side_validation && !opts[:'file_url'].nil? && opts[:'file_url'].to_s.length < 1
|
56
|
+
fail ArgumentError, 'invalid value for "opts[:"file_url"]" when calling ContentInstallerPackagesApi.create, the character length must be great than or equal to 1.'
|
57
|
+
end
|
58
|
+
|
53
59
|
# resource path
|
54
60
|
local_var_path = '/pulp/api/v3/content/deb/installer_packages/'
|
55
61
|
|
@@ -70,6 +76,7 @@ module PulpDebClient
|
|
70
76
|
form_params['relative_path'] = opts[:'relative_path'] if !opts[:'relative_path'].nil?
|
71
77
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
72
78
|
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
79
|
+
form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
|
73
80
|
|
74
81
|
# http body (model)
|
75
82
|
post_body = opts[:body]
|
@@ -27,6 +27,7 @@ module PulpDebClient
|
|
27
27
|
# @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path
|
28
28
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
29
29
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
30
|
+
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
30
31
|
# @option opts [String] :distribution Name of the distribution.
|
31
32
|
# @option opts [String] :component Name of the component.
|
32
33
|
# @return [AsyncOperationResponse]
|
@@ -43,6 +44,7 @@ module PulpDebClient
|
|
43
44
|
# @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path
|
44
45
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
45
46
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
47
|
+
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
46
48
|
# @option opts [String] :distribution Name of the distribution.
|
47
49
|
# @option opts [String] :component Name of the component.
|
48
50
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
@@ -54,6 +56,10 @@ module PulpDebClient
|
|
54
56
|
fail ArgumentError, 'invalid value for "opts[:"relative_path"]" when calling ContentPackagesApi.create, the character length must be great than or equal to 1.'
|
55
57
|
end
|
56
58
|
|
59
|
+
if @api_client.config.client_side_validation && !opts[:'file_url'].nil? && opts[:'file_url'].to_s.length < 1
|
60
|
+
fail ArgumentError, 'invalid value for "opts[:"file_url"]" when calling ContentPackagesApi.create, the character length must be great than or equal to 1.'
|
61
|
+
end
|
62
|
+
|
57
63
|
if @api_client.config.client_side_validation && !opts[:'distribution'].nil? && opts[:'distribution'].to_s.length < 1
|
58
64
|
fail ArgumentError, 'invalid value for "opts[:"distribution"]" when calling ContentPackagesApi.create, the character length must be great than or equal to 1.'
|
59
65
|
end
|
@@ -82,6 +88,7 @@ module PulpDebClient
|
|
82
88
|
form_params['relative_path'] = opts[:'relative_path'] if !opts[:'relative_path'].nil?
|
83
89
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
84
90
|
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
91
|
+
form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
|
85
92
|
form_params['distribution'] = opts[:'distribution'] if !opts[:'distribution'].nil?
|
86
93
|
form_params['component'] = opts[:'component'] if !opts[:'component'].nil?
|
87
94
|
|
@@ -20,20 +20,20 @@ module PulpDebClient
|
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
22
|
# Create a release
|
23
|
-
#
|
23
|
+
# Trigger an asynchronous task to create content,optionally create new repository version.
|
24
24
|
# @param deb_release [DebRelease]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
-
# @return [
|
26
|
+
# @return [AsyncOperationResponse]
|
27
27
|
def create(deb_release, opts = {})
|
28
28
|
data, _status_code, _headers = create_with_http_info(deb_release, opts)
|
29
29
|
data
|
30
30
|
end
|
31
31
|
|
32
32
|
# Create a release
|
33
|
-
#
|
33
|
+
# Trigger an asynchronous task to create content,optionally create new repository version.
|
34
34
|
# @param deb_release [DebRelease]
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
|
-
# @return [Array<(
|
36
|
+
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
37
37
|
def create_with_http_info(deb_release, opts = {})
|
38
38
|
if @api_client.config.debugging
|
39
39
|
@api_client.config.logger.debug 'Calling API: ContentReleasesApi.create ...'
|
@@ -62,7 +62,7 @@ module PulpDebClient
|
|
62
62
|
post_body = opts[:body] || @api_client.object_to_http_body(deb_release)
|
63
63
|
|
64
64
|
# return_type
|
65
|
-
return_type = opts[:return_type] || '
|
65
|
+
return_type = opts[:return_type] || 'AsyncOperationResponse'
|
66
66
|
|
67
67
|
# auth_names
|
68
68
|
auth_names = opts[:auth_names] || ['basicAuth']
|
@@ -30,6 +30,9 @@ module PulpDebClient
|
|
30
30
|
# An uncommitted upload that may be turned into the content unit.
|
31
31
|
attr_accessor :upload
|
32
32
|
|
33
|
+
# A url that Pulp can download and turn into the content unit.
|
34
|
+
attr_accessor :file_url
|
35
|
+
|
33
36
|
# Attribute mapping from ruby-style variable name to JSON key.
|
34
37
|
def self.attribute_map
|
35
38
|
{
|
@@ -37,7 +40,8 @@ module PulpDebClient
|
|
37
40
|
:'artifact' => :'artifact',
|
38
41
|
:'relative_path' => :'relative_path',
|
39
42
|
:'file' => :'file',
|
40
|
-
:'upload' => :'upload'
|
43
|
+
:'upload' => :'upload',
|
44
|
+
:'file_url' => :'file_url'
|
41
45
|
}
|
42
46
|
end
|
43
47
|
|
@@ -48,7 +52,8 @@ module PulpDebClient
|
|
48
52
|
:'artifact' => :'String',
|
49
53
|
:'relative_path' => :'String',
|
50
54
|
:'file' => :'File',
|
51
|
-
:'upload' => :'String'
|
55
|
+
:'upload' => :'String',
|
56
|
+
:'file_url' => :'String'
|
52
57
|
}
|
53
58
|
end
|
54
59
|
|
@@ -92,6 +97,10 @@ module PulpDebClient
|
|
92
97
|
if attributes.key?(:'upload')
|
93
98
|
self.upload = attributes[:'upload']
|
94
99
|
end
|
100
|
+
|
101
|
+
if attributes.key?(:'file_url')
|
102
|
+
self.file_url = attributes[:'file_url']
|
103
|
+
end
|
95
104
|
end
|
96
105
|
|
97
106
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -106,6 +115,10 @@ module PulpDebClient
|
|
106
115
|
invalid_properties.push('invalid value for "relative_path", the character length must be great than or equal to 1.')
|
107
116
|
end
|
108
117
|
|
118
|
+
if !@file_url.nil? && @file_url.to_s.length < 1
|
119
|
+
invalid_properties.push('invalid value for "file_url", the character length must be great than or equal to 1.')
|
120
|
+
end
|
121
|
+
|
109
122
|
invalid_properties
|
110
123
|
end
|
111
124
|
|
@@ -114,6 +127,7 @@ module PulpDebClient
|
|
114
127
|
def valid?
|
115
128
|
return false if @relative_path.nil?
|
116
129
|
return false if @relative_path.to_s.length < 1
|
130
|
+
return false if !@file_url.nil? && @file_url.to_s.length < 1
|
117
131
|
true
|
118
132
|
end
|
119
133
|
|
@@ -131,6 +145,16 @@ module PulpDebClient
|
|
131
145
|
@relative_path = relative_path
|
132
146
|
end
|
133
147
|
|
148
|
+
# Custom attribute writer method with validation
|
149
|
+
# @param [Object] file_url Value to be assigned
|
150
|
+
def file_url=(file_url)
|
151
|
+
if !file_url.nil? && file_url.to_s.length < 1
|
152
|
+
fail ArgumentError, 'invalid value for "file_url", the character length must be great than or equal to 1.'
|
153
|
+
end
|
154
|
+
|
155
|
+
@file_url = file_url
|
156
|
+
end
|
157
|
+
|
134
158
|
# Checks equality by comparing each attribute.
|
135
159
|
# @param [Object] Object to be compared
|
136
160
|
def ==(o)
|
@@ -140,7 +164,8 @@ module PulpDebClient
|
|
140
164
|
artifact == o.artifact &&
|
141
165
|
relative_path == o.relative_path &&
|
142
166
|
file == o.file &&
|
143
|
-
upload == o.upload
|
167
|
+
upload == o.upload &&
|
168
|
+
file_url == o.file_url
|
144
169
|
end
|
145
170
|
|
146
171
|
# @see the `==` method
|
@@ -152,7 +177,7 @@ module PulpDebClient
|
|
152
177
|
# Calculates hash code according to all attributes.
|
153
178
|
# @return [Integer] Hash code
|
154
179
|
def hash
|
155
|
-
[repository, artifact, relative_path, file, upload].hash
|
180
|
+
[repository, artifact, relative_path, file, upload, file_url].hash
|
156
181
|
end
|
157
182
|
|
158
183
|
# Builds the object from hash
|
@@ -30,6 +30,9 @@ module PulpDebClient
|
|
30
30
|
# An uncommitted upload that may be turned into the content unit.
|
31
31
|
attr_accessor :upload
|
32
32
|
|
33
|
+
# A url that Pulp can download and turn into the content unit.
|
34
|
+
attr_accessor :file_url
|
35
|
+
|
33
36
|
# Attribute mapping from ruby-style variable name to JSON key.
|
34
37
|
def self.attribute_map
|
35
38
|
{
|
@@ -37,7 +40,8 @@ module PulpDebClient
|
|
37
40
|
:'artifact' => :'artifact',
|
38
41
|
:'relative_path' => :'relative_path',
|
39
42
|
:'file' => :'file',
|
40
|
-
:'upload' => :'upload'
|
43
|
+
:'upload' => :'upload',
|
44
|
+
:'file_url' => :'file_url'
|
41
45
|
}
|
42
46
|
end
|
43
47
|
|
@@ -48,7 +52,8 @@ module PulpDebClient
|
|
48
52
|
:'artifact' => :'String',
|
49
53
|
:'relative_path' => :'String',
|
50
54
|
:'file' => :'File',
|
51
|
-
:'upload' => :'String'
|
55
|
+
:'upload' => :'String',
|
56
|
+
:'file_url' => :'String'
|
52
57
|
}
|
53
58
|
end
|
54
59
|
|
@@ -92,6 +97,10 @@ module PulpDebClient
|
|
92
97
|
if attributes.key?(:'upload')
|
93
98
|
self.upload = attributes[:'upload']
|
94
99
|
end
|
100
|
+
|
101
|
+
if attributes.key?(:'file_url')
|
102
|
+
self.file_url = attributes[:'file_url']
|
103
|
+
end
|
95
104
|
end
|
96
105
|
|
97
106
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -102,6 +111,10 @@ module PulpDebClient
|
|
102
111
|
invalid_properties.push('invalid value for "relative_path", the character length must be great than or equal to 1.')
|
103
112
|
end
|
104
113
|
|
114
|
+
if !@file_url.nil? && @file_url.to_s.length < 1
|
115
|
+
invalid_properties.push('invalid value for "file_url", the character length must be great than or equal to 1.')
|
116
|
+
end
|
117
|
+
|
105
118
|
invalid_properties
|
106
119
|
end
|
107
120
|
|
@@ -109,6 +122,7 @@ module PulpDebClient
|
|
109
122
|
# @return true if the model is valid
|
110
123
|
def valid?
|
111
124
|
return false if !@relative_path.nil? && @relative_path.to_s.length < 1
|
125
|
+
return false if !@file_url.nil? && @file_url.to_s.length < 1
|
112
126
|
true
|
113
127
|
end
|
114
128
|
|
@@ -122,6 +136,16 @@ module PulpDebClient
|
|
122
136
|
@relative_path = relative_path
|
123
137
|
end
|
124
138
|
|
139
|
+
# Custom attribute writer method with validation
|
140
|
+
# @param [Object] file_url Value to be assigned
|
141
|
+
def file_url=(file_url)
|
142
|
+
if !file_url.nil? && file_url.to_s.length < 1
|
143
|
+
fail ArgumentError, 'invalid value for "file_url", the character length must be great than or equal to 1.'
|
144
|
+
end
|
145
|
+
|
146
|
+
@file_url = file_url
|
147
|
+
end
|
148
|
+
|
125
149
|
# Checks equality by comparing each attribute.
|
126
150
|
# @param [Object] Object to be compared
|
127
151
|
def ==(o)
|
@@ -131,7 +155,8 @@ module PulpDebClient
|
|
131
155
|
artifact == o.artifact &&
|
132
156
|
relative_path == o.relative_path &&
|
133
157
|
file == o.file &&
|
134
|
-
upload == o.upload
|
158
|
+
upload == o.upload &&
|
159
|
+
file_url == o.file_url
|
135
160
|
end
|
136
161
|
|
137
162
|
# @see the `==` method
|
@@ -143,7 +168,7 @@ module PulpDebClient
|
|
143
168
|
# Calculates hash code according to all attributes.
|
144
169
|
# @return [Integer] Hash code
|
145
170
|
def hash
|
146
|
-
[repository, artifact, relative_path, file, upload].hash
|
171
|
+
[repository, artifact, relative_path, file, upload, file_url].hash
|
147
172
|
end
|
148
173
|
|
149
174
|
# Builds the object from hash
|
@@ -30,6 +30,9 @@ module PulpDebClient
|
|
30
30
|
# An uncommitted upload that may be turned into the content unit.
|
31
31
|
attr_accessor :upload
|
32
32
|
|
33
|
+
# A url that Pulp can download and turn into the content unit.
|
34
|
+
attr_accessor :file_url
|
35
|
+
|
33
36
|
# Name of the distribution.
|
34
37
|
attr_accessor :distribution
|
35
38
|
|
@@ -44,6 +47,7 @@ module PulpDebClient
|
|
44
47
|
:'relative_path' => :'relative_path',
|
45
48
|
:'file' => :'file',
|
46
49
|
:'upload' => :'upload',
|
50
|
+
:'file_url' => :'file_url',
|
47
51
|
:'distribution' => :'distribution',
|
48
52
|
:'component' => :'component'
|
49
53
|
}
|
@@ -57,6 +61,7 @@ module PulpDebClient
|
|
57
61
|
:'relative_path' => :'String',
|
58
62
|
:'file' => :'File',
|
59
63
|
:'upload' => :'String',
|
64
|
+
:'file_url' => :'String',
|
60
65
|
:'distribution' => :'String',
|
61
66
|
:'component' => :'String'
|
62
67
|
}
|
@@ -103,6 +108,10 @@ module PulpDebClient
|
|
103
108
|
self.upload = attributes[:'upload']
|
104
109
|
end
|
105
110
|
|
111
|
+
if attributes.key?(:'file_url')
|
112
|
+
self.file_url = attributes[:'file_url']
|
113
|
+
end
|
114
|
+
|
106
115
|
if attributes.key?(:'distribution')
|
107
116
|
self.distribution = attributes[:'distribution']
|
108
117
|
end
|
@@ -120,6 +129,10 @@ module PulpDebClient
|
|
120
129
|
invalid_properties.push('invalid value for "relative_path", the character length must be great than or equal to 1.')
|
121
130
|
end
|
122
131
|
|
132
|
+
if !@file_url.nil? && @file_url.to_s.length < 1
|
133
|
+
invalid_properties.push('invalid value for "file_url", the character length must be great than or equal to 1.')
|
134
|
+
end
|
135
|
+
|
123
136
|
if !@distribution.nil? && @distribution.to_s.length < 1
|
124
137
|
invalid_properties.push('invalid value for "distribution", the character length must be great than or equal to 1.')
|
125
138
|
end
|
@@ -135,6 +148,7 @@ module PulpDebClient
|
|
135
148
|
# @return true if the model is valid
|
136
149
|
def valid?
|
137
150
|
return false if !@relative_path.nil? && @relative_path.to_s.length < 1
|
151
|
+
return false if !@file_url.nil? && @file_url.to_s.length < 1
|
138
152
|
return false if !@distribution.nil? && @distribution.to_s.length < 1
|
139
153
|
return false if !@component.nil? && @component.to_s.length < 1
|
140
154
|
true
|
@@ -150,6 +164,16 @@ module PulpDebClient
|
|
150
164
|
@relative_path = relative_path
|
151
165
|
end
|
152
166
|
|
167
|
+
# Custom attribute writer method with validation
|
168
|
+
# @param [Object] file_url Value to be assigned
|
169
|
+
def file_url=(file_url)
|
170
|
+
if !file_url.nil? && file_url.to_s.length < 1
|
171
|
+
fail ArgumentError, 'invalid value for "file_url", the character length must be great than or equal to 1.'
|
172
|
+
end
|
173
|
+
|
174
|
+
@file_url = file_url
|
175
|
+
end
|
176
|
+
|
153
177
|
# Custom attribute writer method with validation
|
154
178
|
# @param [Object] distribution Value to be assigned
|
155
179
|
def distribution=(distribution)
|
@@ -180,6 +204,7 @@ module PulpDebClient
|
|
180
204
|
relative_path == o.relative_path &&
|
181
205
|
file == o.file &&
|
182
206
|
upload == o.upload &&
|
207
|
+
file_url == o.file_url &&
|
183
208
|
distribution == o.distribution &&
|
184
209
|
component == o.component
|
185
210
|
end
|
@@ -193,7 +218,7 @@ module PulpDebClient
|
|
193
218
|
# Calculates hash code according to all attributes.
|
194
219
|
# @return [Integer] Hash code
|
195
220
|
def hash
|
196
|
-
[repository, artifact, relative_path, file, upload, distribution, component].hash
|
221
|
+
[repository, artifact, relative_path, file, upload, file_url, distribution, component].hash
|
197
222
|
end
|
198
223
|
|
199
224
|
# Builds the object from hash
|
@@ -32,6 +32,10 @@ module PulpDebClient
|
|
32
32
|
|
33
33
|
attr_accessor :description
|
34
34
|
|
35
|
+
attr_accessor :architectures
|
36
|
+
|
37
|
+
attr_accessor :components
|
38
|
+
|
35
39
|
# Attribute mapping from ruby-style variable name to JSON key.
|
36
40
|
def self.attribute_map
|
37
41
|
{
|
@@ -42,7 +46,9 @@ module PulpDebClient
|
|
42
46
|
:'version' => :'version',
|
43
47
|
:'origin' => :'origin',
|
44
48
|
:'label' => :'label',
|
45
|
-
:'description' => :'description'
|
49
|
+
:'description' => :'description',
|
50
|
+
:'architectures' => :'architectures',
|
51
|
+
:'components' => :'components'
|
46
52
|
}
|
47
53
|
end
|
48
54
|
|
@@ -56,7 +62,9 @@ module PulpDebClient
|
|
56
62
|
:'version' => :'String',
|
57
63
|
:'origin' => :'String',
|
58
64
|
:'label' => :'String',
|
59
|
-
:'description' => :'String'
|
65
|
+
:'description' => :'String',
|
66
|
+
:'architectures' => :'Array<String>',
|
67
|
+
:'components' => :'Array<String>'
|
60
68
|
}
|
61
69
|
end
|
62
70
|
|
@@ -66,7 +74,7 @@ module PulpDebClient
|
|
66
74
|
:'version',
|
67
75
|
:'origin',
|
68
76
|
:'label',
|
69
|
-
:'description'
|
77
|
+
:'description',
|
70
78
|
])
|
71
79
|
end
|
72
80
|
|
@@ -116,6 +124,18 @@ module PulpDebClient
|
|
116
124
|
if attributes.key?(:'description')
|
117
125
|
self.description = attributes[:'description']
|
118
126
|
end
|
127
|
+
|
128
|
+
if attributes.key?(:'architectures')
|
129
|
+
if (value = attributes[:'architectures']).is_a?(Array)
|
130
|
+
self.architectures = value
|
131
|
+
end
|
132
|
+
end
|
133
|
+
|
134
|
+
if attributes.key?(:'components')
|
135
|
+
if (value = attributes[:'components']).is_a?(Array)
|
136
|
+
self.components = value
|
137
|
+
end
|
138
|
+
end
|
119
139
|
end
|
120
140
|
|
121
141
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -275,7 +295,9 @@ module PulpDebClient
|
|
275
295
|
version == o.version &&
|
276
296
|
origin == o.origin &&
|
277
297
|
label == o.label &&
|
278
|
-
description == o.description
|
298
|
+
description == o.description &&
|
299
|
+
architectures == o.architectures &&
|
300
|
+
components == o.components
|
279
301
|
end
|
280
302
|
|
281
303
|
# @see the `==` method
|
@@ -287,7 +309,7 @@ module PulpDebClient
|
|
287
309
|
# Calculates hash code according to all attributes.
|
288
310
|
# @return [Integer] Hash code
|
289
311
|
def hash
|
290
|
-
[repository, codename, suite, distribution, version, origin, label, description].hash
|
312
|
+
[repository, codename, suite, distribution, version, origin, label, description, architectures, components].hash
|
291
313
|
end
|
292
314
|
|
293
315
|
# Builds the object from hash
|
@@ -37,6 +37,10 @@ module PulpDebClient
|
|
37
37
|
|
38
38
|
attr_accessor :description
|
39
39
|
|
40
|
+
attr_accessor :architectures
|
41
|
+
|
42
|
+
attr_accessor :components
|
43
|
+
|
40
44
|
# Attribute mapping from ruby-style variable name to JSON key.
|
41
45
|
def self.attribute_map
|
42
46
|
{
|
@@ -49,7 +53,9 @@ module PulpDebClient
|
|
49
53
|
:'version' => :'version',
|
50
54
|
:'origin' => :'origin',
|
51
55
|
:'label' => :'label',
|
52
|
-
:'description' => :'description'
|
56
|
+
:'description' => :'description',
|
57
|
+
:'architectures' => :'architectures',
|
58
|
+
:'components' => :'components'
|
53
59
|
}
|
54
60
|
end
|
55
61
|
|
@@ -65,7 +71,9 @@ module PulpDebClient
|
|
65
71
|
:'version' => :'String',
|
66
72
|
:'origin' => :'String',
|
67
73
|
:'label' => :'String',
|
68
|
-
:'description' => :'String'
|
74
|
+
:'description' => :'String',
|
75
|
+
:'architectures' => :'Array<String>',
|
76
|
+
:'components' => :'Array<String>'
|
69
77
|
}
|
70
78
|
end
|
71
79
|
|
@@ -75,7 +83,7 @@ module PulpDebClient
|
|
75
83
|
:'version',
|
76
84
|
:'origin',
|
77
85
|
:'label',
|
78
|
-
:'description'
|
86
|
+
:'description',
|
79
87
|
])
|
80
88
|
end
|
81
89
|
|
@@ -133,6 +141,18 @@ module PulpDebClient
|
|
133
141
|
if attributes.key?(:'description')
|
134
142
|
self.description = attributes[:'description']
|
135
143
|
end
|
144
|
+
|
145
|
+
if attributes.key?(:'architectures')
|
146
|
+
if (value = attributes[:'architectures']).is_a?(Array)
|
147
|
+
self.architectures = value
|
148
|
+
end
|
149
|
+
end
|
150
|
+
|
151
|
+
if attributes.key?(:'components')
|
152
|
+
if (value = attributes[:'components']).is_a?(Array)
|
153
|
+
self.components = value
|
154
|
+
end
|
155
|
+
end
|
136
156
|
end
|
137
157
|
|
138
158
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -177,7 +197,9 @@ module PulpDebClient
|
|
177
197
|
version == o.version &&
|
178
198
|
origin == o.origin &&
|
179
199
|
label == o.label &&
|
180
|
-
description == o.description
|
200
|
+
description == o.description &&
|
201
|
+
architectures == o.architectures &&
|
202
|
+
components == o.components
|
181
203
|
end
|
182
204
|
|
183
205
|
# @see the `==` method
|
@@ -189,7 +211,7 @@ module PulpDebClient
|
|
189
211
|
# Calculates hash code according to all attributes.
|
190
212
|
# @return [Integer] Hash code
|
191
213
|
def hash
|
192
|
-
[pulp_href, pulp_created, pulp_last_updated, codename, suite, distribution, version, origin, label, description].hash
|
214
|
+
[pulp_href, pulp_created, pulp_last_updated, codename, suite, distribution, version, origin, label, description, architectures, components].hash
|
193
215
|
end
|
194
216
|
|
195
217
|
# 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
|
@@ -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
|
@@ -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]
|
@@ -34,10 +34,10 @@ describe 'ContentReleasesApi' do
|
|
34
34
|
|
35
35
|
# unit tests for create
|
36
36
|
# Create a release
|
37
|
-
#
|
37
|
+
# Trigger an asynchronous task to create content,optionally create new repository version.
|
38
38
|
# @param deb_release
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [
|
40
|
+
# @return [AsyncOperationResponse]
|
41
41
|
describe 'create test' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -62,6 +62,12 @@ describe 'DebPackage' do
|
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
+
describe 'test attribute "file_url"' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
65
71
|
describe 'test attribute "distribution"' do
|
66
72
|
it 'should work' do
|
67
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -92,4 +92,16 @@ describe 'DebReleaseResponse' do
|
|
92
92
|
end
|
93
93
|
end
|
94
94
|
|
95
|
+
describe 'test attribute "architectures"' do
|
96
|
+
it 'should work' do
|
97
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
101
|
+
describe 'test attribute "components"' do
|
102
|
+
it 'should work' do
|
103
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
95
107
|
end
|
@@ -80,4 +80,16 @@ describe 'DebRelease' do
|
|
80
80
|
end
|
81
81
|
end
|
82
82
|
|
83
|
+
describe 'test attribute "architectures"' do
|
84
|
+
it 'should work' do
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
describe 'test attribute "components"' do
|
90
|
+
it 'should work' do
|
91
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
83
95
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulp_deb_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
@@ -386,97 +386,97 @@ signing_key:
|
|
386
386
|
specification_version: 4
|
387
387
|
summary: Pulp 3 API Ruby Gem
|
388
388
|
test_files:
|
389
|
+
- spec/api/publications_verbatim_api_spec.rb
|
390
|
+
- spec/api/content_installer_file_indices_api_spec.rb
|
389
391
|
- spec/api/content_release_architectures_api_spec.rb
|
390
|
-
- spec/api/
|
391
|
-
- spec/api/
|
392
|
+
- spec/api/content_releases_api_spec.rb
|
393
|
+
- spec/api/content_release_files_api_spec.rb
|
394
|
+
- spec/api/content_generic_contents_api_spec.rb
|
392
395
|
- spec/api/content_installer_packages_api_spec.rb
|
393
|
-
- spec/api/
|
394
|
-
- spec/api/
|
395
|
-
- spec/api/
|
396
|
+
- spec/api/content_source_release_components_api_spec.rb
|
397
|
+
- spec/api/content_release_components_api_spec.rb
|
398
|
+
- spec/api/content_source_packages_api_spec.rb
|
396
399
|
- spec/api/deb_copy_api_spec.rb
|
400
|
+
- spec/api/remotes_apt_api_spec.rb
|
397
401
|
- spec/api/content_source_indices_api_spec.rb
|
398
|
-
- spec/api/content_package_indices_api_spec.rb
|
399
|
-
- spec/api/repositories_apt_versions_api_spec.rb
|
400
|
-
- spec/api/publications_verbatim_api_spec.rb
|
401
402
|
- spec/api/distributions_apt_api_spec.rb
|
402
403
|
- spec/api/content_packages_api_spec.rb
|
404
|
+
- spec/api/publications_apt_api_spec.rb
|
405
|
+
- spec/api/content_package_indices_api_spec.rb
|
406
|
+
- spec/api/repositories_apt_versions_api_spec.rb
|
403
407
|
- spec/api/content_package_release_components_api_spec.rb
|
404
|
-
- spec/api/
|
405
|
-
- spec/api/content_source_packages_api_spec.rb
|
406
|
-
- spec/api/content_releases_api_spec.rb
|
407
|
-
- spec/api/content_generic_contents_api_spec.rb
|
408
|
-
- spec/api/content_release_files_api_spec.rb
|
408
|
+
- spec/api/repositories_apt_api_spec.rb
|
409
409
|
- spec/api_client_spec.rb
|
410
410
|
- spec/configuration_spec.rb
|
411
|
-
- spec/models/
|
412
|
-
- spec/models/deb_source_index_spec.rb
|
413
|
-
- spec/models/deb_release_response_spec.rb
|
414
|
-
- spec/models/patcheddeb_apt_repository_spec.rb
|
415
|
-
- spec/models/deb_apt_remote_response_spec.rb
|
416
|
-
- spec/models/repair_spec.rb
|
411
|
+
- spec/models/unset_label_response_spec.rb
|
417
412
|
- spec/models/content_summary_response_spec.rb
|
418
|
-
- spec/models/
|
419
|
-
- spec/models/
|
420
|
-
- spec/models/
|
421
|
-
- spec/models/
|
422
|
-
- spec/models/
|
423
|
-
- spec/models/deb_source_package_release_component_spec.rb
|
413
|
+
- spec/models/paginateddeb_apt_remote_response_list_spec.rb
|
414
|
+
- spec/models/deb_release_architecture_spec.rb
|
415
|
+
- spec/models/deb_source_package_spec.rb
|
416
|
+
- spec/models/repository_add_remove_content_spec.rb
|
417
|
+
- spec/models/deb_release_architecture_response_spec.rb
|
424
418
|
- spec/models/policy_enum_spec.rb
|
425
|
-
- spec/models/deb_apt_remote_spec.rb
|
426
|
-
- spec/models/patcheddeb_apt_distribution_spec.rb
|
427
|
-
- spec/models/deb_apt_repository_response_spec.rb
|
428
|
-
- spec/models/deb_installer_package_response_spec.rb
|
429
|
-
- spec/models/repository_version_response_spec.rb
|
430
|
-
- spec/models/unset_label_spec.rb
|
431
|
-
- spec/models/deb_release_component_response_spec.rb
|
432
419
|
- spec/models/deb_release_component_spec.rb
|
433
|
-
- spec/models/paginateddeb_package_index_response_list_spec.rb
|
434
|
-
- spec/models/deb_release_spec.rb
|
435
420
|
- spec/models/deb_source_index_response_spec.rb
|
436
|
-
- spec/models/unset_label_response_spec.rb
|
437
|
-
- spec/models/deb_package_response_spec.rb
|
438
421
|
- spec/models/paginateddeb_installer_package_response_list_spec.rb
|
439
|
-
- spec/models/
|
440
|
-
- spec/models/
|
441
|
-
- spec/models/
|
442
|
-
- spec/models/
|
443
|
-
- spec/models/async_operation_response_spec.rb
|
444
|
-
- spec/models/paginateddeb_source_package_response_list_spec.rb
|
422
|
+
- spec/models/repository_version_response_spec.rb
|
423
|
+
- spec/models/deb_installer_file_index_spec.rb
|
424
|
+
- spec/models/deb_verbatim_publication_response_spec.rb
|
425
|
+
- spec/models/set_label_response_spec.rb
|
445
426
|
- spec/models/paginateddeb_generic_content_response_list_spec.rb
|
446
|
-
- spec/models/
|
447
|
-
- spec/models/
|
448
|
-
- spec/models/
|
449
|
-
- spec/models/deb_apt_publication_spec.rb
|
427
|
+
- spec/models/deb_apt_remote_spec.rb
|
428
|
+
- spec/models/deb_release_spec.rb
|
429
|
+
- spec/models/deb_apt_publication_response_spec.rb
|
450
430
|
- spec/models/paginateddeb_release_component_response_list_spec.rb
|
451
|
-
- spec/models/
|
452
|
-
- spec/models/
|
453
|
-
- spec/models/
|
431
|
+
- spec/models/paginateddeb_release_file_response_list_spec.rb
|
432
|
+
- spec/models/deb_apt_remote_response_spec.rb
|
433
|
+
- spec/models/paginateddeb_package_index_response_list_spec.rb
|
434
|
+
- spec/models/deb_source_index_spec.rb
|
435
|
+
- spec/models/deb_package_release_component_response_spec.rb
|
454
436
|
- spec/models/paginateddeb_apt_publication_response_list_spec.rb
|
455
|
-
- spec/models/
|
456
|
-
- spec/models/
|
457
|
-
- spec/models/
|
437
|
+
- spec/models/paginateddeb_release_architecture_response_list_spec.rb
|
438
|
+
- spec/models/deb_generic_content_spec.rb
|
439
|
+
- spec/models/deb_source_package_release_component_spec.rb
|
440
|
+
- spec/models/patcheddeb_apt_distribution_spec.rb
|
458
441
|
- spec/models/deb_package_index_spec.rb
|
459
|
-
- spec/models/
|
442
|
+
- spec/models/deb_apt_distribution_response_spec.rb
|
460
443
|
- spec/models/deb_installer_package_spec.rb
|
461
|
-
- spec/models/
|
462
|
-
- spec/models/paginateddeb_package_response_list_spec.rb
|
444
|
+
- spec/models/paginateddeb_source_index_response_list_spec.rb
|
463
445
|
- spec/models/paginateddeb_apt_repository_response_list_spec.rb
|
446
|
+
- spec/models/deb_apt_remote_response_hidden_fields_spec.rb
|
464
447
|
- spec/models/deb_apt_repository_spec.rb
|
465
|
-
- spec/models/paginateddeb_source_package_release_component_response_list_spec.rb
|
466
|
-
- spec/models/deb_installer_file_index_response_spec.rb
|
467
448
|
- spec/models/paginateddeb_package_release_component_response_list_spec.rb
|
468
|
-
- spec/models/
|
469
|
-
- spec/models/
|
470
|
-
- spec/models/
|
471
|
-
- spec/models/
|
472
|
-
- spec/models/copy_spec.rb
|
473
|
-
- spec/models/paginateddeb_apt_remote_response_list_spec.rb
|
449
|
+
- spec/models/repair_spec.rb
|
450
|
+
- spec/models/deb_verbatim_publication_spec.rb
|
451
|
+
- spec/models/deb_apt_publication_spec.rb
|
452
|
+
- spec/models/apt_repository_sync_url_spec.rb
|
474
453
|
- spec/models/set_label_spec.rb
|
475
|
-
- spec/models/
|
476
|
-
- spec/models/deb_source_package_release_component_response_spec.rb
|
477
|
-
- spec/models/paginateddeb_installer_file_index_response_list_spec.rb
|
478
|
-
- spec/models/paginateddeb_release_architecture_response_list_spec.rb
|
479
|
-
- spec/models/deb_apt_remote_response_hidden_fields_spec.rb
|
454
|
+
- spec/models/patcheddeb_apt_remote_spec.rb
|
480
455
|
- spec/models/deb_package_index_response_spec.rb
|
481
|
-
- spec/models/
|
456
|
+
- spec/models/deb_installer_package_response_spec.rb
|
457
|
+
- spec/models/paginateddeb_source_package_response_list_spec.rb
|
458
|
+
- spec/models/paginated_repository_version_response_list_spec.rb
|
459
|
+
- spec/models/deb_release_response_spec.rb
|
460
|
+
- spec/models/paginateddeb_source_package_release_component_response_list_spec.rb
|
461
|
+
- spec/models/deb_apt_distribution_spec.rb
|
462
|
+
- spec/models/deb_source_package_response_spec.rb
|
463
|
+
- spec/models/paginateddeb_installer_file_index_response_list_spec.rb
|
464
|
+
- spec/models/paginateddeb_verbatim_publication_response_list_spec.rb
|
465
|
+
- spec/models/async_operation_response_spec.rb
|
466
|
+
- spec/models/deb_package_release_component_spec.rb
|
467
|
+
- spec/models/deb_source_package_release_component_response_spec.rb
|
468
|
+
- spec/models/deb_release_component_response_spec.rb
|
469
|
+
- spec/models/copy_spec.rb
|
470
|
+
- spec/models/deb_package_spec.rb
|
471
|
+
- spec/models/deb_release_file_spec.rb
|
472
|
+
- spec/models/deb_package_response_spec.rb
|
473
|
+
- spec/models/deb_apt_repository_response_spec.rb
|
474
|
+
- spec/models/deb_generic_content_response_spec.rb
|
475
|
+
- spec/models/deb_release_file_response_spec.rb
|
476
|
+
- spec/models/deb_installer_file_index_response_spec.rb
|
477
|
+
- spec/models/patcheddeb_apt_repository_spec.rb
|
478
|
+
- spec/models/paginateddeb_package_response_list_spec.rb
|
479
|
+
- spec/models/paginateddeb_release_response_list_spec.rb
|
480
|
+
- spec/models/paginateddeb_apt_distribution_response_list_spec.rb
|
481
|
+
- spec/models/unset_label_spec.rb
|
482
482
|
- spec/spec_helper.rb
|