pulp_rpm_client 3.14.2.1 → 3.14.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: daf185bd45d3e93a4078b9f7f812eaa3c809c052
4
- data.tar.gz: 4b0ccf6d334a66e9e10e84fa5c1d25196229f89d
2
+ SHA256:
3
+ metadata.gz: fcc65772bbd9ccefa61ea1390ff0abda2e9e70f97572c12823d205fab638a0f6
4
+ data.tar.gz: 8706768b2c7b5ccbb9472bf13b2938fd67fb4e29617f1d6e421e6d884cc31c5b
5
5
  SHA512:
6
- metadata.gz: 1c04a2653df03ba7cac0f79f5ac909223265a619e769c33514e95854c16b1ca25e371282092d855ec60727932e7d6d6302a773bbf92c835ec3a2fa6c1825d871
7
- data.tar.gz: f961a9cefd4c47fa9551a1a49844a5f3a431f3560622802cf7b72dbefbe1dbbc5a90496b7fcbc45e48d660d16f58e808c732a9bc8be56ceb0b2f43e5b281108a
6
+ metadata.gz: 8902ebbf563709057a51bbc84114d85708c2d4b4d5708ccd32815e934b66c844b95038525b24213b40bb985e705825815b818a3000b5e618d11fb80d75f47a99
7
+ data.tar.gz: 8af485bedf65d6bc780bdd562b870c4a266b85692679ebccceaa802b8cdbb9815ad755db2bc175add35fcb417f4a1539c0b52f73913594a7688709d71653305b
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.14.2.1
10
+ - Package version: 3.14.3
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
13
13
 
@@ -24,16 +24,16 @@ gem build pulp_rpm_client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./pulp_rpm_client-3.14.2.1.gem
27
+ gem install ./pulp_rpm_client-3.14.3.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_rpm_client-3.14.2.1.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_rpm_client-3.14.3.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'pulp_rpm_client', '~> 3.14.2.1'
36
+ gem 'pulp_rpm_client', '~> 3.14.3'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -82,7 +82,7 @@ end
82
82
 
83
83
  ## Documentation for API Endpoints
84
84
 
85
- All URIs are relative to *http://localhost:24817*
85
+ All URIs are relative to *http://pulp*
86
86
 
87
87
  Class | Method | HTTP request | Description
88
88
  ------------ | ------------- | ------------- | -------------
@@ -211,7 +211,6 @@ Class | Method | HTTP request | Description
211
211
  - [PulpRpmClient::RpmUpdateRecord](docs/RpmUpdateRecord.md)
212
212
  - [PulpRpmClient::RpmUpdateRecordResponse](docs/RpmUpdateRecordResponse.md)
213
213
  - [PulpRpmClient::SkipTypesEnum](docs/SkipTypesEnum.md)
214
- - [PulpRpmClient::SyncPolicyEnum](docs/SyncPolicyEnum.md)
215
214
  - [PulpRpmClient::VariantResponse](docs/VariantResponse.md)
216
215
 
217
216
 
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::ContentAdvisoriesApi
2
2
 
3
- All URIs are relative to *http://localhost:24817*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::ContentDistributionTreesApi
2
2
 
3
- All URIs are relative to *http://localhost:24817*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::ContentModulemdDefaultsApi
2
2
 
3
- All URIs are relative to *http://localhost:24817*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::ContentModulemdsApi
2
2
 
3
- All URIs are relative to *http://localhost:24817*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::ContentPackagecategoriesApi
2
2
 
3
- All URIs are relative to *http://localhost:24817*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::ContentPackageenvironmentsApi
2
2
 
3
- All URIs are relative to *http://localhost:24817*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::ContentPackagegroupsApi
2
2
 
3
- All URIs are relative to *http://localhost:24817*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::ContentPackagelangpacksApi
2
2
 
3
- All URIs are relative to *http://localhost:24817*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::ContentPackagesApi
2
2
 
3
- All URIs are relative to *http://localhost:24817*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::ContentRepoMetadataFilesApi
2
2
 
3
- All URIs are relative to *http://localhost:24817*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::DistributionsRpmApi
2
2
 
3
- All URIs are relative to *http://localhost:24817*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::PublicationsRpmApi
2
2
 
