pulp_rpm_client 3.23.6 → 3.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -5
  3. data/docs/AcsRpmApi.md +1 -1
  4. data/docs/ContentAdvisoriesApi.md +5 -3
  5. data/docs/ContentDistributionTreesApi.md +1 -1
  6. data/docs/ContentModulemdDefaultsApi.md +1 -1
  7. data/docs/ContentModulemdObsoletesApi.md +1 -1
  8. data/docs/ContentModulemdsApi.md +1 -1
  9. data/docs/ContentPackagecategoriesApi.md +1 -1
  10. data/docs/ContentPackageenvironmentsApi.md +1 -1
  11. data/docs/ContentPackagegroupsApi.md +1 -1
  12. data/docs/ContentPackagelangpacksApi.md +1 -1
  13. data/docs/ContentPackagesApi.md +5 -5
  14. data/docs/ContentRepoMetadataFilesApi.md +1 -1
  15. data/docs/DistributionsRpmApi.md +1 -1
  16. data/docs/PatchedrpmRpmRepository.md +5 -3
  17. data/docs/PublicationsRpmApi.md +1 -1
  18. data/docs/RemotesRpmApi.md +1 -1
  19. data/docs/RemotesUlnApi.md +1 -1
  20. data/docs/RepositoriesRpmApi.md +1 -1
  21. data/docs/RepositoriesRpmVersionsApi.md +1 -1
  22. data/docs/RpmCompsApi.md +1 -1
  23. data/docs/RpmCopyApi.md +1 -1
  24. data/docs/RpmPackage.md +2 -2
  25. data/docs/RpmRpmPublication.md +5 -3
  26. data/docs/RpmRpmPublicationResponse.md +5 -3
  27. data/docs/RpmRpmRemoteResponseHiddenFields.md +2 -2
  28. data/docs/RpmRpmRepository.md +5 -3
  29. data/docs/RpmRpmRepositoryResponse.md +5 -3
  30. data/docs/RpmUpdateRecord.md +4 -2
  31. data/lib/pulp_rpm_client/api/content_advisories_api.rb +5 -2
  32. data/lib/pulp_rpm_client/api/content_packages_api.rb +4 -4
  33. data/lib/pulp_rpm_client/configuration.rb +2 -2
  34. data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +18 -10
  35. data/lib/pulp_rpm_client/models/rpm_package.rb +2 -2
  36. data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +18 -6
  37. data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +18 -6
  38. data/lib/pulp_rpm_client/models/rpm_rpm_remote_response_hidden_fields.rb +0 -10
  39. data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +18 -10
  40. data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +18 -10
  41. data/lib/pulp_rpm_client/models/rpm_update_record.rb +15 -5
  42. data/lib/pulp_rpm_client/version.rb +1 -1
  43. data/spec/api/content_advisories_api_spec.rb +2 -1
  44. data/spec/api/content_packages_api_spec.rb +2 -2
  45. data/spec/configuration_spec.rb +3 -3
  46. data/spec/models/patchedrpm_rpm_repository_spec.rb +6 -0
  47. data/spec/models/rpm_rpm_publication_response_spec.rb +6 -0
  48. data/spec/models/rpm_rpm_publication_spec.rb +6 -0
  49. data/spec/models/rpm_rpm_repository_response_spec.rb +6 -0
  50. data/spec/models/rpm_rpm_repository_spec.rb +6 -0
  51. data/spec/models/rpm_update_record_spec.rb +6 -0
  52. metadata +97 -97
@@ -26,15 +26,18 @@ module PulpRpmClient
26
26
  # The checksum type for packages. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
27
27
  attr_accessor :package_checksum_type
28
28
 
29
- # An option specifying whether a client should perform a GPG signature check on packages.
29
+ # DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages.
30
30
  attr_accessor :gpgcheck
31
31
 
32
- # An option specifying whether a client should perform a GPG signature check on the repodata.
32
+ # DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata.
33
33
  attr_accessor :repo_gpgcheck
34
34
 
