pulp_rpm_client 3.23.6 → 3.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/docs/AcsRpmApi.md +1 -1
- data/docs/ContentAdvisoriesApi.md +5 -3
- data/docs/ContentDistributionTreesApi.md +1 -1
- data/docs/ContentModulemdDefaultsApi.md +1 -1
- data/docs/ContentModulemdObsoletesApi.md +1 -1
- data/docs/ContentModulemdsApi.md +1 -1
- data/docs/ContentPackagecategoriesApi.md +1 -1
- data/docs/ContentPackageenvironmentsApi.md +1 -1
- data/docs/ContentPackagegroupsApi.md +1 -1
- data/docs/ContentPackagelangpacksApi.md +1 -1
- data/docs/ContentPackagesApi.md +5 -5
- data/docs/ContentRepoMetadataFilesApi.md +1 -1
- data/docs/DistributionsRpmApi.md +1 -1
- data/docs/PatchedrpmRpmRepository.md +5 -3
- data/docs/PublicationsRpmApi.md +1 -1
- data/docs/RemotesRpmApi.md +1 -1
- data/docs/RemotesUlnApi.md +1 -1
- data/docs/RepositoriesRpmApi.md +1 -1
- data/docs/RepositoriesRpmVersionsApi.md +1 -1
- data/docs/RpmCompsApi.md +1 -1
- data/docs/RpmCopyApi.md +1 -1
- data/docs/RpmPackage.md +2 -2
- data/docs/RpmRpmPublication.md +5 -3
- data/docs/RpmRpmPublicationResponse.md +5 -3
- data/docs/RpmRpmRemoteResponseHiddenFields.md +2 -2
- data/docs/RpmRpmRepository.md +5 -3
- data/docs/RpmRpmRepositoryResponse.md +5 -3
- data/docs/RpmUpdateRecord.md +4 -2
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +5 -2
- data/lib/pulp_rpm_client/api/content_packages_api.rb +4 -4
- data/lib/pulp_rpm_client/configuration.rb +2 -2
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +18 -10
- data/lib/pulp_rpm_client/models/rpm_package.rb +2 -2
- data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +18 -6
- data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +18 -6
- data/lib/pulp_rpm_client/models/rpm_rpm_remote_response_hidden_fields.rb +0 -10
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +18 -10
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +18 -10
- data/lib/pulp_rpm_client/models/rpm_update_record.rb +15 -5
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/spec/api/content_advisories_api_spec.rb +2 -1
- data/spec/api/content_packages_api_spec.rb +2 -2
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/patchedrpm_rpm_repository_spec.rb +6 -0
- data/spec/models/rpm_rpm_publication_response_spec.rb +6 -0
- data/spec/models/rpm_rpm_publication_spec.rb +6 -0
- data/spec/models/rpm_rpm_repository_response_spec.rb +6 -0
- data/spec/models/rpm_rpm_repository_spec.rb +6 -0
- data/spec/models/rpm_update_record_spec.rb +6 -0
- metadata +97 -97
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 72962681e7b3a28ac9dce5d592bca967344f556dc9e52b7197fd89778f0d3434
|
4
|
+
data.tar.gz: e0c3b3ba221b6950f770f4cef75db1add2e00757dc4552baab87b2de82d657a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 053a36c9542e5cea7d379b1c266d51cdb7ffd9bf5419b0334f2629cdabb605ef8ef71329bfd97751f6087b29aba6dc35e4c7ed00283b0a3251b7af34cb6139db
|
7
|
+
data.tar.gz: f8740e3684c451ededa532081ecd692d2f1f135be9b2bb0d872766c299c6516917850f1eb3aea46c478bf9bf94eb960147577aee548a7bc76a4d9f63c9100bcc
|
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.24.0
|
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_rpm_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_rpm_client-3.
|
27
|
+
gem install ./pulp_rpm_client-3.24.0.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_rpm_client-3.
|
30
|
+
(for development, run `gem install --dev ./pulp_rpm_client-3.24.0.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_rpm_client', '~> 3.
|
36
|
+
gem 'pulp_rpm_client', '~> 3.24.0'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -80,7 +80,7 @@ end
|
|
80
80
|
|
81
81
|
## Documentation for API Endpoints
|
82
82
|
|
83
|
-
All URIs are relative to *http://
|
83
|
+
All URIs are relative to *http://pulp*
|
84
84
|
|
85
85
|
Class | Method | HTTP request | Description
|
86
86
|
------------ | ------------- | ------------- | -------------
|
data/docs/AcsRpmApi.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpRpmClient::ContentAdvisoriesApi
|
2
2
|
|
3
|
-
All URIs are relative to *http://
|
3
|
+
All URIs are relative to *http://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
@@ -33,7 +33,8 @@ end
|
|
33
33
|
api_instance = PulpRpmClient::ContentAdvisoriesApi.new
|
34
34
|
opts = {
|
35
35
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
36
|
-
file: File.new('/path/to/file') # File | An uploaded file that may be turned into the
|
36
|
+
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the content unit.
|
37
|
+
upload: 'upload_example' # String | An uncommitted upload that may be turned into the content unit.
|
37
38
|
}
|
38
39
|
|
39
40
|
begin
|
@@ -51,7 +52,8 @@ end
|
|
51
52
|
Name | Type | Description | Notes
|
52
53
|
------------- | ------------- | ------------- | -------------
|
53
54
|
**repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
|
54
|
-
**file** | **File**| An uploaded file that may be turned into the
|
55
|
+
**file** | **File**| An uploaded file that may be turned into the content unit. | [optional]
|
56
|
+
**upload** | **String**| An uncommitted upload that may be turned into the content unit. | [optional]
|
55
57
|
|
56
58
|
### Return type
|
57
59
|
|
data/docs/ContentModulemdsApi.md
CHANGED
data/docs/ContentPackagesApi.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpRpmClient::ContentPackagesApi
|
2
2
|
|
3
|
-
All URIs are relative to *http://
|
3
|
+
All URIs are relative to *http://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
@@ -35,8 +35,8 @@ opts = {
|
|
35
35
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
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
|
-
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the
|
39
|
-
upload: 'upload_example' # String | An uncommitted upload that may be turned into the
|
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.
|
40
40
|
}
|
41
41
|
|
42
42
|
begin
|
@@ -56,8 +56,8 @@ Name | Type | Description | Notes
|
|
56
56
|
**repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
|
57
57
|
**artifact** | **String**| Artifact file representing the physical content | [optional]
|
58
58
|
**relative_path** | **String**| Path where the artifact is located relative to distributions base_path | [optional]
|
59
|
-
**file** | **File**| An uploaded file that may be turned into the
|
60
|
-
**upload** | **String**| An uncommitted upload that may be turned into the
|
59
|
+
**file** | **File**| An uploaded file that may be turned into the content unit. | [optional]
|
60
|
+
**upload** | **String**| An uncommitted upload that may be turned into the content unit. | [optional]
|
61
61
|
|
62
62
|
### Return type
|
63
63
|
|
data/docs/DistributionsRpmApi.md
CHANGED
@@ -14,9 +14,10 @@ Name | Type | Description | Notes
|
|
14
14
|
**retain_package_versions** | **Integer** | The number of versions of each package to keep in the repository; older versions will be purged. The default is '0', which will disable this feature and keep all versions of each package. | [optional]
|
15
15
|
**metadata_checksum_type** | [**MetadataChecksumTypeEnum**](MetadataChecksumTypeEnum.md) | The checksum type for metadata. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
|
16
16
|
**package_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | The checksum type for packages. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
|
17
|
-
**gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on packages. | [optional]
|
18
|
-
**repo_gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on the repodata. | [optional]
|
17
|
+
**gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages. | [optional]
|
18
|
+
**repo_gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata. | [optional]
|
19
19
|
**sqlite_metadata** | **Boolean** | DEPRECATED: An option specifying whether Pulp should generate SQLite metadata. | [optional] [default to false]
|
20
|
+
**repo_config** | [**Object**](.md) | A JSON document describing config.repo file | [optional]
|
20
21
|
|
21
22
|
## Code Sample
|
22
23
|
|
@@ -35,7 +36,8 @@ instance = PulpRpmClient::PatchedrpmRpmRepository.new(pulp_labels: null,
|
|
35
36
|
package_checksum_type: null,
|
36
37
|
gpgcheck: null,
|
37
38
|
repo_gpgcheck: null,
|
38
|
-
sqlite_metadata: null
|
39
|
+
sqlite_metadata: null,
|
40
|
+
repo_config: null)
|
39
41
|
```
|
40
42
|
|
41
43
|
|
data/docs/PublicationsRpmApi.md
CHANGED
data/docs/RemotesRpmApi.md
CHANGED
data/docs/RemotesUlnApi.md
CHANGED
data/docs/RepositoriesRpmApi.md
CHANGED
data/docs/RpmCompsApi.md
CHANGED
data/docs/RpmCopyApi.md
CHANGED
data/docs/RpmPackage.md
CHANGED
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
|
|
7
7
|
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
8
8
|
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
9
9
|
**relative_path** | **String** | Path where the artifact is located relative to distributions base_path | [optional]
|
10
|
-
**file** | **File** | An uploaded file that may be turned into the
|
11
|
-
**upload** | **String** | An uncommitted upload that may be turned into the
|
10
|
+
**file** | **File** | An uploaded file that may be turned into the content unit. | [optional]
|
11
|
+
**upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional]
|
12
12
|
|
13
13
|
## Code Sample
|
14
14
|
|
data/docs/RpmRpmPublication.md
CHANGED
@@ -8,9 +8,10 @@ Name | Type | Description | Notes
|
|
8
8
|
**repository** | **String** | A URI of the repository to be published. | [optional]
|
9
9
|
**metadata_checksum_type** | [**MetadataChecksumTypeEnum**](MetadataChecksumTypeEnum.md) | The checksum type for metadata. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
|
10
10
|
**package_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | The checksum type for packages. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
|
11
|
-
**gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on packages. | [optional]
|
12
|
-
**repo_gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on the repodata. | [optional]
|
11
|
+
**gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages. | [optional]
|
12
|
+
**repo_gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata. | [optional]
|
13
13
|
**sqlite_metadata** | **Boolean** | DEPRECATED: An option specifying whether Pulp should generate SQLite metadata. | [optional] [default to false]
|
14
|
+
**repo_config** | [**Object**](.md) | A JSON document describing config.repo file | [optional]
|
14
15
|
|
15
16
|
## Code Sample
|
16
17
|
|
@@ -23,7 +24,8 @@ instance = PulpRpmClient::RpmRpmPublication.new(repository_version: null,
|
|
23
24
|
package_checksum_type: null,
|
24
25
|
gpgcheck: null,
|
25
26
|
repo_gpgcheck: null,
|
26
|
-
sqlite_metadata: null
|
27
|
+
sqlite_metadata: null,
|
28
|
+
repo_config: null)
|
27
29
|
```
|
28
30
|
|
29
31
|
|
@@ -10,9 +10,10 @@ Name | Type | Description | Notes
|
|
10
10
|
**repository** | **String** | A URI of the repository to be published. | [optional]
|
11
11
|
**metadata_checksum_type** | [**MetadataChecksumTypeEnum**](MetadataChecksumTypeEnum.md) | The checksum type for metadata. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
|
12
12
|
**package_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | The checksum type for packages. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
|
13
|
-
**gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on packages. | [optional]
|
14
|
-
**repo_gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on the repodata. | [optional]
|
13
|
+
**gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages. | [optional]
|
14
|
+
**repo_gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata. | [optional]
|
15
15
|
**sqlite_metadata** | **Boolean** | DEPRECATED: An option specifying whether Pulp should generate SQLite metadata. | [optional] [default to false]
|
16
|
+
**repo_config** | [**Object**](.md) | A JSON document describing config.repo file | [optional]
|
16
17
|
|
17
18
|
## Code Sample
|
18
19
|
|
@@ -27,7 +28,8 @@ instance = PulpRpmClient::RpmRpmPublicationResponse.new(pulp_href: null,
|
|
27
28
|
package_checksum_type: null,
|
28
29
|
gpgcheck: null,
|
29
30
|
repo_gpgcheck: null,
|
30
|
-
sqlite_metadata: null
|
31
|
+
sqlite_metadata: null,
|
32
|
+
repo_config: null)
|
31
33
|
```
|
32
34
|
|
33
35
|
|
@@ -4,8 +4,8 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**name** | **String** | |
|
8
|
-
**is_set** | **Boolean** | |
|
7
|
+
**name** | **String** | | [optional]
|
8
|
+
**is_set** | **Boolean** | | [optional]
|
9
9
|
|
10
10
|
## Code Sample
|
11
11
|
|
data/docs/RpmRpmRepository.md
CHANGED
@@ -14,9 +14,10 @@ Name | Type | Description | Notes
|
|
14
14
|
**retain_package_versions** | **Integer** | The number of versions of each package to keep in the repository; older versions will be purged. The default is '0', which will disable this feature and keep all versions of each package. | [optional]
|
15
15
|
**metadata_checksum_type** | [**MetadataChecksumTypeEnum**](MetadataChecksumTypeEnum.md) | The checksum type for metadata. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
|
16
16
|
**package_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | The checksum type for packages. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
|
17
|
-
**gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on packages. | [optional]
|
18
|
-
**repo_gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on the repodata. | [optional]
|
17
|
+
**gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages. | [optional]
|
18
|
+
**repo_gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata. | [optional]
|
19
19
|
**sqlite_metadata** | **Boolean** | DEPRECATED: An option specifying whether Pulp should generate SQLite metadata. | [optional] [default to false]
|
20
|
+
**repo_config** | [**Object**](.md) | A JSON document describing config.repo file | [optional]
|
20
21
|
|
21
22
|
## Code Sample
|
22
23
|
|
@@ -35,7 +36,8 @@ instance = PulpRpmClient::RpmRpmRepository.new(pulp_labels: null,
|
|
35
36
|
package_checksum_type: null,
|
36
37
|
gpgcheck: null,
|
37
38
|
repo_gpgcheck: null,
|
38
|
-
sqlite_metadata: null
|
39
|
+
sqlite_metadata: null,
|
40
|
+
repo_config: null)
|
39
41
|
```
|
40
42
|
|
41
43
|
|
@@ -18,9 +18,10 @@ Name | Type | Description | Notes
|
|
18
18
|
**retain_package_versions** | **Integer** | The number of versions of each package to keep in the repository; older versions will be purged. The default is '0', which will disable this feature and keep all versions of each package. | [optional]
|
19
19
|
**metadata_checksum_type** | [**MetadataChecksumTypeEnum**](MetadataChecksumTypeEnum.md) | The checksum type for metadata. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
|
20
20
|
**package_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | The checksum type for packages. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional]
|
21
|
-
**gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on packages. | [optional]
|
22
|
-
**repo_gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on the repodata. | [optional]
|
21
|
+
**gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages. | [optional]
|
22
|
+
**repo_gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata. | [optional]
|
23
23
|
**sqlite_metadata** | **Boolean** | DEPRECATED: An option specifying whether Pulp should generate SQLite metadata. | [optional] [default to false]
|
24
|
+
**repo_config** | [**Object**](.md) | A JSON document describing config.repo file | [optional]
|
24
25
|
|
25
26
|
## Code Sample
|
26
27
|
|
@@ -43,7 +44,8 @@ instance = PulpRpmClient::RpmRpmRepositoryResponse.new(pulp_href: null,
|
|
43
44
|
package_checksum_type: null,
|
44
45
|
gpgcheck: null,
|
45
46
|
repo_gpgcheck: null,
|
46
|
-
sqlite_metadata: null
|
47
|
+
sqlite_metadata: null,
|
48
|
+
repo_config: null)
|
47
49
|
```
|
48
50
|
|
49
51
|
|
data/docs/RpmUpdateRecord.md
CHANGED
@@ -5,7 +5,8 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
8
|
-
**file** | **File** | An uploaded file that may be turned into the
|
8
|
+
**file** | **File** | An uploaded file that may be turned into the content unit. | [optional]
|
9
|
+
**upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional]
|
9
10
|
|
10
11
|
## Code Sample
|
11
12
|
|
@@ -13,7 +14,8 @@ Name | Type | Description | Notes
|
|
13
14
|
require 'PulpRpmClient'
|
14
15
|
|
15
16
|
instance = PulpRpmClient::RpmUpdateRecord.new(repository: null,
|
16
|
-
file: null
|
17
|
+
file: null,
|
18
|
+
upload: null)
|
17
19
|
```
|
18
20
|
|
19
21
|
|
@@ -23,7 +23,8 @@ module PulpRpmClient
|
|
23
23
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
25
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
26
|
-
# @option opts [File] :file An uploaded file that may be turned into the
|
26
|
+
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
27
|
+
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
27
28
|
# @return [AsyncOperationResponse]
|
28
29
|
def create(opts = {})
|
29
30
|
data, _status_code, _headers = create_with_http_info(opts)
|
@@ -34,7 +35,8 @@ module PulpRpmClient
|
|
34
35
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
35
36
|
# @param [Hash] opts the optional parameters
|
36
37
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
37
|
-
# @option opts [File] :file An uploaded file that may be turned into the
|
38
|
+
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
39
|
+
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
38
40
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
39
41
|
def create_with_http_info(opts = {})
|
40
42
|
if @api_client.config.debugging
|
@@ -57,6 +59,7 @@ module PulpRpmClient
|
|
57
59
|
form_params = opts[:form_params] || {}
|
58
60
|
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
59
61
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
62
|
+
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
60
63
|
|
61
64
|
# http body (model)
|
62
65
|
post_body = opts[:body]
|
@@ -25,8 +25,8 @@ module PulpRpmClient
|
|
25
25
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
26
26
|
# @option opts [String] :artifact Artifact file representing the physical content
|
27
27
|
# @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path
|
28
|
-
# @option opts [File] :file An uploaded file that may be turned into the
|
29
|
-
# @option opts [String] :upload An uncommitted upload that may be turned into the
|
28
|
+
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
29
|
+
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
30
30
|
# @return [AsyncOperationResponse]
|
31
31
|
def create(opts = {})
|
32
32
|
data, _status_code, _headers = create_with_http_info(opts)
|
@@ -39,8 +39,8 @@ module PulpRpmClient
|
|
39
39
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
40
40
|
# @option opts [String] :artifact Artifact file representing the physical content
|
41
41
|
# @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path
|
42
|
-
# @option opts [File] :file An uploaded file that may be turned into the
|
43
|
-
# @option opts [String] :upload An uncommitted upload that may be turned into the
|
42
|
+
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
43
|
+
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
44
44
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
45
45
|
def create_with_http_info(opts = {})
|
46
46
|
if @api_client.config.debugging
|
@@ -128,7 +128,7 @@ module PulpRpmClient
|
|
128
128
|
|
129
129
|
def initialize
|
130
130
|
@scheme = 'http'
|
131
|
-
@host = '
|
131
|
+
@host = 'pulp'
|
132
132
|
@base_path = ''
|
133
133
|
@api_key = {}
|
134
134
|
@api_key_prefix = {}
|
@@ -210,7 +210,7 @@ module PulpRpmClient
|
|
210
210
|
def server_settings
|
211
211
|
[
|
212
212
|
{
|
213
|
-
url: "http://
|
213
|
+
url: "http://pulp/",
|
214
214
|
description: "No description provided",
|
215
215
|
}
|
216
216
|
]
|
@@ -44,15 +44,18 @@ module PulpRpmClient
|
|
44
44
|
# The checksum type for packages. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
|
45
45
|
attr_accessor :package_checksum_type
|
46
46
|
|
47
|
-
# An option specifying whether a client should perform a GPG signature check on packages.
|
47
|
+
# DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages.
|
48
48
|
attr_accessor :gpgcheck
|
49
49
|
|
50
|
-
# An option specifying whether a client should perform a GPG signature check on the repodata.
|
50
|
+
# DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata.
|
51
51
|
attr_accessor :repo_gpgcheck
|
52
52
|
|
53
53
|
# DEPRECATED: An option specifying whether Pulp should generate SQLite metadata.
|
54
54
|
attr_accessor :sqlite_metadata
|
55
55
|
|
56
|
+
# A JSON document describing config.repo file
|
57
|
+
attr_accessor :repo_config
|
58
|
+
|
56
59
|
# Attribute mapping from ruby-style variable name to JSON key.
|
57
60
|
def self.attribute_map
|
58
61
|
{
|
@@ -68,7 +71,8 @@ module PulpRpmClient
|
|
68
71
|
:'package_checksum_type' => :'package_checksum_type',
|
69
72
|
:'gpgcheck' => :'gpgcheck',
|
70
73
|
:'repo_gpgcheck' => :'repo_gpgcheck',
|
71
|
-
:'sqlite_metadata' => :'sqlite_metadata'
|
74
|
+
:'sqlite_metadata' => :'sqlite_metadata',
|
75
|
+
:'repo_config' => :'repo_config'
|
72
76
|
}
|
73
77
|
end
|
74
78
|
|
@@ -87,7 +91,8 @@ module PulpRpmClient
|
|
87
91
|
:'package_checksum_type' => :'PackageChecksumTypeEnum',
|
88
92
|
:'gpgcheck' => :'Integer',
|
89
93
|
:'repo_gpgcheck' => :'Integer',
|
90
|
-
:'sqlite_metadata' => :'Boolean'
|
94
|
+
:'sqlite_metadata' => :'Boolean',
|
95
|
+
:'repo_config' => :'Object'
|
91
96
|
}
|
92
97
|
end
|
93
98
|
|
@@ -100,6 +105,8 @@ module PulpRpmClient
|
|
100
105
|
:'metadata_signing_service',
|
101
106
|
:'metadata_checksum_type',
|
102
107
|
:'package_checksum_type',
|
108
|
+
:'gpgcheck',
|
109
|
+
:'repo_gpgcheck',
|
103
110
|
])
|
104
111
|
end
|
105
112
|
|
@@ -164,14 +171,10 @@ module PulpRpmClient
|
|
164
171
|
|
165
172
|
if attributes.key?(:'gpgcheck')
|
166
173
|
self.gpgcheck = attributes[:'gpgcheck']
|
167
|
-
else
|
168
|
-
self.gpgcheck = 0
|
169
174
|
end
|
170
175
|
|
171
176
|
if attributes.key?(:'repo_gpgcheck')
|
172
177
|
self.repo_gpgcheck = attributes[:'repo_gpgcheck']
|
173
|
-
else
|
174
|
-
self.repo_gpgcheck = 0
|
175
178
|
end
|
176
179
|
|
177
180
|
if attributes.key?(:'sqlite_metadata')
|
@@ -179,6 +182,10 @@ module PulpRpmClient
|
|
179
182
|
else
|
180
183
|
self.sqlite_metadata = false
|
181
184
|
end
|
185
|
+
|
186
|
+
if attributes.key?(:'repo_config')
|
187
|
+
self.repo_config = attributes[:'repo_config']
|
188
|
+
end
|
182
189
|
end
|
183
190
|
|
184
191
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -319,7 +326,8 @@ module PulpRpmClient
|
|
319
326
|
package_checksum_type == o.package_checksum_type &&
|
320
327
|
gpgcheck == o.gpgcheck &&
|
321
328
|
repo_gpgcheck == o.repo_gpgcheck &&
|
322
|
-
sqlite_metadata == o.sqlite_metadata
|
329
|
+
sqlite_metadata == o.sqlite_metadata &&
|
330
|
+
repo_config == o.repo_config
|
323
331
|
end
|
324
332
|
|
325
333
|
# @see the `==` method
|
@@ -331,7 +339,7 @@ module PulpRpmClient
|
|
331
339
|
# Calculates hash code according to all attributes.
|
332
340
|
# @return [Integer] Hash code
|
333
341
|
def hash
|
334
|
-
[pulp_labels, name, description, retain_repo_versions, remote, autopublish, metadata_signing_service, retain_package_versions, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata].hash
|
342
|
+
[pulp_labels, name, description, retain_repo_versions, remote, autopublish, metadata_signing_service, retain_package_versions, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata, repo_config].hash
|
335
343
|
end
|
336
344
|
|
337
345
|
# Builds the object from hash
|
@@ -24,10 +24,10 @@ module PulpRpmClient
|
|
24
24
|
# Path where the artifact is located relative to distributions base_path
|
25
25
|
attr_accessor :relative_path
|
26
26
|
|
27
|
-
# An uploaded file that may be turned into the
|
27
|
+
# An uploaded file that may be turned into the content unit.
|
28
28
|
attr_accessor :file
|
29
29
|
|
30
|
-
# An uncommitted upload that may be turned into the
|
30
|
+
# An uncommitted upload that may be turned into the content unit.
|
31
31
|
attr_accessor :upload
|
32
32
|
|
33
33
|
# Attribute mapping from ruby-style variable name to JSON key.
|