pulp_container_client 2.20.0 → 2.20.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -7
  3. data/docs/ContainerBlobResponse.md +2 -0
  4. data/docs/ContainerContainerDistribution.md +9 -9
  5. data/docs/ContainerContainerDistributionResponse.md +13 -11
  6. data/docs/ContainerContainerNamespaceResponse.md +2 -0
  7. data/docs/ContainerContainerPullThroughDistribution.md +9 -9
  8. data/docs/ContainerContainerPullThroughDistributionResponse.md +13 -11
  9. data/docs/ContainerContainerPullThroughRemoteResponse.md +2 -2
  10. data/docs/ContainerContainerPullThroughRemoteResponseHiddenFields.md +2 -2
  11. data/docs/ContainerContainerPushRepository.md +6 -6
  12. data/docs/ContainerContainerPushRepositoryResponse.md +15 -13
  13. data/docs/ContainerContainerRemoteResponse.md +2 -2
  14. data/docs/ContainerContainerRepositoryResponse.md +2 -0
  15. data/docs/ContainerManifestResponse.md +2 -0
  16. data/docs/ContainerManifestSignatureResponse.md +2 -0
  17. data/docs/ContainerTagResponse.md +2 -0
  18. data/docs/ContentBlobsApi.md +1 -1
  19. data/docs/ContentManifestsApi.md +1 -1
  20. data/docs/ContentSignaturesApi.md +1 -1
  21. data/docs/ContentTagsApi.md +1 -1
  22. data/docs/DistributionsContainerApi.md +1 -1
  23. data/docs/DistributionsPullThroughApi.md +1 -1
  24. data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
  25. data/docs/PaginatedcontainerBlobResponseList.md +2 -2
  26. data/docs/PaginatedcontainerContainerDistributionResponseList.md +2 -2
  27. data/docs/PaginatedcontainerContainerNamespaceResponseList.md +2 -2
  28. data/docs/PaginatedcontainerContainerPullThroughDistributionResponseList.md +2 -2
  29. data/docs/PaginatedcontainerContainerPullThroughRemoteResponseList.md +2 -2
  30. data/docs/PaginatedcontainerContainerPushRepositoryResponseList.md +2 -2
  31. data/docs/PaginatedcontainerContainerRemoteResponseList.md +2 -2
  32. data/docs/PaginatedcontainerContainerRepositoryResponseList.md +2 -2
  33. data/docs/PaginatedcontainerManifestResponseList.md +2 -2
  34. data/docs/PaginatedcontainerManifestSignatureResponseList.md +2 -2
  35. data/docs/PaginatedcontainerTagResponseList.md +2 -2
  36. data/docs/PatchedcontainerContainerDistribution.md +9 -9
  37. data/docs/PatchedcontainerContainerPullThroughDistribution.md +9 -9
  38. data/docs/PatchedcontainerContainerPushRepository.md +6 -6
  39. data/docs/PulpContainerNamespacesApi.md +1 -1
  40. data/docs/RemotesContainerApi.md +1 -1
  41. data/docs/RemotesPullThroughApi.md +1 -1
  42. data/docs/RepositoriesContainerApi.md +1 -1
  43. data/docs/RepositoriesContainerPushApi.md +1 -1
  44. data/docs/RepositoriesContainerPushVersionsApi.md +1 -1
  45. data/docs/RepositoriesContainerVersionsApi.md +1 -1
  46. data/docs/RepositoryVersionResponse.md +2 -0
  47. data/docs/TokenApi.md +1 -1
  48. data/lib/pulp_container_client/configuration.rb +2 -2
  49. data/lib/pulp_container_client/models/container_blob_response.rb +11 -1
  50. data/lib/pulp_container_client/models/container_container_distribution.rb +63 -63
  51. data/lib/pulp_container_client/models/container_container_distribution_response.rb +62 -52
  52. data/lib/pulp_container_client/models/container_container_namespace_response.rb +11 -1
  53. data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +63 -63
  54. data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +62 -52
  55. data/lib/pulp_container_client/models/container_container_pull_through_remote.rb +20 -20
  56. data/lib/pulp_container_client/models/container_container_pull_through_remote_response.rb +31 -31
  57. data/lib/pulp_container_client/models/container_container_pull_through_remote_response_hidden_fields.rb +10 -0
  58. data/lib/pulp_container_client/models/container_container_push_repository.rb +40 -40
  59. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +60 -50
  60. data/lib/pulp_container_client/models/container_container_remote.rb +20 -20
  61. data/lib/pulp_container_client/models/container_container_remote_response.rb +31 -31
  62. data/lib/pulp_container_client/models/container_container_repository_response.rb +11 -1
  63. data/lib/pulp_container_client/models/container_manifest_response.rb +11 -1
  64. data/lib/pulp_container_client/models/container_manifest_signature_response.rb +11 -1
  65. data/lib/pulp_container_client/models/container_tag_response.rb +11 -1
  66. data/lib/pulp_container_client/models/paginated_repository_version_response_list.rb +10 -0
  67. data/lib/pulp_container_client/models/paginatedcontainer_blob_response_list.rb +10 -0
  68. data/lib/pulp_container_client/models/paginatedcontainer_container_distribution_response_list.rb +10 -0
  69. data/lib/pulp_container_client/models/paginatedcontainer_container_namespace_response_list.rb +10 -0
  70. data/lib/pulp_container_client/models/paginatedcontainer_container_pull_through_distribution_response_list.rb +10 -0
  71. data/lib/pulp_container_client/models/paginatedcontainer_container_pull_through_remote_response_list.rb +10 -0
  72. data/lib/pulp_container_client/models/paginatedcontainer_container_push_repository_response_list.rb +10 -0
  73. data/lib/pulp_container_client/models/paginatedcontainer_container_remote_response_list.rb +10 -0
  74. data/lib/pulp_container_client/models/paginatedcontainer_container_repository_response_list.rb +10 -0
  75. data/lib/pulp_container_client/models/paginatedcontainer_manifest_response_list.rb +10 -0
  76. data/lib/pulp_container_client/models/paginatedcontainer_manifest_signature_response_list.rb +10 -0
  77. data/lib/pulp_container_client/models/paginatedcontainer_tag_response_list.rb +10 -0
  78. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +54 -54
  79. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +54 -54
  80. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_remote.rb +20 -20
  81. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +40 -40
  82. data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +20 -20
  83. data/lib/pulp_container_client/models/repository_version_response.rb +11 -1
  84. data/lib/pulp_container_client/version.rb +1 -1
  85. data/lib/pulp_container_client.rb +0 -2
  86. data/spec/configuration_spec.rb +3 -3
  87. data/spec/models/container_blob_response_spec.rb +6 -0
  88. data/spec/models/container_container_distribution_response_spec.rb +14 -8
  89. data/spec/models/container_container_distribution_spec.rb +6 -6
  90. data/spec/models/container_container_namespace_response_spec.rb +6 -0
  91. data/spec/models/container_container_pull_through_distribution_response_spec.rb +14 -8
  92. data/spec/models/container_container_pull_through_distribution_spec.rb +6 -6
  93. data/spec/models/container_container_pull_through_remote_response_spec.rb +6 -6
  94. data/spec/models/container_container_push_repository_response_spec.rb +14 -8
  95. data/spec/models/container_container_push_repository_spec.rb +5 -5
  96. data/spec/models/container_container_remote_response_spec.rb +6 -6
  97. data/spec/models/container_container_repository_response_spec.rb +6 -0
  98. data/spec/models/container_manifest_response_spec.rb +6 -0
  99. data/spec/models/container_manifest_signature_response_spec.rb +6 -0
  100. data/spec/models/container_tag_response_spec.rb +6 -0
  101. data/spec/models/patchedcontainer_container_distribution_spec.rb +6 -6
  102. data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +6 -6
  103. data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
  104. data/spec/models/repository_version_response_spec.rb +6 -0
  105. metadata +70 -78
  106. data/docs/IndexDynamicApi.md +0 -50
  107. data/docs/IndexStaticApi.md +0 -50
  108. data/lib/pulp_container_client/api/index_dynamic_api.rb +0 -74
  109. data/lib/pulp_container_client/api/index_static_api.rb +0 -74
  110. data/spec/api/index_dynamic_api_spec.rb +0 -45
  111. data/spec/api/index_static_api_spec.rb +0 -45
