pulp_2to3_migration_client 0.11.13 → 0.12.0.dev1618286197

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/README.md +7 -7
  4. data/docs/MigrationPlansApi.md +2 -2
  5. data/docs/{InlineResponse200.md → Paginatedpulp2to3MigrationMigrationPlanResponseList.md} +4 -4
  6. data/docs/{InlineResponse2001.md → Paginatedpulp2to3MigrationPulp2ContentResponseList.md} +4 -4
  7. data/docs/{InlineResponse2002.md → Paginatedpulp2to3MigrationPulp2RepositoryResponseList.md} +4 -4
  8. data/docs/Pulp2ContentApi.md +24 -24
  9. data/docs/Pulp2RepositoriesApi.md +10 -10
  10. data/git_push.sh +58 -0
  11. data/lib/pulp_2to3_migration_client/api/migration_plans_api.rb +4 -4
  12. data/lib/pulp_2to3_migration_client/api/pulp2_content_api.rb +49 -29
  13. data/lib/pulp_2to3_migration_client/api/pulp2_repositories_api.rb +13 -13
  14. data/lib/pulp_2to3_migration_client/api_client.rb +13 -14
  15. data/lib/pulp_2to3_migration_client/api_error.rb +1 -1
  16. data/lib/pulp_2to3_migration_client/configuration.rb +1 -9
  17. data/lib/pulp_2to3_migration_client/models/async_operation_response.rb +1 -1
  18. data/lib/pulp_2to3_migration_client/models/migration_plan_run.rb +1 -1
  19. data/lib/pulp_2to3_migration_client/models/{inline_response200.rb → paginatedpulp2to3_migration_migration_plan_response_list.rb} +4 -4
  20. data/lib/pulp_2to3_migration_client/models/{inline_response2001.rb → paginatedpulp2to3_migration_pulp2_content_response_list.rb} +4 -4
  21. data/lib/pulp_2to3_migration_client/models/{inline_response2002.rb → paginatedpulp2to3_migration_pulp2_repository_response_list.rb} +4 -4
  22. data/lib/pulp_2to3_migration_client/models/pulp2to3_migration_migration_plan.rb +1 -1
  23. data/lib/pulp_2to3_migration_client/models/pulp2to3_migration_migration_plan_response.rb +1 -1
  24. data/lib/pulp_2to3_migration_client/models/pulp2to3_migration_pulp2_content_response.rb +1 -1
  25. data/lib/pulp_2to3_migration_client/models/pulp2to3_migration_pulp2_repository_response.rb +1 -1
  26. data/lib/pulp_2to3_migration_client/version.rb +2 -2
  27. data/lib/pulp_2to3_migration_client.rb +4 -4
  28. data/pulp_2to3_migration_client.gemspec +4 -4
  29. data/spec/api/migration_plans_api_spec.rb +2 -2
  30. data/spec/api/pulp2_content_api_spec.rb +13 -13
  31. data/spec/api/pulp2_repositories_api_spec.rb +6 -6
  32. data/spec/api_client_spec.rb +2 -2
  33. data/spec/configuration_spec.rb +1 -1
  34. data/spec/models/async_operation_response_spec.rb +1 -1
  35. data/spec/models/migration_plan_run_spec.rb +1 -1
  36. data/spec/models/{inline_response2002_spec.rb → paginatedpulp2to3_migration_migration_plan_response_list_spec.rb} +7 -7
  37. data/spec/models/{inline_response2001_spec.rb → paginatedpulp2to3_migration_pulp2_content_response_list_spec.rb} +7 -7
  38. data/spec/models/{inline_response200_spec.rb → paginatedpulp2to3_migration_pulp2_repository_response_list_spec.rb} +7 -7
  39. data/spec/models/pulp2to3_migration_migration_plan_response_spec.rb +1 -1
  40. data/spec/models/pulp2to3_migration_migration_plan_spec.rb +1 -1
  41. data/spec/models/pulp2to3_migration_pulp2_content_response_spec.rb +1 -1
  42. data/spec/models/pulp2to3_migration_pulp2_repository_response_spec.rb +1 -1
  43. data/spec/spec_helper.rb +1 -1
  44. metadata +26 -31
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ OpenAPI Generator version: 4.2.3
10
10
 
11
11
  =end
12
12
 
@@ -53,10 +53,8 @@ module Pulp2to3MigrationClient
53
53
  :client_cert => @config.ssl_client_cert,
54
54
  :client_key => @config.ssl_client_key
55
55
  }
56
- request_options = {
57
- :params_encoder => @config.params_encoder
58
- }
59
- connection = Faraday.new(:url => config.base_url, :ssl => ssl_options, :request => request_options) do |conn|
56
+
57
+ connection = Faraday.new(:url => config.base_url, :ssl => ssl_options) do |conn|
60
58
  conn.basic_auth(config.username, config.password)
61
59
  if opts[:header_params]["Content-Type"] == "multipart/form-data"
62
60
  conn.request :multipart
@@ -118,6 +116,9 @@ module Pulp2to3MigrationClient
118
116
  update_params_for_auth! header_params, query_params, opts[:auth_names]
119
117
 
120
118
  req_opts = {
119
+ :method => http_method,
120
+ :headers => header_params,
121
+ :params => query_params,
121
122
  :params_encoding => @config.params_encoding,
122
123
  :timeout => @config.timeout,
123
124
  :verbose => @config.debugging
@@ -125,13 +126,13 @@ module Pulp2to3MigrationClient
125
126
 
126
127
  if [:post, :patch, :put, :delete].include?(http_method)
127
128
  req_body = build_request_body(header_params, form_params, opts[:body])
129
+ req_opts.update :body => req_body
128
130
  if @config.debugging
129
131
  @config.logger.debug "HTTP request body param ~BEGIN~\n#{req_body}\n~END~\n"
130
132
  end
131
133
  end
132
134
  request.headers = header_params
133
135
  request.body = req_body
134
- request.options = OpenStruct.new(req_opts)
135
136
  request.url url
136
137
  request.params = query_params
137
138
  download_file(request) if opts[:return_type] == 'File'
@@ -154,7 +155,7 @@ module Pulp2to3MigrationClient
154
155
  case value
155
156
  when ::File, ::Tempfile
156
157
  # TODO hardcode to application/octet-stream, need better way to detect content type
157
- data[key] = Faraday::FilePart.new(value.path, 'application/octet-stream', value.path)
158
+ data[key] = Faraday::UploadIO.new(value.path, 'application/octet-stream', value.path)
158
159
  when ::Array, nil
159
160
  # let Faraday handle Array and nil parameters
160
161
  data[key] = value
@@ -284,13 +285,11 @@ module Pulp2to3MigrationClient
284
285
  tempfile.write(chunk)
285
286
  end
286
287
  request.on_complete do |response|
287
- if tempfile
288
- tempfile.close
289
- @config.logger.info "Temp file written to #{tempfile.path}, please copy the file to a proper folder "\
290
- "with e.g. `FileUtils.cp(tempfile.path, '/new/file/path')` otherwise the temp file "\
291
- "will be deleted automatically with GC. It's also recommended to delete the temp file "\
292
- "explicitly with `tempfile.delete`"
293
- end
288
+ tempfile.close if tempfile
289
+ @config.logger.info "Temp file written to #{tempfile.path}, please copy the file to a proper folder "\
290
+ "with e.g. `FileUtils.cp(tempfile.path, '/new/file/path')` otherwise the temp file "\
291
+ "will be deleted automatically with GC. It's also recommended to delete the temp file "\
292
+ "explicitly with `tempfile.delete`"
294
293
  end
295
294
  end
296
295
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ OpenAPI Generator version: 4.2.3
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ OpenAPI Generator version: 4.2.3
10
10
 
11
11
  =end
12
12
 
@@ -109,12 +109,6 @@ module Pulp2to3MigrationClient
109
109
  # Client private key file (for client certificate)
110
110
  attr_accessor :ssl_client_key
111
111
 
112
- # Set this to customize parameters encoder of array parameter.
113
- # Default to nil. Faraday uses NestedParamsEncoder when nil.
114
- #
115
- # @see The params_encoder option of Faraday. Related source code:
116
- # https://github.com/lostisland/faraday/tree/main/lib/faraday/encoders
117
- attr_accessor :params_encoder
118
112
  # Set this to customize parameters encoding of array parameter with multi collectionFormat.
119
113
  # Default to nil.
120
114
  #
@@ -139,8 +133,6 @@ module Pulp2to3MigrationClient
139
133
  @ssl_ca_file = nil
140
134
  @ssl_client_cert = nil
141
135
  @ssl_client_key = nil
142
- @params_encoder = nil
143
- @timeout = 60
144
136
  @debugging = false
145
137
  @inject_format = false
146
138
  @force_ending_format = false
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ OpenAPI Generator version: 4.2.3
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ OpenAPI Generator version: 4.2.3
10
10
 
11
11
  =end
12
12
 
@@ -6,14 +6,14 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ OpenAPI Generator version: 4.2.3
10
10
 
11
11
  =end
12
12
 
13
13
  require 'date'
14
14
 
15
15
  module Pulp2to3MigrationClient
16
- class InlineResponse200
16
+ class Paginatedpulp2to3MigrationMigrationPlanResponseList
17
17
  attr_accessor :count
18
18
 
19
19
  attr_accessor :_next
@@ -54,13 +54,13 @@ module Pulp2to3MigrationClient
54
54
  # @param [Hash] attributes Model attributes in the form of hash
55
55
  def initialize(attributes = {})
56
56
  if (!attributes.is_a?(Hash))
57
- fail ArgumentError, "The input argument (attributes) must be a hash in `Pulp2to3MigrationClient::InlineResponse200` initialize method"
57
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Pulp2to3MigrationClient::Paginatedpulp2to3MigrationMigrationPlanResponseList` initialize method"
58
58
  end
59
59
 
60
60
  # check to see if the attribute exists and convert string to symbol for hash key
61
61
  attributes = attributes.each_with_object({}) { |(k, v), h|
62
62
  if (!self.class.attribute_map.key?(k.to_sym))
63
- fail ArgumentError, "`#{k}` is not a valid attribute in `Pulp2to3MigrationClient::InlineResponse200`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
63
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Pulp2to3MigrationClient::Paginatedpulp2to3MigrationMigrationPlanResponseList`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
64
64
  end
65
65
  h[k.to_sym] = v
66
66
  }
@@ -6,14 +6,14 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ OpenAPI Generator version: 4.2.3
10
10
 
11
11
  =end
12
12
 
13
13
  require 'date'
14
14
 
15
15
  module Pulp2to3MigrationClient
16
- class InlineResponse2001
16
+ class Paginatedpulp2to3MigrationPulp2ContentResponseList
17
17
  attr_accessor :count
18
18
 
19
19
  attr_accessor :_next
@@ -54,13 +54,13 @@ module Pulp2to3MigrationClient
54
54
  # @param [Hash] attributes Model attributes in the form of hash
55
55
  def initialize(attributes = {})
56
56
  if (!attributes.is_a?(Hash))
57
- fail ArgumentError, "The input argument (attributes) must be a hash in `Pulp2to3MigrationClient::InlineResponse2001` initialize method"
57
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Pulp2to3MigrationClient::Paginatedpulp2to3MigrationPulp2ContentResponseList` initialize method"
58
58
  end
59
59
 
60
60
  # check to see if the attribute exists and convert string to symbol for hash key
61
61
  attributes = attributes.each_with_object({}) { |(k, v), h|
62
62
  if (!self.class.attribute_map.key?(k.to_sym))
63
- fail ArgumentError, "`#{k}` is not a valid attribute in `Pulp2to3MigrationClient::InlineResponse2001`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
63
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Pulp2to3MigrationClient::Paginatedpulp2to3MigrationPulp2ContentResponseList`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
64
64
  end
65
65
  h[k.to_sym] = v
66
66
  }
@@ -6,14 +6,14 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ OpenAPI Generator version: 4.2.3
10
10
 
11
11
  =end
12
12
 
13
13
  require 'date'
14
14
 
15
15
  module Pulp2to3MigrationClient
16
- class InlineResponse2002
16
+ class Paginatedpulp2to3MigrationPulp2RepositoryResponseList
17
17
  attr_accessor :count
18
18
 
19
19
  attr_accessor :_next
@@ -54,13 +54,13 @@ module Pulp2to3MigrationClient
54
54
  # @param [Hash] attributes Model attributes in the form of hash
55
55
  def initialize(attributes = {})
56
56
  if (!attributes.is_a?(Hash))
57
- fail ArgumentError, "The input argument (attributes) must be a hash in `Pulp2to3MigrationClient::InlineResponse2002` initialize method"
57
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Pulp2to3MigrationClient::Paginatedpulp2to3MigrationPulp2RepositoryResponseList` initialize method"
58
58
  end
59
59
 
60
60
  # check to see if the attribute exists and convert string to symbol for hash key
61
61
  attributes = attributes.each_with_object({}) { |(k, v), h|
62
62
  if (!self.class.attribute_map.key?(k.to_sym))
63
- fail ArgumentError, "`#{k}` is not a valid attribute in `Pulp2to3MigrationClient::InlineResponse2002`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
63
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Pulp2to3MigrationClient::Paginatedpulp2to3MigrationPulp2RepositoryResponseList`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
64
64
  end
65
65
  h[k.to_sym] = v
66
66
  }
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ OpenAPI Generator version: 4.2.3
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ OpenAPI Generator version: 4.2.3
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ OpenAPI Generator version: 4.2.3
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ OpenAPI Generator version: 4.2.3
10
10
 
11
11
  =end
12
12
 
@@ -6,10 +6,10 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ OpenAPI Generator version: 4.2.3
10
10
 
11
11
  =end
12
12
 
13
13
  module Pulp2to3MigrationClient
14
- VERSION = '0.11.13'
14
+ VERSION = '0.12.0.dev1618286197'
15
15
  end
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ OpenAPI Generator version: 4.2.3
10
10
 
11
11
  =end
12
12
 
@@ -18,10 +18,10 @@ require 'pulp_2to3_migration_client/configuration'
18
18
 
19
19
  # Models
20
20
  require 'pulp_2to3_migration_client/models/async_operation_response'
21
- require 'pulp_2to3_migration_client/models/inline_response200'
22
- require 'pulp_2to3_migration_client/models/inline_response2001'
23
- require 'pulp_2to3_migration_client/models/inline_response2002'
24
21
  require 'pulp_2to3_migration_client/models/migration_plan_run'
22
+ require 'pulp_2to3_migration_client/models/paginatedpulp2to3_migration_migration_plan_response_list'
23
+ require 'pulp_2to3_migration_client/models/paginatedpulp2to3_migration_pulp2_content_response_list'
24
+ require 'pulp_2to3_migration_client/models/paginatedpulp2to3_migration_pulp2_repository_response_list'
25
25
  require 'pulp_2to3_migration_client/models/pulp2to3_migration_migration_plan'
26
26
  require 'pulp_2to3_migration_client/models/pulp2to3_migration_migration_plan_response'
27
27
  require 'pulp_2to3_migration_client/models/pulp2to3_migration_pulp2_content_response'
@@ -8,7 +8,7 @@
8
8
  The version of the OpenAPI document: v3
9
9
  Contact: pulp-list@redhat.com
10
10
  Generated by: https://openapi-generator.tech
11
- OpenAPI Generator version: 4.3.1
11
+ OpenAPI Generator version: 4.2.3
12
12
 
13
13
  =end
14
14
 
@@ -21,13 +21,13 @@ Gem::Specification.new do |s|
21
21
  s.platform = Gem::Platform::RUBY
22
22
  s.authors = ["OpenAPI-Generator"]
23
23
  s.email = ["pulp-list@redhat.com"]
24
- s.homepage = "https://github.com/pulp/pulp_2to3_migration"
24
+ s.homepage = "https://openapi-generator.tech"
25
25
  s.summary = "Pulp 3 API Ruby Gem"
26
26
  s.description = "Fetch, Upload, Organize, and Distribute Software Packages"
27
- s.license = 'GPLv2+'
27
+ s.license = 'GPL-2.0+'
28
28
  s.required_ruby_version = ">= 1.9"
29
29
 
30
- s.add_runtime_dependency 'faraday', '>= 1.0.1', '< 2.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'
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ OpenAPI Generator version: 4.2.3
10
10
 
11
11
  =end
12
12
 
@@ -65,7 +65,7 @@ describe 'MigrationPlansApi' do
65
65
  # @option opts [String] :ordering Which field to use when ordering the results.
66
66
  # @option opts [String] :fields A list of fields to include in the response.
67
67
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
68
- # @return [InlineResponse200]
68
+ # @return [Paginatedpulp2to3MigrationMigrationPlanResponseList]
69
69
  describe 'list test' do
70
70
  it 'should work' do
71
71
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ OpenAPI Generator version: 4.2.3
10
10
 
11
11
  =end
12
12
 
@@ -39,20 +39,20 @@ describe 'Pulp2ContentApi' do
39
39
  # @option opts [Integer] :limit Number of results to return per page.
40
40
  # @option opts [Integer] :offset The initial index from which to return the results.
41
41
  # @option opts [String] :ordering Which field to use when ordering the results.
42
- # @option opts [String] :pulp2_content_type_id pulp2_content_type_id
43
- # @option opts [String] :pulp2_content_type_id__in pulp2_content_type_id__in
44
- # @option opts [String] :pulp2_id pulp2_id
45
- # @option opts [String] :pulp2_id__in pulp2_id__in
46
- # @option opts [String] :pulp2_last_updated pulp2_last_updated
47
- # @option opts [String] :pulp2_last_updated__gt pulp2_last_updated__gt
48
- # @option opts [String] :pulp2_last_updated__gte pulp2_last_updated__gte
49
- # @option opts [String] :pulp2_last_updated__lt pulp2_last_updated__lt
50
- # @option opts [String] :pulp2_last_updated__lte pulp2_last_updated__lte
51
- # @option opts [String] :pulp2_last_updated__range pulp2_last_updated__range
52
- # @option opts [String] :pulp3_content pulp3_content
42
+ # @option opts [String] :pulp2_content_type_id
43
+ # @option opts [Array<String>] :pulp2_content_type_id__in Filter results where pulp2_content_type_id is in a comma-separated list of values
44
+ # @option opts [String] :pulp2_id
45
+ # @option opts [Array<String>] :pulp2_id__in Filter results where pulp2_id is in a comma-separated list of values
46
+ # @option opts [Integer] :pulp2_last_updated ISO 8601 formatted dates are supported
47
+ # @option opts [Integer] :pulp2_last_updated__gt Filter results where pulp2_last_updated is greater than value
48
+ # @option opts [Integer] :pulp2_last_updated__gte Filter results where pulp2_last_updated is greater than or equal to value
49
+ # @option opts [Integer] :pulp2_last_updated__lt Filter results where pulp2_last_updated is less than value
50
+ # @option opts [Integer] :pulp2_last_updated__lte Filter results where pulp2_last_updated is less than or equal to value
51
+ # @option opts [Array<Integer>] :pulp2_last_updated__range Filter results where pulp2_last_updated is between two comma separated values
52
+ # @option opts [String] :pulp3_content Foreign Key referenced by HREF
53
53
  # @option opts [String] :fields A list of fields to include in the response.
54
54
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
55
- # @return [InlineResponse2001]
55
+ # @return [Paginatedpulp2to3MigrationPulp2ContentResponseList]
56
56
  describe 'list test' do
57
57
  it 'should work' do
58
58
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ OpenAPI Generator version: 4.2.3
10
10
 
11
11
  =end
12
12
 
@@ -36,16 +36,16 @@ describe 'Pulp2RepositoriesApi' do
36
36
  # List pulp2 repositorys
37
37
  # ViewSet for Pulp2Repositories model.
38
38
  # @param [Hash] opts the optional parameters
39
- # @option opts [String] :is_migrated is_migrated
39
+ # @option opts [Boolean] :is_migrated
40
40
  # @option opts [Integer] :limit Number of results to return per page.
41
- # @option opts [String] :not_in_plan not_in_plan
41
+ # @option opts [Boolean] :not_in_plan
42
42
  # @option opts [Integer] :offset The initial index from which to return the results.
43
43
  # @option opts [String] :ordering Which field to use when ordering the results.
44
- # @option opts [String] :pulp2_repo_id pulp2_repo_id
45
- # @option opts [String] :pulp2_repo_id__in pulp2_repo_id__in
44
+ # @option opts [String] :pulp2_repo_id
45
+ # @option opts [Array<String>] :pulp2_repo_id__in Filter results where pulp2_repo_id is in a comma-separated list of values
46
46
  # @option opts [String] :fields A list of fields to include in the response.
47
47
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
48
- # @return [InlineResponse2002]
48
+ # @return [Paginatedpulp2to3MigrationPulp2RepositoryResponseList]
49
49
  describe 'list test' do
50
50
  it 'should work' do
51
51
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ OpenAPI Generator version: 4.2.3
10
10
 
11
11
  =end
12
12
 
@@ -118,7 +118,7 @@ describe Pulp2to3MigrationClient::ApiClient do
118
118
  end
119
119
 
120
120
  it 'fails for invalid collection format' do
121
- expect { api_client.build_collection_param(param, :INVALID) }.to raise_error(RuntimeError, 'unknown collection format: :INVALID')
121
+ expect{api_client.build_collection_param(param, :INVALID)}.to raise_error(RuntimeError, 'unknown collection format: :INVALID')
122
122
  end
123
123
  end
124
124
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ OpenAPI Generator version: 4.2.3
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ OpenAPI Generator version: 4.2.3
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ OpenAPI Generator version: 4.2.3
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ OpenAPI Generator version: 4.2.3
10
10
 
11
11
  =end
12
12
 
@@ -14,22 +14,22 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for Pulp2to3MigrationClient::InlineResponse2002
17
+ # Unit tests for Pulp2to3MigrationClient::Paginatedpulp2to3MigrationMigrationPlanResponseList
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe 'InlineResponse2002' do
20
+ describe 'Paginatedpulp2to3MigrationMigrationPlanResponseList' do
21
21
  before do
22
22
  # run before each test
23
- @instance = Pulp2to3MigrationClient::InlineResponse2002.new
23
+ @instance = Pulp2to3MigrationClient::Paginatedpulp2to3MigrationMigrationPlanResponseList.new
24
24
  end
25
25
 
26
26
  after do
27
27
  # run after each test
28
28
  end
29
29
 
30
- describe 'test an instance of InlineResponse2002' do
31
- it 'should create an instance of InlineResponse2002' do
32
- expect(@instance).to be_instance_of(Pulp2to3MigrationClient::InlineResponse2002)
30
+ describe 'test an instance of Paginatedpulp2to3MigrationMigrationPlanResponseList' do
31
+ it 'should create an instance of Paginatedpulp2to3MigrationMigrationPlanResponseList' do
32
+ expect(@instance).to be_instance_of(Pulp2to3MigrationClient::Paginatedpulp2to3MigrationMigrationPlanResponseList)
33
33
  end
34
34
  end
35
35
  describe 'test attribute "count"' do
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ OpenAPI Generator version: 4.2.3
10
10
 
11
11
  =end
12
12
 
@@ -14,22 +14,22 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for Pulp2to3MigrationClient::InlineResponse2001
17
+ # Unit tests for Pulp2to3MigrationClient::Paginatedpulp2to3MigrationPulp2ContentResponseList
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe 'InlineResponse2001' do
20
+ describe 'Paginatedpulp2to3MigrationPulp2ContentResponseList' do
21
21
  before do
22
22
  # run before each test
23
- @instance = Pulp2to3MigrationClient::InlineResponse2001.new
23
+ @instance = Pulp2to3MigrationClient::Paginatedpulp2to3MigrationPulp2ContentResponseList.new
24
24
  end
25
25
 
26
26
  after do
27
27
  # run after each test
28
28
  end
29
29
 
30
- describe 'test an instance of InlineResponse2001' do
31
- it 'should create an instance of InlineResponse2001' do
32
- expect(@instance).to be_instance_of(Pulp2to3MigrationClient::InlineResponse2001)
30
+ describe 'test an instance of Paginatedpulp2to3MigrationPulp2ContentResponseList' do
31
+ it 'should create an instance of Paginatedpulp2to3MigrationPulp2ContentResponseList' do
32
+ expect(@instance).to be_instance_of(Pulp2to3MigrationClient::Paginatedpulp2to3MigrationPulp2ContentResponseList)
33
33
  end
34
34
  end
35
35
  describe 'test attribute "count"' do
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ OpenAPI Generator version: 4.2.3
10
10
 
11
11
  =end
12
12
 
@@ -14,22 +14,22 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for Pulp2to3MigrationClient::InlineResponse200
17
+ # Unit tests for Pulp2to3MigrationClient::Paginatedpulp2to3MigrationPulp2RepositoryResponseList
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe 'InlineResponse200' do
20
+ describe 'Paginatedpulp2to3MigrationPulp2RepositoryResponseList' do
21
21
  before do
22
22
  # run before each test
23
- @instance = Pulp2to3MigrationClient::InlineResponse200.new
23
+ @instance = Pulp2to3MigrationClient::Paginatedpulp2to3MigrationPulp2RepositoryResponseList.new
24
24
  end
25
25
 
26
26
  after do
27
27
  # run after each test
28
28
  end
29
29
 
30
- describe 'test an instance of InlineResponse200' do
31
- it 'should create an instance of InlineResponse200' do
32
- expect(@instance).to be_instance_of(Pulp2to3MigrationClient::InlineResponse200)
30
+ describe 'test an instance of Paginatedpulp2to3MigrationPulp2RepositoryResponseList' do
31
+ it 'should create an instance of Paginatedpulp2to3MigrationPulp2RepositoryResponseList' do
32
+ expect(@instance).to be_instance_of(Pulp2to3MigrationClient::Paginatedpulp2to3MigrationPulp2RepositoryResponseList)
33
33
  end
34
34
  end
35
35
  describe 'test attribute "count"' do
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ OpenAPI Generator version: 4.2.3
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ OpenAPI Generator version: 4.2.3
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ OpenAPI Generator version: 4.2.3
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ OpenAPI Generator version: 4.2.3
10
10
 
11
11
  =end
12
12