35
35
  # DEPRECATED: An option specifying whether Pulp should generate SQLite metadata.
36
36
  attr_accessor :sqlite_metadata
37
37
 
38
+ # A JSON document describing config.repo file
39
+ attr_accessor :repo_config
40
+
38
41
  # Attribute mapping from ruby-style variable name to JSON key.
39
42
  def self.attribute_map
40
43
  {
@@ -44,7 +47,8 @@ module PulpRpmClient
44
47
  :'package_checksum_type' => :'package_checksum_type',
45
48
  :'gpgcheck' => :'gpgcheck',
46
49
  :'repo_gpgcheck' => :'repo_gpgcheck',
47
- :'sqlite_metadata' => :'sqlite_metadata'
50
+ :'sqlite_metadata' => :'sqlite_metadata',
51
+ :'repo_config' => :'repo_config'
48
52
  }
49
53
  end
50
54
 
@@ -57,13 +61,16 @@ module PulpRpmClient
57
61
  :'package_checksum_type' => :'PackageChecksumTypeEnum',
58
62
  :'gpgcheck' => :'Integer',
59
63
  :'repo_gpgcheck' => :'Integer',
60
- :'sqlite_metadata' => :'Boolean'
64
+ :'sqlite_metadata' => :'Boolean',
65
+ :'repo_config' => :'Object'
61
66
  }
62
67
  end
63
68
 
64
69
  # List of attributes with nullable: true
65
70
  def self.openapi_nullable
66
71
  Set.new([
72
+ :'gpgcheck',
73
+ :'repo_gpgcheck',
67
74
  ])
68
75
  end
69
76
 
@@ -111,6 +118,10 @@ module PulpRpmClient
111
118
  else
112
119
  self.sqlite_metadata = false
113
120
  end
121
+
122
+ if attributes.key?(:'repo_config')
123
+ self.repo_config = attributes[:'repo_config']
124
+ end
114
125
  end
115
126
 
116
127
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -185,7 +196,8 @@ module PulpRpmClient
185
196
  package_checksum_type == o.package_checksum_type &&
186
197
  gpgcheck == o.gpgcheck &&
187
198
  repo_gpgcheck == o.repo_gpgcheck &&
188
- sqlite_metadata == o.sqlite_metadata
199
+ sqlite_metadata == o.sqlite_metadata &&
200
+ repo_config == o.repo_config
189
201
  end
190
202
 
191
203
  # @see the `==` method
@@ -197,7 +209,7 @@ module PulpRpmClient
197
209
  # Calculates hash code according to all attributes.
198
210
  # @return [Integer] Hash code
199
211
  def hash
200
- [repository_version, repository, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata].hash
212
+ [repository_version, repository, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata, repo_config].hash
201
213
  end
202
214
 
203
215
  # Builds the object from hash
@@ -31,15 +31,18 @@ module PulpRpmClient
31
31
  # The checksum type for packages. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
32
32
  attr_accessor :package_checksum_type
33
33
 
34
- # An option specifying whether a client should perform a GPG signature check on packages.
34
+ # DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages.
35
35
  attr_accessor :gpgcheck
36
36
 
37
- # An option specifying whether a client should perform a GPG signature check on the repodata.
37
+ # DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata.
38
38
  attr_accessor :repo_gpgcheck
39
39
 
40
40
  # DEPRECATED: An option specifying whether Pulp should generate SQLite metadata.
41
41
  attr_accessor :sqlite_metadata
42
42
 
43
+ # A JSON document describing config.repo file
44
+ attr_accessor :repo_config
45
+
43
46
  # Attribute mapping from ruby-style variable name to JSON key.
44
47
  def self.attribute_map
45
48
  {
@@ -51,7 +54,8 @@ module PulpRpmClient
51
54
  :'package_checksum_type' => :'package_checksum_type',
52
55
  :'gpgcheck' => :'gpgcheck',
53
56
  :'repo_gpgcheck' => :'repo_gpgcheck',
54
- :'sqlite_metadata' => :'sqlite_metadata'
57
+ :'sqlite_metadata' => :'sqlite_metadata',
58
+ :'repo_config' => :'repo_config'
55
59
  }
