pulp_deb_client 3.1.2 → 3.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (129) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -5
  3. data/docs/ContentGenericContentsApi.md +1 -1
  4. data/docs/ContentInstallerFileIndicesApi.md +1 -1
  5. data/docs/ContentInstallerPackagesApi.md +1 -1
  6. data/docs/ContentPackageIndicesApi.md +1 -1
  7. data/docs/ContentPackageReleaseComponentsApi.md +1 -1
  8. data/docs/ContentPackagesApi.md +1 -1
  9. data/docs/ContentReleaseArchitecturesApi.md +4 -4
  10. data/docs/ContentReleaseComponentsApi.md +4 -4
  11. data/docs/ContentReleaseFilesApi.md +1 -1
  12. data/docs/ContentReleasesApi.md +1 -1
  13. data/docs/ContentSourceIndicesApi.md +1 -1
  14. data/docs/ContentSourcePackagesApi.md +1 -1
  15. data/docs/ContentSourceReleaseComponentsApi.md +1 -1
  16. data/docs/DebAptDistributionResponse.md +2 -0
  17. data/docs/DebAptPublicationResponse.md +2 -0
  18. data/docs/DebAptRemoteResponse.md +2 -2
  19. data/docs/DebAptRemoteResponseHiddenFields.md +2 -2
  20. data/docs/DebAptRepositoryResponse.md +2 -0
  21. data/docs/DebCopyApi.md +1 -1
  22. data/docs/DebGenericContentResponse.md +2 -0
  23. data/docs/DebInstallerFileIndexResponse.md +2 -0
  24. data/docs/DebInstallerPackageResponse.md +2 -0
  25. data/docs/DebPackageIndexResponse.md +2 -0
  26. data/docs/DebPackageReleaseComponentResponse.md +2 -0
  27. data/docs/DebPackageResponse.md +2 -0
  28. data/docs/DebReleaseArchitectureResponse.md +2 -0
  29. data/docs/DebReleaseComponentResponse.md +2 -0
  30. data/docs/DebReleaseFileResponse.md +2 -0
  31. data/docs/DebReleaseResponse.md +2 -0
  32. data/docs/DebSourceIndexResponse.md +2 -0
  33. data/docs/DebSourcePackageReleaseComponentResponse.md +2 -0
  34. data/docs/DebSourcePackageResponse.md +2 -0
  35. data/docs/DebVerbatimPublicationResponse.md +2 -0
  36. data/docs/DistributionsAptApi.md +1 -1
  37. data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
  38. data/docs/PaginateddebAptDistributionResponseList.md +2 -2
  39. data/docs/PaginateddebAptPublicationResponseList.md +2 -2
  40. data/docs/PaginateddebAptRemoteResponseList.md +2 -2
  41. data/docs/PaginateddebAptRepositoryResponseList.md +2 -2
  42. data/docs/PaginateddebGenericContentResponseList.md +2 -2
  43. data/docs/PaginateddebInstallerFileIndexResponseList.md +2 -2
  44. data/docs/PaginateddebInstallerPackageResponseList.md +2 -2
  45. data/docs/PaginateddebPackageIndexResponseList.md +2 -2
  46. data/docs/PaginateddebPackageReleaseComponentResponseList.md +2 -2
  47. data/docs/PaginateddebPackageResponseList.md +2 -2
  48. data/docs/PaginateddebReleaseArchitectureResponseList.md +2 -2
  49. data/docs/PaginateddebReleaseComponentResponseList.md +2 -2
  50. data/docs/PaginateddebReleaseFileResponseList.md +2 -2
  51. data/docs/PaginateddebReleaseResponseList.md +2 -2
  52. data/docs/PaginateddebSourceIndexResponseList.md +2 -2
  53. data/docs/PaginateddebSourcePackageReleaseComponentResponseList.md +2 -2
  54. data/docs/PaginateddebSourcePackageResponseList.md +2 -2
  55. data/docs/PaginateddebVerbatimPublicationResponseList.md +2 -2
  56. data/docs/PublicationsAptApi.md +1 -1
  57. data/docs/PublicationsVerbatimApi.md +1 -1
  58. data/docs/RemotesAptApi.md +1 -1
  59. data/docs/RepositoriesAptApi.md +1 -1
  60. data/docs/RepositoriesAptVersionsApi.md +1 -1
  61. data/docs/RepositoryVersionResponse.md +2 -0
  62. data/lib/pulp_deb_client/api/content_release_architectures_api.rb +5 -5
  63. data/lib/pulp_deb_client/api/content_release_components_api.rb +5 -5
  64. data/lib/pulp_deb_client/configuration.rb +2 -2
  65. data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +11 -1
  66. data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +11 -1
  67. data/lib/pulp_deb_client/models/deb_apt_remote.rb +20 -20
  68. data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +31 -31
  69. data/lib/pulp_deb_client/models/deb_apt_remote_response_hidden_fields.rb +10 -0
  70. data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +11 -1
  71. data/lib/pulp_deb_client/models/deb_generic_content_response.rb +11 -1
  72. data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +11 -1
  73. data/lib/pulp_deb_client/models/deb_installer_package_response.rb +11 -1
  74. data/lib/pulp_deb_client/models/deb_package_index_response.rb +11 -1
  75. data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +11 -1
  76. data/lib/pulp_deb_client/models/deb_package_response.rb +11 -1
  77. data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +11 -1
  78. data/lib/pulp_deb_client/models/deb_release_component_response.rb +11 -1
  79. data/lib/pulp_deb_client/models/deb_release_file_response.rb +11 -1
  80. data/lib/pulp_deb_client/models/deb_release_response.rb +11 -1
  81. data/lib/pulp_deb_client/models/deb_source_index_response.rb +11 -1
  82. data/lib/pulp_deb_client/models/deb_source_package_release_component_response.rb +11 -1
  83. data/lib/pulp_deb_client/models/deb_source_package_response.rb +11 -1
  84. data/lib/pulp_deb_client/models/deb_verbatim_publication_response.rb +11 -1
  85. data/lib/pulp_deb_client/models/paginated_repository_version_response_list.rb +10 -0
  86. data/lib/pulp_deb_client/models/paginateddeb_apt_distribution_response_list.rb +10 -0
  87. data/lib/pulp_deb_client/models/paginateddeb_apt_publication_response_list.rb +10 -0
  88. data/lib/pulp_deb_client/models/paginateddeb_apt_remote_response_list.rb +10 -0
  89. data/lib/pulp_deb_client/models/paginateddeb_apt_repository_response_list.rb +10 -0
  90. data/lib/pulp_deb_client/models/paginateddeb_generic_content_response_list.rb +10 -0
  91. data/lib/pulp_deb_client/models/paginateddeb_installer_file_index_response_list.rb +10 -0
  92. data/lib/pulp_deb_client/models/paginateddeb_installer_package_response_list.rb +10 -0
  93. data/lib/pulp_deb_client/models/paginateddeb_package_index_response_list.rb +10 -0
  94. data/lib/pulp_deb_client/models/paginateddeb_package_release_component_response_list.rb +10 -0
  95. data/lib/pulp_deb_client/models/paginateddeb_package_response_list.rb +10 -0
  96. data/lib/pulp_deb_client/models/paginateddeb_release_architecture_response_list.rb +10 -0
  97. data/lib/pulp_deb_client/models/paginateddeb_release_component_response_list.rb +10 -0
  98. data/lib/pulp_deb_client/models/paginateddeb_release_file_response_list.rb +10 -0
  99. data/lib/pulp_deb_client/models/paginateddeb_release_response_list.rb +10 -0
  100. data/lib/pulp_deb_client/models/paginateddeb_source_index_response_list.rb +10 -0
  101. data/lib/pulp_deb_client/models/paginateddeb_source_package_release_component_response_list.rb +10 -0
  102. data/lib/pulp_deb_client/models/paginateddeb_source_package_response_list.rb +10 -0
  103. data/lib/pulp_deb_client/models/paginateddeb_verbatim_publication_response_list.rb +10 -0
  104. data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +20 -20
  105. data/lib/pulp_deb_client/models/repository_version_response.rb +11 -1
  106. data/lib/pulp_deb_client/version.rb +1 -1
  107. data/spec/api/content_release_architectures_api_spec.rb +2 -2
  108. data/spec/api/content_release_components_api_spec.rb +2 -2
  109. data/spec/configuration_spec.rb +3 -3
  110. data/spec/models/deb_apt_distribution_response_spec.rb +6 -0
  111. data/spec/models/deb_apt_publication_response_spec.rb +6 -0
  112. data/spec/models/deb_apt_remote_response_spec.rb +6 -6
  113. data/spec/models/deb_apt_repository_response_spec.rb +6 -0
  114. data/spec/models/deb_generic_content_response_spec.rb +6 -0
  115. data/spec/models/deb_installer_file_index_response_spec.rb +6 -0
  116. data/spec/models/deb_installer_package_response_spec.rb +6 -0
  117. data/spec/models/deb_package_index_response_spec.rb +6 -0
  118. data/spec/models/deb_package_release_component_response_spec.rb +6 -0
  119. data/spec/models/deb_package_response_spec.rb +6 -0
  120. data/spec/models/deb_release_architecture_response_spec.rb +6 -0
  121. data/spec/models/deb_release_component_response_spec.rb +6 -0
  122. data/spec/models/deb_release_file_response_spec.rb +6 -0
  123. data/spec/models/deb_release_response_spec.rb +6 -0
  124. data/spec/models/deb_source_index_response_spec.rb +6 -0
  125. data/spec/models/deb_source_package_release_component_response_spec.rb +6 -0
  126. data/spec/models/deb_source_package_response_spec.rb +6 -0
  127. data/spec/models/deb_verbatim_publication_response_spec.rb +6 -0
  128. data/spec/models/repository_version_response_spec.rb +6 -0
  129. metadata +84 -84
@@ -88,12 +88,22 @@ module PulpDebClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpDebClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpDebClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpDebClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpDebClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpDebClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpDebClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -379,20 +379,20 @@ module PulpDebClient
379
379
  invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
380
380
  end
381
381
 
382
- if !@total_timeout.nil? && @total_timeout < 0.0
383
- invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
382
+ if !@total_timeout.nil? && @total_timeout < 0
383
+ invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
384
384
  end
385
385
 
386
- if !@connect_timeout.nil? && @connect_timeout < 0.0
387
- invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
386
+ if !@connect_timeout.nil? && @connect_timeout < 0
387
+ invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
388
388
  end
389
389
 
390
- if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
391
- invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
390
+ if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
391
+ invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
392
392
  end
393
393
 
394
- if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
395
- invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
394
+ if !@sock_read_timeout.nil? && @sock_read_timeout < 0
395
+ invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
396
396
  end
397
397
 
398
398
  if !@distributions.nil? && @distributions.to_s.length < 1
@@ -428,10 +428,10 @@ module PulpDebClient
428
428
  return false if !@username.nil? && @username.to_s.length < 1
429
429
  return false if !@password.nil? && @password.to_s.length < 1
430
430
  return false if !@download_concurrency.nil? && @download_concurrency < 1
431
- return false if !@total_timeout.nil? && @total_timeout < 0.0
432
- return false if !@connect_timeout.nil? && @connect_timeout < 0.0
433
- return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
434
- return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
431
+ return false if !@total_timeout.nil? && @total_timeout < 0
432
+ return false if !@connect_timeout.nil? && @connect_timeout < 0
433
+ return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
434
+ return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
435
435
  return false if !@distributions.nil? && @distributions.to_s.length < 1
436
436
  return false if !@components.nil? && @components.to_s.length < 1
437
437
  return false if !@architectures.nil? && @architectures.to_s.length < 1
@@ -552,8 +552,8 @@ module PulpDebClient
552
552
  # Custom attribute writer method with validation
553
553
  # @param [Object] total_timeout Value to be assigned
554
554
  def total_timeout=(total_timeout)
555
- if !total_timeout.nil? && total_timeout < 0.0
556
- fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
555
+ if !total_timeout.nil? && total_timeout < 0
556
+ fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
557
557
  end
558
558
 
559
559
  @total_timeout = total_timeout
@@ -562,8 +562,8 @@ module PulpDebClient
562
562
  # Custom attribute writer method with validation
563
563
  # @param [Object] connect_timeout Value to be assigned
564
564
  def connect_timeout=(connect_timeout)
565
- if !connect_timeout.nil? && connect_timeout < 0.0
566
- fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
565
+ if !connect_timeout.nil? && connect_timeout < 0
566
+ fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
567
567
  end
568
568
 
569
569
  @connect_timeout = connect_timeout
@@ -572,8 +572,8 @@ module PulpDebClient
572
572
  # Custom attribute writer method with validation
573
573
  # @param [Object] sock_connect_timeout Value to be assigned
574
574
  def sock_connect_timeout=(sock_connect_timeout)
575
- if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
576
- fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
575
+ if !sock_connect_timeout.nil? && sock_connect_timeout < 0
576
+ fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
577
577
  end
578
578
 
579
579
  @sock_connect_timeout = sock_connect_timeout
@@ -582,8 +582,8 @@ module PulpDebClient
582
582
  # Custom attribute writer method with validation
583
583
  # @param [Object] sock_read_timeout Value to be assigned
584
584
  def sock_read_timeout=(sock_read_timeout)
585
- if !sock_read_timeout.nil? && sock_read_timeout < 0.0
586
- fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
585
+ if !sock_read_timeout.nil? && sock_read_timeout < 0
586
+ fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
587
587
  end
588
588
 
589
589
  @sock_read_timeout = sock_read_timeout
@@ -20,6 +20,9 @@ module PulpDebClient
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 PulpDebClient
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 PulpDebClient
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 PulpDebClient
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 PulpDebClient
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 PulpDebClient
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 PulpDebClient
14
- VERSION = '3.1.2'
14
+ VERSION = '3.2.1'
15
15
  end
@@ -34,10 +34,10 @@ describe 'ContentReleaseArchitecturesApi' do
34
34
 
35
35
  # unit tests for create
36
36
  # Create a release architecture
37
- # A ReleaseArchitecture represents a single dpkg architecture string. Associated artifacts: None; contains only metadata. Every ReleaseArchitecture is always associated with exactly one Release. This indicates that the release/distribution in question supports this architecture.
37
+ # Trigger an asynchronous task to create content,optionally create new repository version.
38
38
  # @param deb_release_architecture
39
39
  # @param [Hash] opts the optional parameters
40
- # @return [DebReleaseArchitectureResponse]
40
+ # @return [AsyncOperationResponse]
41
41
  describe 'create test' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -34,10 +34,10 @@ describe 'ContentReleaseComponentsApi' do
34
34
 
35
35
  # unit tests for create
36
36
  # Create a release component
37
- # A ReleaseComponent represents a single APT repository component. Associated artifacts: None; contains only metadata.
37
+ # Trigger an asynchronous task to create content,optionally create new repository version.
38
38
  # @param deb_release_component
39
39
  # @param [Hash] opts the optional parameters
40
- # @return [DebReleaseComponentResponse]
40
+ # @return [AsyncOperationResponse]
41
41
  describe 'create test' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -18,7 +18,7 @@ describe PulpDebClient::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
  # PulpDebClient.configure do |c|
23
23
  # c.host = uri.host
24
24
  # c.base_path = uri.path
@@ -28,14 +28,14 @@ describe PulpDebClient::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 'DebAptDistributionResponse' 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 "base_path"' do
48
54
  it 'should work' do
49
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -44,6 +44,12 @@ describe 'DebAptPublicationResponse' 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 "repository_version"' do
48
54
  it 'should work' do
49
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -44,6 +44,12 @@ describe 'DebAptRemoteResponse' 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 'DebAptRemoteResponse' 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
@@ -44,6 +44,12 @@ describe 'DebAptRepositoryResponse' 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 "versions_href"' do
48
54
  it 'should work' do
49
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -44,6 +44,12 @@ describe 'DebGenericContentResponse' 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
@@ -44,6 +44,12 @@ describe 'DebInstallerFileIndexResponse' 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 "artifacts"' do
48
54
  it 'should work' do
49
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -44,6 +44,12 @@ describe 'DebInstallerPackageResponse' 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
@@ -44,6 +44,12 @@ describe 'DebPackageIndexResponse' 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 "artifacts"' do
48
54
  it 'should work' do
49
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -44,6 +44,12 @@ describe 'DebPackageReleaseComponentResponse' 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 "package"' do
48
54
  it 'should work' do
49
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -44,6 +44,12 @@ describe 'DebPackageResponse' 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
@@ -44,6 +44,12 @@ describe 'DebReleaseArchitectureResponse' 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 "architecture"' do
48
54
  it 'should work' do
49
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -44,6 +44,12 @@ describe 'DebReleaseComponentResponse' 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 "component"' do
48
54
  it 'should work' do
49
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -44,6 +44,12 @@ describe 'DebReleaseFileResponse' 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 "artifacts"' do
48
54
  it 'should work' do
49
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -44,6 +44,12 @@ describe 'DebReleaseResponse' 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 "codename"' do
48
54
  it 'should work' do
49
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -44,6 +44,12 @@ describe 'DebSourceIndexResponse' 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 "artifacts"' do
48
54
  it 'should work' do
49
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -44,6 +44,12 @@ describe 'DebSourcePackageReleaseComponentResponse' 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 "source_package"' do
48
54
  it 'should work' do
49
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -44,6 +44,12 @@ describe 'DebSourcePackageResponse' 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 "artifacts"' do
48
54
  it 'should work' do
49
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -44,6 +44,12 @@ describe 'DebVerbatimPublicationResponse' 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 "repository_version"' do
48
54
  it 'should work' do
49
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -44,6 +44,12 @@ describe 'RepositoryVersionResponse' 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 "number"' do
48
54
  it 'should work' do
49
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers