pulp_rpm_client 3.37.2 → 3.38.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f1f76af66d590665e962b104efa6221673059085699899b752acc8c7ac5617b8
4
- data.tar.gz: 429c2af4a85dc336fa666ed3aad9827f1e3b7057a74821c57bdd610d2995f4b4
3
+ metadata.gz: 361d66d6640145fe47e992140d1d564501021c2d8403f197ea0a60c54c26a1e0
4
+ data.tar.gz: 80297fe485fee0a416a271dac267719a250c09f9bd2e2f76773629c1e52f6c3d
5
5
  SHA512:
6
- metadata.gz: 222ab0ca05b915a0d5eebf086b9076d233b2d63f478c4aa79137a500b72babeeed723103a6847c8b1c56f8644f3e308fadf0288005878ff99fbfebc1a73aa837
7
- data.tar.gz: 983e830cecc8f43fe675f8b7b6963417be3fd8e0c5645eed517a1fd3780e946cb6b47d65aee36cb565e1f7ff3e8ac51e44c14720b24f5d17912c4a274e3ee97d
6
+ metadata.gz: 8608546695a021c2176006f6a2a2a3ca946ae1dc062c91b933f1034683c09b7db58f7df2eeb06d477b06f3da67855eff9b01bd7393894b3189e9d79a2ee8c90b
7
+ data.tar.gz: 6210836567ec7d4f9c048365e1403ddff48289eb93bccd064fb97715d00395ef26a3c5a66c7683139349e01e85dae2104e1209c6db272212f97b4fe613dffcc4
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.37.2
10
+ - Package version: 3.38.0
11
11
  - Generator version: 7.10.0
12
12
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
13
13
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
@@ -25,16 +25,16 @@ gem build pulp_rpm_client.gemspec
25
25
  Then either install the gem locally:
26
26
 
27
27
  ```shell
28
- gem install ./pulp_rpm_client-3.37.2.gem
28
+ gem install ./pulp_rpm_client-3.38.0.gem
29
29
  ```
30
30
 
31
- (for development, run `gem install --dev ./pulp_rpm_client-3.37.2.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./pulp_rpm_client-3.38.0.gem` to install the development dependencies)
32
32
 
33
33
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
34
34
 
35
35
  Finally add this to the Gemfile:
36
36
 
37
- gem 'pulp_rpm_client', '~> 3.37.2'
37
+ gem 'pulp_rpm_client', '~> 3.38.0'
38
38
 
39
39
  ### Install from Git
40
40
 
