pulp_2to3_migration_client 0.3.0b1.dev01595619351 → 0.3.0b1.dev01595705725

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +21 -20
  3. data/docs/InlineResponse200.md +3 -3
  4. data/docs/InlineResponse2001.md +3 -3
  5. data/docs/InlineResponse2002.md +3 -3
  6. data/docs/MigrationPlansApi.md +39 -43
  7. data/docs/Pulp2ContentApi.md +152 -0
  8. data/docs/{Pulp2repositoriesApi.md → Pulp2RepositoriesApi.md} +27 -29
  9. data/docs/Pulp2to3MigrationMigrationPlan.md +1 -5
  10. data/docs/Pulp2to3MigrationMigrationPlanResponse.md +21 -0
  11. data/docs/{Pulp2to3MigrationPulp2Content.md → Pulp2to3MigrationPulp2ContentResponse.md} +3 -3
  12. data/docs/{Pulp2to3MigrationPulp2Repository.md → Pulp2to3MigrationPulp2RepositoryResponse.md} +6 -6
  13. data/lib/pulp_2to3_migration_client.rb +7 -6
  14. data/lib/pulp_2to3_migration_client/api/migration_plans_api.rb +42 -50
  15. data/lib/pulp_2to3_migration_client/api/{pulp2content_api.rb → pulp2_content_api.rb} +46 -50
  16. data/lib/pulp_2to3_migration_client/api/{pulp2repositories_api.rb → pulp2_repositories_api.rb} +29 -33
  17. data/lib/pulp_2to3_migration_client/api_client.rb +2 -2
  18. data/lib/pulp_2to3_migration_client/api_error.rb +2 -2
  19. data/lib/pulp_2to3_migration_client/configuration.rb +3 -3
  20. data/lib/pulp_2to3_migration_client/models/async_operation_response.rb +3 -2
  21. data/lib/pulp_2to3_migration_client/models/inline_response200.rb +3 -13
  22. data/lib/pulp_2to3_migration_client/models/inline_response2001.rb +3 -13
  23. data/lib/pulp_2to3_migration_client/models/inline_response2002.rb +3 -13
  24. data/lib/pulp_2to3_migration_client/models/migration_plan_run.rb +3 -2
  25. data/lib/pulp_2to3_migration_client/models/pulp2to3_migration_migration_plan.rb +4 -22
  26. data/lib/pulp_2to3_migration_client/models/pulp2to3_migration_migration_plan_response.rb +232 -0
  27. data/lib/pulp_2to3_migration_client/models/{pulp2to3_migration_pulp2_content.rb → pulp2to3_migration_pulp2_content_response.rb} +7 -59
  28. data/lib/pulp_2to3_migration_client/models/{pulp2to3_migration_pulp2_repository.rb → pulp2to3_migration_pulp2_repository_response.rb} +11 -108
  29. data/lib/pulp_2to3_migration_client/version.rb +3 -3
  30. data/pulp_2to3_migration_client.gemspec +4 -4
  31. data/spec/api/migration_plans_api_spec.rb +10 -14
  32. data/spec/api/pulp2_content_api_spec.rb +74 -0
  33. data/spec/api/{pulp2repositories_api_spec.rb → pulp2_repositories_api_spec.rb} +15 -17
  34. data/spec/api_client_spec.rb +2 -2
  35. data/spec/configuration_spec.rb +2 -2
  36. data/spec/models/async_operation_response_spec.rb +2 -2
  37. data/spec/models/inline_response2001_spec.rb +2 -2
  38. data/spec/models/inline_response2002_spec.rb +2 -2
  39. data/spec/models/inline_response200_spec.rb +2 -2
  40. data/spec/models/migration_plan_run_spec.rb +2 -2
  41. data/spec/models/pulp2to3_migration_migration_plan_response_spec.rb +53 -0
  42. data/spec/models/pulp2to3_migration_migration_plan_spec.rb +2 -14
  43. data/spec/models/{pulp2to3_migration_pulp2_content_spec.rb → pulp2to3_migration_pulp2_content_response_spec.rb} +8 -8
  44. data/spec/models/{pulp2to3_migration_pulp2_repository_spec.rb → pulp2to3_migration_pulp2_repository_response_spec.rb} +8 -8
  45. data/spec/spec_helper.rb +2 -2
  46. metadata +24 -20
  47. data/docs/Pulp2contentApi.md +0 -154
  48. data/spec/api/pulp2content_api_spec.rb +0 -76
@@ -1,76 +0,0 @@
1
- =begin
2
- #Pulp 3 API
3
-
4
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
-
6
- The version of the OpenAPI document: v3
7
-
8
- Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
-
16
- # Unit tests for Pulp2to3MigrationClient::Pulp2contentApi
17
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
- # Please update as you see appropriate
19
- describe 'Pulp2contentApi' do
20
- before do
21
- # run before each test
22
- @api_instance = Pulp2to3MigrationClient::Pulp2contentApi.new
23
- end
24
-
25
- after do
26
- # run after each test
27
- end
28
-
29
- describe 'test an instance of Pulp2contentApi' do
30
- it 'should create an instance of Pulp2contentApi' do
31
- expect(@api_instance).to be_instance_of(Pulp2to3MigrationClient::Pulp2contentApi)
32
- end
33
- end
34
-
35
- # unit tests for list
36
- # List pulp2 contents
37
- # ViewSet for Pulp2Content model.
38
- # @param [Hash] opts the optional parameters
39
- # @option opts [String] :ordering Which field to use when ordering the results.
40
- # @option opts [String] :pulp2_id
41
- # @option opts [String] :pulp2_id__in Filter results where pulp2_id is in a comma-separated list of values
42
- # @option opts [String] :pulp2_content_type_id
43
- # @option opts [String] :pulp2_content_type_id__in Filter results where pulp2_content_type_id is in a comma-separated list of values
44
- # @option opts [Float] :pulp2_last_updated__lt Filter results where pulp2_last_updated is less than value
45
- # @option opts [Float] :pulp2_last_updated__lte Filter results where pulp2_last_updated is less than or equal to value
46
- # @option opts [Float] :pulp2_last_updated__gt Filter results where pulp2_last_updated is greater than value
47
- # @option opts [Float] :pulp2_last_updated__gte Filter results where pulp2_last_updated is greater than or equal to value
48
- # @option opts [Float] :pulp2_last_updated__range Filter results where pulp2_last_updated is between two comma separated values
49
- # @option opts [String] :pulp3_content Foreign Key referenced by HREF
50
- # @option opts [String] :pulp2_last_updated ISO 8601 formatted dates are supported
51
- # @option opts [Integer] :limit Number of results to return per page.
52
- # @option opts [Integer] :offset The initial index from which to return the results.
53
- # @option opts [String] :fields A list of fields to include in the response.
54
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
55
- # @return [InlineResponse2001]
56
- describe 'list test' do
57
- it 'should work' do
58
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
59
- end
60
- end
61
-
62
- # unit tests for read
63
- # Inspect a pulp2 content
64
- # ViewSet for Pulp2Content model.
65
- # @param pulp2_content_href URI of Pulp2 Content. e.g.: /pulp/api/v3/pulp2content/1/
66
- # @param [Hash] opts the optional parameters
67
- # @option opts [String] :fields A list of fields to include in the response.
68
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
69
- # @return [Pulp2to3MigrationPulp2Content]
70
- describe 'read test' do
71
- it 'should work' do
72
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
73
- end
74
- end
75
-
76
- end