pulp_rpm_client 3.1.0 → 3.2.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 +5 -5
- data/docs/ContentAdvisoriesApi.md +6 -0
- data/docs/ContentModulemdDefaultsApi.md +8 -0
- data/docs/ContentModulemdsApi.md +8 -0
- data/docs/ContentPackagesApi.md +12 -0
- data/docs/RepositoriesRpmApi.md +2 -2
- data/docs/{RepositorySyncURL.md → RpmRepositorySyncURL.md} +5 -3
- data/docs/RpmRpmRemote.md +3 -3
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +9 -0
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +12 -0
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +12 -0
- data/lib/pulp_rpm_client/api/content_packages_api.rb +18 -0
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +2 -2
- data/lib/pulp_rpm_client/models/{repository_sync_url.rb → rpm_repository_sync_url.rb} +41 -7
- data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +3 -3
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/lib/pulp_rpm_client.rb +1 -1
- data/spec/api/content_advisories_api_spec.rb +3 -0
- data/spec/api/content_modulemd_defaults_api_spec.rb +4 -0
- data/spec/api/content_modulemds_api_spec.rb +4 -0
- data/spec/api/content_packages_api_spec.rb +6 -0
- data/spec/models/{repository_sync_url_spec.rb → rpm_repository_sync_url_spec.rb} +16 -6
- metadata +43 -43
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e3f6e7e66cc5d7d3c04cb7c9a83d49b2b4687caa0a3c5594300c442bb8dd0af4
|
4
|
+
data.tar.gz: 8c889f530923c7b84f3a959a642940fb85f7018effc9016922ab351f0c2d4d03
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6272c44f4633a51fc7881713ab94cfadd6de9162ba921874ef687db5f6834b21e3a67c6f15624c2800a511d47f6bc28e4e088f2e81835964e9ec94b9213bdd7
|
7
|
+
data.tar.gz: 2d04e9d7e7c5e8777b8a700287208037403b2b254f744fbfaefb670ab13ce34e33ab02fc6ea862172094c4c473641a62c02b287b2386f24731a3b71de5e63507
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
|
|
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.2.0
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
|
13
13
|
## Installation
|
@@ -23,16 +23,16 @@ gem build pulp_rpm_client.gemspec
|
|
23
23
|
Then either install the gem locally:
|
24
24
|
|
25
25
|
```shell
|
26
|
-
gem install ./pulp_rpm_client-3.
|
26
|
+
gem install ./pulp_rpm_client-3.2.0.gem
|
27
27
|
```
|
28
28
|
|
29
|
-
(for development, run `gem install --dev ./pulp_rpm_client-3.
|
29
|
+
(for development, run `gem install --dev ./pulp_rpm_client-3.2.0.gem` to install the development dependencies)
|
30
30
|
|
31
31
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
32
32
|
|
33
33
|
Finally add this to the Gemfile:
|
34
34
|
|
35
|
-
gem 'pulp_rpm_client', '~> 3.
|
35
|
+
gem 'pulp_rpm_client', '~> 3.2.0'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -170,7 +170,6 @@ Class | Method | HTTP request | Description
|
|
170
170
|
- [PulpRpmClient::InlineResponse2008](docs/InlineResponse2008.md)
|
171
171
|
- [PulpRpmClient::InlineResponse2009](docs/InlineResponse2009.md)
|
172
172
|
- [PulpRpmClient::RepositoryAddRemoveContent](docs/RepositoryAddRemoveContent.md)
|
173
|
-
- [PulpRpmClient::RepositorySyncURL](docs/RepositorySyncURL.md)
|
174
173
|
- [PulpRpmClient::RepositoryVersion](docs/RepositoryVersion.md)
|
175
174
|
- [PulpRpmClient::RpmDistributionTree](docs/RpmDistributionTree.md)
|
176
175
|
- [PulpRpmClient::RpmModulemd](docs/RpmModulemd.md)
|
@@ -181,6 +180,7 @@ Class | Method | HTTP request | Description
|
|
181
180
|
- [PulpRpmClient::RpmPackageGroup](docs/RpmPackageGroup.md)
|
182
181
|
- [PulpRpmClient::RpmPackageLangpacks](docs/RpmPackageLangpacks.md)
|
183
182
|
- [PulpRpmClient::RpmRepoMetadataFile](docs/RpmRepoMetadataFile.md)
|
183
|
+
- [PulpRpmClient::RpmRepositorySyncURL](docs/RpmRepositorySyncURL.md)
|
184
184
|
- [PulpRpmClient::RpmRpmDistribution](docs/RpmRpmDistribution.md)
|
185
185
|
- [PulpRpmClient::RpmRpmPublication](docs/RpmRpmPublication.md)
|
186
186
|
- [PulpRpmClient::RpmRpmRemote](docs/RpmRpmRemote.md)
|
@@ -97,10 +97,13 @@ opts = {
|
|
97
97
|
id__in: 'id__in_example', # String | Filter results where id is in a comma-separated list of values
|
98
98
|
status: 'status_example', # String | Filter results where status matches value
|
99
99
|
status__in: 'status__in_example', # String | Filter results where status is in a comma-separated list of values
|
100
|
+
status__ne: 'status__ne_example', # String | Filter results where status not equal to value
|
100
101
|
severity: 'severity_example', # String | Filter results where severity matches value
|
101
102
|
severity__in: 'severity__in_example', # String | Filter results where severity is in a comma-separated list of values
|
103
|
+
severity__ne: 'severity__ne_example', # String | Filter results where severity not equal to value
|
102
104
|
type: 'type_example', # String | Filter results where type matches value
|
103
105
|
type__in: 'type__in_example', # String | Filter results where type is in a comma-separated list of values
|
106
|
+
type__ne: 'type__ne_example', # String | Filter results where type not equal to value
|
104
107
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
105
108
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
106
109
|
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
@@ -128,10 +131,13 @@ Name | Type | Description | Notes
|
|
128
131
|
**id__in** | **String**| Filter results where id is in a comma-separated list of values | [optional]
|
129
132
|
**status** | **String**| Filter results where status matches value | [optional]
|
130
133
|
**status__in** | **String**| Filter results where status is in a comma-separated list of values | [optional]
|
134
|
+
**status__ne** | **String**| Filter results where status not equal to value | [optional]
|
131
135
|
**severity** | **String**| Filter results where severity matches value | [optional]
|
132
136
|
**severity__in** | **String**| Filter results where severity is in a comma-separated list of values | [optional]
|
137
|
+
**severity__ne** | **String**| Filter results where severity not equal to value | [optional]
|
133
138
|
**type** | **String**| Filter results where type matches value | [optional]
|
134
139
|
**type__in** | **String**| Filter results where type is in a comma-separated list of values | [optional]
|
140
|
+
**type__ne** | **String**| Filter results where type not equal to value | [optional]
|
135
141
|
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
136
142
|
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
137
143
|
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
@@ -99,6 +99,10 @@ end
|
|
99
99
|
|
100
100
|
api_instance = PulpRpmClient::ContentModulemdDefaultsApi.new
|
101
101
|
opts = {
|
102
|
+
_module: '_module_example', # String | Filter results where module matches value
|
103
|
+
module__in: 'module__in_example', # String | Filter results where module is in a comma-separated list of values
|
104
|
+
stream: 'stream_example', # String | Filter results where stream matches value
|
105
|
+
stream__in: 'stream__in_example', # String | Filter results where stream is in a comma-separated list of values
|
102
106
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
103
107
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
104
108
|
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
@@ -122,6 +126,10 @@ end
|
|
122
126
|
|
123
127
|
Name | Type | Description | Notes
|
124
128
|
------------- | ------------- | ------------- | -------------
|
129
|
+
**_module** | **String**| Filter results where module matches value | [optional]
|
130
|
+
**module__in** | **String**| Filter results where module is in a comma-separated list of values | [optional]
|
131
|
+
**stream** | **String**| Filter results where stream matches value | [optional]
|
132
|
+
**stream__in** | **String**| Filter results where stream is in a comma-separated list of values | [optional]
|
125
133
|
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
126
134
|
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
127
135
|
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
data/docs/ContentModulemdsApi.md
CHANGED
@@ -109,6 +109,10 @@ end
|
|
109
109
|
|
110
110
|
api_instance = PulpRpmClient::ContentModulemdsApi.new
|
111
111
|
opts = {
|
112
|
+
name: 'name_example', # String | Filter results where name matches value
|
113
|
+
name__in: 'name__in_example', # String | Filter results where name is in a comma-separated list of values
|
114
|
+
stream: 'stream_example', # String | Filter results where stream matches value
|
115
|
+
stream__in: 'stream__in_example', # String | Filter results where stream is in a comma-separated list of values
|
112
116
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
113
117
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
114
118
|
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
@@ -132,6 +136,10 @@ end
|
|
132
136
|
|
133
137
|
Name | Type | Description | Notes
|
134
138
|
------------- | ------------- | ------------- | -------------
|
139
|
+
**name** | **String**| Filter results where name matches value | [optional]
|
140
|
+
**name__in** | **String**| Filter results where name is in a comma-separated list of values | [optional]
|
141
|
+
**stream** | **String**| Filter results where stream matches value | [optional]
|
142
|
+
**stream__in** | **String**| Filter results where stream is in a comma-separated list of values | [optional]
|
135
143
|
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
136
144
|
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
137
145
|
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
data/docs/ContentPackagesApi.md
CHANGED
@@ -95,18 +95,24 @@ api_instance = PulpRpmClient::ContentPackagesApi.new
|
|
95
95
|
opts = {
|
96
96
|
name: 'name_example', # String | Filter results where name matches value
|
97
97
|
name__in: 'name__in_example', # String | Filter results where name is in a comma-separated list of values
|
98
|
+
name__ne: 'name__ne_example', # String | Filter results where name not equal to value
|
98
99
|
epoch: 'epoch_example', # String | Filter results where epoch matches value
|
99
100
|
epoch__in: 'epoch__in_example', # String | Filter results where epoch is in a comma-separated list of values
|
101
|
+
epoch__ne: 'epoch__ne_example', # String | Filter results where epoch not equal to value
|
100
102
|
version: 'version_example', # String | Filter results where version matches value
|
101
103
|
version__in: 'version__in_example', # String | Filter results where version is in a comma-separated list of values
|
104
|
+
version__ne: 'version__ne_example', # String | Filter results where version not equal to value
|
102
105
|
release: 'release_example', # String | Filter results where release matches value
|
103
106
|
release__in: 'release__in_example', # String | Filter results where release is in a comma-separated list of values
|
107
|
+
release__ne: 'release__ne_example', # String | Filter results where release not equal to value
|
104
108
|
arch: 'arch_example', # String | Filter results where arch matches value
|
105
109
|
arch__in: 'arch__in_example', # String | Filter results where arch is in a comma-separated list of values
|
110
|
+
arch__ne: 'arch__ne_example', # String | Filter results where arch not equal to value
|
106
111
|
pkg_id: 'pkg_id_example', # String | Filter results where pkgId matches value
|
107
112
|
pkg_id__in: 'pkg_id__in_example', # String | Filter results where pkgId is in a comma-separated list of values
|
108
113
|
checksum_type: 'checksum_type_example', # String | Filter results where checksum_type matches value
|
109
114
|
checksum_type__in: 'checksum_type__in_example', # String | Filter results where checksum_type is in a comma-separated list of values
|
115
|
+
checksum_type__ne: 'checksum_type__ne_example', # String | Filter results where checksum_type not equal to value
|
110
116
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
111
117
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
112
118
|
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
@@ -132,18 +138,24 @@ Name | Type | Description | Notes
|
|
132
138
|
------------- | ------------- | ------------- | -------------
|
133
139
|
**name** | **String**| Filter results where name matches value | [optional]
|
134
140
|
**name__in** | **String**| Filter results where name is in a comma-separated list of values | [optional]
|
141
|
+
**name__ne** | **String**| Filter results where name not equal to value | [optional]
|
135
142
|
**epoch** | **String**| Filter results where epoch matches value | [optional]
|
136
143
|
**epoch__in** | **String**| Filter results where epoch is in a comma-separated list of values | [optional]
|
144
|
+
**epoch__ne** | **String**| Filter results where epoch not equal to value | [optional]
|
137
145
|
**version** | **String**| Filter results where version matches value | [optional]
|
138
146
|
**version__in** | **String**| Filter results where version is in a comma-separated list of values | [optional]
|
147
|
+
**version__ne** | **String**| Filter results where version not equal to value | [optional]
|
139
148
|
**release** | **String**| Filter results where release matches value | [optional]
|
140
149
|
**release__in** | **String**| Filter results where release is in a comma-separated list of values | [optional]
|
150
|
+
**release__ne** | **String**| Filter results where release not equal to value | [optional]
|
141
151
|
**arch** | **String**| Filter results where arch matches value | [optional]
|
142
152
|
**arch__in** | **String**| Filter results where arch is in a comma-separated list of values | [optional]
|
153
|
+
**arch__ne** | **String**| Filter results where arch not equal to value | [optional]
|
143
154
|
**pkg_id** | **String**| Filter results where pkgId matches value | [optional]
|
144
155
|
**pkg_id__in** | **String**| Filter results where pkgId is in a comma-separated list of values | [optional]
|
145
156
|
**checksum_type** | **String**| Filter results where checksum_type matches value | [optional]
|
146
157
|
**checksum_type__in** | **String**| Filter results where checksum_type is in a comma-separated list of values | [optional]
|
158
|
+
**checksum_type__ne** | **String**| Filter results where checksum_type not equal to value | [optional]
|
147
159
|
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
148
160
|
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
149
161
|
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
data/docs/RepositoriesRpmApi.md
CHANGED
@@ -377,7 +377,7 @@ end
|
|
377
377
|
|
378
378
|
api_instance = PulpRpmClient::RepositoriesRpmApi.new
|
379
379
|
rpm_repository_href = 'rpm_repository_href_example' # String | URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/
|
380
|
-
data = PulpRpmClient::
|
380
|
+
data = PulpRpmClient::RpmRepositorySyncURL.new # RpmRepositorySyncURL |
|
381
381
|
|
382
382
|
begin
|
383
383
|
#Sync from remote
|
@@ -394,7 +394,7 @@ end
|
|
394
394
|
Name | Type | Description | Notes
|
395
395
|
------------- | ------------- | ------------- | -------------
|
396
396
|
**rpm_repository_href** | **String**| URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/ |
|
397
|
-
**data** | [**
|
397
|
+
**data** | [**RpmRepositorySyncURL**](RpmRepositorySyncURL.md)| |
|
398
398
|
|
399
399
|
### Return type
|
400
400
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# PulpRpmClient::
|
1
|
+
# PulpRpmClient::RpmRepositorySyncURL
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -6,14 +6,16 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**remote** | **String** | A URI of the repository to be synchronized. |
|
8
8
|
**mirror** | **Boolean** | If ``True``, synchronization will remove all content that is not present in the remote repository. If ``False``, sync will be additive only. | [optional] [default to false]
|
9
|
+
**skip_types** | **Array<String>** | List of content types to skip during sync. | [optional]
|
9
10
|
|
10
11
|
## Code Sample
|
11
12
|
|
12
13
|
```ruby
|
13
14
|
require 'PulpRpmClient'
|
14
15
|
|
15
|
-
instance = PulpRpmClient::
|
16
|
-
mirror: null
|
16
|
+
instance = PulpRpmClient::RpmRepositorySyncURL.new(remote: null,
|
17
|
+
mirror: null,
|
18
|
+
skip_types: null)
|
17
19
|
```
|
18
20
|
|
19
21
|
|
data/docs/RpmRpmRemote.md
CHANGED
@@ -8,9 +8,9 @@ Name | Type | Description | Notes
|
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
9
|
**name** | **String** | A unique name for this remote. |
|
10
10
|
**url** | **String** | The URL of an external content source. |
|
11
|
-
**ca_cert** | **String** | A string containing the PEM encoded CA certificate used to validate the server certificate presented by the remote server. All new line characters must be escaped. Returns SHA256
|
12
|
-
**client_cert** | **String** | A string containing the PEM encoded client certificate used for authentication. All new line characters must be escaped. Returns SHA256
|
13
|
-
**client_key** | **String** | A PEM encoded private key used for authentication. Returns SHA256
|
11
|
+
**ca_cert** | **String** | A string containing the PEM encoded CA certificate used to validate the server certificate presented by the remote server. All new line characters must be escaped. Returns SHA256 checksum of the certificate file on GET. | [optional]
|
12
|
+
**client_cert** | **String** | A string containing the PEM encoded client certificate used for authentication. All new line characters must be escaped. Returns SHA256 checksum of the certificate file on GET. | [optional]
|
13
|
+
**client_key** | **String** | A PEM encoded private key used for authentication. Returns SHA256 checksum of the certificate file on GET. | [optional]
|
14
14
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
15
15
|
**proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
|
16
16
|
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
@@ -104,10 +104,13 @@ module PulpRpmClient
|
|
104
104
|
# @option opts [String] :id__in Filter results where id is in a comma-separated list of values
|
105
105
|
# @option opts [String] :status Filter results where status matches value
|
106
106
|
# @option opts [String] :status__in Filter results where status is in a comma-separated list of values
|
107
|
+
# @option opts [String] :status__ne Filter results where status not equal to value
|
107
108
|
# @option opts [String] :severity Filter results where severity matches value
|
108
109
|
# @option opts [String] :severity__in Filter results where severity is in a comma-separated list of values
|
110
|
+
# @option opts [String] :severity__ne Filter results where severity not equal to value
|
109
111
|
# @option opts [String] :type Filter results where type matches value
|
110
112
|
# @option opts [String] :type__in Filter results where type is in a comma-separated list of values
|
113
|
+
# @option opts [String] :type__ne Filter results where type not equal to value
|
111
114
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
112
115
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
113
116
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -128,10 +131,13 @@ module PulpRpmClient
|
|
128
131
|
# @option opts [String] :id__in Filter results where id is in a comma-separated list of values
|
129
132
|
# @option opts [String] :status Filter results where status matches value
|
130
133
|
# @option opts [String] :status__in Filter results where status is in a comma-separated list of values
|
134
|
+
# @option opts [String] :status__ne Filter results where status not equal to value
|
131
135
|
# @option opts [String] :severity Filter results where severity matches value
|
132
136
|
# @option opts [String] :severity__in Filter results where severity is in a comma-separated list of values
|
137
|
+
# @option opts [String] :severity__ne Filter results where severity not equal to value
|
133
138
|
# @option opts [String] :type Filter results where type matches value
|
134
139
|
# @option opts [String] :type__in Filter results where type is in a comma-separated list of values
|
140
|
+
# @option opts [String] :type__ne Filter results where type not equal to value
|
135
141
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
136
142
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
137
143
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -153,10 +159,13 @@ module PulpRpmClient
|
|
153
159
|
query_params[:'id__in'] = opts[:'id__in'] if !opts[:'id__in'].nil?
|
154
160
|
query_params[:'status'] = opts[:'status'] if !opts[:'status'].nil?
|
155
161
|
query_params[:'status__in'] = opts[:'status__in'] if !opts[:'status__in'].nil?
|
162
|
+
query_params[:'status__ne'] = opts[:'status__ne'] if !opts[:'status__ne'].nil?
|
156
163
|
query_params[:'severity'] = opts[:'severity'] if !opts[:'severity'].nil?
|
157
164
|
query_params[:'severity__in'] = opts[:'severity__in'] if !opts[:'severity__in'].nil?
|
165
|
+
query_params[:'severity__ne'] = opts[:'severity__ne'] if !opts[:'severity__ne'].nil?
|
158
166
|
query_params[:'type'] = opts[:'type'] if !opts[:'type'].nil?
|
159
167
|
query_params[:'type__in'] = opts[:'type__in'] if !opts[:'type__in'].nil?
|
168
|
+
query_params[:'type__ne'] = opts[:'type__ne'] if !opts[:'type__ne'].nil?
|
160
169
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
161
170
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
162
171
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
@@ -129,6 +129,10 @@ module PulpRpmClient
|
|
129
129
|
# List modulemd defaultss
|
130
130
|
# ViewSet for Modulemd.
|
131
131
|
# @param [Hash] opts the optional parameters
|
132
|
+
# @option opts [String] :_module Filter results where module matches value
|
133
|
+
# @option opts [String] :module__in Filter results where module is in a comma-separated list of values
|
134
|
+
# @option opts [String] :stream Filter results where stream matches value
|
135
|
+
# @option opts [String] :stream__in Filter results where stream is in a comma-separated list of values
|
132
136
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
133
137
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
134
138
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -145,6 +149,10 @@ module PulpRpmClient
|
|
145
149
|
# List modulemd defaultss
|
146
150
|
# ViewSet for Modulemd.
|
147
151
|
# @param [Hash] opts the optional parameters
|
152
|
+
# @option opts [String] :_module Filter results where module matches value
|
153
|
+
# @option opts [String] :module__in Filter results where module is in a comma-separated list of values
|
154
|
+
# @option opts [String] :stream Filter results where stream matches value
|
155
|
+
# @option opts [String] :stream__in Filter results where stream is in a comma-separated list of values
|
148
156
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
149
157
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
150
158
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -162,6 +170,10 @@ module PulpRpmClient
|
|
162
170
|
|
163
171
|
# query parameters
|
164
172
|
query_params = opts[:query_params] || {}
|
173
|
+
query_params[:'module'] = opts[:'_module'] if !opts[:'_module'].nil?
|
174
|
+
query_params[:'module__in'] = opts[:'module__in'] if !opts[:'module__in'].nil?
|
175
|
+
query_params[:'stream'] = opts[:'stream'] if !opts[:'stream'].nil?
|
176
|
+
query_params[:'stream__in'] = opts[:'stream__in'] if !opts[:'stream__in'].nil?
|
165
177
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
166
178
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
167
179
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
@@ -172,6 +172,10 @@ module PulpRpmClient
|
|
172
172
|
# List modulemds
|
173
173
|
# ViewSet for Modulemd.
|
174
174
|
# @param [Hash] opts the optional parameters
|
175
|
+
# @option opts [String] :name Filter results where name matches value
|
176
|
+
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
177
|
+
# @option opts [String] :stream Filter results where stream matches value
|
178
|
+
# @option opts [String] :stream__in Filter results where stream is in a comma-separated list of values
|
175
179
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
176
180
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
177
181
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -188,6 +192,10 @@ module PulpRpmClient
|
|
188
192
|
# List modulemds
|
189
193
|
# ViewSet for Modulemd.
|
190
194
|
# @param [Hash] opts the optional parameters
|
195
|
+
# @option opts [String] :name Filter results where name matches value
|
196
|
+
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
197
|
+
# @option opts [String] :stream Filter results where stream matches value
|
198
|
+
# @option opts [String] :stream__in Filter results where stream is in a comma-separated list of values
|
191
199
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
192
200
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
193
201
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -205,6 +213,10 @@ module PulpRpmClient
|
|
205
213
|
|
206
214
|
# query parameters
|
207
215
|
query_params = opts[:query_params] || {}
|
216
|
+
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
217
|
+
query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
|
218
|
+
query_params[:'stream'] = opts[:'stream'] if !opts[:'stream'].nil?
|
219
|
+
query_params[:'stream__in'] = opts[:'stream__in'] if !opts[:'stream__in'].nil?
|
208
220
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
209
221
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
210
222
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
@@ -102,18 +102,24 @@ module PulpRpmClient
|
|
102
102
|
# @param [Hash] opts the optional parameters
|
103
103
|
# @option opts [String] :name Filter results where name matches value
|
104
104
|
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
105
|
+
# @option opts [String] :name__ne Filter results where name not equal to value
|
105
106
|
# @option opts [String] :epoch Filter results where epoch matches value
|
106
107
|
# @option opts [String] :epoch__in Filter results where epoch is in a comma-separated list of values
|
108
|
+
# @option opts [String] :epoch__ne Filter results where epoch not equal to value
|
107
109
|
# @option opts [String] :version Filter results where version matches value
|
108
110
|
# @option opts [String] :version__in Filter results where version is in a comma-separated list of values
|
111
|
+
# @option opts [String] :version__ne Filter results where version not equal to value
|
109
112
|
# @option opts [String] :release Filter results where release matches value
|
110
113
|
# @option opts [String] :release__in Filter results where release is in a comma-separated list of values
|
114
|
+
# @option opts [String] :release__ne Filter results where release not equal to value
|
111
115
|
# @option opts [String] :arch Filter results where arch matches value
|
112
116
|
# @option opts [String] :arch__in Filter results where arch is in a comma-separated list of values
|
117
|
+
# @option opts [String] :arch__ne Filter results where arch not equal to value
|
113
118
|
# @option opts [String] :pkg_id Filter results where pkgId matches value
|
114
119
|
# @option opts [String] :pkg_id__in Filter results where pkgId is in a comma-separated list of values
|
115
120
|
# @option opts [String] :checksum_type Filter results where checksum_type matches value
|
116
121
|
# @option opts [String] :checksum_type__in Filter results where checksum_type is in a comma-separated list of values
|
122
|
+
# @option opts [String] :checksum_type__ne Filter results where checksum_type not equal to value
|
117
123
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
118
124
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
119
125
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -132,18 +138,24 @@ module PulpRpmClient
|
|
132
138
|
# @param [Hash] opts the optional parameters
|
133
139
|
# @option opts [String] :name Filter results where name matches value
|
134
140
|
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
141
|
+
# @option opts [String] :name__ne Filter results where name not equal to value
|
135
142
|
# @option opts [String] :epoch Filter results where epoch matches value
|
136
143
|
# @option opts [String] :epoch__in Filter results where epoch is in a comma-separated list of values
|
144
|
+
# @option opts [String] :epoch__ne Filter results where epoch not equal to value
|
137
145
|
# @option opts [String] :version Filter results where version matches value
|
138
146
|
# @option opts [String] :version__in Filter results where version is in a comma-separated list of values
|
147
|
+
# @option opts [String] :version__ne Filter results where version not equal to value
|
139
148
|
# @option opts [String] :release Filter results where release matches value
|
140
149
|
# @option opts [String] :release__in Filter results where release is in a comma-separated list of values
|
150
|
+
# @option opts [String] :release__ne Filter results where release not equal to value
|
141
151
|
# @option opts [String] :arch Filter results where arch matches value
|
142
152
|
# @option opts [String] :arch__in Filter results where arch is in a comma-separated list of values
|
153
|
+
# @option opts [String] :arch__ne Filter results where arch not equal to value
|
143
154
|
# @option opts [String] :pkg_id Filter results where pkgId matches value
|
144
155
|
# @option opts [String] :pkg_id__in Filter results where pkgId is in a comma-separated list of values
|
145
156
|
# @option opts [String] :checksum_type Filter results where checksum_type matches value
|
146
157
|
# @option opts [String] :checksum_type__in Filter results where checksum_type is in a comma-separated list of values
|
158
|
+
# @option opts [String] :checksum_type__ne Filter results where checksum_type not equal to value
|
147
159
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
148
160
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
149
161
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -163,18 +175,24 @@ module PulpRpmClient
|
|
163
175
|
query_params = opts[:query_params] || {}
|
164
176
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
165
177
|
query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
|
178
|
+
query_params[:'name__ne'] = opts[:'name__ne'] if !opts[:'name__ne'].nil?
|
166
179
|
query_params[:'epoch'] = opts[:'epoch'] if !opts[:'epoch'].nil?
|
167
180
|
query_params[:'epoch__in'] = opts[:'epoch__in'] if !opts[:'epoch__in'].nil?
|
181
|
+
query_params[:'epoch__ne'] = opts[:'epoch__ne'] if !opts[:'epoch__ne'].nil?
|
168
182
|
query_params[:'version'] = opts[:'version'] if !opts[:'version'].nil?
|
169
183
|
query_params[:'version__in'] = opts[:'version__in'] if !opts[:'version__in'].nil?
|
184
|
+
query_params[:'version__ne'] = opts[:'version__ne'] if !opts[:'version__ne'].nil?
|
170
185
|
query_params[:'release'] = opts[:'release'] if !opts[:'release'].nil?
|
171
186
|
query_params[:'release__in'] = opts[:'release__in'] if !opts[:'release__in'].nil?
|
187
|
+
query_params[:'release__ne'] = opts[:'release__ne'] if !opts[:'release__ne'].nil?
|
172
188
|
query_params[:'arch'] = opts[:'arch'] if !opts[:'arch'].nil?
|
173
189
|
query_params[:'arch__in'] = opts[:'arch__in'] if !opts[:'arch__in'].nil?
|
190
|
+
query_params[:'arch__ne'] = opts[:'arch__ne'] if !opts[:'arch__ne'].nil?
|
174
191
|
query_params[:'pkgId'] = opts[:'pkg_id'] if !opts[:'pkg_id'].nil?
|
175
192
|
query_params[:'pkgId__in'] = opts[:'pkg_id__in'] if !opts[:'pkg_id__in'].nil?
|
176
193
|
query_params[:'checksum_type'] = opts[:'checksum_type'] if !opts[:'checksum_type'].nil?
|
177
194
|
query_params[:'checksum_type__in'] = opts[:'checksum_type__in'] if !opts[:'checksum_type__in'].nil?
|
195
|
+
query_params[:'checksum_type__ne'] = opts[:'checksum_type__ne'] if !opts[:'checksum_type__ne'].nil?
|
178
196
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
179
197
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
180
198
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
@@ -430,7 +430,7 @@ module PulpRpmClient
|
|
430
430
|
# Sync from remote
|
431
431
|
# Trigger an asynchronous task to sync RPM content.
|
432
432
|
# @param rpm_repository_href [String] URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/
|
433
|
-
# @param data [
|
433
|
+
# @param data [RpmRepositorySyncURL]
|
434
434
|
# @param [Hash] opts the optional parameters
|
435
435
|
# @return [AsyncOperationResponse]
|
436
436
|
def sync(rpm_repository_href, data, opts = {})
|
@@ -441,7 +441,7 @@ module PulpRpmClient
|
|
441
441
|
# Sync from remote
|
442
442
|
# Trigger an asynchronous task to sync RPM content.
|
443
443
|
# @param rpm_repository_href [String] URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/
|
444
|
-
# @param data [
|
444
|
+
# @param data [RpmRepositorySyncURL]
|
445
445
|
# @param [Hash] opts the optional parameters
|
446
446
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
447
447
|
def sync_with_http_info(rpm_repository_href, data, opts = {})
|
@@ -13,18 +13,44 @@ OpenAPI Generator version: 4.2.2
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpRpmClient
|
16
|
-
class
|
16
|
+
class RpmRepositorySyncURL
|
17
17
|
# A URI of the repository to be synchronized.
|
18
18
|
attr_accessor :remote
|
19
19
|
|
20
20
|
# If ``True``, synchronization will remove all content that is not present in the remote repository. If ``False``, sync will be additive only.
|
21
21
|
attr_accessor :mirror
|
22
22
|
|
23
|
+
# List of content types to skip during sync.
|
24
|
+
attr_accessor :skip_types
|
25
|
+
|
26
|
+
class EnumAttributeValidator
|
27
|
+
attr_reader :datatype
|
28
|
+
attr_reader :allowable_values
|
29
|
+
|
30
|
+
def initialize(datatype, allowable_values)
|
31
|
+
@allowable_values = allowable_values.map do |value|
|
32
|
+
case datatype.to_s
|
33
|
+
when /Integer/i
|
34
|
+
value.to_i
|
35
|
+
when /Float/i
|
36
|
+
value.to_f
|
37
|
+
else
|
38
|
+
value
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
def valid?(value)
|
44
|
+
!value || allowable_values.include?(value)
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
23
48
|
# Attribute mapping from ruby-style variable name to JSON key.
|
24
49
|
def self.attribute_map
|
25
50
|
{
|
26
51
|
:'remote' => :'remote',
|
27
|
-
:'mirror' => :'mirror'
|
52
|
+
:'mirror' => :'mirror',
|
53
|
+
:'skip_types' => :'skip_types'
|
28
54
|
}
|
29
55
|
end
|
30
56
|
|
@@ -32,7 +58,8 @@ module PulpRpmClient
|
|
32
58
|
def self.openapi_types
|
33
59
|
{
|
34
60
|
:'remote' => :'String',
|
35
|
-
:'mirror' => :'Boolean'
|
61
|
+
:'mirror' => :'Boolean',
|
62
|
+
:'skip_types' => :'Array<String>'
|
36
63
|
}
|
37
64
|
end
|
38
65
|
|
@@ -46,13 +73,13 @@ module PulpRpmClient
|
|
46
73
|
# @param [Hash] attributes Model attributes in the form of hash
|
47
74
|
def initialize(attributes = {})
|
48
75
|
if (!attributes.is_a?(Hash))
|
49
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::
|
76
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::RpmRepositorySyncURL` initialize method"
|
50
77
|
end
|
51
78
|
|
52
79
|
# check to see if the attribute exists and convert string to symbol for hash key
|
53
80
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
54
81
|
if (!self.class.attribute_map.key?(k.to_sym))
|
55
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::
|
82
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::RpmRepositorySyncURL`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
56
83
|
end
|
57
84
|
h[k.to_sym] = v
|
58
85
|
}
|
@@ -66,6 +93,12 @@ module PulpRpmClient
|
|
66
93
|
else
|
67
94
|
self.mirror = false
|
68
95
|
end
|
96
|
+
|
97
|
+
if attributes.key?(:'skip_types')
|
98
|
+
if (value = attributes[:'skip_types']).is_a?(Array)
|
99
|
+
self.skip_types = value
|
100
|
+
end
|
101
|
+
end
|
69
102
|
end
|
70
103
|
|
71
104
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -92,7 +125,8 @@ module PulpRpmClient
|
|
92
125
|
return true if self.equal?(o)
|
93
126
|
self.class == o.class &&
|
94
127
|
remote == o.remote &&
|
95
|
-
mirror == o.mirror
|
128
|
+
mirror == o.mirror &&
|
129
|
+
skip_types == o.skip_types
|
96
130
|
end
|
97
131
|
|
98
132
|
# @see the `==` method
|
@@ -104,7 +138,7 @@ module PulpRpmClient
|
|
104
138
|
# Calculates hash code according to all attributes.
|
105
139
|
# @return [Integer] Hash code
|
106
140
|
def hash
|
107
|
-
[remote, mirror].hash
|
141
|
+
[remote, mirror, skip_types].hash
|
108
142
|
end
|
109
143
|
|
110
144
|
# Builds the object from hash
|
@@ -25,13 +25,13 @@ module PulpRpmClient
|
|
25
25
|
# The URL of an external content source.
|
26
26
|
attr_accessor :url
|
27
27
|
|
28
|
-
# A string containing the PEM encoded CA certificate used to validate the server certificate presented by the remote server. All new line characters must be escaped. Returns SHA256
|
28
|
+
# A string containing the PEM encoded CA certificate used to validate the server certificate presented by the remote server. All new line characters must be escaped. Returns SHA256 checksum of the certificate file on GET.
|
29
29
|
attr_accessor :ca_cert
|
30
30
|
|
31
|
-
# A string containing the PEM encoded client certificate used for authentication. All new line characters must be escaped. Returns SHA256
|
31
|
+
# A string containing the PEM encoded client certificate used for authentication. All new line characters must be escaped. Returns SHA256 checksum of the certificate file on GET.
|
32
32
|
attr_accessor :client_cert
|
33
33
|
|
34
|
-
# A PEM encoded private key used for authentication. Returns SHA256
|
34
|
+
# A PEM encoded private key used for authentication. Returns SHA256 checksum of the certificate file on GET.
|
35
35
|
attr_accessor :client_key
|
36
36
|
|
37
37
|
# If True, TLS peer validation must be performed.
|
data/lib/pulp_rpm_client.rb
CHANGED
@@ -39,7 +39,6 @@ require 'pulp_rpm_client/models/inline_response2007'
|
|
39
39
|
require 'pulp_rpm_client/models/inline_response2008'
|
40
40
|
require 'pulp_rpm_client/models/inline_response2009'
|
41
41
|
require 'pulp_rpm_client/models/repository_add_remove_content'
|
42
|
-
require 'pulp_rpm_client/models/repository_sync_url'
|
43
42
|
require 'pulp_rpm_client/models/repository_version'
|
44
43
|
require 'pulp_rpm_client/models/rpm_distribution_tree'
|
45
44
|
require 'pulp_rpm_client/models/rpm_modulemd'
|
@@ -50,6 +49,7 @@ require 'pulp_rpm_client/models/rpm_package_environment'
|
|
50
49
|
require 'pulp_rpm_client/models/rpm_package_group'
|
51
50
|
require 'pulp_rpm_client/models/rpm_package_langpacks'
|
52
51
|
require 'pulp_rpm_client/models/rpm_repo_metadata_file'
|
52
|
+
require 'pulp_rpm_client/models/rpm_repository_sync_url'
|
53
53
|
require 'pulp_rpm_client/models/rpm_rpm_distribution'
|
54
54
|
require 'pulp_rpm_client/models/rpm_rpm_publication'
|
55
55
|
require 'pulp_rpm_client/models/rpm_rpm_remote'
|
@@ -55,10 +55,13 @@ describe 'ContentAdvisoriesApi' do
|
|
55
55
|
# @option opts [String] :id__in Filter results where id is in a comma-separated list of values
|
56
56
|
# @option opts [String] :status Filter results where status matches value
|
57
57
|
# @option opts [String] :status__in Filter results where status is in a comma-separated list of values
|
58
|
+
# @option opts [String] :status__ne Filter results where status not equal to value
|
58
59
|
# @option opts [String] :severity Filter results where severity matches value
|
59
60
|
# @option opts [String] :severity__in Filter results where severity is in a comma-separated list of values
|
61
|
+
# @option opts [String] :severity__ne Filter results where severity not equal to value
|
60
62
|
# @option opts [String] :type Filter results where type matches value
|
61
63
|
# @option opts [String] :type__in Filter results where type is in a comma-separated list of values
|
64
|
+
# @option opts [String] :type__ne Filter results where type not equal to value
|
62
65
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
63
66
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
64
67
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -54,6 +54,10 @@ describe 'ContentModulemdDefaultsApi' do
|
|
54
54
|
# List modulemd defaultss
|
55
55
|
# ViewSet for Modulemd.
|
56
56
|
# @param [Hash] opts the optional parameters
|
57
|
+
# @option opts [String] :_module Filter results where module matches value
|
58
|
+
# @option opts [String] :module__in Filter results where module is in a comma-separated list of values
|
59
|
+
# @option opts [String] :stream Filter results where stream matches value
|
60
|
+
# @option opts [String] :stream__in Filter results where stream is in a comma-separated list of values
|
57
61
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
58
62
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
59
63
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -59,6 +59,10 @@ describe 'ContentModulemdsApi' do
|
|
59
59
|
# List modulemds
|
60
60
|
# ViewSet for Modulemd.
|
61
61
|
# @param [Hash] opts the optional parameters
|
62
|
+
# @option opts [String] :name Filter results where name matches value
|
63
|
+
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
64
|
+
# @option opts [String] :stream Filter results where stream matches value
|
65
|
+
# @option opts [String] :stream__in Filter results where stream is in a comma-separated list of values
|
62
66
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
63
67
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
64
68
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -53,18 +53,24 @@ describe 'ContentPackagesApi' do
|
|
53
53
|
# @param [Hash] opts the optional parameters
|
54
54
|
# @option opts [String] :name Filter results where name matches value
|
55
55
|
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
56
|
+
# @option opts [String] :name__ne Filter results where name not equal to value
|
56
57
|
# @option opts [String] :epoch Filter results where epoch matches value
|
57
58
|
# @option opts [String] :epoch__in Filter results where epoch is in a comma-separated list of values
|
59
|
+
# @option opts [String] :epoch__ne Filter results where epoch not equal to value
|
58
60
|
# @option opts [String] :version Filter results where version matches value
|
59
61
|
# @option opts [String] :version__in Filter results where version is in a comma-separated list of values
|
62
|
+
# @option opts [String] :version__ne Filter results where version not equal to value
|
60
63
|
# @option opts [String] :release Filter results where release matches value
|
61
64
|
# @option opts [String] :release__in Filter results where release is in a comma-separated list of values
|
65
|
+
# @option opts [String] :release__ne Filter results where release not equal to value
|
62
66
|
# @option opts [String] :arch Filter results where arch matches value
|
63
67
|
# @option opts [String] :arch__in Filter results where arch is in a comma-separated list of values
|
68
|
+
# @option opts [String] :arch__ne Filter results where arch not equal to value
|
64
69
|
# @option opts [String] :pkg_id Filter results where pkgId matches value
|
65
70
|
# @option opts [String] :pkg_id__in Filter results where pkgId is in a comma-separated list of values
|
66
71
|
# @option opts [String] :checksum_type Filter results where checksum_type matches value
|
67
72
|
# @option opts [String] :checksum_type__in Filter results where checksum_type is in a comma-separated list of values
|
73
|
+
# @option opts [String] :checksum_type__ne Filter results where checksum_type not equal to value
|
68
74
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
69
75
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
70
76
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -14,22 +14,22 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for PulpRpmClient::
|
17
|
+
# Unit tests for PulpRpmClient::RpmRepositorySyncURL
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe '
|
20
|
+
describe 'RpmRepositorySyncURL' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance = PulpRpmClient::
|
23
|
+
@instance = PulpRpmClient::RpmRepositorySyncURL.new
|
24
24
|
end
|
25
25
|
|
26
26
|
after do
|
27
27
|
# run after each test
|
28
28
|
end
|
29
29
|
|
30
|
-
describe 'test an instance of
|
31
|
-
it 'should create an instance of
|
32
|
-
expect(@instance).to be_instance_of(PulpRpmClient::
|
30
|
+
describe 'test an instance of RpmRepositorySyncURL' do
|
31
|
+
it 'should create an instance of RpmRepositorySyncURL' do
|
32
|
+
expect(@instance).to be_instance_of(PulpRpmClient::RpmRepositorySyncURL)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
describe 'test attribute "remote"' do
|
@@ -44,4 +44,14 @@ describe 'RepositorySyncURL' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
+
describe 'test attribute "skip_types"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('Array<String>', ["srpm"])
|
51
|
+
# validator.allowable_values.each do |value|
|
52
|
+
# expect { @instance.skip_types = value }.not_to raise_error
|
53
|
+
# end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
47
57
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulp_rpm_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-02
|
11
|
+
date: 2020-03-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -111,7 +111,6 @@ files:
|
|
111
111
|
- docs/RepositoriesRpmApi.md
|
112
112
|
- docs/RepositoriesRpmVersionsApi.md
|
113
113
|
- docs/RepositoryAddRemoveContent.md
|
114
|
-
- docs/RepositorySyncURL.md
|
115
114
|
- docs/RepositoryVersion.md
|
116
115
|
- docs/RpmDistributionTree.md
|
117
116
|
- docs/RpmModulemd.md
|
@@ -122,6 +121,7 @@ files:
|
|
122
121
|
- docs/RpmPackageGroup.md
|
123
122
|
- docs/RpmPackageLangpacks.md
|
124
123
|
- docs/RpmRepoMetadataFile.md
|
124
|
+
- docs/RpmRepositorySyncURL.md
|
125
125
|
- docs/RpmRpmDistribution.md
|
126
126
|
- docs/RpmRpmPublication.md
|
127
127
|
- docs/RpmRpmRemote.md
|
@@ -171,7 +171,6 @@ files:
|
|
171
171
|
- lib/pulp_rpm_client/models/inline_response2008.rb
|
172
172
|
- lib/pulp_rpm_client/models/inline_response2009.rb
|
173
173
|
- lib/pulp_rpm_client/models/repository_add_remove_content.rb
|
174
|
-
- lib/pulp_rpm_client/models/repository_sync_url.rb
|
175
174
|
- lib/pulp_rpm_client/models/repository_version.rb
|
176
175
|
- lib/pulp_rpm_client/models/rpm_distribution_tree.rb
|
177
176
|
- lib/pulp_rpm_client/models/rpm_modulemd.rb
|
@@ -182,6 +181,7 @@ files:
|
|
182
181
|
- lib/pulp_rpm_client/models/rpm_package_group.rb
|
183
182
|
- lib/pulp_rpm_client/models/rpm_package_langpacks.rb
|
184
183
|
- lib/pulp_rpm_client/models/rpm_repo_metadata_file.rb
|
184
|
+
- lib/pulp_rpm_client/models/rpm_repository_sync_url.rb
|
185
185
|
- lib/pulp_rpm_client/models/rpm_rpm_distribution.rb
|
186
186
|
- lib/pulp_rpm_client/models/rpm_rpm_publication.rb
|
187
187
|
- lib/pulp_rpm_client/models/rpm_rpm_remote.rb
|
@@ -230,7 +230,6 @@ files:
|
|
230
230
|
- spec/models/inline_response2009_spec.rb
|
231
231
|
- spec/models/inline_response200_spec.rb
|
232
232
|
- spec/models/repository_add_remove_content_spec.rb
|
233
|
-
- spec/models/repository_sync_url_spec.rb
|
234
233
|
- spec/models/repository_version_spec.rb
|
235
234
|
- spec/models/rpm_distribution_tree_spec.rb
|
236
235
|
- spec/models/rpm_modulemd_defaults_spec.rb
|
@@ -241,6 +240,7 @@ files:
|
|
241
240
|
- spec/models/rpm_package_langpacks_spec.rb
|
242
241
|
- spec/models/rpm_package_spec.rb
|
243
242
|
- spec/models/rpm_repo_metadata_file_spec.rb
|
243
|
+
- spec/models/rpm_repository_sync_url_spec.rb
|
244
244
|
- spec/models/rpm_rpm_distribution_spec.rb
|
245
245
|
- spec/models/rpm_rpm_publication_spec.rb
|
246
246
|
- spec/models/rpm_rpm_remote_spec.rb
|
@@ -274,60 +274,60 @@ specification_version: 4
|
|
274
274
|
summary: Pulp 3 API Ruby Gem
|
275
275
|
test_files:
|
276
276
|
- spec/api/publications_rpm_api_spec.rb
|
277
|
-
- spec/api/distributions_rpm_api_spec.rb
|
278
|
-
- spec/api/content_packagelangpacks_api_spec.rb
|
279
|
-
- spec/api/content_packagecategories_api_spec.rb
|
280
|
-
- spec/api/content_modulemds_api_spec.rb
|
281
|
-
- spec/api/content_modulemd_defaults_api_spec.rb
|
282
|
-
- spec/api/content_packagegroups_api_spec.rb
|
283
277
|
- spec/api/content_advisories_api_spec.rb
|
284
|
-
- spec/api/
|
285
|
-
- spec/api/
|
286
|
-
- spec/api/content_repo_metadata_files_api_spec.rb
|
278
|
+
- spec/api/content_modulemd_defaults_api_spec.rb
|
279
|
+
- spec/api/content_modulemds_api_spec.rb
|
287
280
|
- spec/api/content_distribution_trees_api_spec.rb
|
288
|
-
- spec/api/content_packageenvironments_api_spec.rb
|
289
281
|
- spec/api/remotes_rpm_api_spec.rb
|
282
|
+
- spec/api/content_packagelangpacks_api_spec.rb
|
283
|
+
- spec/api/content_packages_api_spec.rb
|
284
|
+
- spec/api/content_packageenvironments_api_spec.rb
|
290
285
|
- spec/api/repositories_rpm_versions_api_spec.rb
|
286
|
+
- spec/api/distributions_rpm_api_spec.rb
|
287
|
+
- spec/api/content_packagegroups_api_spec.rb
|
288
|
+
- spec/api/repositories_rpm_api_spec.rb
|
289
|
+
- spec/api/content_packagecategories_api_spec.rb
|
290
|
+
- spec/api/content_repo_metadata_files_api_spec.rb
|
291
291
|
- spec/api_client_spec.rb
|
292
292
|
- spec/configuration_spec.rb
|
293
|
-
- spec/models/
|
294
|
-
- spec/models/
|
295
|
-
- spec/models/
|
296
|
-
- spec/models/addon_spec.rb
|
297
|
-
- spec/models/inline_response20014_spec.rb
|
298
|
-
- spec/models/inline_response2002_spec.rb
|
299
|
-
- spec/models/inline_response2008_spec.rb
|
300
|
-
- spec/models/rpm_rpm_remote_spec.rb
|
301
|
-
- spec/models/rpm_modulemd_defaults_spec.rb
|
302
|
-
- spec/models/checksum_spec.rb
|
293
|
+
- spec/models/rpm_repo_metadata_file_spec.rb
|
294
|
+
- spec/models/rpm_distribution_tree_spec.rb
|
295
|
+
- spec/models/rpm_rpm_publication_spec.rb
|
303
296
|
- spec/models/async_operation_response_spec.rb
|
297
|
+
- spec/models/rpm_package_category_spec.rb
|
298
|
+
- spec/models/rpm_rpm_repository_spec.rb
|
299
|
+
- spec/models/inline_response20013_spec.rb
|
304
300
|
- spec/models/repository_add_remove_content_spec.rb
|
301
|
+
- spec/models/inline_response2003_spec.rb
|
302
|
+
- spec/models/rpm_package_group_spec.rb
|
303
|
+
- spec/models/checksum_spec.rb
|
305
304
|
- spec/models/rpm_package_spec.rb
|
305
|
+
- spec/models/inline_response2007_spec.rb
|
306
|
+
- spec/models/repository_version_spec.rb
|
307
|
+
- spec/models/rpm_modulemd_defaults_spec.rb
|
308
|
+
- spec/models/artifact_spec.rb
|
309
|
+
- spec/models/inline_response2004_spec.rb
|
306
310
|
- spec/models/inline_response2005_spec.rb
|
307
|
-
- spec/models/repository_sync_url_spec.rb
|
308
|
-
- spec/models/inline_response2006_spec.rb
|
309
|
-
- spec/models/inline_response200_spec.rb
|
310
|
-
- spec/models/rpm_package_group_spec.rb
|
311
|
-
- spec/models/inline_response2003_spec.rb
|
312
|
-
- spec/models/rpm_modulemd_spec.rb
|
313
|
-
- spec/models/inline_response20012_spec.rb
|
314
311
|
- spec/models/inline_response2001_spec.rb
|
315
|
-
- spec/models/
|
312
|
+
- spec/models/inline_response20012_spec.rb
|
313
|
+
- spec/models/rpm_package_langpacks_spec.rb
|
314
|
+
- spec/models/inline_response200_spec.rb
|
315
|
+
- spec/models/rpm_rpm_remote_spec.rb
|
316
316
|
- spec/models/variant_spec.rb
|
317
|
-
- spec/models/
|
317
|
+
- spec/models/rpm_repository_sync_url_spec.rb
|
318
|
+
- spec/models/inline_response20014_spec.rb
|
318
319
|
- spec/models/rpm_package_environment_spec.rb
|
319
320
|
- spec/models/rpm_update_record_spec.rb
|
320
|
-
- spec/models/
|
321
|
+
- spec/models/rpm_modulemd_spec.rb
|
322
|
+
- spec/models/rpm_update_collection_spec.rb
|
321
323
|
- spec/models/inline_response2009_spec.rb
|
324
|
+
- spec/models/inline_response2002_spec.rb
|
325
|
+
- spec/models/inline_response20011_spec.rb
|
326
|
+
- spec/models/addon_spec.rb
|
327
|
+
- spec/models/inline_response2006_spec.rb
|
322
328
|
- spec/models/content_summary_spec.rb
|
323
|
-
- spec/models/
|
324
|
-
- spec/models/
|
325
|
-
- spec/models/artifact_spec.rb
|
326
|
-
- spec/models/rpm_repo_metadata_file_spec.rb
|
327
|
-
- spec/models/inline_response2004_spec.rb
|
328
|
-
- spec/models/rpm_rpm_repository_spec.rb
|
329
|
+
- spec/models/inline_response2008_spec.rb
|
330
|
+
- spec/models/image_spec.rb
|
329
331
|
- spec/models/inline_response20010_spec.rb
|
330
|
-
- spec/models/inline_response20011_spec.rb
|
331
332
|
- spec/models/rpm_rpm_distribution_spec.rb
|
332
|
-
- spec/models/image_spec.rb
|
333
333
|
- spec/spec_helper.rb
|