@@ -15,48 +15,48 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # Serializer for Container Push Repositories.
17
17
  class PatchedcontainerContainerPushRepository
18
+ # An optional description.
19
+ attr_accessor :description
20
+
18
21
  # Retain X versions of the repository. Default is null which retains all versions.
19
22
  attr_accessor :retain_repo_versions
20
23
 
24
+ # A unique name for this repository.
25
+ attr_accessor :name
26
+
21
27
  # A reference to an associated signing service.
22
28
  attr_accessor :manifest_signing_service
23
29
 
24
30
  attr_accessor :pulp_labels
25
31
 
26
- # A unique name for this repository.
27
- attr_accessor :name
28
-
29
- # An optional description.
30
- attr_accessor :description
31
-
32
32
  # Attribute mapping from ruby-style variable name to JSON key.
33
33
  def self.attribute_map
34
34
  {
35
+ :'description' => :'description',
35
36
  :'retain_repo_versions' => :'retain_repo_versions',
36
- :'manifest_signing_service' => :'manifest_signing_service',
37
- :'pulp_labels' => :'pulp_labels',
38
37
  :'name' => :'name',
39
- :'description' => :'description'
38
+ :'manifest_signing_service' => :'manifest_signing_service',
39
+ :'pulp_labels' => :'pulp_labels'
40
40
  }
41
41
  end
42
42
 
43
43
  # Attribute type mapping.
44
44
  def self.openapi_types
45
45
  {
46
+ :'description' => :'String',
46
47
  :'retain_repo_versions' => :'Integer',
47
- :'manifest_signing_service' => :'String',
48
- :'pulp_labels' => :'Hash<String, String>',
49
48
  :'name' => :'String',
50
- :'description' => :'String'
49
+ :'manifest_signing_service' => :'String',
50
+ :'pulp_labels' => :'Hash<String, String>'
51
51
  }
52
52
  end
53
53
 
54
54
  # List of attributes with nullable: true
55
55
  def self.openapi_nullable
56
56
  Set.new([
57
+ :'description',
57
58
  :'retain_repo_versions',
58
59
  :'manifest_signing_service',
59
- :'description'
60
60
  ])
61
61
  end
62
62
 
@@ -75,10 +75,18 @@ module PulpContainerClient
75
75
  h[k.to_sym] = v
76
76
  }
77
77
 
78
+ if attributes.key?(:'description')
79
+ self.description = attributes[:'description']
80
+ end
81
+
78
82
  if attributes.key?(:'retain_repo_versions')
79
83
  self.retain_repo_versions = attributes[:'retain_repo_versions']
80
84
  end
81
85
 
86
+ if attributes.key?(:'name')
87
+ self.name = attributes[:'name']
88
+ end
89
+
82
90
  if attributes.key?(:'manifest_signing_service')
83
91
  self.manifest_signing_service = attributes[:'manifest_signing_service']
84
92
  end
@@ -88,20 +96,16 @@ module PulpContainerClient
88
96
  self.pulp_labels = value
89
97
  end
90
98
  end
91
-
92
- if attributes.key?(:'name')
93
- self.name = attributes[:'name']
94
- end
95
-
96
- if attributes.key?(:'description')
97
- self.description = attributes[:'description']
98
- end
99
99
  end
100
100
 
101
101
  # Show invalid properties with the reasons. Usually used together with valid?
102
102
  # @return Array for valid properties with the reasons
103
103
  def list_invalid_properties
104
104
  invalid_properties = Array.new
105
+ if !@description.nil? && @description.to_s.length < 1
106
+ invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
107
+ end
108
+
105
109
  if !@retain_repo_versions.nil? && @retain_repo_versions < 1
106
110
  invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
107
111
  end
@@ -110,22 +114,28 @@ module PulpContainerClient
110
114
  invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
111
115
  end
112
116
 