3
- All URIs are relative to *http://localhost:24817*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::RemotesRpmApi
2
2
 
3
- All URIs are relative to *http://localhost:24817*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::RemotesUlnApi
2
2
 
3
- All URIs are relative to *http://localhost:24817*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::RepositoriesRpmApi
2
2
 
3
- All URIs are relative to *http://localhost:24817*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::RepositoriesRpmVersionsApi
2
2
 
3
- All URIs are relative to *http://localhost:24817*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
data/docs/RpmCopyApi.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::RpmCopyApi
2
2
 
3
- All URIs are relative to *http://localhost:24817*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -5,8 +5,7 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **remote** | **String** | A remote to sync from. This will override a remote set on repository. | [optional]
8
- **mirror** | **Boolean** | DEPRECATED: If ``True``, ``sync_policy`` will default to 'mirror_complete' instead of 'additive'. | [optional]
9
- **sync_policy** | [**SyncPolicyEnum**](SyncPolicyEnum.md) | Options: 'additive', 'mirror_complete', 'mirror_content_only'. Default: 'additive'. Modifies how the sync is performed. 'mirror_complete' will clone the original metadata and create an automatic publication from it, but comes with some limitations and does not work for certain repositories. 'mirror_content_only' will change the repository contents to match the remote but the metadata will be regenerated and will not be bit-for-bit identical. 'additive' will retain the existing contents of the repository and add the contents of the repository being synced. | [optional]
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]
10
9
  **skip_types** | [**Array<SkipTypesEnum>**](SkipTypesEnum.md) | List of content types to skip during sync. | [optional]
11
10
  **optimize** | **Boolean** | Whether or not to optimize sync. | [optional] [default to true]
12
11
 
@@ -17,7 +16,6 @@ require 'PulpRpmClient'
17
16
 
18
17
  instance = PulpRpmClient::RpmRepositorySyncURL.new(remote: null,
19
18
  mirror: null,
20
- sync_policy: null,
21
19
  skip_types: null,
22
20
  optimize: null)