56
60
  end
57
61
 
@@ -66,13 +70,16 @@ module PulpRpmClient
66
70
  :'package_checksum_type' => :'PackageChecksumTypeEnum',
67
71
  :'gpgcheck' => :'Integer',
68
72
  :'repo_gpgcheck' => :'Integer',
69
- :'sqlite_metadata' => :'Boolean'
73
+ :'sqlite_metadata' => :'Boolean',
74
+ :'repo_config' => :'Object'
70
75
  }
71
76
  end
72
77
 
73
78
  # List of attributes with nullable: true
74
79
  def self.openapi_nullable
75
80
  Set.new([
81
+ :'gpgcheck',
82
+ :'repo_gpgcheck',
76
83
  ])
77
84
  end
78
85
 
@@ -128,6 +135,10 @@ module PulpRpmClient
128
135
  else
129
136
  self.sqlite_metadata = false
130
137
  end
138
+
139
+ if attributes.key?(:'repo_config')
140
+ self.repo_config = attributes[:'repo_config']
141
+ end
131
142
  end
132
143
 
133
144
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -204,7 +215,8 @@ module PulpRpmClient
204
215
  package_checksum_type == o.package_checksum_type &&
205
216
  gpgcheck == o.gpgcheck &&
206
217
  repo_gpgcheck == o.repo_gpgcheck &&
207
- sqlite_metadata == o.sqlite_metadata
218
+ sqlite_metadata == o.sqlite_metadata &&
219
+ repo_config == o.repo_config
208
220
  end
209
221
 
210
222
  # @see the `==` method
@@ -216,7 +228,7 @@ module PulpRpmClient
216
228
  # Calculates hash code according to all attributes.
217
229
  # @return [Integer] Hash code
218
230
  def hash
219
- [pulp_href, pulp_created, repository_version, repository, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata].hash
231
+ [pulp_href, pulp_created, repository_version, repository, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata, repo_config].hash
220
232
  end
221
233
 
222
234
  # Builds the object from hash
@@ -68,22 +68,12 @@ module PulpRpmClient
68
68
  # @return Array for valid properties with the reasons
69
69
  def list_invalid_properties
70
70
  invalid_properties = Array.new
71
- if @name.nil?
72
- invalid_properties.push('invalid value for "name", name cannot be nil.')
73
- end
74
-
75
- if @is_set.nil?
76
- invalid_properties.push('invalid value for "is_set", is_set cannot be nil.')
77
- end
78
-
79
71
  invalid_properties
80
72
  end
81
73
 
82
74
  # Check to see if the all the properties in the model are valid
83
75
  # @return true if the model is valid
84
76
  def valid?
85
- return false if @name.nil?
86
- return false if @is_set.nil?
87
77
  true
88
78
  end
89
79
 
@@ -44,15 +44,18 @@ module PulpRpmClient
44
44
  # The checksum type for packages. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
45
45
  attr_accessor :package_checksum_type
46
46
 
47
- # An option specifying whether a client should perform a GPG signature check on packages.
47
+ # DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages.
48
48
  attr_accessor :gpgcheck
49
49
 
50
- # An option specifying whether a client should perform a GPG signature check on the repodata.
50
+ # DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata.
51
51
  attr_accessor :repo_gpgcheck
52
52
 
53
53
  # DEPRECATED: An option specifying whether Pulp should generate SQLite metadata.
54
54
  attr_accessor :sqlite_metadata
55
55
 
56
+ # A JSON document describing config.repo file
57
+ attr_accessor :repo_config
58
+
56
59
  # Attribute mapping from ruby-style variable name to JSON key.
57
60
  def self.attribute_map