@@ -213,6 +213,7 @@ Class | Method | HTTP request | Description
213
213
  *PulpRpmClient::RepositoriesRpmVersionsApi* | [**list**](docs/RepositoriesRpmVersionsApi.md#list) | **GET** {rpm_rpm_repository_href}versions/ | List repository versions
214
214
  *PulpRpmClient::RepositoriesRpmVersionsApi* | [**read**](docs/RepositoriesRpmVersionsApi.md#read) | **GET** {rpm_rpm_repository_version_href} | Inspect a repository version
215
215
  *PulpRpmClient::RepositoriesRpmVersionsApi* | [**repair**](docs/RepositoriesRpmVersionsApi.md#repair) | **POST** {rpm_rpm_repository_version_href}repair/ |
216
+ *PulpRpmClient::RepositoriesRpmVersionsApi* | [**scan**](docs/RepositoriesRpmVersionsApi.md#scan) | **POST** {rpm_rpm_repository_version_href}scan/ | Scan for vulnerabilities
216
217
  *PulpRpmClient::RpmCompsApi* | [**rpm_comps_upload**](docs/RpmCompsApi.md#rpm_comps_upload) | **POST** /pulp/api/v3/rpm/comps/ | Upload comps.xml
217
218
  *PulpRpmClient::RpmCopyApi* | [**copy_content**](docs/RpmCopyApi.md#copy_content) | **POST** /pulp/api/v3/rpm/copy/ | Copy content
218
219
  *PulpRpmClient::RpmPruneApi* | [**prune_packages**](docs/RpmPruneApi.md#prune_packages) | **POST** /pulp/api/v3/rpm/prune/ |
@@ -256,6 +257,7 @@ Class | Method | HTTP request | Description
256
257
  - [PulpRpmClient::PatchedrpmRpmDistribution](docs/PatchedrpmRpmDistribution.md)
257
258
  - [PulpRpmClient::PatchedrpmRpmRemote](docs/PatchedrpmRpmRemote.md)
258
259
  - [PulpRpmClient::PatchedrpmRpmRepository](docs/PatchedrpmRpmRepository.md)
260
+ - [PulpRpmClient::PatchedrpmRpmRepositoryOsvConfigInner](docs/PatchedrpmRpmRepositoryOsvConfigInner.md)
259
261
  - [PulpRpmClient::PatchedrpmUlnRemote](docs/PatchedrpmUlnRemote.md)
260
262
  - [PulpRpmClient::PolicyEnum](docs/PolicyEnum.md)
261
263
  - [PulpRpmClient::PrunePackages](docs/PrunePackages.md)
@@ -19,6 +19,7 @@
19
19
  | **repo_config** | **Object** | A JSON document describing the config.repo file Pulp should generate for this repo | [optional] |
20
20
  | **compression_type** | [**CompressionTypeEnum**](CompressionTypeEnum.md) | The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz * `none` - none | [optional] |
21
21
  | **layout** | [**LayoutEnum**](LayoutEnum.md) | How to layout the packages within the published repository. * `nested_alphabetically` - nested_alphabetically * `flat` - flat * `nested_by_digest` - nested_by_digest | [optional] |
22
+ | **osv_config** | [**Array<PatchedrpmRpmRepositoryOsvConfigInner>**](PatchedrpmRpmRepositoryOsvConfigInner.md) | OSV vulnerability scanning configuration. A JSON list of ecosystem entries, each with a 'name' and required 'releases' field. See [vulnerability-report](https://pulpproject.org/pulp_rpm/docs/user/guides/vulnerability-report) for supported ecosystems and release formats. | [optional] |
22
23
 
23
24
  ## Example
24
25
 
@@ -40,7 +41,8 @@ instance = PulpRpmClient::PatchedrpmRpmRepository.new(
40
41
  checksum_type: null,
41
42
  repo_config: null,
42
43
  compression_type: null,
43
- layout: null
44
+ layout: null,
45
+ osv_config: null
44
46
  )
45
47
  ```
46
48
 
@@ -0,0 +1,20 @@
1
+ # PulpRpmClient::PatchedrpmRpmRepositoryOsvConfigInner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | | |
8
+ | **releases** | **Array<String>** | Releases to scope the OSV query. For Red Hat, use CPEs. | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'pulp_rpm_client'
14
+
15
+ instance = PulpRpmClient::PatchedrpmRpmRepositoryOsvConfigInner.new(
16
+ name: null,
17
+ releases: null
18
+ )
19
+ ```
20
+
@@ -8,6 +8,7 @@ All URIs are relative to *http://localhost:24817*
8
8
  | [**list**](RepositoriesRpmVersionsApi.md#list) | **GET** {rpm_rpm_repository_href}versions/ | List repository versions |
9
9
  | [**read**](RepositoriesRpmVersionsApi.md#read) | **GET** {rpm_rpm_repository_version_href} | Inspect a repository version |
10
10
  | [**repair**](RepositoriesRpmVersionsApi.md#repair) | **POST** {rpm_rpm_repository_version_href}repair/ | |
11
+ | [**scan**](RepositoriesRpmVersionsApi.md#scan) | **POST** {rpm_rpm_repository_version_href}scan/ | Scan for vulnerabilities |
11
12
 
12
13
 
13
14
  ## delete
@@ -357,3 +358,77 @@ end
357
358
  - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
358
359
  - **Accept**: application/json
359
360
 
361
+
362
+ ## scan
363
+
364
+ > <AsyncOperationResponse> scan(rpm_rpm_repository_version_href, opts)
365
+
366
+ Scan for vulnerabilities
367
+
368
+ Dispatch a task to scan all RPM packages in this repository version for known CVEs via osv.dev. The repository must have `osv_config` set to specify which ecosystem(s) to query. See the [vulnerability report guide](https://pulpproject.org/pulp_rpm/docs/user/guides/vulnerability-report) for usage details.
369
+
370
+ ### Examples
371
+
372
+ ```ruby
373
+ require 'time'
374
+ require 'pulp_rpm_client'
375
+ # setup authorization
376
+ PulpRpmClient.configure do |config|
377
+ # Configure HTTP basic authorization: basicAuth
378
+ config.username = 'YOUR USERNAME'
379
+ config.password = 'YOUR PASSWORD'
380
+ end
381
+
382
+ api_instance = PulpRpmClient::RepositoriesRpmVersionsApi.new
383
+ rpm_rpm_repository_version_href = 'rpm_rpm_repository_version_href_example' # String |
384
+ opts = {
385
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
386
+ }
387
+
388
+ begin
389
+ # Scan for vulnerabilities
390
+ result = api_instance.scan(rpm_rpm_repository_version_href, opts)
391
+ p result
392
+ rescue PulpRpmClient::ApiError => e
393
+ puts "Error when calling RepositoriesRpmVersionsApi->scan: #{e}"
394
+ end
395
+ ```
396
+
397
+ #### Using the scan_with_http_info variant
398
+
399
+ This returns an Array which contains the response data, status code and headers.
400
+
401
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> scan_with_http_info(rpm_rpm_repository_version_href, opts)
402
+
403
+ ```ruby
404
+ begin
405
+ # Scan for vulnerabilities
406
+ data, status_code, headers = api_instance.scan_with_http_info(rpm_rpm_repository_version_href, opts)
407
+ p status_code # => 2xx
408
+ p headers # => { ... }
409
+ p data # => <AsyncOperationResponse>
410
+ rescue PulpRpmClient::ApiError => e
411
+ puts "Error when calling RepositoriesRpmVersionsApi->scan_with_http_info: #{e}"
412
+ end
413
+ ```
414
+
415
+ ### Parameters
416
+
417
+ | Name | Type | Description | Notes |
418
+ | ---- | ---- | ----------- | ----- |
419
+ | **rpm_rpm_repository_version_href** | **String** | | |
420
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
421
+
422
+ ### Return type
423
+
424
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
425
+
426
+ ### Authorization
427
+
428
+ [basicAuth](../README.md#basicAuth)
429
+
430
+ ### HTTP request headers
431
+
432
+ - **Content-Type**: Not defined
433
+ - **Accept**: application/json
434
+
@@ -19,6 +19,7 @@
19
19
  | **repo_config** | **Object** | A JSON document describing the config.repo file Pulp should generate for this repo | [optional] |
20
20
  | **compression_type** | [**CompressionTypeEnum**](CompressionTypeEnum.md) | The compression type to use for metadata files. * &#x60;zstd&#x60; - zstd * &#x60;gz&#x60; - gz * &#x60;none&#x60; - none | [optional] |
21
21
  | **layout** | [**LayoutEnum**](LayoutEnum.md) | How to layout the packages within the published repository. * &#x60;nested_alphabetically&#x60; - nested_alphabetically * &#x60;flat&#x60; - flat * &#x60;nested_by_digest&#x60; - nested_by_digest | [optional] |
22
+ | **osv_config** | [**Array&lt;PatchedrpmRpmRepositoryOsvConfigInner&gt;**](PatchedrpmRpmRepositoryOsvConfigInner.md) | OSV vulnerability scanning configuration. A JSON list of ecosystem entries, each with a &#39;name&#39; and required &#39;releases&#39; field. See [vulnerability-report](https://pulpproject.org/pulp_rpm/docs/user/guides/vulnerability-report) for supported ecosystems and release formats. | [optional] |
22
23
 
23
24
  ## Example
24
25
 
@@ -40,7 +41,8 @@ instance = PulpRpmClient::RpmRpmRepository.new(
40
41
  checksum_type: null,
41
42
  repo_config: null,
42
43
  compression_type: null,
43
- layout: null
44
+ layout: null,
45
+ osv_config: null
44
46
  )
45
47
  ```
46
48
 
@@ -30,6 +30,7 @@
30
30
  | **repo_config** | **Object** | A JSON document describing the config.repo file Pulp should generate for this repo | [optional] |
31
31
  | **compression_type** | [**CompressionTypeEnum**](CompressionTypeEnum.md) | The compression type to use for metadata files. * &#x60;zstd&#x60; - zstd * &#x60;gz&#x60; - gz * &#x60;none&#x60; - none | [optional] |
32
32
  | **layout** | [**LayoutEnum**](LayoutEnum.md) | How to layout the packages within the published repository. * &#x60;nested_alphabetically&#x60; - nested_alphabetically * &#x60;flat&#x60; - flat * &#x60;nested_by_digest&#x60; - nested_by_digest | [optional] |
33
+ | **osv_config** | [**Array&lt;PatchedrpmRpmRepositoryOsvConfigInner&gt;**](PatchedrpmRpmRepositoryOsvConfigInner.md) | OSV vulnerability scanning configuration. A JSON list of ecosystem entries, each with a &#39;name&#39; and required &#39;releases&#39; field. See [vulnerability-report](https://pulpproject.org/pulp_rpm/docs/user/guides/vulnerability-report) for supported ecosystems and release formats. | [optional] |
33
34
 
34
35
  ## Example
35
36
 
@@ -62,7 +63,8 @@ instance = PulpRpmClient::RpmRpmRepositoryResponse.new(
62
63
  sqlite_metadata: null,
63
64
  repo_config: null,
64
65
  compression_type: null,
65
- layout: null
66
+ layout: null,
67
+ osv_config: null
66
68
  )
67
69
  ```
68
70
 
@@ -370,5 +370,71 @@ module PulpRpmClient
370
370
  end
371
371
  return data, status_code, headers
372
372
  end
373
+
374
+ # Scan for vulnerabilities
375
+ # Dispatch a task to scan all RPM packages in this repository version for known CVEs via osv.dev. The repository must have `osv_config` set to specify which ecosystem(s) to query. See the [vulnerability report guide](https://pulpproject.org/pulp_rpm/docs/user/guides/vulnerability-report) for usage details.
376
+ # @param rpm_rpm_repository_version_href [String]
377
+ # @param [Hash] opts the optional parameters
378
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
379
+ # @return [AsyncOperationResponse]
380
+ def scan(rpm_rpm_repository_version_href, opts = {})
381
+ data, _status_code, _headers = scan_with_http_info(rpm_rpm_repository_version_href, opts)
382
+ data
383
+ end
384
+
385
+ # Scan for vulnerabilities
386
+ # Dispatch a task to scan all RPM packages in this repository version for known CVEs via osv.dev. The repository must have &#x60;osv_config&#x60; set to specify which ecosystem(s) to query. See the [vulnerability report guide](https://pulpproject.org/pulp_rpm/docs/user/guides/vulnerability-report) for usage details.
387
+ # @param rpm_rpm_repository_version_href [String]
388
+ # @param [Hash] opts the optional parameters
389
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
390
+ # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
391
+ def scan_with_http_info(rpm_rpm_repository_version_href, opts = {})
392
+ if @api_client.config.debugging
393
+ @api_client.config.logger.debug 'Calling API: RepositoriesRpmVersionsApi.scan ...'
394
+ end
395
+ # verify the required parameter 'rpm_rpm_repository_version_href' is set
396
+ if @api_client.config.client_side_validation && rpm_rpm_repository_version_href.nil?
397
+ fail ArgumentError, "Missing the required parameter 'rpm_rpm_repository_version_href' when calling RepositoriesRpmVersionsApi.scan"
398
+ end
399
+ # resource path
400
+ local_var_path = '{rpm_rpm_repository_version_href}scan/'.sub('{' + 'rpm_rpm_repository_version_href' + '}', CGI.escape(rpm_rpm_repository_version_href.to_s).gsub('%2F', '/'))
401
+
402
+ # query parameters
403
+ query_params = opts[:query_params] || {}
404
+
405
+ # header parameters
406
+ header_params = opts[:header_params] || {}
407
+ # HTTP header 'Accept' (if needed)
408
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
409
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
410
+
411
+ # form parameters
412
+ form_params = opts[:form_params] || {}
413
+
414
+ # http body (model)
415
+ post_body = opts[:debug_body]
416
+
417
+ # return_type
418
+ return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
419
+
420
+ # auth_names
421
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
422
+
423
+ new_options = opts.merge(
424
+ :operation => :"RepositoriesRpmVersionsApi.scan",
425
+ :header_params => header_params,
426
+ :query_params => query_params,
427
+ :form_params => form_params,
428
+ :body => post_body,
429
+ :auth_names => auth_names,
430
+ :return_type => return_type
431
+ )
432
+
433
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
434
+ if @api_client.config.debugging
435
+ @api_client.config.logger.debug "API called: RepositoriesRpmVersionsApi#scan\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
436
+ end
437
+ return data, status_code, headers
438
+ end
373
439
  end
374
440
  end
@@ -60,6 +60,9 @@ module PulpRpmClient
60
60
  # How to layout the packages within the published repository. * `nested_alphabetically` - nested_alphabetically * `flat` - flat * `nested_by_digest` - nested_by_digest
61
61
  attr_accessor :layout
62
62
 
63
+ # OSV vulnerability scanning configuration. A JSON list of ecosystem entries, each with a 'name' and required 'releases' field. See [vulnerability-report](https://pulpproject.org/pulp_rpm/docs/user/guides/vulnerability-report) for supported ecosystems and release formats.
64
+ attr_accessor :osv_config
65
+
63
66
  class EnumAttributeValidator
64
67
  attr_reader :datatype
65
68
  attr_reader :allowable_values
@@ -99,7 +102,8 @@ module PulpRpmClient
99
102
  :'checksum_type' => :'checksum_type',
100
103
  :'repo_config' => :'repo_config',
101
104
  :'compression_type' => :'compression_type',
102
- :'layout' => :'layout'
105
+ :'layout' => :'layout',
106
+ :'osv_config' => :'osv_config'
103
107
  }
104
108
  end
105
109
 
@@ -125,7 +129,8 @@ module PulpRpmClient
125
129
  :'checksum_type' => :'PackageChecksumTypeEnum',
126
130
  :'repo_config' => :'Object',
127
131
  :'compression_type' => :'CompressionTypeEnum',
128
- :'layout' => :'LayoutEnum'
132
+ :'layout' => :'LayoutEnum',
133
+ :'osv_config' => :'Array<PatchedrpmRpmRepositoryOsvConfigInner>'
129
134
  }
130
135
  end
131
136
 
@@ -142,7 +147,8 @@ module PulpRpmClient
142
147
  :'checksum_type',
143
148
  :'repo_config',
144
149
  :'compression_type',
145
- :'layout'
150
+ :'layout',
151
+ :'osv_config'
146
152
  ])
147
153
  end
148
154
 
@@ -224,6 +230,12 @@ module PulpRpmClient
224
230
  if attributes.key?(:'layout')
225
231
  self.layout = attributes[:'layout']
226
232
  end
233
+
234
+ if attributes.key?(:'osv_config')
235
+ if (value = attributes[:'osv_config']).is_a?(Array)
236
+ self.osv_config = value
237
+ end
238
+ end
227
239
  end
228
240
 
229
241
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -367,7 +379,8 @@ module PulpRpmClient
367
379
  checksum_type == o.checksum_type &&
368
380
  repo_config == o.repo_config &&
369
381
  compression_type == o.compression_type &&
370
- layout == o.layout
382
+ layout == o.layout &&
383
+ osv_config == o.osv_config
371
384
  end
372
385
 
373
386
  # @see the `==` method
@@ -379,7 +392,7 @@ module PulpRpmClient
379
392
  # Calculates hash code according to all attributes.
380
393
  # @return [Integer] Hash code
381
394
  def hash
382
- [pulp_labels, name, description, retain_repo_versions, retain_checkpoints, remote, autopublish, metadata_signing_service, package_signing_service, package_signing_fingerprint, retain_package_versions, checksum_type, repo_config, compression_type, layout].hash
395
+ [pulp_labels, name, description, retain_repo_versions, retain_checkpoints, remote, autopublish, metadata_signing_service, package_signing_service, package_signing_fingerprint, retain_package_versions, checksum_type, repo_config, compression_type, layout, osv_config].hash
383
396
  end
384
397
 
385
398
  # Builds the object from hash
@@ -0,0 +1,293 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.10.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module PulpRpmClient
17
+ class PatchedrpmRpmRepositoryOsvConfigInner
18
+ attr_accessor :name
19
+
20
+ # Releases to scope the OSV query. For Red Hat, use CPEs.
21
+ attr_accessor :releases
22
+
23
+ class EnumAttributeValidator
24
+ attr_reader :datatype
25
+ attr_reader :allowable_values
26
+
27
+ def initialize(datatype, allowable_values)
28
+ @allowable_values = allowable_values.map do |value|
29
+ case datatype.to_s
30
+ when /Integer/i
31
+ value.to_i
32
+ when /Float/i
33
+ value.to_f
34
+ else
35
+ value
36
+ end
37
+ end
38
+ end
39
+
40
+ def valid?(value)
41
+ !value || allowable_values.include?(value)
42
+ end
43
+ end
44
+
45
+ # Attribute mapping from ruby-style variable name to JSON key.
46
+ def self.attribute_map
47
+ {
48
+ :'name' => :'name',
49
+ :'releases' => :'releases'
50
+ }
51
+ end
52
+
53
+ # Returns all the JSON keys this model knows about
54
+ def self.acceptable_attributes
55
+ attribute_map.values
56
+ end
57
+
58
+ # Attribute type mapping.
59
+ def self.openapi_types
60
+ {
61
+ :'name' => :'String',
62
+ :'releases' => :'Array<String>'
63
+ }
64
+ end
65
+
66
+ # List of attributes with nullable: true
67
+ def self.openapi_nullable
68
+ Set.new([
69
+ ])
70
+ end
71
+
72
+ # Initializes the object
73
+ # @param [Hash] attributes Model attributes in the form of hash
74
+ def initialize(attributes = {})
75
+ if (!attributes.is_a?(Hash))
76
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::PatchedrpmRpmRepositoryOsvConfigInner` initialize method"
77
+ end
78
+
79
+ # check to see if the attribute exists and convert string to symbol for hash key
80
+ attributes = attributes.each_with_object({}) { |(k, v), h|
81
+ if (!self.class.attribute_map.key?(k.to_sym))
82
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::PatchedrpmRpmRepositoryOsvConfigInner`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
83
+ end
84
+ h[k.to_sym] = v
85
+ }
86
+
87
+ if attributes.key?(:'name')
88
+ self.name = attributes[:'name']
89
+ else
90
+ self.name = nil
91
+ end
92
+
93
+ if attributes.key?(:'releases')
94
+ if (value = attributes[:'releases']).is_a?(Array)
95
+ self.releases = value
96
+ end
97
+ else
98
+ self.releases = nil
99
+ end
100
+ end
101
+
102
+ # Show invalid properties with the reasons. Usually used together with valid?
103
+ # @return Array for valid properties with the reasons
104
+ def list_invalid_properties
105
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
106
+ invalid_properties = Array.new
107
+ if @name.nil?
108
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
109
+ end
110
+
111
+ if @releases.nil?
112
+ invalid_properties.push('invalid value for "releases", releases cannot be nil.')
113
+ end
114
+
115
+ if @releases.length < 1
116
+ invalid_properties.push('invalid value for "releases", number of items must be greater than or equal to 1.')
117
+ end
118
+
119
+ invalid_properties
120
+ end
121
+
122
+ # Check to see if the all the properties in the model are valid
123
+ # @return true if the model is valid
124
+ def valid?
125
+ warn '[DEPRECATED] the `valid?` method is obsolete'
126
+ return false if @name.nil?
127
+ name_validator = EnumAttributeValidator.new('String', ["AlmaLinux", "Azure Linux", "Mageia", "Photon OS", "Red Hat", "Rocky Linux", "SUSE", "openEuler", "openSUSE"])
128
+ return false unless name_validator.valid?(@name)
129
+ return false if @releases.nil?
130
+ return false if @releases.length < 1
131
+ true
132
+ end
133
+
134
+ # Custom attribute writer method checking allowed values (enum).
135
+ # @param [Object] name Object to be assigned
136
+ def name=(name)
137
+ validator = EnumAttributeValidator.new('String', ["AlmaLinux", "Azure Linux", "Mageia", "Photon OS", "Red Hat", "Rocky Linux", "SUSE", "openEuler", "openSUSE"])
138
+ unless validator.valid?(name)
139
+ fail ArgumentError, "invalid value for \"name\", must be one of #{validator.allowable_values}."
140
+ end
141
+ @name = name
142
+ end
143
+
144
+ # Custom attribute writer method with validation
145
+ # @param [Object] releases Value to be assigned
146
+ def releases=(releases)
147
+ if releases.nil?
148
+ fail ArgumentError, 'releases cannot be nil'
149
+ end
150
+
151
+ if releases.length < 1
152
+ fail ArgumentError, 'invalid value for "releases", number of items must be greater than or equal to 1.'
153
+ end
154
+
155
+ @releases = releases
156
+ end
157
+
158
+ # Checks equality by comparing each attribute.
159
+ # @param [Object] Object to be compared
160
+ def ==(o)
161
+ return true if self.equal?(o)
162
+ self.class == o.class &&
163
+ name == o.name &&
164
+ releases == o.releases
165
+ end
166
+
167
+ # @see the `==` method
168
+ # @param [Object] Object to be compared
169
+ def eql?(o)
170
+ self == o
171
+ end
172
+
173
+ # Calculates hash code according to all attributes.
174
+ # @return [Integer] Hash code
175
+ def hash
176
+ [name, releases].hash
177
+ end
178
+
179
+ # Builds the object from hash
180
+ # @param [Hash] attributes Model attributes in the form of hash
181
+ # @return [Object] Returns the model itself
182
+ def self.build_from_hash(attributes)
183
+ return nil unless attributes.is_a?(Hash)
184
+ attributes = attributes.transform_keys(&:to_sym)
185
+ transformed_hash = {}
186
+ openapi_types.each_pair do |key, type|
187
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
188
+ transformed_hash["#{key}"] = nil
189
+ elsif type =~ /\AArray<(.*)>/i
190
+ # check to ensure the input is an array given that the attribute
191
+ # is documented as an array but the input is not
192
+ if attributes[attribute_map[key]].is_a?(Array)
193
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
194
+ end
195
+ elsif !attributes[attribute_map[key]].nil?
196
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
197
+ end
198
+ end
199
+ new(transformed_hash)
200
+ end
201
+
202
+ # Deserializes the data based on type
203
+ # @param string type Data type
204
+ # @param string value Value to be deserialized
205
+ # @return [Object] Deserialized data
206
+ def self._deserialize(type, value)
207
+ case type.to_sym
208
+ when :Time
209
+ Time.parse(value)
210
+ when :Date
211
+ Date.parse(value)
212
+ when :String
213
+ value.to_s
214
+ when :Integer
215
+ value.to_i
216
+ when :Float
217
+ value.to_f
218
+ when :Boolean
219
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
220
+ true
221
+ else
222
+ false
223
+ end
224
+ when :Object
225
+ # generic object (usually a Hash), return directly
226
+ value
227
+ when /\AArray<(?<inner_type>.+)>\z/
228
+ inner_type = Regexp.last_match[:inner_type]
229
+ value.map { |v| _deserialize(inner_type, v) }
230
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
231
+ k_type = Regexp.last_match[:k_type]
232
+ v_type = Regexp.last_match[:v_type]
233
+ {}.tap do |hash|
234
+ value.each do |k, v|
235
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
236
+ end
237
+ end
238
+ else # model
239
+ # models (e.g. Pet) or oneOf
240
+ klass = PulpRpmClient.const_get(type)
241
+ klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
242
+ end
243
+ end
244
+
245
+ # Returns the string representation of the object
246
+ # @return [String] String presentation of the object
247
+ def to_s
248
+ to_hash.to_s
249
+ end
250
+
251
+ # to_body is an alias to to_hash (backward compatibility)
252
+ # @return [Hash] Returns the object in the form of hash
253
+ def to_body
254
+ to_hash
255
+ end
256
+
257
+ # Returns the object in the form of hash
258
+ # @return [Hash] Returns the object in the form of hash
259
+ def to_hash
260
+ hash = {}
261
+ self.class.attribute_map.each_pair do |attr, param|
262
+ value = self.send(attr)
263
+ if value.nil?
264
+ is_nullable = self.class.openapi_nullable.include?(attr)
265
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
266
+ end
267
+
268
+ hash[param] = _to_hash(value)
269
+ end
270
+ hash
271
+ end
272
+
273
+ # Outputs non-array value in the form of hash
274
+ # For object, use to_hash. Otherwise, just return the value
275
+ # @param [Object] value Any valid value
276
+ # @return [Hash] Returns the value in the form of hash
277
+ def _to_hash(value)
278
+ if value.is_a?(Array)
279
+ value.compact.map { |v| _to_hash(v) }
280
+ elsif value.is_a?(Hash)
281
+ {}.tap do |hash|
282
+ value.each { |k, v| hash[k] = _to_hash(v) }
283
+ end
284
+ elsif value.respond_to? :to_hash
285
+ value.to_hash
286
+ else
287
+ value
288
+ end
289
+ end
290
+
291
+ end
292
+
293
+ end
@@ -60,6 +60,9 @@ module PulpRpmClient
60
60
  # How to layout the packages within the published repository. * `nested_alphabetically` - nested_alphabetically * `flat` - flat * `nested_by_digest` - nested_by_digest
61
61
  attr_accessor :layout
62
62
 
63
+ # OSV vulnerability scanning configuration. A JSON list of ecosystem entries, each with a 'name' and required 'releases' field. See [vulnerability-report](https://pulpproject.org/pulp_rpm/docs/user/guides/vulnerability-report) for supported ecosystems and release formats.
64
+ attr_accessor :osv_config
65
+
63
66
  class EnumAttributeValidator
64
67
  attr_reader :datatype
65
68
  attr_reader :allowable_values
@@ -99,7 +102,8 @@ module PulpRpmClient
99
102
  :'checksum_type' => :'checksum_type',
100
103
  :'repo_config' => :'repo_config',
101
104
  :'compression_type' => :'compression_type',
102
- :'layout' => :'layout'
105
+ :'layout' => :'layout',
106
+ :'osv_config' => :'osv_config'
103
107
  }
104
108
  end
105
109
 
@@ -125,7 +129,8 @@ module PulpRpmClient
125
129
  :'checksum_type' => :'PackageChecksumTypeEnum',
126
130
  :'repo_config' => :'Object',
127
131
  :'compression_type' => :'CompressionTypeEnum',
128
- :'layout' => :'LayoutEnum'
132
+ :'layout' => :'LayoutEnum',
133
+ :'osv_config' => :'Array<PatchedrpmRpmRepositoryOsvConfigInner>'
129
134
  }
130
135
  end
131
136
 
@@ -142,7 +147,8 @@ module PulpRpmClient
142
147
  :'checksum_type',
143
148
  :'repo_config',
144
149
  :'compression_type',
145
- :'layout'
150
+ :'layout',
151
+ :'osv_config'
146
152
  ])
147
153
  end
148
154
 
@@ -226,6 +232,12 @@ module PulpRpmClient
226
232
  if attributes.key?(:'layout')
227
233
  self.layout = attributes[:'layout']
228
234
  end
235
+
236
+ if attributes.key?(:'osv_config')
237
+ if (value = attributes[:'osv_config']).is_a?(Array)
238
+ self.osv_config = value
239
+ end
240
+ end
229
241
  end
230
242
 
231
243
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -374,7 +386,8 @@ module PulpRpmClient
374
386
  checksum_type == o.checksum_type &&
375
387
  repo_config == o.repo_config &&
376
388
  compression_type == o.compression_type &&
377
- layout == o.layout
389
+ layout == o.layout &&
390
+ osv_config == o.osv_config
378
391
  end
379
392
 
380
393
  # @see the `==` method
@@ -386,7 +399,7 @@ module PulpRpmClient
386
399
  # Calculates hash code according to all attributes.
387
400
  # @return [Integer] Hash code
388
401
  def hash
389
- [pulp_labels, name, description, retain_repo_versions, retain_checkpoints, remote, autopublish, metadata_signing_service, package_signing_service, package_signing_fingerprint, retain_package_versions, checksum_type, repo_config, compression_type, layout].hash
402
+ [pulp_labels, name, description, retain_repo_versions, retain_checkpoints, remote, autopublish, metadata_signing_service, package_signing_service, package_signing_fingerprint, retain_package_versions, checksum_type, repo_config, compression_type, layout, osv_config].hash
390
403
  end
391
404
 
392
405
  # Builds the object from hash
@@ -90,6 +90,9 @@ module PulpRpmClient
90
90
  # How to layout the packages within the published repository. * `nested_alphabetically` - nested_alphabetically * `flat` - flat * `nested_by_digest` - nested_by_digest
91
91
  attr_accessor :layout
92
92
 
93
+ # OSV vulnerability scanning configuration. A JSON list of ecosystem entries, each with a 'name' and required 'releases' field. See [vulnerability-report](https://pulpproject.org/pulp_rpm/docs/user/guides/vulnerability-report) for supported ecosystems and release formats.
94
+ attr_accessor :osv_config
95
+
93
96
  class EnumAttributeValidator
94
97
  attr_reader :datatype
95
98
  attr_reader :allowable_values
@@ -140,7 +143,8 @@ module PulpRpmClient
140
143
  :'sqlite_metadata' => :'sqlite_metadata',
141
144
  :'repo_config' => :'repo_config',
142
145
  :'compression_type' => :'compression_type',
143
- :'layout' => :'layout'
146
+ :'layout' => :'layout',
147
+ :'osv_config' => :'osv_config'
144
148
  }
145
149
  end
146
150
 
@@ -177,7 +181,8 @@ module PulpRpmClient
177
181
  :'sqlite_metadata' => :'Boolean',
178
182
  :'repo_config' => :'Object',
179
183
  :'compression_type' => :'CompressionTypeEnum',
180
- :'layout' => :'LayoutEnum'
184
+ :'layout' => :'LayoutEnum',
185
+ :'osv_config' => :'Array<PatchedrpmRpmRepositoryOsvConfigInner>'
181
186
  }
182
187
  end
183
188
 
@@ -195,7 +200,8 @@ module PulpRpmClient
195
200
  :'package_checksum_type',
196
201
  :'repo_config',
197
202
  :'compression_type',
198
- :'layout'
203
+ :'layout',
204
+ :'osv_config'
199
205
  ])
200
206
  end
201
207
 
@@ -325,6 +331,12 @@ module PulpRpmClient
325
331
  if attributes.key?(:'layout')
326
332
  self.layout = attributes[:'layout']
327
333
  end
334
+
335
+ if attributes.key?(:'osv_config')
336
+ if (value = attributes[:'osv_config']).is_a?(Array)
337
+ self.osv_config = value
338
+ end
339
+ end
328
340
  end
329
341
 
330
342
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -497,7 +509,8 @@ module PulpRpmClient
497
509
  sqlite_metadata == o.sqlite_metadata &&
498
510
  repo_config == o.repo_config &&
499
511
  compression_type == o.compression_type &&
500
- layout == o.layout
512
+ layout == o.layout &&
513
+ osv_config == o.osv_config
501
514
  end
502
515
 
503
516
  # @see the `==` method
@@ -509,7 +522,7 @@ module PulpRpmClient
509
522
  # Calculates hash code according to all attributes.
510
523
  # @return [Integer] Hash code
511
524
  def hash
512
- [pulp_href, prn, pulp_created, pulp_last_updated, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, retain_checkpoints, remote, autopublish, metadata_signing_service, package_signing_service, package_signing_fingerprint, retain_package_versions, checksum_type, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata, repo_config, compression_type, layout].hash
525
+ [pulp_href, prn, pulp_created, pulp_last_updated, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, retain_checkpoints, remote, autopublish, metadata_signing_service, package_signing_service, package_signing_fingerprint, retain_package_versions, checksum_type, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata, repo_config, compression_type, layout, osv_config].hash
513
526
  end
514
527
 
515
528
  # Builds the object from hash
@@ -11,5 +11,5 @@ Generator version: 7.10.0
11
11
  =end
12
12
 
13
13
  module PulpRpmClient
14
- VERSION = '3.37.2'
14
+ VERSION = '3.38.0'
15
15
  end
@@ -53,6 +53,7 @@ require 'pulp_rpm_client/models/patchedrpm_rpm_alternate_content_source'
53
53
  require 'pulp_rpm_client/models/patchedrpm_rpm_distribution'
54
54
  require 'pulp_rpm_client/models/patchedrpm_rpm_remote'
55
55
  require 'pulp_rpm_client/models/patchedrpm_rpm_repository'
56
+ require 'pulp_rpm_client/models/patchedrpm_rpm_repository_osv_config_inner'
56
57
  require 'pulp_rpm_client/models/patchedrpm_uln_remote'
57
58
  require 'pulp_rpm_client/models/policy_enum'
58
59
  require 'pulp_rpm_client/models/prune_packages'
@@ -109,4 +109,17 @@ describe 'RepositoriesRpmVersionsApi' do
109
109
  end
110
110
  end
111
111
 
112
+ # unit tests for scan
113
+ # Scan for vulnerabilities
114
+ # Dispatch a task to scan all RPM packages in this repository version for known CVEs via osv.dev. The repository must have &#x60;osv_config&#x60; set to specify which ecosystem(s) to query. See the [vulnerability report guide](https://pulpproject.org/pulp_rpm/docs/user/guides/vulnerability-report) for usage details.
115
+ # @param rpm_rpm_repository_version_href
116
+ # @param [Hash] opts the optional parameters
117
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
118
+ # @return [AsyncOperationResponse]
119
+ describe 'scan test' do
120
+ it 'should work' do
121
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
122
+ end
123
+ end
124
+
112
125
  end
@@ -0,0 +1,46 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.10.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for PulpRpmClient::PatchedrpmRpmRepositoryOsvConfigInner
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe PulpRpmClient::PatchedrpmRpmRepositoryOsvConfigInner do
21
+ let(:instance) { PulpRpmClient::PatchedrpmRpmRepositoryOsvConfigInner.new }
22
+
23
+ describe 'test an instance of PatchedrpmRpmRepositoryOsvConfigInner' do
24
+ it 'should create an instance of PatchedrpmRpmRepositoryOsvConfigInner' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(PulpRpmClient::PatchedrpmRpmRepositoryOsvConfigInner)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "name"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["AlmaLinux", "Azure Linux", "Mageia", "Photon OS", "Red Hat", "Rocky Linux", "SUSE", "openEuler", "openSUSE"])
34
+ # validator.allowable_values.each do |value|
35
+ # expect { instance.name = value }.not_to raise_error
36
+ # end
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "releases"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
43
+ end
44
+ end
45
+
46
+ end
@@ -117,4 +117,10 @@ describe PulpRpmClient::PatchedrpmRpmRepository do
117
117
  end
