pulpcore_client 3.32.0 → 3.33.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (112) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +9 -5
  3. data/docs/AccessPoliciesApi.md +7 -1
  4. data/docs/ApiAppStatusResponse.md +21 -0
  5. data/docs/ArtifactDistributionResponse.md +8 -8
  6. data/docs/ArtifactsApi.md +3 -1
  7. data/docs/ContentApi.md +7 -3
  8. data/docs/ContentAppStatusResponse.md +3 -1
  9. data/docs/ContentguardsApi.md +11 -3
  10. data/docs/ContentguardsContentRedirectApi.md +7 -1
  11. data/docs/ContentguardsRbacApi.md +7 -1
  12. data/docs/DistributionsApi.md +11 -3
  13. data/docs/DistributionsArtifactsApi.md +7 -1
  14. data/docs/DomainsApi.md +7 -1
  15. data/docs/ExportersFilesystemApi.md +7 -1
  16. data/docs/ExportersFilesystemExportsApi.md +1 -1
  17. data/docs/ExportersPulpApi.md +7 -1
  18. data/docs/ExportersPulpExportsApi.md +1 -1
  19. data/docs/GroupsApi.md +3 -1
  20. data/docs/GroupsRolesApi.md +3 -1
  21. data/docs/GroupsUsersApi.md +1 -1
  22. data/docs/ImportersPulpApi.md +7 -1
  23. data/docs/ImportersPulpImportCheckApi.md +1 -1
  24. data/docs/ImportersPulpImportsApi.md +1 -1
  25. data/docs/OrphansApi.md +1 -1
  26. data/docs/OrphansCleanupApi.md +1 -1
  27. data/docs/PublicationsApi.md +7 -3
  28. data/docs/RemotesApi.md +11 -3
  29. data/docs/RepairApi.md +1 -1
  30. data/docs/RepositoriesApi.md +11 -3
  31. data/docs/RepositoriesReclaimSpaceApi.md +1 -1
  32. data/docs/RepositoryVersionsApi.md +3 -1
  33. data/docs/RolesApi.md +7 -1
  34. data/docs/SigningServicesApi.md +3 -1
  35. data/docs/StatusApi.md +1 -1
  36. data/docs/StatusResponse.md +4 -2
  37. data/docs/TaskGroupsApi.md +1 -1
  38. data/docs/TaskSchedulesApi.md +3 -1
  39. data/docs/TasksApi.md +9 -1
  40. data/docs/UploadsApi.md +3 -1
  41. data/docs/UpstreamPulpsApi.md +1 -1
  42. data/docs/UsersApi.md +3 -1
  43. data/docs/UsersRolesApi.md +3 -1
  44. data/docs/WorkerResponse.md +2 -0
  45. data/docs/WorkersApi.md +7 -1
  46. data/lib/pulpcore_client/api/access_policies_api.rb +9 -0
  47. data/lib/pulpcore_client/api/artifacts_api.rb +3 -0
  48. data/lib/pulpcore_client/api/content_api.rb +12 -2
  49. data/lib/pulpcore_client/api/contentguards_api.rb +18 -2
  50. data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +9 -0
  51. data/lib/pulpcore_client/api/contentguards_rbac_api.rb +9 -0
  52. data/lib/pulpcore_client/api/distributions_api.rb +18 -2
  53. data/lib/pulpcore_client/api/distributions_artifacts_api.rb +9 -0
  54. data/lib/pulpcore_client/api/domains_api.rb +9 -0
  55. data/lib/pulpcore_client/api/exporters_filesystem_api.rb +9 -0
  56. data/lib/pulpcore_client/api/exporters_pulp_api.rb +9 -0
  57. data/lib/pulpcore_client/api/groups_api.rb +3 -0
  58. data/lib/pulpcore_client/api/groups_roles_api.rb +3 -0
  59. data/lib/pulpcore_client/api/importers_pulp_api.rb +9 -0
  60. data/lib/pulpcore_client/api/publications_api.rb +12 -2
  61. data/lib/pulpcore_client/api/remotes_api.rb +18 -2
  62. data/lib/pulpcore_client/api/repositories_api.rb +18 -2
  63. data/lib/pulpcore_client/api/repository_versions_api.rb +3 -0
  64. data/lib/pulpcore_client/api/roles_api.rb +9 -0
  65. data/lib/pulpcore_client/api/signing_services_api.rb +3 -0
  66. data/lib/pulpcore_client/api/task_schedules_api.rb +3 -0
  67. data/lib/pulpcore_client/api/tasks_api.rb +12 -0
  68. data/lib/pulpcore_client/api/uploads_api.rb +3 -0
  69. data/lib/pulpcore_client/api/users_api.rb +3 -0
  70. data/lib/pulpcore_client/api/users_roles_api.rb +3 -0
  71. data/lib/pulpcore_client/api/workers_api.rb +9 -0
  72. data/lib/pulpcore_client/configuration.rb +2 -2
  73. data/lib/pulpcore_client/models/api_app_status_response.rb +230 -0
  74. data/lib/pulpcore_client/models/artifact_distribution_response.rb +40 -40
  75. data/lib/pulpcore_client/models/content_app_status_response.rb +16 -4
  76. data/lib/pulpcore_client/models/status_response.rb +20 -3
  77. data/lib/pulpcore_client/models/worker_response.rb +13 -1
  78. data/lib/pulpcore_client/version.rb +1 -1
  79. data/lib/pulpcore_client.rb +1 -0
  80. data/spec/api/access_policies_api_spec.rb +3 -0
  81. data/spec/api/artifacts_api_spec.rb +1 -0
  82. data/spec/api/content_api_spec.rb +3 -1
  83. data/spec/api/contentguards_api_spec.rb +5 -1
  84. data/spec/api/contentguards_content_redirect_api_spec.rb +3 -0
  85. data/spec/api/contentguards_rbac_api_spec.rb +3 -0
  86. data/spec/api/distributions_api_spec.rb +5 -1
  87. data/spec/api/distributions_artifacts_api_spec.rb +3 -0
  88. data/spec/api/domains_api_spec.rb +3 -0
  89. data/spec/api/exporters_filesystem_api_spec.rb +3 -0
  90. data/spec/api/exporters_pulp_api_spec.rb +3 -0
  91. data/spec/api/groups_api_spec.rb +1 -0
  92. data/spec/api/groups_roles_api_spec.rb +1 -0
  93. data/spec/api/importers_pulp_api_spec.rb +3 -0
  94. data/spec/api/publications_api_spec.rb +3 -1
  95. data/spec/api/remotes_api_spec.rb +5 -1
  96. data/spec/api/repositories_api_spec.rb +5 -1
  97. data/spec/api/repository_versions_api_spec.rb +1 -0
  98. data/spec/api/roles_api_spec.rb +3 -0
  99. data/spec/api/signing_services_api_spec.rb +1 -0
  100. data/spec/api/task_schedules_api_spec.rb +1 -0
  101. data/spec/api/tasks_api_spec.rb +4 -0
  102. data/spec/api/uploads_api_spec.rb +1 -0
  103. data/spec/api/users_api_spec.rb +1 -0
  104. data/spec/api/users_roles_api_spec.rb +1 -0
  105. data/spec/api/workers_api_spec.rb +3 -0
  106. data/spec/configuration_spec.rb +3 -3
  107. data/spec/models/api_app_status_response_spec.rb +53 -0
  108. data/spec/models/artifact_distribution_response_spec.rb +7 -7
  109. data/spec/models/content_app_status_response_spec.rb +6 -0
  110. data/spec/models/status_response_spec.rb +6 -0
  111. data/spec/models/worker_response_spec.rb +6 -0
  112. metadata +6 -2