23
21
  ```
@@ -128,7 +128,7 @@ module PulpRpmClient
128
128
 
129
129
  def initialize
130
130
  @scheme = 'http'
131
- @host = 'localhost'
131
+ @host = 'pulp'
132
132
  @base_path = ''
133
133
  @api_key = {}
134
134
  @api_key_prefix = {}
@@ -209,7 +209,7 @@ module PulpRpmClient
209
209
  def server_settings
210
210
  [
211
211
  {
212
- url: "http://localhost:24817/",
212
+ url: "http://pulp/",
213
213
  description: "No description provided",
214
214
  }
215
215
  ]
@@ -18,12 +18,9 @@ module PulpRpmClient
18
18
  # A remote to sync from. This will override a remote set on repository.
19
19
  attr_accessor :remote
20
20
 
21
- # DEPRECATED: If ``True``, ``sync_policy`` will default to 'mirror_complete' instead of 'additive'.
21
+ # If ``True``, synchronization will remove all content that is not present in the remote repository. If ``False``, sync will be additive only.
22
22
  attr_accessor :mirror
23
23
 
24
- # Options: 'additive', 'mirror_complete', 'mirror_content_only'. Default: 'additive'. Modifies how the sync is performed. 'mirror_complete' will clone the original metadata and create an automatic publication from it, but comes with some limitations and does not work for certain repositories. 'mirror_content_only' will change the repository contents to match the remote but the metadata will be regenerated and will not be bit-for-bit identical. 'additive' will retain the existing contents of the repository and add the contents of the repository being synced.
25
- attr_accessor :sync_policy
26
-
27
24
  # List of content types to skip during sync.
28
25
  attr_accessor :skip_types
29
26
 
@@ -35,7 +32,6 @@ module PulpRpmClient
35
32
  {
36
33
  :'remote' => :'remote',
37
34
  :'mirror' => :'mirror',
38
- :'sync_policy' => :'sync_policy',
39
35
  :'skip_types' => :'skip_types',
40
36
  :'optimize' => :'optimize'
41
37
  }
@@ -46,7 +42,6 @@ module PulpRpmClient
46
42
  {
47
43
  :'remote' => :'String',
48
44
  :'mirror' => :'Boolean',
49
- :'sync_policy' => :'SyncPolicyEnum',
50
45
  :'skip_types' => :'Array<SkipTypesEnum>',
51
46
  :'optimize' => :'Boolean'
52
47
  }
@@ -55,8 +50,6 @@ module PulpRpmClient
55
50
  # List of attributes with nullable: true
56
51
  def self.openapi_nullable
57
52
  Set.new([
58
- :'mirror',
59
- :'sync_policy',
60
53
  ])
61
54
  end
62
55
 
@@ -81,10 +74,8 @@ module PulpRpmClient
81
74
 
82
75
  if attributes.key?(:'mirror')
83
76
  self.mirror = attributes[:'mirror']
84
- end
85
-
86
- if attributes.key?(:'sync_policy')
87
- self.sync_policy = attributes[:'sync_policy']
77
+ else
78
+ self.mirror = false
88
79
  end
89
80
 
90
81
  if attributes.key?(:'skip_types')
@@ -120,7 +111,6 @@ module PulpRpmClient
120
111
  self.class == o.class &&
121
112
  remote == o.remote &&
122
113
  mirror == o.mirror &&
123
- sync_policy == o.sync_policy &&
124
114
  skip_types == o.skip_types &&
125
115
  optimize == o.optimize
126
116
  end
@@ -134,7 +124,7 @@ module PulpRpmClient
134
124
  # Calculates hash code according to all attributes.
135
125
  # @return [Integer] Hash code
136
126
  def hash
137
- [remote, mirror, sync_policy, skip_types, optimize].hash
127
+ [remote, mirror, skip_types, optimize].hash
138
128
  end
139
129
 
140
130
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpRpmClient
14
- VERSION = '3.14.2.1'
14
+ VERSION = '3.14.3'
15
15
  end
@@ -79,7 +79,6 @@ require 'pulp_rpm_client/models/rpm_update_collection_response'
79
79
  require 'pulp_rpm_client/models/rpm_update_record'
80
80
  require 'pulp_rpm_client/models/rpm_update_record_response'
81
81
  require 'pulp_rpm_client/models/skip_types_enum'
82
- require 'pulp_rpm_client/models/sync_policy_enum'
83
82
  require 'pulp_rpm_client/models/variant_response'
84
83
 
85
84
  # APIs
@@ -27,7 +27,7 @@ Gem::Specification.new do |s|
27
27
  s.license = 'GPL-2.0+'
28
28
  s.required_ruby_version = ">= 1.9"
29
29
 
30
- s.add_runtime_dependency 'faraday', '~> 0.17', '< 1.9.0'
30
+ s.add_runtime_dependency 'faraday', '>= 0.14.0'
31
31
  s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
32
32
 
33
33
  s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
@@ -18,7 +18,7 @@ describe PulpRpmClient::Configuration do
18
18
  before(:each) do
19
19
  # uncomment below to setup host and base_path
20
20
  # require 'URI'
21
- # uri = URI.parse("http://localhost:24817")
21
+ # uri = URI.parse("http://pulp")
22
22
  # PulpRpmClient.configure do |c|
23
23
  # c.host = uri.host
24
24
  # c.base_path = uri.path
@@ -28,14 +28,14 @@ describe PulpRpmClient::Configuration do
28
28
  describe '#base_url' do
29
29
  it 'should have the default value' do
30
30
  # uncomment below to test default value of the base path
31
- # expect(config.base_url).to eq("http://localhost:24817")
31
+ # expect(config.base_url).to eq("http://pulp")
32
32
  end
33
33
 
34
34
  it 'should remove trailing slashes' do
35
35
  [nil, '', '/', '//'].each do |base_path|
36
36
  config.base_path = base_path
37
37
  # uncomment below to test trailing slashes
38
- # expect(config.base_url).to eq("http://localhost:24817")
38
+ # expect(config.base_url).to eq("http://pulp")
39
39
  end
40
40
  end
41
41
  end
@@ -44,12 +44,6 @@ describe 'RpmRepositorySyncURL' do
44
44
  end
45
45
  end
46
46
 
47
- describe 'test attribute "sync_policy"' do
48
- it 'should work' do
49
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
- end
51
- end
52
-
53
47
  describe 'test attribute "skip_types"' do
54
48
  it 'should work' do
55
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
metadata CHANGED
@@ -1,75 +1,69 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulp_rpm_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.14.2.1
4
+ version: 3.14.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-02 00:00:00.000000000 Z
11
+ date: 2021-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.17'
20
- - - <
21
- - !ruby/object:Gem::Version
22
- version: 1.9.0
19
+ version: 0.14.0
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
- - - ~>
28
- - !ruby/object:Gem::Version
29
- version: '0.17'
30
- - - <
24
+ - - ">="
31
25
  - !ruby/object:Gem::Version
32
- version: 1.9.0
26
+ version: 0.14.0
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: json
35
29
  requirement: !ruby/object:Gem::Requirement
36
30
  requirements:
37
- - - ~>
38
- - !ruby/object:Gem::Version
39
- version: '2.1'
40
- - - '>='
31
+ - - ">="
41
32
  - !ruby/object:Gem::Version
42
33
  version: 2.1.0
34
+ - - "~>"
35
+ - !ruby/object:Gem::Version
36
+ version: '2.1'
43
37
  type: :runtime
44
38
  prerelease: false
45
39
  version_requirements: !ruby/object:Gem::Requirement
46
40
  requirements:
47
- - - ~>
48
- - !ruby/object:Gem::Version
49
- version: '2.1'
50
- - - '>='
41
+ - - ">="
51
42
  - !ruby/object:Gem::Version
52
43
  version: 2.1.0
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '2.1'
53
47
  - !ruby/object:Gem::Dependency
54
48
  name: rspec
55
49
  requirement: !ruby/object:Gem::Requirement
56
50
  requirements:
57
- - - ~>
58
- - !ruby/object:Gem::Version
59
- version: '3.6'
60
- - - '>='
51
+ - - ">="
61
52
  - !ruby/object:Gem::Version
62
53
  version: 3.6.0
54
+ - - "~>"
55
+ - !ruby/object:Gem::Version
56
+ version: '3.6'
63
57
  type: :development
64
58
  prerelease: false
65
59
  version_requirements: !ruby/object:Gem::Requirement
66
60
  requirements:
67
- - - ~>
68
- - !ruby/object:Gem::Version
69
- version: '3.6'
70
- - - '>='
61
+ - - ">="
71
62
  - !ruby/object:Gem::Version
72
63
  version: 3.6.0
64
+ - - "~>"
65
+ - !ruby/object:Gem::Version
66
+ version: '3.6'
73
67
  description: Fetch, Upload, Organize, and Distribute Software Packages
74
68
  email:
75
69
  - pulp-list@redhat.com
@@ -159,7 +153,6 @@ files:
159
153
  - docs/RpmUpdateRecord.md
160
154
  - docs/RpmUpdateRecordResponse.md
161
155
  - docs/SkipTypesEnum.md
162
- - docs/SyncPolicyEnum.md
163
156
  - docs/VariantResponse.md
164
157
  - git_push.sh
165
158
  - lib/pulp_rpm_client.rb
@@ -245,7 +238,6 @@ files:
245
238
  - lib/pulp_rpm_client/models/rpm_update_record.rb
246
239
  - lib/pulp_rpm_client/models/rpm_update_record_response.rb
247
240
  - lib/pulp_rpm_client/models/skip_types_enum.rb
248
- - lib/pulp_rpm_client/models/sync_policy_enum.rb
249
241
  - lib/pulp_rpm_client/models/variant_response.rb
250
242
  - lib/pulp_rpm_client/version.rb
251
243
  - pulp_rpm_client.gemspec
@@ -330,7 +322,6 @@ files:
330
322
  - spec/models/rpm_update_record_response_spec.rb
331
323
  - spec/models/rpm_update_record_spec.rb
332
324
  - spec/models/skip_types_enum_spec.rb
333
- - spec/models/sync_policy_enum_spec.rb
334
325
  - spec/models/variant_response_spec.rb
335
326
  - spec/spec_helper.rb
336
327
  homepage: https://openapi-generator.tech
@@ -343,102 +334,100 @@ require_paths:
343
334
  - lib
344
335
  required_ruby_version: !ruby/object:Gem::Requirement
345
336
  requirements:
346
- - - '>='
337
+ - - ">="
347
338
  - !ruby/object:Gem::Version
348
339
  version: '1.9'
349
340
  required_rubygems_version: !ruby/object:Gem::Requirement
350
341
  requirements:
351
- - - '>='
342
+ - - ">="
352
343
  - !ruby/object:Gem::Version
353
344
  version: '0'
354
345
  requirements: []
355
- rubyforge_project:
356
- rubygems_version: 2.0.14.1
346
+ rubygems_version: 3.0.3.1
357
347
  signing_key:
358
348
  specification_version: 4
359
349
  summary: Pulp 3 API Ruby Gem
360
350
  test_files:
361
- - spec/api/repositories_rpm_versions_api_spec.rb
362
- - spec/api/content_packages_api_spec.rb
363
- - spec/api/content_packageenvironments_api_spec.rb
351
+ - spec/api/content_distribution_trees_api_spec.rb
364
352
  - spec/api/publications_rpm_api_spec.rb
365
- - spec/api/content_repo_metadata_files_api_spec.rb
366
- - spec/api/remotes_rpm_api_spec.rb
353
+ - spec/api/content_packageenvironments_api_spec.rb
354
+ - spec/api/content_modulemd_defaults_api_spec.rb
355
+ - spec/api/content_packagelangpacks_api_spec.rb
356
+ - spec/api/remotes_uln_api_spec.rb
357
+ - spec/api/rpm_copy_api_spec.rb
358
+ - spec/api/content_modulemds_api_spec.rb
359
+ - spec/api/repositories_rpm_versions_api_spec.rb
367
360
  - spec/api/content_advisories_api_spec.rb
368
- - spec/api/content_distribution_trees_api_spec.rb
369
- - spec/api/repositories_rpm_api_spec.rb
370
361
  - spec/api/content_packagegroups_api_spec.rb
362
+ - spec/api/repositories_rpm_api_spec.rb
371
363
  - spec/api/content_packagecategories_api_spec.rb
372
- - spec/api/content_modulemd_defaults_api_spec.rb
373
- - spec/api/content_modulemds_api_spec.rb
374
- - spec/api/remotes_uln_api_spec.rb
375
- - spec/api/content_packagelangpacks_api_spec.rb
364
+ - spec/api/content_packages_api_spec.rb
365
+ - spec/api/content_repo_metadata_files_api_spec.rb
376
366
  - spec/api/distributions_rpm_api_spec.rb
377
- - spec/api/rpm_copy_api_spec.rb
367
+ - spec/api/remotes_rpm_api_spec.rb
378
368
  - spec/api_client_spec.rb
379
369
  - spec/configuration_spec.rb
380
- - spec/models/paginatedrpm_package_group_response_list_spec.rb
370
+ - spec/models/paginatedrpm_rpm_distribution_response_list_spec.rb
371
+ - spec/models/rpm_repository_sync_url_spec.rb
372
+ - spec/models/rpm_modulemd_defaults_spec.rb
381
373
  - spec/models/variant_response_spec.rb
382
- - spec/models/rpm_update_collection_response_spec.rb
383
- - spec/models/rpm_package_spec.rb
374
+ - spec/models/rpm_package_response_spec.rb
375
+ - spec/models/rpm_rpm_remote_response_spec.rb
376
+ - spec/models/copy_spec.rb
377
+ - spec/models/rpm_distribution_tree_response_spec.rb
378
+ - spec/models/rpm_package_group_response_spec.rb
379
+ - spec/models/paginatedrpm_package_response_list_spec.rb
380
+ - spec/models/rpm_rpm_publication_response_spec.rb
381
+ - spec/models/skip_types_enum_spec.rb
384
382
  - spec/models/package_checksum_type_enum_spec.rb
385
- - spec/models/rpm_package_category_response_spec.rb
383
+ - spec/models/rpm_rpm_repository_spec.rb
384
+ - spec/models/rpm_uln_remote_response_spec.rb
385
+ - spec/models/paginatedrpm_package_environment_response_list_spec.rb
386
+ - spec/models/paginatedrpm_uln_remote_response_list_spec.rb
387
+ - spec/models/metadata_checksum_type_enum_spec.rb
386
388
  - spec/models/repository_version_spec.rb
387
- - spec/models/rpm_package_group_response_spec.rb
389
+ - spec/models/image_response_spec.rb
390
+ - spec/models/rpm_uln_remote_spec.rb
391
+ - spec/models/policy_enum_spec.rb
392
+ - spec/models/repository_version_response_spec.rb
393
+ - spec/models/rpm_update_record_spec.rb
394
+ - spec/models/paginatedrpm_package_group_response_list_spec.rb
395
+ - spec/models/rpm_package_environment_response_spec.rb
388
396
  - spec/models/addon_response_spec.rb
389
- - spec/models/rpm_modulemd_response_spec.rb
390
- - spec/models/rpm_modulemd_defaults_response_spec.rb
391
- - spec/models/rpm_rpm_distribution_response_spec.rb
392
- - spec/models/paginatedrpm_rpm_publication_response_list_spec.rb
393
- - spec/models/rpm_package_response_spec.rb
394
- - spec/models/rpm_repository_sync_url_spec.rb
395
- - spec/models/patchedrpm_uln_remote_spec.rb
396
- - spec/models/paginatedrpm_repo_metadata_file_response_list_spec.rb
397
- - spec/models/patchedrpm_rpm_distribution_spec.rb
397
+ - spec/models/rpm_repo_metadata_file_response_spec.rb
398
+ - spec/models/paginatedrpm_modulemd_defaults_response_list_spec.rb
399
+ - spec/models/rpm_package_langpacks_response_spec.rb
398
400
  - spec/models/content_summary_response_spec.rb
399
- - spec/models/rpm_rpm_distribution_spec.rb
400
- - spec/models/patchedrpm_rpm_repository_spec.rb
401
- - spec/models/rpm_uln_remote_spec.rb
402
- - spec/models/paginatedrpm_update_record_response_list_spec.rb
403
- - spec/models/metadata_checksum_type_enum_spec.rb
404
- - spec/models/rpm_rpm_repository_spec.rb
405
- - spec/models/paginatedrpm_package_response_list_spec.rb
406
401
  - spec/models/async_operation_response_spec.rb
407
- - spec/models/rpm_update_record_response_spec.rb
408
- - spec/models/rpm_rpm_publication_spec.rb
402
+ - spec/models/paginated_repository_version_response_list_spec.rb
409
403
  - spec/models/patchedrpm_rpm_remote_spec.rb
410
- - spec/models/checksum_response_spec.rb
411
- - spec/models/paginatedrpm_package_environment_response_list_spec.rb
412
- - spec/models/paginatedrpm_package_langpacks_response_list_spec.rb
413
- - spec/models/paginatedrpm_rpm_distribution_response_list_spec.rb
414
- - spec/models/rpm_uln_remote_response_spec.rb
415
- - spec/models/paginatedrpm_package_category_response_list_spec.rb
416
- - spec/models/rpm_repo_metadata_file_response_spec.rb
417
- - spec/models/paginatedrpm_distribution_tree_response_list_spec.rb
418
- - spec/models/paginatedrpm_modulemd_defaults_response_list_spec.rb
419
- - spec/models/image_response_spec.rb
420
- - spec/models/paginatedrpm_modulemd_response_list_spec.rb
404
+ - spec/models/patchedrpm_rpm_distribution_spec.rb
405
+ - spec/models/rpm_package_spec.rb
421
406
  - spec/models/rpm_update_collection_spec.rb
422
- - spec/models/repository_version_response_spec.rb
423
- - spec/models/skip_types_enum_spec.rb
407
+ - spec/models/paginatedrpm_repo_metadata_file_response_list_spec.rb
424
408
  - spec/models/paginatedrpm_rpm_remote_response_list_spec.rb
425
- - spec/models/rpm_package_environment_response_spec.rb
426
- - spec/models/rpm_modulemd_defaults_spec.rb
427
- - spec/models/rpm_update_record_spec.rb
428
- - spec/models/rpm_rpm_remote_response_spec.rb
409
+ - spec/models/paginatedrpm_distribution_tree_response_list_spec.rb
410
+ - spec/models/artifact_response_spec.rb
411
+ - spec/models/paginatedrpm_package_langpacks_response_list_spec.rb
412
+ - spec/models/patchedrpm_rpm_repository_spec.rb
413
+ - spec/models/patchedrpm_uln_remote_spec.rb
414
+ - spec/models/rpm_modulemd_defaults_response_spec.rb
415
+ - spec/models/paginatedrpm_modulemd_response_list_spec.rb
429
416
  - spec/models/content_summary_spec.rb
430
- - spec/models/paginated_repository_version_response_list_spec.rb
431
- - spec/models/copy_spec.rb
432
- - spec/models/rpm_package_langpacks_response_spec.rb
433
- - spec/models/rpm_rpm_publication_response_spec.rb
434
- - spec/models/sync_policy_enum_spec.rb
435
- - spec/models/rpm_distribution_tree_response_spec.rb
417
+ - spec/models/rpm_package_category_response_spec.rb
436
418
  - spec/models/rpm_rpm_repository_response_spec.rb
437
- - spec/models/rpm_modulemd_spec.rb
438
- - spec/models/artifact_response_spec.rb
439
- - spec/models/paginatedrpm_uln_remote_response_list_spec.rb
419
+ - spec/models/paginatedrpm_rpm_publication_response_list_spec.rb
440
420
  - spec/models/paginatedrpm_rpm_repository_response_list_spec.rb
421
+ - spec/models/rpm_update_collection_response_spec.rb
422
+ - spec/models/rpm_modulemd_response_spec.rb
423
+ - spec/models/rpm_rpm_distribution_response_spec.rb
424
+ - spec/models/paginatedrpm_package_category_response_list_spec.rb
425
+ - spec/models/paginatedrpm_update_record_response_list_spec.rb
441
426
  - spec/models/rpm_rpm_remote_spec.rb
442
- - spec/models/policy_enum_spec.rb
443
427
  - spec/models/repository_add_remove_content_spec.rb
428
+ - spec/models/rpm_rpm_distribution_spec.rb
429
+ - spec/models/rpm_modulemd_spec.rb
430
+ - spec/models/checksum_response_spec.rb
431
+ - spec/models/rpm_update_record_response_spec.rb
432
+ - spec/models/rpm_rpm_publication_spec.rb
444
433
  - spec/spec_helper.rb
@@ -1,16 +0,0 @@
1
- # PulpRpmClient::SyncPolicyEnum
2
-
3
- ## Properties
4
-
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
-
8
- ## Code Sample
9
-
10
- ```ruby
11
- require 'PulpRpmClient'
12
-
13
- instance = PulpRpmClient::SyncPolicyEnum.new()
14
- ```
15
-
16
-
@@ -1,37 +0,0 @@
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
- OpenAPI Generator version: 4.3.1
10
-
11
- =end
12
-
13
- require 'date'
14
-
15
- module PulpRpmClient
16
- class SyncPolicyEnum
17
- ADDITIVE = "additive".freeze
18
- MIRROR_COMPLETE = "mirror_complete".freeze
19
- MIRROR_CONTENT_ONLY = "mirror_content_only".freeze
20
-
21
- # Builds the enum from string
22
- # @param [String] The enum value in the form of the string
23
- # @return [String] The enum value
24
- def self.build_from_hash(value)
25
- new.build_from_hash(value)
26
- end
27
-
28
- # Builds the enum from string
29
- # @param [String] The enum value in the form of the string
30
- # @return [String] The enum value
31
- def build_from_hash(value)
32
- constantValues = SyncPolicyEnum.constants.select { |c| SyncPolicyEnum::const_get(c) == value }
33
- raise "Invalid ENUM value #{value} for class #SyncPolicyEnum" if constantValues.empty?
34
- value
35
- end
36
- end
37
- end
@@ -1,35 +0,0 @@
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
- OpenAPI Generator version: 4.3.1
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
- require 'date'
16
-
17
- # Unit tests for PulpRpmClient::SyncPolicyEnum
18
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
- # Please update as you see appropriate
20
- describe 'SyncPolicyEnum' do
21
- before do
22
- # run before each test
23
- @instance = PulpRpmClient::SyncPolicyEnum.new
24
- end
25
-
26
- after do
27
- # run after each test
28
- end
29
-
30
- describe 'test an instance of SyncPolicyEnum' do
31
- it 'should create an instance of SyncPolicyEnum' do
32
- expect(@instance).to be_instance_of(PulpRpmClient::SyncPolicyEnum)
33
- end
34
- end
35
- end