118
118
  end
119
119
 
120
+ describe 'test attribute "osv_config"' do
121
+ it 'should work' do
122
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
123
+ end
124
+ end
125
+
120
126
  end
@@ -183,4 +183,10 @@ describe PulpRpmClient::RpmRpmRepositoryResponse do
183
183
  end
184
184
  end
185
185
 
186
+ describe 'test attribute "osv_config"' do
187
+ it 'should work' do
188
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
189
+ end
190
+ end
191
+
186
192
  end
@@ -117,4 +117,10 @@ describe PulpRpmClient::RpmRpmRepository do
117
117
  end
118
118
  end
119
119
 
120
+ describe 'test attribute "osv_config"' do
121
+ it 'should work' do
122
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
123
+ end
124
+ end
125
+
120
126
  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.37.2
4
+ version: 3.38.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: 2026-06-11 00:00:00.000000000 Z
11
+ date: 2026-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -137,6 +137,7 @@ files:
137
137
  - docs/PatchedrpmRpmDistribution.md
138
138
  - docs/PatchedrpmRpmRemote.md
139
139
  - docs/PatchedrpmRpmRepository.md
140
+ - docs/PatchedrpmRpmRepositoryOsvConfigInner.md
140
141
  - docs/PatchedrpmUlnRemote.md
141
142
  - docs/PolicyEnum.md
142
143
  - docs/PrunePackages.md
@@ -252,6 +253,7 @@ files:
252
253
  - lib/pulp_rpm_client/models/patchedrpm_rpm_distribution.rb
253
254
  - lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb
254
255
  - lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb
256
+ - lib/pulp_rpm_client/models/patchedrpm_rpm_repository_osv_config_inner.rb
255
257
  - lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb
256
258
  - lib/pulp_rpm_client/models/policy_enum.rb
257
259
  - lib/pulp_rpm_client/models/prune_packages.rb
@@ -356,6 +358,7 @@ files:
356
358
  - spec/models/patchedrpm_rpm_alternate_content_source_spec.rb
357
359
  - spec/models/patchedrpm_rpm_distribution_spec.rb
358
360
  - spec/models/patchedrpm_rpm_remote_spec.rb
361
+ - spec/models/patchedrpm_rpm_repository_osv_config_inner_spec.rb
359
362
  - spec/models/patchedrpm_rpm_repository_spec.rb
360
363
  - spec/models/patchedrpm_uln_remote_spec.rb
361
364
  - spec/models/policy_enum_spec.rb
@@ -428,107 +431,108 @@ signing_key:
428
431
  specification_version: 4
429
432
  summary: Pulp 3 API Ruby Gem
430
433
  test_files:
431
- - spec/api/rpm_copy_api_spec.rb
432
- - spec/api/repositories_rpm_api_spec.rb
433
- - spec/api/content_packages_api_spec.rb
434
- - spec/api/rpm_comps_api_spec.rb
435
- - spec/api/content_packagegroups_api_spec.rb
436
- - spec/api/remotes_uln_api_spec.rb
437
- - spec/api/content_modulemd_defaults_api_spec.rb
434
+ - spec/api/content_advisories_api_spec.rb
435
+ - spec/api/rpm_prune_api_spec.rb
438
436
  - spec/api/distributions_rpm_api_spec.rb
439
437
  - spec/api/remotes_rpm_api_spec.rb
440
- - spec/api/content_packagecategories_api_spec.rb
441
- - spec/api/publications_rpm_api_spec.rb
438
+ - spec/api/acs_rpm_api_spec.rb
442
439
  - spec/api/content_packagelangpacks_api_spec.rb
440
+ - spec/api/content_modulemd_defaults_api_spec.rb
441
+ - spec/api/content_modulemd_obsoletes_api_spec.rb
442
+ - spec/api/rpm_copy_api_spec.rb
443
+ - spec/api/publications_rpm_api_spec.rb
443
444
  - spec/api/content_repo_metadata_files_api_spec.rb