113
- if !@description.nil? && @description.to_s.length < 1
114
- invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
115
- end
116
-
117
117
  invalid_properties
118
118
  end
119
119
 
120
120
  # Check to see if the all the properties in the model are valid
121
121
  # @return true if the model is valid
122
122
  def valid?
123
+ return false if !@description.nil? && @description.to_s.length < 1
123
124
  return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
124
125
  return false if !@name.nil? && @name.to_s.length < 1
125
- return false if !@description.nil? && @description.to_s.length < 1
126
126
  true
127
127
  end
128
128
 
129
+ # Custom attribute writer method with validation
130
+ # @param [Object] description Value to be assigned
131
+ def description=(description)
132
+ if !description.nil? && description.to_s.length < 1
133
+ fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
134
+ end
135
+
136
+ @description = description
137
+ end
138
+
129
139
  # Custom attribute writer method with validation
130
140
  # @param [Object] retain_repo_versions Value to be assigned
131
141
  def retain_repo_versions=(retain_repo_versions)
@@ -146,26 +156,16 @@ module PulpContainerClient
146
156
  @name = name
147
157
  end
148
158
 
149
- # Custom attribute writer method with validation
150
- # @param [Object] description Value to be assigned
151
- def description=(description)
152
- if !description.nil? && description.to_s.length < 1
153
- fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
154
- end
155
-
156
- @description = description
157
- end
158
-
159
159
  # Checks equality by comparing each attribute.
160
160
  # @param [Object] Object to be compared
161
161
  def ==(o)
162
162
  return true if self.equal?(o)
163
163
  self.class == o.class &&
164
+ description == o.description &&
164
165
  retain_repo_versions == o.retain_repo_versions &&
165
- manifest_signing_service == o.manifest_signing_service &&
166
- pulp_labels == o.pulp_labels &&
167
166
  name == o.name &&
168
- description == o.description
167
+ manifest_signing_service == o.manifest_signing_service &&
168
+ pulp_labels == o.pulp_labels
169
169
  end
170
170
 
171
171
  # @see the `==` method
@@ -177,7 +177,7 @@ module PulpContainerClient
177
177
  # Calculates hash code according to all attributes.
178
178
  # @return [Integer] Hash code
179
179
  def hash
180
- [retain_repo_versions, manifest_signing_service, pulp_labels, name, description].hash
180
+ [description, retain_repo_versions, name, manifest_signing_service, pulp_labels].hash
181
181
  end
182
182
 
183
183
  # Builds the object from hash
@@ -346,20 +346,20 @@ module PulpContainerClient
346
346
  invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
347
347
  end
348
348
 
349
- if !@total_timeout.nil? && @total_timeout < 0.0
350
- invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
349
+ if !@total_timeout.nil? && @total_timeout < 0
350
+ invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
351
351
  end
352
352
 
353
- if !@connect_timeout.nil? && @connect_timeout < 0.0
354
- invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
353
+ if !@connect_timeout.nil? && @connect_timeout < 0
354
+ invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
355
355
  end
356
356
 
357
- if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
358
- invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
357
+ if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
358
+ invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
359
359
  end
360
360
 
361
- if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
362
- invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
361
+ if !@sock_read_timeout.nil? && @sock_read_timeout < 0
362
+ invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
363
363
  end
364
364
 
365
365
  if !@upstream_name.nil? && @upstream_name.to_s.length < 1
@@ -387,10 +387,10 @@ module PulpContainerClient
387
387
  return false if !@username.nil? && @username.to_s.length < 1
388
388
  return false if !@password.nil? && @password.to_s.length < 1
389
389
  return false if !@download_concurrency.nil? && @download_concurrency < 1
390
- return false if !@total_timeout.nil? && @total_timeout < 0.0
391
- return false if !@connect_timeout.nil? && @connect_timeout < 0.0
392
- return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
393
- return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
390
+ return false if !@total_timeout.nil? && @total_timeout < 0
391
+ return false if !@connect_timeout.nil? && @connect_timeout < 0
392
+ return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
393
+ return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
394
394
  return false if !@upstream_name.nil? && @upstream_name.to_s.length < 1
395
395
  return false if !@sigstore.nil? && @sigstore.to_s.length < 1
396
396
  true
@@ -509,8 +509,8 @@ module PulpContainerClient
509
509
  # Custom attribute writer method with validation
510
510
  # @param [Object] total_timeout Value to be assigned
511
511
  def total_timeout=(total_timeout)
512
- if !total_timeout.nil? && total_timeout < 0.0
513
- fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
512
+ if !total_timeout.nil? && total_timeout < 0
513
+ fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
514
514
  end
515
515
 
516
516
  @total_timeout = total_timeout
@@ -519,8 +519,8 @@ module PulpContainerClient
519
519
  # Custom attribute writer method with validation
520
520
  # @param [Object] connect_timeout Value to be assigned
521
521
  def connect_timeout=(connect_timeout)
522
- if !connect_timeout.nil? && connect_timeout < 0.0
523
- fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
522
+ if !connect_timeout.nil? && connect_timeout < 0
523
+ fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
524
524
  end
525
525
 
526
526
  @connect_timeout = connect_timeout
@@ -529,8 +529,8 @@ module PulpContainerClient
529
529
  # Custom attribute writer method with validation
530
530
  # @param [Object] sock_connect_timeout Value to be assigned
531
531
  def sock_connect_timeout=(sock_connect_timeout)
532
- if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
533
- fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
532
+ if !sock_connect_timeout.nil? && sock_connect_timeout < 0
533
+ fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
534
534
  end
535
535
 
536
536
  @sock_connect_timeout = sock_connect_timeout
@@ -539,8 +539,8 @@ module PulpContainerClient
539
539
  # Custom attribute writer method with validation
540
540
  # @param [Object] sock_read_timeout Value to be assigned
541
541
  def sock_read_timeout=(sock_read_timeout)
542
- if !sock_read_timeout.nil? && sock_read_timeout < 0.0
543
- fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
542
+ if !sock_read_timeout.nil? && sock_read_timeout < 0
543
+ fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
544
544
  end
545
545
 
546
546
  @sock_read_timeout = sock_read_timeout
@@ -20,6 +20,9 @@ module PulpContainerClient
20
20
  # Timestamp of creation.
21
21
  attr_accessor :pulp_created
22
22
 
23
+ # Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
24
+ attr_accessor :pulp_last_updated
25
+
23
26
  attr_accessor :number
24
27
 
25
28
  attr_accessor :repository
