pulp_rpm_client 3.0.0b4

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 (73) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/Gemfile.lock +79 -0
  4. data/README.md +134 -0
  5. data/Rakefile +10 -0
  6. data/docs/AsyncOperationResponse.md +17 -0
  7. data/docs/ContentAdvisoriesApi.md +196 -0
  8. data/docs/ContentPackagesApi.md +208 -0
  9. data/docs/DistributionsRpmApi.md +352 -0
  10. data/docs/InlineResponse200.md +23 -0
  11. data/docs/InlineResponse2001.md +23 -0
  12. data/docs/InlineResponse2002.md +23 -0
  13. data/docs/InlineResponse2003.md +23 -0
  14. data/docs/InlineResponse2004.md +23 -0
  15. data/docs/Package.md +95 -0
  16. data/docs/PublicationsRpmApi.md +229 -0
  17. data/docs/RemotesRpmApi.md +412 -0
  18. data/docs/RepositorySyncURL.md +19 -0
  19. data/docs/RpmCopyApi.md +70 -0
  20. data/docs/RpmDistribution.md +29 -0
  21. data/docs/RpmPublication.md +27 -0
  22. data/docs/RpmRemote.md +45 -0
  23. data/docs/RpmUploadApi.md +66 -0
  24. data/docs/UpdateRecord.md +55 -0
  25. data/git_push.sh +55 -0
  26. data/lib/pulp_rpm_client/api/content_advisories_api.rb +243 -0
  27. data/lib/pulp_rpm_client/api/content_packages_api.rb +261 -0
  28. data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +430 -0
  29. data/lib/pulp_rpm_client/api/publications_rpm_api.rb +273 -0
  30. data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +506 -0
  31. data/lib/pulp_rpm_client/api/rpm_copy_api.rb +96 -0
  32. data/lib/pulp_rpm_client/api/rpm_upload_api.rb +90 -0
  33. data/lib/pulp_rpm_client/api_client.rb +387 -0
  34. data/lib/pulp_rpm_client/api_error.rb +57 -0
  35. data/lib/pulp_rpm_client/configuration.rb +251 -0
  36. data/lib/pulp_rpm_client/models/async_operation_response.rb +202 -0
  37. data/lib/pulp_rpm_client/models/inline_response200.rb +235 -0
  38. data/lib/pulp_rpm_client/models/inline_response2001.rb +235 -0
  39. data/lib/pulp_rpm_client/models/inline_response2002.rb +235 -0
  40. data/lib/pulp_rpm_client/models/inline_response2003.rb +235 -0
  41. data/lib/pulp_rpm_client/models/inline_response2004.rb +235 -0
  42. data/lib/pulp_rpm_client/models/package.rb +983 -0
  43. data/lib/pulp_rpm_client/models/repository_sync_url.rb +214 -0
  44. data/lib/pulp_rpm_client/models/rpm_distribution.rb +337 -0
  45. data/lib/pulp_rpm_client/models/rpm_publication.rb +258 -0
  46. data/lib/pulp_rpm_client/models/rpm_remote.rb +539 -0
  47. data/lib/pulp_rpm_client/models/update_record.rb +764 -0
  48. data/lib/pulp_rpm_client/version.rb +15 -0
  49. data/lib/pulp_rpm_client.rb +58 -0
  50. data/pulp_rpm_client.gemspec +45 -0
  51. data/spec/api/content_advisories_api_spec.rb +83 -0
  52. data/spec/api/content_packages_api_spec.rb +89 -0
  53. data/spec/api/distributions_rpm_api_spec.rb +116 -0
  54. data/spec/api/publications_rpm_api_spec.rb +85 -0
  55. data/spec/api/remotes_rpm_api_spec.rb +131 -0
  56. data/spec/api/rpm_copy_api_spec.rb +50 -0
  57. data/spec/api/rpm_upload_api_spec.rb +48 -0
  58. data/spec/api_client_spec.rb +226 -0
  59. data/spec/configuration_spec.rb +42 -0
  60. data/spec/models/async_operation_response_spec.rb +41 -0
  61. data/spec/models/inline_response2001_spec.rb +59 -0
  62. data/spec/models/inline_response2002_spec.rb +59 -0
  63. data/spec/models/inline_response2003_spec.rb +59 -0
  64. data/spec/models/inline_response2004_spec.rb +59 -0
  65. data/spec/models/inline_response200_spec.rb +59 -0
  66. data/spec/models/package_spec.rb +275 -0
  67. data/spec/models/repository_sync_url_spec.rb +47 -0
  68. data/spec/models/rpm_distribution_spec.rb +77 -0
  69. data/spec/models/rpm_publication_spec.rb +71 -0
  70. data/spec/models/rpm_remote_spec.rb +129 -0
  71. data/spec/models/update_record_spec.rb +155 -0
  72. data/spec/spec_helper.rb +111 -0
  73. metadata +317 -0
@@ -0,0 +1,15 @@
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.0.0
10
+
11
+ =end
12
+
13
+ module PulpRpmClient
14
+ VERSION = '3.0.0b4'
15
+ end
@@ -0,0 +1,58 @@
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.0.0
10
+
11
+ =end
12
+
13
+ # Common files
14
+ require 'pulp_rpm_client/api_client'
15
+ require 'pulp_rpm_client/api_error'
16
+ require 'pulp_rpm_client/version'
17
+ require 'pulp_rpm_client/configuration'
18
+
19
+ # Models
20
+ require 'pulp_rpm_client/models/async_operation_response'
21
+ require 'pulp_rpm_client/models/inline_response200'
22
+ require 'pulp_rpm_client/models/inline_response2001'
23
+ require 'pulp_rpm_client/models/inline_response2002'
24
+ require 'pulp_rpm_client/models/inline_response2003'
25
+ require 'pulp_rpm_client/models/inline_response2004'
26
+ require 'pulp_rpm_client/models/package'
27
+ require 'pulp_rpm_client/models/repository_sync_url'
28
+ require 'pulp_rpm_client/models/rpm_distribution'
29
+ require 'pulp_rpm_client/models/rpm_publication'
30
+ require 'pulp_rpm_client/models/rpm_remote'
31
+ require 'pulp_rpm_client/models/update_record'
32
+
33
+ # APIs
34
+ require 'pulp_rpm_client/api/content_advisories_api'
35
+ require 'pulp_rpm_client/api/content_packages_api'
36
+ require 'pulp_rpm_client/api/distributions_rpm_api'
37
+ require 'pulp_rpm_client/api/publications_rpm_api'
38
+ require 'pulp_rpm_client/api/remotes_rpm_api'
39
+ require 'pulp_rpm_client/api/rpm_copy_api'
40
+ require 'pulp_rpm_client/api/rpm_upload_api'
41
+
42
+ module PulpRpmClient
43
+ class << self
44
+ # Customize default settings for the SDK using block.
45
+ # PulpRpmClient.configure do |config|
46
+ # config.username = "xxx"
47
+ # config.password = "xxx"
48
+ # end
49
+ # If no block given, return the default Configuration object.
50
+ def configure
51
+ if block_given?
52
+ yield(Configuration.default)
53
+ else
54
+ Configuration.default
55
+ end
56
+ end
57
+ end
58
+ end
@@ -0,0 +1,45 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ =begin
4
+ #Pulp 3 API
5
+
6
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+
8
+ The version of the OpenAPI document: v3
9
+
10
+ Generated by: https://openapi-generator.tech
11
+ OpenAPI Generator version: 4.0.0
12
+
13
+ =end
14
+
15
+ $:.push File.expand_path("../lib", __FILE__)
16
+ require "pulp_rpm_client/version"
17
+
18
+ Gem::Specification.new do |s|
19
+ s.name = "pulp_rpm_client"
20
+ s.version = PulpRpmClient::VERSION
21
+ s.platform = Gem::Platform::RUBY
22
+ s.authors = ["OpenAPI-Generator"]
23
+ s.email = [""]
24
+ s.homepage = "https://openapi-generator.tech"
25
+ s.summary = "Pulp 3 API Ruby Gem"
26
+ s.description = "No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)"
27
+ s.license = 'GPLv2'
28
+ s.required_ruby_version = ">= 1.9"
29
+
30
+ s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
31
+ s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
32
+
33
+ s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
34
+ s.add_development_dependency 'vcr', '~> 3.0', '>= 3.0.1'
35
+ s.add_development_dependency 'webmock', '~> 1.24', '>= 1.24.3'
36
+ s.add_development_dependency 'autotest', '~> 4.4', '>= 4.4.6'
37
+ s.add_development_dependency 'autotest-rails-pure', '~> 4.1', '>= 4.1.2'
38
+ s.add_development_dependency 'autotest-growl', '~> 0.2', '>= 0.2.16'
39
+ s.add_development_dependency 'autotest-fsevent', '~> 0.2', '>= 0.2.12'
40
+
41
+ s.files = `find *`.split("\n").uniq.sort.select { |f| !f.empty? }
42
+ s.test_files = `find spec/*`.split("\n")
43
+ s.executables = []
44
+ s.require_paths = ["lib"]
45
+ end
@@ -0,0 +1,83 @@
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.0.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpRpmClient::ContentAdvisoriesApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'ContentAdvisoriesApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpRpmClient::ContentAdvisoriesApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of ContentAdvisoriesApi' do
30
+ it 'should create an instance of ContentAdvisoriesApi' do
31
+ expect(@api_instance).to be_instance_of(PulpRpmClient::ContentAdvisoriesApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for create
36
+ # Create an update record
37
+ # Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/rpm/advisories/ Also specify queryset and serializer for UpdateRecord.
38
+ # @param data
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [UpdateRecord]
41
+ describe 'create test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ # unit tests for list
48
+ # List update records
49
+ # Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/rpm/advisories/ Also specify queryset and serializer for UpdateRecord.
50
+ # @param [Hash] opts the optional parameters
51
+ # @option opts [String] :id Filter results where id matches value
52
+ # @option opts [String] :id__in Filter results where id is in a comma-separated list of values
53
+ # @option opts [String] :status Filter results where status matches value
54
+ # @option opts [String] :status__in Filter results where status is in a comma-separated list of values
55
+ # @option opts [String] :severity Filter results where severity matches value
56
+ # @option opts [String] :severity__in Filter results where severity is in a comma-separated list of values
57
+ # @option opts [String] :type Filter results where type matches value
58
+ # @option opts [String] :type__in Filter results where type is in a comma-separated list of values
59
+ # @option opts [String] :repository_version Repository Version referenced by HREF
60
+ # @option opts [String] :repository_version_added Repository Version referenced by HREF
61
+ # @option opts [String] :repository_version_removed Repository Version referenced by HREF
62
+ # @option opts [Integer] :page A page number within the paginated result set.
63
+ # @option opts [Integer] :page_size Number of results to return per page.
64
+ # @return [InlineResponse200]
65
+ describe 'list test' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
71
+ # unit tests for read
72
+ # Inspect an update record
73
+ # Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/rpm/advisories/ Also specify queryset and serializer for UpdateRecord.
74
+ # @param update_record_href URI of Update Record. e.g.: /pulp/api/v3/content/rpm/advisories/1/
75
+ # @param [Hash] opts the optional parameters
76
+ # @return [UpdateRecord]
77
+ describe 'read test' 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
+ end
@@ -0,0 +1,89 @@
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.0.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpRpmClient::ContentPackagesApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'ContentPackagesApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpRpmClient::ContentPackagesApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of ContentPackagesApi' do
30
+ it 'should create an instance of ContentPackagesApi' do
31
+ expect(@api_instance).to be_instance_of(PulpRpmClient::ContentPackagesApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for create
36
+ # Create a package
37
+ # Create a new Package from a request.
38
+ # @param data
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [Package]
41
+ describe 'create test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ # unit tests for list
48
+ # List packages
49
+ # Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/rpm/packages/ Also specify queryset and serializer for Package.
50
+ # @param [Hash] opts the optional parameters
51
+ # @option opts [String] :name Filter results where name matches value
52
+ # @option opts [String] :name__in Filter results where name is in a comma-separated list of values
53
+ # @option opts [String] :epoch Filter results where epoch matches value
54
+ # @option opts [String] :epoch__in Filter results where epoch is in a comma-separated list of values
55
+ # @option opts [String] :version Filter results where version matches value
56
+ # @option opts [String] :version__in Filter results where version is in a comma-separated list of values
57
+ # @option opts [String] :release Filter results where release matches value
58
+ # @option opts [String] :release__in Filter results where release is in a comma-separated list of values
59
+ # @option opts [String] :arch Filter results where arch matches value
60
+ # @option opts [String] :arch__in Filter results where arch is in a comma-separated list of values
61
+ # @option opts [String] :pkg_id Filter results where pkgId matches value
62
+ # @option opts [String] :pkg_id__in Filter results where pkgId is in a comma-separated list of values
63
+ # @option opts [String] :checksum_type Filter results where checksum_type matches value
64
+ # @option opts [String] :checksum_type__in Filter results where checksum_type is in a comma-separated list of values
65
+ # @option opts [String] :repository_version Repository Version referenced by HREF
66
+ # @option opts [String] :repository_version_added Repository Version referenced by HREF
67
+ # @option opts [String] :repository_version_removed Repository Version referenced by HREF
68
+ # @option opts [Integer] :page A page number within the paginated result set.
69
+ # @option opts [Integer] :page_size Number of results to return per page.
70
+ # @return [InlineResponse2001]
71
+ describe 'list test' do
72
+ it 'should work' do
73
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
+ end
75
+ end
76
+
77
+ # unit tests for read
78
+ # Inspect a package
79
+ # Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/rpm/packages/ Also specify queryset and serializer for Package.
80
+ # @param package_href URI of Package. e.g.: /pulp/api/v3/content/rpm/packages/1/
81
+ # @param [Hash] opts the optional parameters
82
+ # @return [Package]
83
+ describe 'read test' do
84
+ it 'should work' do
85
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
86
+ end
87
+ end
88
+
89
+ end
@@ -0,0 +1,116 @@
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.0.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpRpmClient::DistributionsRpmApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'DistributionsRpmApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpRpmClient::DistributionsRpmApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of DistributionsRpmApi' do
30
+ it 'should create an instance of DistributionsRpmApi' do
31
+ expect(@api_instance).to be_instance_of(PulpRpmClient::DistributionsRpmApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for create
36
+ # Create a rpm distribution
37
+ # Trigger an asynchronous create task
38
+ # @param data
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [AsyncOperationResponse]
41
+ describe 'create test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ # unit tests for delete
48
+ # Delete a rpm distribution
49
+ # Trigger an asynchronous delete task
50
+ # @param rpm_distribution_href URI of Rpm Distribution. e.g.: /pulp/api/v3/distributions/rpm/rpm/1/
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [AsyncOperationResponse]
53
+ describe 'delete test' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ # unit tests for list
60
+ # List rpm distributions
61
+ # ViewSet for RPM Distributions.
62
+ # @param [Hash] opts the optional parameters
63
+ # @option opts [String] :name
64
+ # @option opts [String] :name__in Filter results where name is in a comma-separated list of values
65
+ # @option opts [String] :base_path
66
+ # @option opts [String] :base_path__contains Filter results where base_path contains value
67
+ # @option opts [String] :base_path__icontains Filter results where base_path contains value
68
+ # @option opts [String] :base_path__in Filter results where base_path is in a comma-separated list of values
69
+ # @option opts [Integer] :page A page number within the paginated result set.
70
+ # @option opts [Integer] :page_size Number of results to return per page.
71
+ # @return [InlineResponse2002]
72
+ describe 'list test' do
73
+ it 'should work' do
74
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
75
+ end
76
+ end
77
+
78
+ # unit tests for partial_update
79
+ # Partially update a rpm distribution
80
+ # Trigger an asynchronous partial update task
81
+ # @param rpm_distribution_href URI of Rpm Distribution. e.g.: /pulp/api/v3/distributions/rpm/rpm/1/
82
+ # @param data
83
+ # @param [Hash] opts the optional parameters
84
+ # @return [AsyncOperationResponse]
85
+ describe 'partial_update test' do
86
+ it 'should work' do
87
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
88
+ end
89
+ end
90
+
91
+ # unit tests for read
92
+ # Inspect a rpm distribution
93
+ # ViewSet for RPM Distributions.
94
+ # @param rpm_distribution_href URI of Rpm Distribution. e.g.: /pulp/api/v3/distributions/rpm/rpm/1/
95
+ # @param [Hash] opts the optional parameters
96
+ # @return [RpmDistribution]
97
+ describe 'read test' do
98
+ it 'should work' do
99
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
100
+ end
101
+ end
102
+
103
+ # unit tests for update
104
+ # Update a rpm distribution
105
+ # Trigger an asynchronous update task
106
+ # @param rpm_distribution_href URI of Rpm Distribution. e.g.: /pulp/api/v3/distributions/rpm/rpm/1/
107
+ # @param data
108
+ # @param [Hash] opts the optional parameters
109
+ # @return [AsyncOperationResponse]
110
+ describe 'update test' do
111
+ it 'should work' do
112
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
113
+ end
114
+ end
115
+
116
+ end
@@ -0,0 +1,85 @@
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.0.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpRpmClient::PublicationsRpmApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'PublicationsRpmApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpRpmClient::PublicationsRpmApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of PublicationsRpmApi' do
30
+ it 'should create an instance of PublicationsRpmApi' do
31
+ expect(@api_instance).to be_instance_of(PulpRpmClient::PublicationsRpmApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for create
36
+ # Create a rpm publication
37
+ # Trigger an asynchronous task to create a new RPM content publication.
38
+ # @param data
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [AsyncOperationResponse]
41
+ describe 'create test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ # unit tests for delete
48
+ # Delete a rpm publication
49
+ # ViewSet for Rpm Publications.
50
+ # @param rpm_publication_href URI of Rpm Publication. e.g.: /pulp/api/v3/publications/rpm/rpm/1/
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [nil]
53
+ describe 'delete test' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ # unit tests for list
60
+ # List rpm publications
61
+ # ViewSet for Rpm Publications.
62
+ # @param [Hash] opts the optional parameters
63
+ # @option opts [String] :ordering Which field to use when ordering the results.
64
+ # @option opts [Integer] :page A page number within the paginated result set.
65
+ # @option opts [Integer] :page_size Number of results to return per page.
66
+ # @return [InlineResponse2003]
67
+ describe 'list test' do
68
+ it 'should work' do
69
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
70
+ end
71
+ end
72
+
73
+ # unit tests for read
74
+ # Inspect a rpm publication
75
+ # ViewSet for Rpm Publications.
76
+ # @param rpm_publication_href URI of Rpm Publication. e.g.: /pulp/api/v3/publications/rpm/rpm/1/
77
+ # @param [Hash] opts the optional parameters
78
+ # @return [RpmPublication]
79
+ describe 'read test' do
80
+ it 'should work' do
81
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
82
+ end
83
+ end
84
+
85
+ end
@@ -0,0 +1,131 @@
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.0.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpRpmClient::RemotesRpmApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'RemotesRpmApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpRpmClient::RemotesRpmApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of RemotesRpmApi' do
30
+ it 'should create an instance of RemotesRpmApi' do
31
+ expect(@api_instance).to be_instance_of(PulpRpmClient::RemotesRpmApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for create
36
+ # Create a rpm remote
37
+ # A ViewSet for RpmRemote.
38
+ # @param data
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [RpmRemote]
41
+ describe 'create test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ # unit tests for delete
48
+ # Delete a rpm remote
49
+ # Trigger an asynchronous delete task
50
+ # @param rpm_remote_href URI of Rpm Remote. e.g.: /pulp/api/v3/remotes/rpm/rpm/1/
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [AsyncOperationResponse]
53
+ describe 'delete test' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ # unit tests for list
60
+ # List rpm remotes
61
+ # A ViewSet for RpmRemote.
62
+ # @param [Hash] opts the optional parameters
63
+ # @option opts [String] :name
64
+ # @option opts [String] :name__in Filter results where name is in a comma-separated list of values
65
+ # @option opts [String] :_last_updated__lt Filter results where _last_updated is less than value
66
+ # @option opts [String] :_last_updated__lte Filter results where _last_updated is less than or equal to value
67
+ # @option opts [String] :_last_updated__gt Filter results where _last_updated is greater than value
68
+ # @option opts [String] :_last_updated__gte Filter results where _last_updated is greater than or equal to value
69
+ # @option opts [String] :_last_updated__range Filter results where _last_updated is between two comma separated values
70
+ # @option opts [String] :_last_updated ISO 8601 formatted dates are supported
71
+ # @option opts [Integer] :page A page number within the paginated result set.
72
+ # @option opts [Integer] :page_size Number of results to return per page.
73
+ # @return [InlineResponse2004]
74
+ describe 'list test' do
75
+ it 'should work' do
76
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
77
+ end
78
+ end
79
+
80
+ # unit tests for partial_update
81
+ # Partially update a rpm remote
82
+ # Trigger an asynchronous partial update task
83
+ # @param rpm_remote_href URI of Rpm Remote. e.g.: /pulp/api/v3/remotes/rpm/rpm/1/
84
+ # @param data
85
+ # @param [Hash] opts the optional parameters
86
+ # @return [AsyncOperationResponse]
87
+ describe 'partial_update test' do
88
+ it 'should work' do
89
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
90
+ end
91
+ end
92
+
93
+ # unit tests for read
94
+ # Inspect a rpm remote
95
+ # A ViewSet for RpmRemote.
96
+ # @param rpm_remote_href URI of Rpm Remote. e.g.: /pulp/api/v3/remotes/rpm/rpm/1/
97
+ # @param [Hash] opts the optional parameters
98
+ # @return [RpmRemote]
99
+ describe 'read test' do
100
+ it 'should work' do
101
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
102
+ end
103
+ end
104
+
105
+ # unit tests for sync
106
+ # Sync from remote
107
+ # Trigger an asynchronous task to sync RPM content.
108
+ # @param rpm_remote_href URI of Rpm Remote. e.g.: /pulp/api/v3/remotes/rpm/rpm/1/
109
+ # @param data
110
+ # @param [Hash] opts the optional parameters
111
+ # @return [AsyncOperationResponse]
112
+ describe 'sync test' do
113
+ it 'should work' do
114
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
115
+ end
116
+ end
117
+
118
+ # unit tests for update
119
+ # Update a rpm remote
120
+ # Trigger an asynchronous update task
121
+ # @param rpm_remote_href URI of Rpm Remote. e.g.: /pulp/api/v3/remotes/rpm/rpm/1/
122
+ # @param data
123
+ # @param [Hash] opts the optional parameters
124
+ # @return [AsyncOperationResponse]
125
+ describe 'update test' do
126
+ it 'should work' do
127
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
128
+ end
129
+ end
130
+
131
+ end
@@ -0,0 +1,50 @@
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.0.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpRpmClient::RpmCopyApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'RpmCopyApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpRpmClient::RpmCopyApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of RpmCopyApi' do
30
+ it 'should create an instance of RpmCopyApi' do
31
+ expect(@api_instance).to be_instance_of(PulpRpmClient::RpmCopyApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for copy_content
36
+ # Copy content
37
+ # Trigger an asynchronous task to copy RPM contentfrom one repository into another, creating a newrepository version.
38
+ # @param dest_repo A URI of the repository.
39
+ # @param [Hash] opts the optional parameters
40
+ # @option opts [String] :source_repo A URI of the repository.
41
+ # @option opts [String] :source_repo_version A URI of the repository version
42
+ # @option opts [Array<String>] :types A list of types to copy [\&quot;package\&quot;, \&quot;advisory\&quot;]
43
+ # @return [AsyncOperationResponse]
44
+ describe 'copy_content test' do
45
+ it 'should work' do
46
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
47
+ end
48
+ end
49
+
50
+ end