444
- - spec/api/rpm_prune_api_spec.rb
445
- - spec/api/acs_rpm_api_spec.rb
446
- - spec/api/repositories_rpm_versions_api_spec.rb
447
445
  - spec/api/content_packageenvironments_api_spec.rb
448
- - spec/api/content_modulemds_api_spec.rb
449
- - spec/api/content_advisories_api_spec.rb
446
+ - spec/api/repositories_rpm_api_spec.rb
450
447
  - spec/api/content_distribution_trees_api_spec.rb
451
- - spec/api/content_modulemd_obsoletes_api_spec.rb
452
- - spec/models/rpm_modulemd_obsolete_response_spec.rb
453
- - spec/models/paginatedrpm_rpm_publication_response_list_spec.rb
454
- - spec/models/rpm_distribution_tree_response_spec.rb
455
- - spec/models/unset_label_response_spec.rb
456
- - spec/models/set_label_spec.rb
457
- - spec/models/patchedrpm_uln_remote_spec.rb
458
- - spec/models/rpm_rpm_alternate_content_source_spec.rb
459
- - spec/models/paginatedrpm_package_group_response_list_spec.rb
460
- - spec/models/task_group_operation_response_spec.rb
461
- - spec/models/paginatedrpm_package_langpacks_response_list_spec.rb
462
- - spec/models/rpm_rpm_remote_response_spec.rb
463
- - spec/models/prune_packages_spec.rb
448
+ - spec/api/repositories_rpm_versions_api_spec.rb
449
+ - spec/api/content_packagecategories_api_spec.rb
450
+ - spec/api/rpm_comps_api_spec.rb
451
+ - spec/api/remotes_uln_api_spec.rb
452
+ - spec/api/content_modulemds_api_spec.rb
453
+ - spec/api/content_packagegroups_api_spec.rb
454
+ - spec/api/content_packages_api_spec.rb
464
455
  - spec/models/layout_enum_spec.rb
465
- - spec/models/policy_enum_spec.rb
466
- - spec/models/rpm_update_collection_spec.rb
467
- - spec/models/paginatedrpm_package_response_list_spec.rb
468
- - spec/models/paginatedrpm_modulemd_defaults_response_list_spec.rb
469
- - spec/models/rpm_rpm_publication_response_spec.rb
470
- - spec/models/object_roles_response_spec.rb
471
- - spec/models/paginatedrpm_distribution_tree_response_list_spec.rb
472
- - spec/models/paginatedrpm_package_environment_response_list_spec.rb
473
- - spec/models/rpm_rpm_remote_response_hidden_fields_inner_spec.rb
474
- - spec/models/paginatedrpm_uln_remote_response_list_spec.rb
475
- - spec/models/repository_add_remove_content_spec.rb
476
- - spec/models/artifact_response_spec.rb
477
- - spec/models/paginatedrpm_rpm_remote_response_list_spec.rb
478
- - spec/models/compression_type_enum_spec.rb
479
- - spec/models/rpm_uln_remote_response_spec.rb
480
- - spec/models/patchedrpm_rpm_repository_spec.rb
481
- - spec/models/nested_role_response_spec.rb
482
- - spec/models/remote_network_config_response_spec.rb
456
+ - spec/models/checksum_response_spec.rb
457
+ - spec/models/patchedrpm_uln_remote_spec.rb
483
458
  - spec/models/rpm_package_environment_response_spec.rb
484
- - spec/models/rpm_update_collection_response_spec.rb
485
- - spec/models/paginatedrpm_rpm_distribution_response_list_spec.rb
486
- - spec/models/rpm_rpm_remote_spec.rb
487
- - spec/models/paginatedrpm_package_category_response_list_spec.rb
488
- - spec/models/rpm_package_group_response_spec.rb
489
- - spec/models/rpm_modulemd_defaults_spec.rb
490
- - spec/models/unset_label_spec.rb
491
- - spec/models/skip_types_enum_spec.rb
492
- - spec/models/content_summary_response_spec.rb
493
- - spec/models/rpm_package_langpacks_response_spec.rb
494
- - spec/models/package_checksum_type_enum_spec.rb
459
+ - spec/models/patchedrpm_rpm_alternate_content_source_spec.rb
460
+ - spec/models/rpm_rpm_repository_response_spec.rb
461
+ - spec/models/paginatedrpm_package_langpacks_response_list_spec.rb
462
+ - spec/models/rpm_modulemd_obsolete_spec.rb
463
+ - spec/models/rpm_modulemd_spec.rb
464
+ - spec/models/paginatedrpm_package_group_response_list_spec.rb
465
+ - spec/models/patchedrpm_rpm_repository_osv_config_inner_spec.rb
466
+ - spec/models/patchedrpm_rpm_remote_spec.rb
495
467
  - spec/models/paginatedrpm_rpm_repository_response_list_spec.rb
496
- - spec/models/patchedrpm_rpm_distribution_spec.rb
497
- - spec/models/rpm_update_record_response_spec.rb
468
+ - spec/models/paginatedrpm_package_category_response_list_spec.rb
498
469
  - spec/models/sync_policy_enum_spec.rb
499
- - spec/models/paginated_repository_version_response_list_spec.rb
500
- - spec/models/paginatedrpm_modulemd_response_list_spec.rb
501
- - spec/models/paginatedrpm_rpm_alternate_content_source_response_list_spec.rb
470
+ - spec/models/paginatedrpm_rpm_distribution_response_list_spec.rb
471
+ - spec/models/rpm_rpm_alternate_content_source_spec.rb
472
+ - spec/models/paginatedrpm_modulemd_obsolete_response_list_spec.rb
502
473
  - spec/models/rpm_rpm_distribution_spec.rb
474
+ - spec/models/paginatedrpm_update_record_response_list_spec.rb
475
+ - spec/models/rpm_update_collection_response_spec.rb
476
+ - spec/models/nested_role_spec.rb
477
+ - spec/models/content_summary_response_spec.rb
478
+ - spec/models/artifact_response_spec.rb
479
+ - spec/models/my_permissions_response_spec.rb
480
+ - spec/models/paginatedrpm_rpm_publication_response_list_spec.rb
503
481
  - spec/models/remote_network_config_spec.rb
504
- - spec/models/patchedrpm_rpm_remote_spec.rb
505
- - spec/models/paginatedrpm_modulemd_obsolete_response_list_spec.rb
506
- - spec/models/rpm_rpm_distribution_response_spec.rb
507
- - spec/models/rpm_rpm_repository_spec.rb
508
- - spec/models/addon_response_spec.rb
509
- - spec/models/rpm_modulemd_obsolete_spec.rb
510
- - spec/models/rpm_rpm_alternate_content_source_response_spec.rb
511
- - spec/models/rpm_uln_remote_spec.rb
512
- - spec/models/repository_version_response_spec.rb
513
- - spec/models/set_label_response_spec.rb
482
+ - spec/models/unset_label_spec.rb
483
+ - spec/models/rpm_modulemd_response_spec.rb
514
484
  - spec/models/rpm_rpm_publication_spec.rb
515
- - spec/models/paginatedrpm_repo_metadata_file_response_list_spec.rb
516
- - spec/models/rpm_repo_metadata_file_response_spec.rb
517
- - spec/models/patchedrpm_rpm_alternate_content_source_spec.rb
518
- - spec/models/my_permissions_response_spec.rb
519
- - spec/models/rpm_rpm_repository_response_spec.rb
485
+ - spec/models/repository_add_remove_content_spec.rb
520
486
  - spec/models/variant_response_spec.rb
521
- - spec/models/checksum_response_spec.rb
522
- - spec/models/rpm_modulemd_spec.rb
487
+ - spec/models/remote_network_config_response_spec.rb
488
+ - spec/models/skip_types_enum_spec.rb
489
+ - spec/models/rpm_update_collection_spec.rb
490
+ - spec/models/addon_response_spec.rb
491
+ - spec/models/paginatedrpm_repo_metadata_file_response_list_spec.rb
492
+ - spec/models/rpm_rpm_remote_spec.rb
493
+ - spec/models/rpm_distribution_tree_response_spec.rb
494
+ - spec/models/rpm_rpm_remote_response_hidden_fields_inner_spec.rb
495
+ - spec/models/set_label_spec.rb
496
+ - spec/models/package_checksum_type_enum_spec.rb
497
+ - spec/models/unset_label_response_spec.rb
498
+ - spec/models/compression_type_enum_spec.rb
499
+ - spec/models/paginatedrpm_modulemd_response_list_spec.rb
500
+ - spec/models/rpm_rpm_repository_spec.rb
501
+ - spec/models/paginated_repository_version_response_list_spec.rb
502
+ - spec/models/paginatedrpm_distribution_tree_response_list_spec.rb
523
503
  - spec/models/repair_spec.rb
524
- - spec/models/nested_role_spec.rb
525
- - spec/models/paginatedrpm_update_record_response_list_spec.rb
526
- - spec/models/rpm_package_response_spec.rb
504
+ - spec/models/image_response_spec.rb
505
+ - spec/models/rpm_rpm_distribution_response_spec.rb
506
+ - spec/models/paginatedrpm_rpm_alternate_content_source_response_list_spec.rb
507
+ - spec/models/nested_role_response_spec.rb
508
+ - spec/models/rpm_package_langpacks_response_spec.rb
509
+ - spec/models/task_group_operation_response_spec.rb
527
510
  - spec/models/async_operation_response_spec.rb
528
- - spec/models/copy_spec.rb
511
+ - spec/models/rpm_rpm_publication_response_spec.rb
512
+ - spec/models/rpm_uln_remote_response_spec.rb
513
+ - spec/models/rpm_rpm_remote_response_spec.rb
514
+ - spec/models/rpm_uln_remote_spec.rb
529
515
  - spec/models/rpm_repository_sync_url_spec.rb
516
+ - spec/models/patchedrpm_rpm_repository_spec.rb
530
517
  - spec/models/rpm_modulemd_defaults_response_spec.rb
531
- - spec/models/image_response_spec.rb
532
- - spec/models/rpm_modulemd_response_spec.rb
518
+ - spec/models/rpm_package_response_spec.rb
519
+ - spec/models/policy_enum_spec.rb
520
+ - spec/models/paginatedrpm_package_environment_response_list_spec.rb
521
+ - spec/models/rpm_update_record_response_spec.rb
522
+ - spec/models/patchedrpm_rpm_distribution_spec.rb
523
+ - spec/models/rpm_package_group_response_spec.rb
524
+ - spec/models/paginatedrpm_modulemd_defaults_response_list_spec.rb
525
+ - spec/models/set_label_response_spec.rb
526
+ - spec/models/paginatedrpm_rpm_remote_response_list_spec.rb
527
+ - spec/models/object_roles_response_spec.rb
528
+ - spec/models/rpm_modulemd_obsolete_response_spec.rb
529
+ - spec/models/prune_packages_spec.rb
530
+ - spec/models/repository_version_response_spec.rb
531
+ - spec/models/paginatedrpm_uln_remote_response_list_spec.rb
533
532
  - spec/models/rpm_package_category_response_spec.rb
533
+ - spec/models/copy_spec.rb
534
+ - spec/models/rpm_rpm_alternate_content_source_response_spec.rb
535
+ - spec/models/rpm_repo_metadata_file_response_spec.rb
536
+ - spec/models/paginatedrpm_package_response_list_spec.rb
537
+ - spec/models/rpm_modulemd_defaults_spec.rb
534
538
  - spec/spec_helper.rb