pulpcore_client 3.38.0 → 3.39.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +18 -4
- data/docs/ArtifactDistributionResponse.md +9 -9
- data/docs/ContentguardsApi.md +4 -4
- data/docs/ContentguardsHeaderApi.md +607 -0
- data/docs/HeaderContentGuard.md +25 -0
- data/docs/HeaderContentGuardResponse.md +29 -0
- data/docs/PaginatedHeaderContentGuardResponseList.md +23 -0
- data/docs/PatchedHeaderContentGuard.md +25 -0
- data/lib/pulpcore_client/api/contentguards_api.rb +6 -6
- data/lib/pulpcore_client/api/contentguards_header_api.rb +741 -0
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +42 -42
- data/lib/pulpcore_client/models/header_content_guard.rb +352 -0
- data/lib/pulpcore_client/models/header_content_guard_response.rb +284 -0
- data/lib/pulpcore_client/models/paginated_header_content_guard_response_list.rb +237 -0
- data/lib/pulpcore_client/models/patched_header_content_guard.rb +325 -0
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +5 -0
- data/spec/api/contentguards_api_spec.rb +2 -2
- data/spec/api/contentguards_header_api_spec.rb +181 -0
- data/spec/models/artifact_distribution_response_spec.rb +8 -8
- data/spec/models/header_content_guard_response_spec.rb +77 -0
- data/spec/models/header_content_guard_spec.rb +65 -0
- data/spec/models/paginated_header_content_guard_response_list_spec.rb +59 -0
- data/spec/models/patched_header_content_guard_spec.rb +65 -0
- metadata +22 -2
@@ -0,0 +1,77 @@
|
|
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::HeaderContentGuardResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'HeaderContentGuardResponse' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpcoreClient::HeaderContentGuardResponse.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of HeaderContentGuardResponse' do
|
31
|
+
it 'should create an instance of HeaderContentGuardResponse' do
|
32
|
+
expect(@instance).to be_instance_of(PulpcoreClient::HeaderContentGuardResponse)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "pulp_href"' 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 "pulp_created"' 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 "name"' 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
|
+
describe 'test attribute "description"' 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
|
+
describe 'test attribute "header_name"' 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
|
+
|
65
|
+
describe 'test attribute "header_value"' 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
|
+
describe 'test attribute "jq_filter"' 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
|
+
end
|
@@ -0,0 +1,65 @@
|
|
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::HeaderContentGuard
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'HeaderContentGuard' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpcoreClient::HeaderContentGuard.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of HeaderContentGuard' do
|
31
|
+
it 'should create an instance of HeaderContentGuard' do
|
32
|
+
expect(@instance).to be_instance_of(PulpcoreClient::HeaderContentGuard)
|
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 "description"' 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 "header_name"' 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
|
+
describe 'test attribute "header_value"' 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
|
+
describe 'test attribute "jq_filter"' 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
|
+
|
65
|
+
end
|
@@ -0,0 +1,59 @@
|
|
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::PaginatedHeaderContentGuardResponseList
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'PaginatedHeaderContentGuardResponseList' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpcoreClient::PaginatedHeaderContentGuardResponseList.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of PaginatedHeaderContentGuardResponseList' do
|
31
|
+
it 'should create an instance of PaginatedHeaderContentGuardResponseList' do
|
32
|
+
expect(@instance).to be_instance_of(PulpcoreClient::PaginatedHeaderContentGuardResponseList)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "count"' 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 "_next"' 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 "previous"' 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
|
+
describe 'test attribute "results"' 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
|
+
end
|
@@ -0,0 +1,65 @@
|
|
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::PatchedHeaderContentGuard
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'PatchedHeaderContentGuard' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpcoreClient::PatchedHeaderContentGuard.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of PatchedHeaderContentGuard' do
|
31
|
+
it 'should create an instance of PatchedHeaderContentGuard' do
|
32
|
+
expect(@instance).to be_instance_of(PulpcoreClient::PatchedHeaderContentGuard)
|
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 "description"' 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 "header_name"' 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
|
+
describe 'test attribute "header_value"' 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
|
+
describe 'test attribute "jq_filter"' 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
|
+
|
65
|
+
end
|
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.39.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-10-
|
11
|
+
date: 2023-10-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -98,6 +98,7 @@ files:
|
|
98
98
|
- docs/ContentSummaryResponse.md
|
99
99
|
- docs/ContentguardsApi.md
|
100
100
|
- docs/ContentguardsContentRedirectApi.md
|
101
|
+
- docs/ContentguardsHeaderApi.md
|
101
102
|
- docs/ContentguardsRbacApi.md
|
102
103
|
- docs/DatabaseConnectionResponse.md
|
103
104
|
- docs/DistributionResponse.md
|
@@ -125,6 +126,8 @@ files:
|
|
125
126
|
- docs/GroupsApi.md
|
126
127
|
- docs/GroupsRolesApi.md
|
127
128
|
- docs/GroupsUsersApi.md
|
129
|
+
- docs/HeaderContentGuard.md
|
130
|
+
- docs/HeaderContentGuardResponse.md
|
128
131
|
- docs/ImportResponse.md
|
129
132
|
- docs/ImportersPulpApi.md
|
130
133
|
- docs/ImportersPulpImportCheckApi.md
|
@@ -151,6 +154,7 @@ files:
|
|
151
154
|
- docs/PaginatedGroupResponseList.md
|
152
155
|
- docs/PaginatedGroupRoleResponseList.md
|
153
156
|
- docs/PaginatedGroupUserResponseList.md
|
157
|
+
- docs/PaginatedHeaderContentGuardResponseList.md
|
154
158
|
- docs/PaginatedImportResponseList.md
|
155
159
|
- docs/PaginatedMultipleArtifactContentResponseList.md
|
156
160
|
- docs/PaginatedPublicationResponseList.md
|
@@ -176,6 +180,7 @@ files:
|
|
176
180
|
- docs/PatchedDomain.md
|
177
181
|
- docs/PatchedFilesystemExporter.md
|
178
182
|
- docs/PatchedGroup.md
|
183
|
+
- docs/PatchedHeaderContentGuard.md
|
179
184
|
- docs/PatchedPulpExporter.md
|
180
185
|
- docs/PatchedPulpImporter.md
|
181
186
|
- docs/PatchedRBACContentGuard.md
|
@@ -255,6 +260,7 @@ files:
|
|
255
260
|
- lib/pulpcore_client/api/content_api.rb
|
256
261
|
- lib/pulpcore_client/api/contentguards_api.rb
|
257
262
|
- lib/pulpcore_client/api/contentguards_content_redirect_api.rb
|
263
|
+
- lib/pulpcore_client/api/contentguards_header_api.rb
|
258
264
|
- lib/pulpcore_client/api/contentguards_rbac_api.rb
|
259
265
|
- lib/pulpcore_client/api/distributions_api.rb
|
260
266
|
- lib/pulpcore_client/api/distributions_artifacts_api.rb
|
@@ -320,6 +326,8 @@ files:
|
|
320
326
|
- lib/pulpcore_client/models/group_role_response.rb
|
321
327
|
- lib/pulpcore_client/models/group_user.rb
|
322
328
|
- lib/pulpcore_client/models/group_user_response.rb
|
329
|
+
- lib/pulpcore_client/models/header_content_guard.rb
|
330
|
+
- lib/pulpcore_client/models/header_content_guard_response.rb
|
323
331
|
- lib/pulpcore_client/models/import_response.rb
|
324
332
|
- lib/pulpcore_client/models/method_enum.rb
|
325
333
|
- lib/pulpcore_client/models/minimal_task_response.rb
|
@@ -341,6 +349,7 @@ files:
|
|
341
349
|
- lib/pulpcore_client/models/paginated_group_response_list.rb
|
342
350
|
- lib/pulpcore_client/models/paginated_group_role_response_list.rb
|
343
351
|
- lib/pulpcore_client/models/paginated_group_user_response_list.rb
|
352
|
+
- lib/pulpcore_client/models/paginated_header_content_guard_response_list.rb
|
344
353
|
- lib/pulpcore_client/models/paginated_import_response_list.rb
|
345
354
|
- lib/pulpcore_client/models/paginated_multiple_artifact_content_response_list.rb
|
346
355
|
- lib/pulpcore_client/models/paginated_publication_response_list.rb
|
@@ -366,6 +375,7 @@ files:
|
|
366
375
|
- lib/pulpcore_client/models/patched_domain.rb
|
367
376
|
- lib/pulpcore_client/models/patched_filesystem_exporter.rb
|
368
377
|
- lib/pulpcore_client/models/patched_group.rb
|
378
|
+
- lib/pulpcore_client/models/patched_header_content_guard.rb
|
369
379
|
- lib/pulpcore_client/models/patched_pulp_exporter.rb
|
370
380
|
- lib/pulpcore_client/models/patched_pulp_importer.rb
|
371
381
|
- lib/pulpcore_client/models/patched_rbac_content_guard.rb
|
@@ -429,6 +439,7 @@ files:
|
|
429
439
|
- spec/api/content_api_spec.rb
|
430
440
|
- spec/api/contentguards_api_spec.rb
|
431
441
|
- spec/api/contentguards_content_redirect_api_spec.rb
|
442
|
+
- spec/api/contentguards_header_api_spec.rb
|
432
443
|
- spec/api/contentguards_rbac_api_spec.rb
|
433
444
|
- spec/api/distributions_api_spec.rb
|
434
445
|
- spec/api/distributions_artifacts_api_spec.rb
|
@@ -493,6 +504,8 @@ files:
|
|
493
504
|
- spec/models/group_spec.rb
|
494
505
|
- spec/models/group_user_response_spec.rb
|
495
506
|
- spec/models/group_user_spec.rb
|
507
|
+
- spec/models/header_content_guard_response_spec.rb
|
508
|
+
- spec/models/header_content_guard_spec.rb
|
496
509
|
- spec/models/import_response_spec.rb
|
497
510
|
- spec/models/method_enum_spec.rb
|
498
511
|
- spec/models/minimal_task_response_spec.rb
|
@@ -514,6 +527,7 @@ files:
|
|
514
527
|
- spec/models/paginated_group_response_list_spec.rb
|
515
528
|
- spec/models/paginated_group_role_response_list_spec.rb
|
516
529
|
- spec/models/paginated_group_user_response_list_spec.rb
|
530
|
+
- spec/models/paginated_header_content_guard_response_list_spec.rb
|
517
531
|
- spec/models/paginated_import_response_list_spec.rb
|
518
532
|
- spec/models/paginated_multiple_artifact_content_response_list_spec.rb
|
519
533
|
- spec/models/paginated_publication_response_list_spec.rb
|
@@ -539,6 +553,7 @@ files:
|
|
539
553
|
- spec/models/patched_domain_spec.rb
|
540
554
|
- spec/models/patched_filesystem_exporter_spec.rb
|
541
555
|
- spec/models/patched_group_spec.rb
|
556
|
+
- spec/models/patched_header_content_guard_spec.rb
|
542
557
|
- spec/models/patched_pulp_exporter_spec.rb
|
543
558
|
- spec/models/patched_pulp_importer_spec.rb
|
544
559
|
- spec/models/patched_rbac_content_guard_spec.rb
|
@@ -630,6 +645,7 @@ test_files:
|
|
630
645
|
- spec/api/exporters_pulp_exports_api_spec.rb
|
631
646
|
- spec/api/contentguards_rbac_api_spec.rb
|
632
647
|
- spec/api/domains_api_spec.rb
|
648
|
+
- spec/api/contentguards_header_api_spec.rb
|
633
649
|
- spec/api/repositories_api_spec.rb
|
634
650
|
- spec/api/status_api_spec.rb
|
635
651
|
- spec/api/content_api_spec.rb
|
@@ -666,6 +682,7 @@ test_files:
|
|
666
682
|
- spec/models/nested_role_spec.rb
|
667
683
|
- spec/models/pulp_exporter_spec.rb
|
668
684
|
- spec/models/domain_response_spec.rb
|
685
|
+
- spec/models/header_content_guard_spec.rb
|
669
686
|
- spec/models/nested_role_response_spec.rb
|
670
687
|
- spec/models/patched_content_redirect_content_guard_spec.rb
|
671
688
|
- spec/models/paginated_content_redirect_content_guard_response_list_spec.rb
|
@@ -693,6 +710,7 @@ test_files:
|
|
693
710
|
- spec/models/task_schedule_response_spec.rb
|
694
711
|
- spec/models/paginated_task_response_list_spec.rb
|
695
712
|
- spec/models/patched_pulp_exporter_spec.rb
|
713
|
+
- spec/models/paginated_header_content_guard_response_list_spec.rb
|
696
714
|
- spec/models/content_app_status_response_spec.rb
|
697
715
|
- spec/models/role_spec.rb
|
698
716
|
- spec/models/group_user_spec.rb
|
@@ -715,8 +733,10 @@ test_files:
|
|
715
733
|
- spec/models/pulp_export_response_spec.rb
|
716
734
|
- spec/models/pulp_import_spec.rb
|
717
735
|
- spec/models/upload_detail_response_spec.rb
|
736
|
+
- spec/models/header_content_guard_response_spec.rb
|
718
737
|
- spec/models/paginated_user_response_list_spec.rb
|
719
738
|
- spec/models/filesystem_export_response_spec.rb
|
739
|
+
- spec/models/patched_header_content_guard_spec.rb
|
720
740
|
- spec/models/paginated_artifact_distribution_response_list_spec.rb
|
721
741
|
- spec/models/pulp_export_spec.rb
|
722
742
|
- spec/models/paginated_worker_response_list_spec.rb
|