@@ -35,6 +38,7 @@ module PulpContainerClient
35
38
  {
36
39
  :'pulp_href' => :'pulp_href',
37
40
  :'pulp_created' => :'pulp_created',
41
+ :'pulp_last_updated' => :'pulp_last_updated',
38
42
  :'number' => :'number',
39
43
  :'repository' => :'repository',
40
44
  :'base_version' => :'base_version',
@@ -47,6 +51,7 @@ module PulpContainerClient
47
51
  {
48
52
  :'pulp_href' => :'String',
49
53
  :'pulp_created' => :'DateTime',
54
+ :'pulp_last_updated' => :'DateTime',
50
55
  :'number' => :'Integer',
51
56
  :'repository' => :'String',
52
57
  :'base_version' => :'String',
@@ -83,6 +88,10 @@ module PulpContainerClient
83
88
  self.pulp_created = attributes[:'pulp_created']
84
89
  end
85
90
 
91
+ if attributes.key?(:'pulp_last_updated')
92
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
93
+ end
94
+
86
95
  if attributes.key?(:'number')
87
96
  self.number = attributes[:'number']
88
97
  end
@@ -120,6 +129,7 @@ module PulpContainerClient
120
129
  self.class == o.class &&
121
130
  pulp_href == o.pulp_href &&
122
131
  pulp_created == o.pulp_created &&
132
+ pulp_last_updated == o.pulp_last_updated &&
123
133
  number == o.number &&
124
134
  repository == o.repository &&
125
135
  base_version == o.base_version &&
@@ -135,7 +145,7 @@ module PulpContainerClient
135
145
  # Calculates hash code according to all attributes.
136
146
  # @return [Integer] Hash code
137
147
  def hash
138
- [pulp_href, pulp_created, number, repository, base_version, content_summary].hash
148
+ [pulp_href, pulp_created, pulp_last_updated, number, repository, base_version, content_summary].hash
139
149
  end
140
150
 
141
151
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpContainerClient
14
- VERSION = '2.20.0'
14
+ VERSION = '2.20.3'
15
15
  end
@@ -88,8 +88,6 @@ require 'pulp_container_client/api/content_signatures_api'
88
88
  require 'pulp_container_client/api/content_tags_api'
89
89
  require 'pulp_container_client/api/distributions_container_api'
90
90
  require 'pulp_container_client/api/distributions_pull_through_api'
91
- require 'pulp_container_client/api/index_dynamic_api'
92
- require 'pulp_container_client/api/index_static_api'
93
91
  require 'pulp_container_client/api/pulp_container_namespaces_api'
94
92
  require 'pulp_container_client/api/remotes_container_api'
95
93
  require 'pulp_container_client/api/remotes_pull_through_api'
@@ -18,7 +18,7 @@ describe PulpContainerClient::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://pulp")
21
+ # uri = URI.parse("http://localhost:24817")
22
22
  # PulpContainerClient.configure do |c|
23
23
  # c.host = uri.host
24
24
  # c.base_path = uri.path
@@ -28,14 +28,14 @@ describe PulpContainerClient::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://pulp")
31
+ # expect(config.base_url).to eq("http://localhost:24817")
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://pulp")
38
+ # expect(config.base_url).to eq("http://localhost:24817")
39
39
  end
40
40
  end
41
41
  end
@@ -44,6 +44,12 @@ describe 'ContainerBlobResponse' do
44
44
  end
45
45
  end
46
46
 
47
+ describe 'test attribute "pulp_last_updated"' 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
  describe 'test attribute "artifact"' do
48
54
  it 'should work' do
49
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -32,49 +32,55 @@ describe 'ContainerContainerDistributionResponse' do
32
32
  expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerDistributionResponse)
33
33
  end
34
34
  end
35
- describe 'test attribute "content_guard"' do
35
+ describe 'test attribute "pulp_created"' do
36
36
  it 'should work' do
37
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "hidden"' do
41
+ describe 'test attribute "pulp_last_updated"' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
- describe 'test attribute "pulp_href"' do
47
+ describe 'test attribute "repository"' do
48
48
  it 'should work' do
49
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
51
51
  end
52
52
 
53
- describe 'test attribute "pulp_created"' do
53
+ describe 'test attribute "name"' do
54
54
  it 'should work' do
55
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
56
  end
57
57
  end
58
58
 
59
- describe 'test attribute "pulp_labels"' do
59
+ describe 'test attribute "base_path"' do
60
60
  it 'should work' do
61
61
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
62
  end
63
63
  end
64
64
 
65
- describe 'test attribute "repository"' do
65
+ describe 'test attribute "content_guard"' do
66
66
  it 'should work' do
67
67
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
68
  end
69
69
  end
70
70
 
71
- describe 'test attribute "base_path"' do
71
+ describe 'test attribute "pulp_href"' do
72
72
  it 'should work' do
73
73
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
74
  end
75
75
  end
76
76
 
77
- describe 'test attribute "name"' do
77
+ describe 'test attribute "pulp_labels"' 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
+
83
+ describe 'test attribute "hidden"' do
78
84
  it 'should work' do
79
85
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
86
  end
@@ -32,37 +32,37 @@ describe 'ContainerContainerDistribution' do
32
32
  expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerDistribution)
33
33
  end
34
34
  end
35
- describe 'test attribute "content_guard"' do
35
+ describe 'test attribute "repository"' do
36
36
  it 'should work' do
37
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "hidden"' do
41
+ describe 'test attribute "name"' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
- describe 'test attribute "pulp_labels"' do
47
+ describe 'test attribute "base_path"' do
48
48
  it 'should work' do
49
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
51
51
  end
52
52
 
53
- describe 'test attribute "repository"' do
53
+ describe 'test attribute "content_guard"' do
54
54
  it 'should work' do
55
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
56
  end
57
57
  end
58
58
 
59
- describe 'test attribute "base_path"' do
59
+ describe 'test attribute "pulp_labels"' do
60
60
  it 'should work' do
61
61
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
62
  end
63
63
  end
64
64
 
65
- describe 'test attribute "name"' do
65
+ describe 'test attribute "hidden"' do
66
66
  it 'should work' do
67
67
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
68
  end
@@ -44,6 +44,12 @@ describe 'ContainerContainerNamespaceResponse' do
44
44
  end
45
45
  end
46
46
 
47
+ describe 'test attribute "pulp_last_updated"' 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
  describe 'test attribute "name"' do
48
54
  it 'should work' do
49
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -32,49 +32,55 @@ describe 'ContainerContainerPullThroughDistributionResponse' do
32
32
  expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerPullThroughDistributionResponse)
33
33
  end
34
34
  end
35
- describe 'test attribute "content_guard"' do
35
+ describe 'test attribute "pulp_created"' do
36
36
  it 'should work' do
37
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "hidden"' do
41
+ describe 'test attribute "pulp_last_updated"' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
- describe 'test attribute "pulp_href"' do
47
+ describe 'test attribute "repository"' do
48
48
  it 'should work' do
49
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
51
51
  end
52
52
 
53
- describe 'test attribute "pulp_created"' do
53
+ describe 'test attribute "name"' do
54
54
  it 'should work' do
55
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
56
  end
57
57
  end
58
58
 
59
- describe 'test attribute "pulp_labels"' do
59
+ describe 'test attribute "base_path"' do
60
60
  it 'should work' do
61
61
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
62
  end
63
63
  end
64
64
 
65
- describe 'test attribute "repository"' do
65
+ describe 'test attribute "content_guard"' do
66
66
  it 'should work' do
67
67
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
68
  end
69
69
  end
70
70
 
71
- describe 'test attribute "base_path"' do
71
+ describe 'test attribute "pulp_href"' do
72
72
  it 'should work' do
73
73
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
74
  end
75
75
  end
76
76
 
77
- describe 'test attribute "name"' do
77
+ describe 'test attribute "pulp_labels"' 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
+
83
+ describe 'test attribute "hidden"' do
78
84
  it 'should work' do
79
85
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
86
  end
@@ -32,37 +32,37 @@ describe 'ContainerContainerPullThroughDistribution' do
32
32
  expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerPullThroughDistribution)
33
33
  end
34
34
  end
35
- describe 'test attribute "content_guard"' do
35
+ describe 'test attribute "repository"' do
36
36
  it 'should work' do
37
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "hidden"' do
41
+ describe 'test attribute "name"' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
- describe 'test attribute "pulp_labels"' do
47
+ describe 'test attribute "base_path"' do
48
48
  it 'should work' do
49
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
51
51
  end
52
52
 
53
- describe 'test attribute "repository"' do
53
+ describe 'test attribute "content_guard"' do
54
54
  it 'should work' do
55
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
56
  end
57
57
  end
58
58
 
59
- describe 'test attribute "base_path"' do
59
+ describe 'test attribute "pulp_labels"' do
60
60
  it 'should work' do
61
61
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
62
  end
63
63
  end
64
64
 
65
- describe 'test attribute "name"' do
65
+ describe 'test attribute "hidden"' do
66
66
  it 'should work' do
67
67
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
68
  end
@@ -44,6 +44,12 @@ describe 'ContainerContainerPullThroughRemoteResponse' do
44
44
  end
45
45
  end
46
46
 
47
+ describe 'test attribute "pulp_last_updated"' 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
  describe 'test attribute "name"' do
48
54
  it 'should work' do
49
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -86,12 +92,6 @@ describe 'ContainerContainerPullThroughRemoteResponse' do
86
92
  end
87
93
  end
88
94
 
89
- describe 'test attribute "pulp_last_updated"' 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
-
95
95
  describe 'test attribute "download_concurrency"' do
96
96
  it 'should work' do
97
97
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers