pulpcore_client 3.32.1 → 3.34.0
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.
- checksums.yaml +4 -4
- data/README.md +9 -5
- data/docs/AccessPoliciesApi.md +7 -1
- data/docs/ApiAppStatusResponse.md +21 -0
- data/docs/ArtifactDistributionResponse.md +8 -8
- data/docs/ArtifactsApi.md +3 -1
- data/docs/ContentApi.md +7 -3
- data/docs/ContentAppStatusResponse.md +3 -1
- data/docs/ContentguardsApi.md +11 -3
- data/docs/ContentguardsContentRedirectApi.md +7 -1
- data/docs/ContentguardsRbacApi.md +7 -1
- data/docs/DistributionsApi.md +11 -3
- data/docs/DistributionsArtifactsApi.md +7 -1
- data/docs/DomainsApi.md +7 -1
- data/docs/ExportersFilesystemApi.md +7 -1
- data/docs/ExportersFilesystemExportsApi.md +1 -1
- data/docs/ExportersPulpApi.md +7 -1
- data/docs/ExportersPulpExportsApi.md +1 -1
- data/docs/GroupsApi.md +3 -1
- data/docs/GroupsRolesApi.md +3 -1
- data/docs/GroupsUsersApi.md +1 -1
- data/docs/ImportersPulpApi.md +7 -1
- data/docs/ImportersPulpImportCheckApi.md +1 -1
- data/docs/ImportersPulpImportsApi.md +1 -1
- data/docs/OrphansApi.md +1 -1
- data/docs/OrphansCleanupApi.md +1 -1
- data/docs/PublicationsApi.md +7 -3
- data/docs/RemotesApi.md +11 -3
- data/docs/RepairApi.md +1 -1
- data/docs/RepositoriesApi.md +11 -3
- data/docs/RepositoriesReclaimSpaceApi.md +1 -1
- data/docs/RepositoryVersionsApi.md +3 -1
- data/docs/RolesApi.md +7 -1
- data/docs/SigningServicesApi.md +3 -1
- data/docs/StatusApi.md +1 -1
- data/docs/StatusResponse.md +4 -2
- data/docs/TaskGroupsApi.md +1 -1
- data/docs/TaskSchedulesApi.md +3 -1
- data/docs/TasksApi.md +9 -1
- data/docs/UploadsApi.md +3 -1
- data/docs/UpstreamPulpsApi.md +1 -1
- data/docs/UsersApi.md +3 -1
- data/docs/UsersRolesApi.md +3 -1
- data/docs/WorkerResponse.md +2 -0
- data/docs/WorkersApi.md +7 -1
- data/lib/pulpcore_client/api/access_policies_api.rb +9 -0
- data/lib/pulpcore_client/api/artifacts_api.rb +3 -0
- data/lib/pulpcore_client/api/content_api.rb +12 -2
- data/lib/pulpcore_client/api/contentguards_api.rb +18 -2
- data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +9 -0
- data/lib/pulpcore_client/api/contentguards_rbac_api.rb +9 -0
- data/lib/pulpcore_client/api/distributions_api.rb +18 -2
- data/lib/pulpcore_client/api/distributions_artifacts_api.rb +9 -0
- data/lib/pulpcore_client/api/domains_api.rb +9 -0
- data/lib/pulpcore_client/api/exporters_filesystem_api.rb +9 -0
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +9 -0
- data/lib/pulpcore_client/api/groups_api.rb +3 -0
- data/lib/pulpcore_client/api/groups_roles_api.rb +3 -0
- data/lib/pulpcore_client/api/importers_pulp_api.rb +9 -0
- data/lib/pulpcore_client/api/publications_api.rb +12 -2
- data/lib/pulpcore_client/api/remotes_api.rb +18 -2
- data/lib/pulpcore_client/api/repositories_api.rb +18 -2
- data/lib/pulpcore_client/api/repository_versions_api.rb +3 -0
- data/lib/pulpcore_client/api/roles_api.rb +9 -0
- data/lib/pulpcore_client/api/signing_services_api.rb +3 -0
- data/lib/pulpcore_client/api/task_schedules_api.rb +3 -0
- data/lib/pulpcore_client/api/tasks_api.rb +12 -0
- data/lib/pulpcore_client/api/uploads_api.rb +3 -0
- data/lib/pulpcore_client/api/users_api.rb +3 -0
- data/lib/pulpcore_client/api/users_roles_api.rb +3 -0
- data/lib/pulpcore_client/api/workers_api.rb +9 -0
- data/lib/pulpcore_client/configuration.rb +2 -2
- data/lib/pulpcore_client/models/api_app_status_response.rb +230 -0
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +31 -31
- data/lib/pulpcore_client/models/content_app_status_response.rb +16 -4
- data/lib/pulpcore_client/models/status_response.rb +20 -3
- data/lib/pulpcore_client/models/worker_response.rb +13 -1
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +1 -0
- data/spec/api/access_policies_api_spec.rb +3 -0
- data/spec/api/artifacts_api_spec.rb +1 -0
- data/spec/api/content_api_spec.rb +3 -1
- data/spec/api/contentguards_api_spec.rb +5 -1
- data/spec/api/contentguards_content_redirect_api_spec.rb +3 -0
- data/spec/api/contentguards_rbac_api_spec.rb +3 -0
- data/spec/api/distributions_api_spec.rb +5 -1
- data/spec/api/distributions_artifacts_api_spec.rb +3 -0
- data/spec/api/domains_api_spec.rb +3 -0
- data/spec/api/exporters_filesystem_api_spec.rb +3 -0
- data/spec/api/exporters_pulp_api_spec.rb +3 -0
- data/spec/api/groups_api_spec.rb +1 -0
- data/spec/api/groups_roles_api_spec.rb +1 -0
- data/spec/api/importers_pulp_api_spec.rb +3 -0
- data/spec/api/publications_api_spec.rb +3 -1
- data/spec/api/remotes_api_spec.rb +5 -1
- data/spec/api/repositories_api_spec.rb +5 -1
- data/spec/api/repository_versions_api_spec.rb +1 -0
- data/spec/api/roles_api_spec.rb +3 -0
- data/spec/api/signing_services_api_spec.rb +1 -0
- data/spec/api/task_schedules_api_spec.rb +1 -0
- data/spec/api/tasks_api_spec.rb +4 -0
- data/spec/api/uploads_api_spec.rb +1 -0
- data/spec/api/users_api_spec.rb +1 -0
- data/spec/api/users_roles_api_spec.rb +1 -0
- data/spec/api/workers_api_spec.rb +3 -0
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/api_app_status_response_spec.rb +53 -0
- data/spec/models/artifact_distribution_response_spec.rb +7 -7
- data/spec/models/content_app_status_response_spec.rb +6 -0
- data/spec/models/status_response_spec.rb +6 -0
- data/spec/models/worker_response_spec.rb +6 -0
- metadata +6 -2
|
@@ -69,6 +69,7 @@ describe 'UsersRolesApi' do
|
|
|
69
69
|
# @option opts [Array<String>] :ordering Ordering * `role` - Role * `-role` - Role (descending) * `description` - Description * `-description` - Description (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pk` - Pk * `-pk` - 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 * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `name` - Name * `-name` - Name (descending) * `last_heartbeat` - Last heartbeat * `-last_heartbeat` - Last heartbeat (descending) * `versions` - Versions * `-versions` - Versions (descending) * `pk` - Pk * `-pk` - 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]
|
data/spec/configuration_spec.rb
CHANGED
|
@@ -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("
|
|
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("
|
|
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("
|
|
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,25 +32,25 @@ describe 'ArtifactDistributionResponse' do
|
|
|
32
32
|
expect(@instance).to be_instance_of(PulpcoreClient::ArtifactDistributionResponse)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
35
|
+
describe 'test attribute "content_guard"' 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 "
|
|
41
|
+
describe 'test attribute "base_url"' 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 "
|
|
47
|
+
describe 'test attribute "pulp_href"' 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 "
|
|
53
|
+
describe 'test attribute "base_path"' 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
|
|
@@ -62,19 +62,19 @@ describe 'ArtifactDistributionResponse' do
|
|
|
62
62
|
end
|
|
63
63
|
end
|
|
64
64
|
|
|
65
|
-
describe 'test attribute "
|
|
65
|
+
describe 'test attribute "pulp_created"' do
|
|
66
66
|
it 'should work' do
|
|
67
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
68
68
|
end
|
|
69
69
|
end
|
|
70
70
|
|
|
71
|
-
describe 'test attribute "
|
|
71
|
+
describe 'test attribute "hidden"' 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 "
|
|
77
|
+
describe 'test attribute "pulp_labels"' 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,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.
|
|
4
|
+
version: 3.34.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-09-
|
|
11
|
+
date: 2023-09-12 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
|