@@ -69,6 +69,7 @@ describe 'UsersRolesApi' do
69
69
  # @option opts [Array<String>] :ordering Ordering * &#x60;role&#x60; - Role * &#x60;-role&#x60; - Role (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
70
70
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
71
71
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
72
+ # @option opts [String] :q
72
73
  # @option opts [String] :role
73
74
  # @option opts [String] :role__contains
74
75
  # @option opts [String] :role__icontains
@@ -47,13 +47,16 @@ describe 'WorkersApi' do
47
47
  # @option opts [String] :name Filter results where name matches value
48
48
  # @option opts [String] :name__contains Filter results where name contains value
49
49
  # @option opts [String] :name__icontains Filter results where name contains value
50
+ # @option opts [String] :name__iexact Filter results where name matches value
50
51
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
52
+ # @option opts [String] :name__istartswith Filter results where name starts with value
51
53
  # @option opts [String] :name__startswith Filter results where name starts with value
52
54
  # @option opts [Integer] :offset The initial index from which to return the results.
53
55
  # @option opts [Boolean] :online
54
56
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;last_heartbeat&#x60; - Last heartbeat * &#x60;-last_heartbeat&#x60; - Last heartbeat (descending) * &#x60;versions&#x60; - Versions * &#x60;-versions&#x60; - Versions (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
55
57
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
56
58
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
59
+ # @option opts [String] :q
57
60
  # @option opts [Array<String>] :fields A list of fields to include in the response.
58
61
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
59
62
  # @return [PaginatedWorkerResponseList]
@@ -18,7 +18,7 @@ describe PulpcoreClient::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("https://pulp")
21
+ # uri = URI.parse("http://pulp")
22
22
  # PulpcoreClient.configure do |c|
23
23
  # c.host = uri.host
24
24
  # c.base_path = uri.path
@@ -28,14 +28,14 @@ describe PulpcoreClient::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("https://pulp")
31
+ # expect(config.base_url).to eq("http://pulp")
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("https://pulp")
38
+ # expect(config.base_url).to eq("http://pulp")
39
39
  end
40
40
  end
41
41
  end
@@ -0,0 +1,53 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for PulpcoreClient::ApiAppStatusResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'ApiAppStatusResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpcoreClient::ApiAppStatusResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of ApiAppStatusResponse' do
31
+ it 'should create an instance of ApiAppStatusResponse' do
32
+ expect(@instance).to be_instance_of(PulpcoreClient::ApiAppStatusResponse)
33
+ end
34
+ end
35
+ describe 'test attribute "name"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "last_heartbeat"' 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
+ describe 'test attribute "versions"' 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
+
53
+ end
@@ -32,31 +32,31 @@ describe 'ArtifactDistributionResponse' do
32
32
  expect(@instance).to be_instance_of(PulpcoreClient::ArtifactDistributionResponse)
33
33
  end
34
34
  end
35
- describe 'test attribute "hidden"' do
35
+ describe 'test attribute "pulp_labels"' do
36
36
  it 'should work' do
37
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "base_url"' do
41
+ describe 'test attribute "hidden"' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
- describe 'test attribute "base_path"' do
47
+ describe 'test attribute "pulp_created"' do
48
48
  it 'should work' do
49
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
51
51
  end
52
52
 
53
- describe 'test attribute "pulp_created"' do
53
+ describe 'test attribute "name"' do
54
54
  it 'should work' do
55
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
56
  end
57
57
  end
58
58
 
59
- describe 'test attribute "name"' do
59
+ describe 'test attribute "base_path"' do
60
60
  it 'should work' do
61
61
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
62
  end
@@ -68,13 +68,13 @@ describe 'ArtifactDistributionResponse' do
68
68
  end
69
69
  end
70
70
 
71
- describe 'test attribute "pulp_labels"' do
71
+ describe 'test attribute "pulp_href"' do
72
72
  it 'should work' do
73
73
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
74
  end
75
75
  end
76
76
 
77
- describe 'test attribute "pulp_href"' do
77
+ describe 'test attribute "base_url"' do
78
78
  it 'should work' do
79
79
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
80
  end
@@ -44,4 +44,10 @@ describe 'ContentAppStatusResponse' do
44
44
  end
45
45
  end
46
46
 
47
+ describe 'test attribute "versions"' 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
  end
@@ -44,6 +44,12 @@ describe 'StatusResponse' do
44
44
  end
45
45
  end
46
46
 
47
+ describe 'test attribute "online_api_apps"' 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 "online_content_apps"' do
48
54
  it 'should work' do
49
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -56,6 +56,12 @@ describe 'WorkerResponse' do
56
56
  end
57
57
  end
58
58
 
59
+ describe 'test attribute "versions"' do
60
+ it 'should work' do
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ end
63
+ end
64
+
59
65
  describe 'test attribute "current_task"' do
60
66
  it 'should work' do
61
67
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulpcore_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.32.0
4
+ version: 3.33.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-22 00:00:00.000000000 Z
11
+ date: 2023-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -83,6 +83,7 @@ files:
83
83
  - docs/AccessPoliciesApi.md
84
84
  - docs/AccessPolicy.md
85
85
  - docs/AccessPolicyResponse.md
86
+ - docs/ApiAppStatusResponse.md
86
87
  - docs/Artifact.md
87
88
  - docs/ArtifactDistributionResponse.md
88
89
  - docs/ArtifactResponse.md
@@ -292,6 +293,7 @@ files:
292
293
  - lib/pulpcore_client/configuration.rb
293
294
  - lib/pulpcore_client/models/access_policy.rb
294
295
  - lib/pulpcore_client/models/access_policy_response.rb
296
+ - lib/pulpcore_client/models/api_app_status_response.rb
295
297
  - lib/pulpcore_client/models/artifact.rb
296
298
  - lib/pulpcore_client/models/artifact_distribution_response.rb
297
299
  - lib/pulpcore_client/models/artifact_response.rb
@@ -464,6 +466,7 @@ files:
464
466
  - spec/configuration_spec.rb
465
467
  - spec/models/access_policy_response_spec.rb
466
468
  - spec/models/access_policy_spec.rb
469
+ - spec/models/api_app_status_response_spec.rb
467
470
  - spec/models/artifact_distribution_response_spec.rb
468
471
  - spec/models/artifact_response_spec.rb
469
472
  - spec/models/artifact_spec.rb
@@ -682,6 +685,7 @@ test_files:
682
685
  - spec/models/progress_report_response_spec.rb
683
686
  - spec/models/distribution_response_spec.rb
684
687
  - spec/models/repair_spec.rb
688
+ - spec/models/api_app_status_response_spec.rb
685
689
  - spec/models/patched_content_redirect_content_guard_spec.rb
686
690
  - spec/models/upload_response_spec.rb
687
691
  - spec/models/content_summary_response_spec.rb