58
61
  {
@@ -68,7 +71,8 @@ module PulpRpmClient
68
71
  :'package_checksum_type' => :'package_checksum_type',
69
72
  :'gpgcheck' => :'gpgcheck',
70
73
  :'repo_gpgcheck' => :'repo_gpgcheck',
71
- :'sqlite_metadata' => :'sqlite_metadata'
74
+ :'sqlite_metadata' => :'sqlite_metadata',
75
+ :'repo_config' => :'repo_config'
72
76
  }
73
77
  end
74
78
 
@@ -87,7 +91,8 @@ module PulpRpmClient
87
91
  :'package_checksum_type' => :'PackageChecksumTypeEnum',
88
92
  :'gpgcheck' => :'Integer',
89
93
  :'repo_gpgcheck' => :'Integer',
90
- :'sqlite_metadata' => :'Boolean'
94
+ :'sqlite_metadata' => :'Boolean',
95
+ :'repo_config' => :'Object'
91
96
  }
92
97
  end
93
98
 
@@ -100,6 +105,8 @@ module PulpRpmClient
100
105
  :'metadata_signing_service',
101
106
  :'metadata_checksum_type',
102
107
  :'package_checksum_type',
108
+ :'gpgcheck',
109
+ :'repo_gpgcheck',
103
110
  ])
104
111
  end
105
112
 
@@ -164,14 +171,10 @@ module PulpRpmClient
164
171
 
165
172
  if attributes.key?(:'gpgcheck')
166
173
  self.gpgcheck = attributes[:'gpgcheck']
167
- else
168
- self.gpgcheck = 0
169
174
  end
170
175
 
171
176
  if attributes.key?(:'repo_gpgcheck')
172
177
  self.repo_gpgcheck = attributes[:'repo_gpgcheck']
173
- else
174
- self.repo_gpgcheck = 0
175
178
  end
176
179
 
177
180
  if attributes.key?(:'sqlite_metadata')
@@ -179,6 +182,10 @@ module PulpRpmClient
179
182
  else
180
183
  self.sqlite_metadata = false
181
184
  end
185
+
186
+ if attributes.key?(:'repo_config')
187
+ self.repo_config = attributes[:'repo_config']
188
+ end
182
189
  end
183
190
 
184
191
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -328,7 +335,8 @@ module PulpRpmClient
328
335
  package_checksum_type == o.package_checksum_type &&
329
336
  gpgcheck == o.gpgcheck &&
330
337
  repo_gpgcheck == o.repo_gpgcheck &&
331
- sqlite_metadata == o.sqlite_metadata
338
+ sqlite_metadata == o.sqlite_metadata &&
339
+ repo_config == o.repo_config
332
340
  end
333
341
 
334
342
  # @see the `==` method
@@ -340,7 +348,7 @@ module PulpRpmClient
340
348
  # Calculates hash code according to all attributes.
341
349
  # @return [Integer] Hash code
342
350
  def hash
343
- [pulp_labels, name, description, retain_repo_versions, remote, autopublish, metadata_signing_service, retain_package_versions, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata].hash
351
+ [pulp_labels, name, description, retain_repo_versions, remote, autopublish, metadata_signing_service, retain_package_versions, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata, repo_config].hash
344
352
  end
345
353
 
346
354
  # Builds the object from hash
@@ -53,15 +53,18 @@ module PulpRpmClient
53
53
  # The checksum type for packages. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
54
54
  attr_accessor :package_checksum_type
55
55
 
56
- # An option specifying whether a client should perform a GPG signature check on packages.
56
+ # DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages.
57
57
  attr_accessor :gpgcheck
58
58
 
59
- # An option specifying whether a client should perform a GPG signature check on the repodata.
59
+ # DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata.
60
60
  attr_accessor :repo_gpgcheck
61
61
 
62
62
  # DEPRECATED: An option specifying whether Pulp should generate SQLite metadata.
63
63
  attr_accessor :sqlite_metadata
64
64
 
65
+ # A JSON document describing config.repo file
66
+ attr_accessor :repo_config
67
+
65
68
  # Attribute mapping from ruby-style variable name to JSON key.
66
69
  def self.attribute_map
67
70
  {
@@ -81,7 +84,8 @@ module PulpRpmClient
81
84
  :'package_checksum_type' => :'package_checksum_type',
82
85
  :'gpgcheck' => :'gpgcheck',
83
86
  :'repo_gpgcheck' => :'repo_gpgcheck',
84
- :'sqlite_metadata' => :'sqlite_metadata'
87
+ :'sqlite_metadata' => :'sqlite_metadata',
88
+ :'repo_config' => :'repo_config'
85
89
  }
86
90
  end
87
91
 
@@ -104,7 +108,8 @@ module PulpRpmClient
104
108
  :'package_checksum_type' => :'PackageChecksumTypeEnum',
105
109
  :'gpgcheck' => :'Integer',
106
110
  :'repo_gpgcheck' => :'Integer',
107
- :'sqlite_metadata' => :'Boolean'
111
+ :'sqlite_metadata' => :'Boolean',
112
+ :'repo_config' => :'Object'
108
113
  }
109
114
  end
110
115
 
@@ -117,6 +122,8 @@ module PulpRpmClient
117
122
  :'metadata_signing_service',
118
123
  :'metadata_checksum_type',
119
124
  :'package_checksum_type',
125
+ :'gpgcheck',
126
+ :'repo_gpgcheck',
120
127
  ])
121
128
  end
122
129
 
@@ -197,14 +204,10 @@ module PulpRpmClient
197
204
 
198
205
  if attributes.key?(:'gpgcheck')
199
206
  self.gpgcheck = attributes[:'gpgcheck']
200
- else
201
- self.gpgcheck = 0
202
207
  end
203
208
 
204
209
  if attributes.key?(:'repo_gpgcheck')
205
210
  self.repo_gpgcheck = attributes[:'repo_gpgcheck']
206
- else
207
- self.repo_gpgcheck = 0
208
211
  end
209
212
 
210
213
  if attributes.key?(:'sqlite_metadata')
@@ -212,6 +215,10 @@ module PulpRpmClient
212
215
  else
213
216
  self.sqlite_metadata = false
214
217
  end
218
+
219
+ if attributes.key?(:'repo_config')
220
+ self.repo_config = attributes[:'repo_config']
221
+ end
215
222
  end
216
223
 
217
224
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -331,7 +338,8 @@ module PulpRpmClient
331
338
  package_checksum_type == o.package_checksum_type &&
332
339
  gpgcheck == o.gpgcheck &&
333
340
  repo_gpgcheck == o.repo_gpgcheck &&
334
- sqlite_metadata == o.sqlite_metadata
341
+ sqlite_metadata == o.sqlite_metadata &&
342
+ repo_config == o.repo_config
335
343
  end
336
344
 
337
345
  # @see the `==` method
@@ -343,7 +351,7 @@ module PulpRpmClient
343
351
  # Calculates hash code according to all attributes.
344
352
  # @return [Integer] Hash code
345
353
  def hash
346
- [pulp_href, pulp_created, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote, autopublish, metadata_signing_service, retain_package_versions, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata].hash
354
+ [pulp_href, pulp_created, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote, autopublish, metadata_signing_service, retain_package_versions, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata, repo_config].hash
347
355
  end
348
356
 
349
357
  # Builds the object from hash
@@ -18,14 +18,18 @@ module PulpRpmClient
18
18
  # A URI of a repository the new content unit should be associated with.
19
19
  attr_accessor :repository
20
20
 
21
- # An uploaded file that may be turned into the artifact of the content unit.
21
+ # An uploaded file that may be turned into the content unit.
22
22
  attr_accessor :file
23
23
 
24
+ # An uncommitted upload that may be turned into the content unit.
25
+ attr_accessor :upload
26
+
24
27
  # Attribute mapping from ruby-style variable name to JSON key.
25
28
  def self.attribute_map
26
29
  {
27
30
  :'repository' => :'repository',
28
- :'file' => :'file'
31
+ :'file' => :'file',
32
+ :'upload' => :'upload'
29
33
  }
30
34
  end
31
35
 
@@ -33,7 +37,8 @@ module PulpRpmClient
33
37
  def self.openapi_types
34
38
  {
35
39
  :'repository' => :'String',
36
- :'file' => :'File'
40
+ :'file' => :'File',
41
+ :'upload' => :'String'
37
42
  }
38
43
  end
39
44
 
@@ -65,6 +70,10 @@ module PulpRpmClient
65
70
  if attributes.key?(:'file')
66
71
  self.file = attributes[:'file']
67
72
  end
73
+
74
+ if attributes.key?(:'upload')
75
+ self.upload = attributes[:'upload']
76
+ end
68
77
  end
69
78
 
70
79
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -86,7 +95,8 @@ module PulpRpmClient
86
95
  return true if self.equal?(o)
87
96
  self.class == o.class &&
88
97
  repository == o.repository &&
89
- file == o.file
98
+ file == o.file &&
99
+ upload == o.upload
90
100
  end
91
101
 
92
102
  # @see the `==` method
@@ -98,7 +108,7 @@ module PulpRpmClient
98
108
  # Calculates hash code according to all attributes.
99
109
  # @return [Integer] Hash code
100
110
  def hash
101
- [repository, file].hash
111
+ [repository, file, upload].hash
102
112
  end
103
113
 
104
114
  # 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.23.6'
14
+ VERSION = '3.24.0'
15
15
  end
@@ -37,7 +37,8 @@ describe 'ContentAdvisoriesApi' do
37
37
  # Trigger an asynchronous task to create content,optionally create new repository version.
38
38
  # @param [Hash] opts the optional parameters
39
39
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
40
- # @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
40
+ # @option opts [File] :file An uploaded file that may be turned into the content unit.
41
+ # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
41
42
  # @return [AsyncOperationResponse]
42
43
  describe 'create test' do
43
44
  it 'should work' do
@@ -39,8 +39,8 @@ describe 'ContentPackagesApi' do
39
39
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
40
40
  # @option opts [String] :artifact Artifact file representing the physical content
41
41
  # @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path
42
- # @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
43
- # @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
42
+ # @option opts [File] :file An uploaded file that may be turned into the content unit.
43
+ # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
44
44
  # @return [AsyncOperationResponse]
45
45
  describe 'create test' do
46
46
  it 'should work' do
@@ -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
@@ -110,4 +110,10 @@ describe 'PatchedrpmRpmRepository' do
110
110
  end
111
111
  end
112
112
 
113
+ describe 'test attribute "repo_config"' do
114
+ it 'should work' do
115
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
116
+ end
117
+ end
118
+
113
119
  end
@@ -86,4 +86,10 @@ describe 'RpmRpmPublicationResponse' do
86
86
  end
87
87
  end
88
88
 
89
+ describe 'test attribute "repo_config"' do
90
+ it 'should work' do
91
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
+ end
93
+ end
94
+
89
95
  end
@@ -74,4 +74,10 @@ describe 'RpmRpmPublication' do
74
74
  end
75
75
  end
76
76
 
77
+ describe 'test attribute "repo_config"' do
78
+ it 'should work' do
79
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ end
81
+ end
82
+
77
83
  end
@@ -134,4 +134,10 @@ describe 'RpmRpmRepositoryResponse' do
134
134
  end
135
135
  end
136
136
 
137
+ describe 'test attribute "repo_config"' do
138
+ it 'should work' do
139
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
140
+ end
141
+ end
142
+
137
143
  end
@@ -110,4 +110,10 @@ describe 'RpmRpmRepository' do
110
110
  end
111
111
  end
112
112
 
113
+ describe 'test attribute "repo_config"' do
114
+ it 'should work' do
115
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
116
+ end
117
+ end
118
+
113
119
  end
@@ -44,4 +44,10 @@ describe 'RpmUpdateRecord' do
44
44
  end
45
45
  end
46
46
 
47
+ describe 'test attribute "upload"' 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
+
47
53
  end