pulpcore_client 3.9.1 → 3.10.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.
Files changed (94) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +37 -16
  3. data/docs/AccessPoliciesApi.md +12 -0
  4. data/docs/AccessPolicy.md +1 -3
  5. data/docs/AccessPolicyResponse.md +4 -2
  6. data/docs/ContentApi.md +78 -0
  7. data/docs/ContentGuardResponse.md +23 -0
  8. data/docs/ContentGuardsApi.md +82 -0
  9. data/docs/EvaluationResponse.md +21 -0
  10. data/docs/ExportersCoreExportsApi.md +15 -15
  11. data/docs/ExportersPulpApi.md +6 -0
  12. data/docs/GroupsApi.md +14 -0
  13. data/docs/GroupsModelPermissionsApi.md +118 -5
  14. data/docs/GroupsObjectPermissionsApi.md +15 -15
  15. data/docs/GroupsUsersApi.md +10 -10
  16. data/docs/ImportersCoreImportCheckApi.md +62 -0
  17. data/docs/ImportersCoreImportsApi.md +15 -15
  18. data/docs/ImportersPulpApi.md +6 -0
  19. data/docs/MultipleArtifactContentResponse.md +21 -0
  20. data/docs/PaginatedContentGuardResponseList.md +23 -0
  21. data/docs/PaginatedMultipleArtifactContentResponseList.md +23 -0
  22. data/docs/PaginatedRepositoryResponseList.md +23 -0
  23. data/docs/PatchedAccessPolicy.md +1 -3
  24. data/docs/PermissionResponse.md +1 -1
  25. data/docs/PulpImportCheck.md +21 -0
  26. data/docs/PulpImportCheckResponse.md +21 -0
  27. data/docs/RepositoriesApi.md +84 -0
  28. data/docs/RepositoryResponse.md +31 -0
  29. data/docs/SigningServiceResponse.md +4 -0
  30. data/docs/UsersApi.md +44 -0
  31. data/docs/WorkerResponse.md +3 -3
  32. data/docs/WorkersApi.md +6 -0
  33. data/lib/pulpcore_client/api/access_policies_api.rb +18 -0
  34. data/lib/pulpcore_client/api/content_api.rb +102 -0
  35. data/lib/pulpcore_client/api/content_guards_api.rb +108 -0
  36. data/lib/pulpcore_client/api/exporters_core_exports_api.rb +27 -27
  37. data/lib/pulpcore_client/api/exporters_pulp_api.rb +9 -0
  38. data/lib/pulpcore_client/api/groups_api.rb +21 -0
  39. data/lib/pulpcore_client/api/groups_model_permissions_api.rb +137 -9
  40. data/lib/pulpcore_client/api/groups_object_permissions_api.rb +27 -27
  41. data/lib/pulpcore_client/api/groups_users_api.rb +18 -18
  42. data/lib/pulpcore_client/api/importers_core_import_check_api.rb +86 -0
  43. data/lib/pulpcore_client/api/importers_core_imports_api.rb +27 -27
  44. data/lib/pulpcore_client/api/importers_pulp_api.rb +9 -0
  45. data/lib/pulpcore_client/api/repositories_api.rb +111 -0
  46. data/lib/pulpcore_client/api/users_api.rb +66 -0
  47. data/lib/pulpcore_client/api/workers_api.rb +9 -0
  48. data/lib/pulpcore_client/models/access_policy.rb +4 -19
  49. data/lib/pulpcore_client/models/access_policy_response.rb +14 -9
  50. data/lib/pulpcore_client/models/content_guard_response.rb +243 -0
  51. data/lib/pulpcore_client/models/evaluation_response.rb +245 -0
  52. data/lib/pulpcore_client/models/multiple_artifact_content_response.rb +232 -0
  53. data/lib/pulpcore_client/models/paginated_content_guard_response_list.rb +237 -0
  54. data/lib/pulpcore_client/models/paginated_multiple_artifact_content_response_list.rb +237 -0
  55. data/lib/pulpcore_client/models/paginated_repository_response_list.rb +237 -0
  56. data/lib/pulpcore_client/models/patched_access_policy.rb +4 -14
  57. data/lib/pulpcore_client/models/permission_response.rb +1 -1
  58. data/lib/pulpcore_client/models/pulp_import_check.rb +228 -0
  59. data/lib/pulpcore_client/models/pulp_import_check_response.rb +228 -0
  60. data/lib/pulpcore_client/models/repository_response.rb +280 -0
  61. data/lib/pulpcore_client/models/signing_service_response.rb +31 -1
  62. data/lib/pulpcore_client/models/worker_response.rb +10 -10
  63. data/lib/pulpcore_client/version.rb +1 -1
  64. data/lib/pulpcore_client.rb +13 -0
  65. data/spec/api/access_policies_api_spec.rb +6 -0
  66. data/spec/api/content_api_spec.rb +54 -0
  67. data/spec/api/content_guards_api_spec.rb +56 -0
  68. data/spec/api/exporters_core_exports_api_spec.rb +3 -3
  69. data/spec/api/exporters_pulp_api_spec.rb +3 -0
  70. data/spec/api/groups_api_spec.rb +7 -0
  71. data/spec/api/groups_model_permissions_api_spec.rb +27 -1
  72. data/spec/api/groups_object_permissions_api_spec.rb +3 -3
  73. data/spec/api/groups_users_api_spec.rb +2 -2
  74. data/spec/api/importers_core_import_check_api_spec.rb +47 -0
  75. data/spec/api/importers_core_imports_api_spec.rb +3 -3
  76. data/spec/api/importers_pulp_api_spec.rb +3 -0
  77. data/spec/api/repositories_api_spec.rb +57 -0
  78. data/spec/api/users_api_spec.rb +22 -0
  79. data/spec/api/workers_api_spec.rb +3 -0
  80. data/spec/models/access_policy_response_spec.rb +6 -0
  81. data/spec/models/access_policy_spec.rb +0 -6
  82. data/spec/models/content_guard_response_spec.rb +59 -0
  83. data/spec/models/evaluation_response_spec.rb +53 -0
  84. data/spec/models/multiple_artifact_content_response_spec.rb +53 -0
  85. data/spec/models/paginated_content_guard_response_list_spec.rb +59 -0
  86. data/spec/models/paginated_multiple_artifact_content_response_list_spec.rb +59 -0
  87. data/spec/models/paginated_repository_response_list_spec.rb +59 -0
  88. data/spec/models/patched_access_policy_spec.rb +0 -6
  89. data/spec/models/pulp_import_check_response_spec.rb +53 -0
  90. data/spec/models/pulp_import_check_spec.rb +53 -0
  91. data/spec/models/repository_response_spec.rb +83 -0
  92. data/spec/models/signing_service_response_spec.rb +12 -0
  93. data/spec/models/worker_response_spec.rb +2 -2
  94. metadata +112 -60
@@ -23,22 +23,28 @@ require 'pulpcore_client/models/artifact'
23
23
  require 'pulpcore_client/models/artifact_response'
24
24
  require 'pulpcore_client/models/async_operation_response'
25
25
  require 'pulpcore_client/models/content_app_status_response'
26
+ require 'pulpcore_client/models/content_guard_response'
26
27
  require 'pulpcore_client/models/database_connection_response'
28
+ require 'pulpcore_client/models/evaluation_response'
27
29
  require 'pulpcore_client/models/group'
28
30
  require 'pulpcore_client/models/group_progress_report_response'
29
31
  require 'pulpcore_client/models/group_response'
30
32
  require 'pulpcore_client/models/group_user'
31
33
  require 'pulpcore_client/models/group_user_response'
32
34
  require 'pulpcore_client/models/import_response'
35
+ require 'pulpcore_client/models/multiple_artifact_content_response'
33
36
  require 'pulpcore_client/models/paginated_access_policy_response_list'
34
37
  require 'pulpcore_client/models/paginated_artifact_response_list'
38
+ require 'pulpcore_client/models/paginated_content_guard_response_list'
35
39
  require 'pulpcore_client/models/paginated_group_response_list'
36
40
  require 'pulpcore_client/models/paginated_group_user_response_list'
37
41
  require 'pulpcore_client/models/paginated_import_response_list'
42
+ require 'pulpcore_client/models/paginated_multiple_artifact_content_response_list'
38
43
  require 'pulpcore_client/models/paginated_permission_response_list'
39
44
  require 'pulpcore_client/models/paginated_pulp_export_response_list'
40
45
  require 'pulpcore_client/models/paginated_pulp_exporter_response_list'
41
46
  require 'pulpcore_client/models/paginated_pulp_importer_response_list'
47
+ require 'pulpcore_client/models/paginated_repository_response_list'
42
48
  require 'pulpcore_client/models/paginated_signing_service_response_list'
43
49
  require 'pulpcore_client/models/paginated_task_group_response_list'
44
50
  require 'pulpcore_client/models/paginated_task_response_list'
@@ -57,9 +63,12 @@ require 'pulpcore_client/models/pulp_export_response'
57
63
  require 'pulpcore_client/models/pulp_exporter'
58
64
  require 'pulpcore_client/models/pulp_exporter_response'
59
65
  require 'pulpcore_client/models/pulp_import'
66
+ require 'pulpcore_client/models/pulp_import_check'
67
+ require 'pulpcore_client/models/pulp_import_check_response'
60
68
  require 'pulpcore_client/models/pulp_importer'
61
69
  require 'pulpcore_client/models/pulp_importer_response'
62
70
  require 'pulpcore_client/models/redis_connection_response'
71
+ require 'pulpcore_client/models/repository_response'
63
72
  require 'pulpcore_client/models/signing_service_response'
64
73
  require 'pulpcore_client/models/status_response'
65
74
  require 'pulpcore_client/models/storage_response'
@@ -79,16 +88,20 @@ require 'pulpcore_client/models/worker_response'
79
88
  # APIs
80
89
  require 'pulpcore_client/api/access_policies_api'
81
90
  require 'pulpcore_client/api/artifacts_api'
91
+ require 'pulpcore_client/api/content_api'
92
+ require 'pulpcore_client/api/content_guards_api'
82
93
  require 'pulpcore_client/api/exporters_core_exports_api'
83
94
  require 'pulpcore_client/api/exporters_pulp_api'
84
95
  require 'pulpcore_client/api/groups_api'
85
96
  require 'pulpcore_client/api/groups_model_permissions_api'
86
97
  require 'pulpcore_client/api/groups_object_permissions_api'
87
98
  require 'pulpcore_client/api/groups_users_api'
99
+ require 'pulpcore_client/api/importers_core_import_check_api'
88
100
  require 'pulpcore_client/api/importers_core_imports_api'
89
101
  require 'pulpcore_client/api/importers_pulp_api'
90
102
  require 'pulpcore_client/api/orphans_api'
91
103
  require 'pulpcore_client/api/repair_api'
104
+ require 'pulpcore_client/api/repositories_api'
92
105
  require 'pulpcore_client/api/signing_services_api'
93
106
  require 'pulpcore_client/api/status_api'
94
107
  require 'pulpcore_client/api/task_groups_api'
@@ -36,9 +36,15 @@ describe 'AccessPoliciesApi' do
36
36
  # List access policys
37
37
  # ViewSet for AccessPolicy. NOTE: This API endpoint is in \"tech preview\" and subject to change
38
38
  # @param [Hash] opts the optional parameters
39
+ # @option opts [String] :customized customized
39
40
  # @option opts [Integer] :limit Number of results to return per page.
40
41
  # @option opts [Integer] :offset The initial index from which to return the results.
41
42
  # @option opts [String] :ordering Which field to use when ordering the results.
43
+ # @option opts [String] :viewset_name viewset_name
44
+ # @option opts [String] :viewset_name__contains viewset_name__contains
45
+ # @option opts [String] :viewset_name__icontains viewset_name__icontains
46
+ # @option opts [String] :viewset_name__in viewset_name__in
47
+ # @option opts [String] :viewset_name__startswith viewset_name__startswith
42
48
  # @option opts [String] :fields A list of fields to include in the response.
43
49
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
44
50
  # @return [PaginatedAccessPolicyResponseList]
@@ -0,0 +1,54 @@
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.2.3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpcoreClient::ContentApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'ContentApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpcoreClient::ContentApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of ContentApi' do
30
+ it 'should create an instance of ContentApi' do
31
+ expect(@api_instance).to be_instance_of(PulpcoreClient::ContentApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for list
36
+ # List content
37
+ # Endpoint to list all content.
38
+ # @param [Hash] opts the optional parameters
39
+ # @option opts [Integer] :limit Number of results to return per page.
40
+ # @option opts [Integer] :offset The initial index from which to return the results.
41
+ # @option opts [String] :ordering Which field to use when ordering the results.
42
+ # @option opts [String] :repository_version repository_version
43
+ # @option opts [String] :repository_version_added repository_version_added
44
+ # @option opts [String] :repository_version_removed repository_version_removed
45
+ # @option opts [String] :fields A list of fields to include in the response.
46
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
47
+ # @return [PaginatedMultipleArtifactContentResponseList]
48
+ describe 'list test' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
51
+ end
52
+ end
53
+
54
+ end
@@ -0,0 +1,56 @@
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.2.3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpcoreClient::ContentGuardsApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'ContentGuardsApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpcoreClient::ContentGuardsApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of ContentGuardsApi' do
30
+ it 'should create an instance of ContentGuardsApi' do
31
+ expect(@api_instance).to be_instance_of(PulpcoreClient::ContentGuardsApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for list
36
+ # List content guards
37
+ # Endpoint to list all content_guards.
38
+ # @param [Hash] opts the optional parameters
39
+ # @option opts [Integer] :limit Number of results to return per page.
40
+ # @option opts [String] :name name
41
+ # @option opts [String] :name__contains name__contains
42
+ # @option opts [String] :name__icontains name__icontains
43
+ # @option opts [String] :name__in name__in
44
+ # @option opts [String] :name__startswith name__startswith
45
+ # @option opts [Integer] :offset The initial index from which to return the results.
46
+ # @option opts [String] :ordering Which field to use when ordering the results.
47
+ # @option opts [String] :fields A list of fields to include in the response.
48
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
49
+ # @return [PaginatedContentGuardResponseList]
50
+ describe 'list test' do
51
+ it 'should work' do
52
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
53
+ end
54
+ end
55
+
56
+ end
@@ -35,7 +35,7 @@ describe 'ExportersCoreExportsApi' do
35
35
  # unit tests for create
36
36
  # Create a pulp export
37
37
  # Trigger an asynchronous task to export a set of repositories
38
- # @param core_pulp_pulp_export_href
38
+ # @param pulp_exporter_href
39
39
  # @param pulp_export
40
40
  # @param [Hash] opts the optional parameters
41
41
  # @return [AsyncOperationResponse]
@@ -48,7 +48,7 @@ describe 'ExportersCoreExportsApi' do
48
48
  # unit tests for delete
49
49
  # Delete a pulp export
50
50
  # ViewSet for viewing exports from a PulpExporter.
51
- # @param core_pulp_pulp_export_href
51
+ # @param pulp_pulp_export_href
52
52
  # @param [Hash] opts the optional parameters
53
53
  # @return [nil]
54
54
  describe 'delete test' do
@@ -77,7 +77,7 @@ describe 'ExportersCoreExportsApi' do
77
77
  # unit tests for read
78
78
  # Inspect a pulp export
79
79
  # ViewSet for viewing exports from a PulpExporter.
80
- # @param core_pulp_pulp_export_href
80
+ # @param pulp_pulp_export_href
81
81
  # @param [Hash] opts the optional parameters
82
82
  # @option opts [String] :fields A list of fields to include in the response.
83
83
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
@@ -62,7 +62,10 @@ describe 'ExportersPulpApi' do
62
62
  # @param [Hash] opts the optional parameters
63
63
  # @option opts [Integer] :limit Number of results to return per page.
64
64
  # @option opts [String] :name name
65
+ # @option opts [String] :name__contains name__contains
66
+ # @option opts [String] :name__icontains name__icontains
65
67
  # @option opts [String] :name__in name__in
68
+ # @option opts [String] :name__startswith name__startswith
66
69
  # @option opts [Integer] :offset The initial index from which to return the results.
67
70
  # @option opts [String] :ordering Which field to use when ordering the results.
68
71
  # @option opts [String] :fields A list of fields to include in the response.
@@ -60,7 +60,14 @@ describe 'GroupsApi' do
60
60
  # List groups
61
61
  # ViewSet for Group. NOTE: This API endpoint is in \"tech preview\" and subject to change
62
62
  # @param [Hash] opts the optional parameters
63
+ # @option opts [String] :id id
64
+ # @option opts [String] :id__in id__in
63
65
  # @option opts [Integer] :limit Number of results to return per page.
66
+ # @option opts [String] :name name
67
+ # @option opts [String] :name__contains name__contains
68
+ # @option opts [String] :name__icontains name__icontains
69
+ # @option opts [String] :name__iexact name__iexact
70
+ # @option opts [String] :name__in name__in
64
71
  # @option opts [Integer] :offset The initial index from which to return the results.
65
72
  # @option opts [String] :ordering Which field to use when ordering the results.
66
73
  # @option opts [String] :fields A list of fields to include in the response.
@@ -35,7 +35,7 @@ describe 'GroupsModelPermissionsApi' do
35
35
  # unit tests for create
36
36
  # Create a permission
37
37
  # Add a model permission to a group.
38
- # @param auth_auth_groups_permission_href
38
+ # @param auth_group_href
39
39
  # @param body
40
40
  # @param [Hash] opts the optional parameters
41
41
  # @return [PermissionResponse]
@@ -45,6 +45,18 @@ describe 'GroupsModelPermissionsApi' do
45
45
  end
46
46
  end
47
47
 
48
+ # unit tests for delete
49
+ # Delete a permission
50
+ # Remove a model permission from a group.
51
+ # @param auth_groups_model_permission_href
52
+ # @param [Hash] opts the optional parameters
53
+ # @return [nil]
54
+ describe 'delete test' do
55
+ it 'should work' do
56
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
57
+ end
58
+ end
59
+
48
60
  # unit tests for list
49
61
  # List permissions
50
62
  # List group permissions.
@@ -62,4 +74,18 @@ describe 'GroupsModelPermissionsApi' do
62
74
  end
63
75
  end
64
76
 
77
+ # unit tests for read
78
+ # Inspect a permission
79
+ # Retrieve a model permission from a group.
80
+ # @param auth_groups_model_permission_href
81
+ # @param [Hash] opts the optional parameters
82
+ # @option opts [String] :fields A list of fields to include in the response.
83
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
84
+ # @return [PermissionResponse]
85
+ describe 'read 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
+
65
91
  end
@@ -35,7 +35,7 @@ describe 'GroupsObjectPermissionsApi' do
35
35
  # unit tests for create
36
36
  # Create a permission
37
37
  # Add an object permission to a group.
38
- # @param auth_auth_groups_permission_href
38
+ # @param auth_group_href
39
39
  # @param body
40
40
  # @param [Hash] opts the optional parameters
41
41
  # @return [PermissionResponse]
@@ -48,7 +48,7 @@ describe 'GroupsObjectPermissionsApi' do
48
48
  # unit tests for delete
49
49
  # Delete a permission
50
50
  # Remove an object permission from a group.
51
- # @param auth_auth_groups_permission_href
51
+ # @param auth_groups_object_permission_href
52
52
  # @param [Hash] opts the optional parameters
53
53
  # @return [nil]
54
54
  describe 'delete test' do
@@ -77,7 +77,7 @@ describe 'GroupsObjectPermissionsApi' do
77
77
  # unit tests for read
78
78
  # Inspect a permission
79
79
  # Retrieve a model permission from a group.
80
- # @param auth_auth_groups_permission_href
80
+ # @param auth_groups_object_permission_href
81
81
  # @param [Hash] opts the optional parameters
82
82
  # @option opts [String] :fields A list of fields to include in the response.
83
83
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
@@ -35,7 +35,7 @@ describe 'GroupsUsersApi' do
35
35
  # unit tests for create
36
36
  # Create an user
37
37
  # Add a user to a group.
38
- # @param auth_auth_groups_user_href
38
+ # @param auth_group_href
39
39
  # @param group_user
40
40
  # @param [Hash] opts the optional parameters
41
41
  # @return [GroupUserResponse]
@@ -48,7 +48,7 @@ describe 'GroupsUsersApi' do
48
48
  # unit tests for delete
49
49
  # Delete an user
50
50
  # Remove a user from a group.
51
- # @param auth_auth_groups_user_href
51
+ # @param auth_groups_user_href
52
52
  # @param [Hash] opts the optional parameters
53
53
  # @return [nil]
54
54
  describe 'delete test' do
@@ -0,0 +1,47 @@
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.2.3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpcoreClient::ImportersCoreImportCheckApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'ImportersCoreImportCheckApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpcoreClient::ImportersCoreImportCheckApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of ImportersCoreImportCheckApi' do
30
+ it 'should create an instance of ImportersCoreImportCheckApi' do
31
+ expect(@api_instance).to be_instance_of(PulpcoreClient::ImportersCoreImportCheckApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for pulp_import_check_post
36
+ # Validate the parameters to be used for a PulpImport call
37
+ # Evaluates validity of proposed PulpImport parameters 'toc', 'path', and 'repo_mapping'. * Checks that toc, path are in ALLOWED_IMPORT_PATHS * if ALLOWED: * Checks that toc, path exist and are readable * If toc specified, checks that containing dir is writeable * Checks that repo_mapping is valid JSON
38
+ # @param pulp_import_check
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [PulpImportCheckResponse]
41
+ describe 'pulp_import_check_post 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
+ end
@@ -35,7 +35,7 @@ describe 'ImportersCoreImportsApi' do
35
35
  # unit tests for create
36
36
  # Create a pulp import
37
37
  # Trigger an asynchronous task to import a Pulp export.
38
- # @param core_pulp_pulp_import_href
38
+ # @param pulp_importer_href
39
39
  # @param pulp_import
40
40
  # @param [Hash] opts the optional parameters
41
41
  # @return [AsyncOperationResponse]
@@ -48,7 +48,7 @@ describe 'ImportersCoreImportsApi' do
48
48
  # unit tests for delete
49
49
  # Delete a pulp import
50
50
  # ViewSet for PulpImports.
51
- # @param core_pulp_pulp_import_href
51
+ # @param pulp_pulp_import_href
52
52
  # @param [Hash] opts the optional parameters
53
53
  # @return [nil]
54
54
  describe 'delete test' do
@@ -77,7 +77,7 @@ describe 'ImportersCoreImportsApi' do
77
77
  # unit tests for read
78
78
  # Inspect a pulp import
79
79
  # ViewSet for PulpImports.
80
- # @param core_pulp_pulp_import_href
80
+ # @param pulp_pulp_import_href
81
81
  # @param [Hash] opts the optional parameters
82
82
  # @option opts [String] :fields A list of fields to include in the response.
83
83
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
@@ -62,7 +62,10 @@ describe 'ImportersPulpApi' do
62
62
  # @param [Hash] opts the optional parameters
63
63
  # @option opts [Integer] :limit Number of results to return per page.
64
64
  # @option opts [String] :name name
65
+ # @option opts [String] :name__contains name__contains
66
+ # @option opts [String] :name__icontains name__icontains
65
67
  # @option opts [String] :name__in name__in
68
+ # @option opts [String] :name__startswith name__startswith
66
69
  # @option opts [Integer] :offset The initial index from which to return the results.
67
70
  # @option opts [String] :ordering Which field to use when ordering the results.
68
71
  # @option opts [String] :fields A list of fields to include in the response.
@@ -0,0 +1,57 @@
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.2.3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpcoreClient::RepositoriesApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'RepositoriesApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpcoreClient::RepositoriesApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of RepositoriesApi' do
30
+ it 'should create an instance of RepositoriesApi' do
31
+ expect(@api_instance).to be_instance_of(PulpcoreClient::RepositoriesApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for list
36
+ # List repositories
37
+ # Endpoint to list all repositories.
38
+ # @param [Hash] opts the optional parameters
39
+ # @option opts [Integer] :limit Number of results to return per page.
40
+ # @option opts [String] :name name
41
+ # @option opts [String] :name__contains name__contains
42
+ # @option opts [String] :name__icontains name__icontains
43
+ # @option opts [String] :name__in name__in
44
+ # @option opts [String] :name__startswith name__startswith
45
+ # @option opts [Integer] :offset The initial index from which to return the results.
46
+ # @option opts [String] :ordering Which field to use when ordering the results.
47
+ # @option opts [String] :pulp_label_select pulp_label_select
48
+ # @option opts [String] :fields A list of fields to include in the response.
49
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
50
+ # @return [PaginatedRepositoryResponseList]
51
+ describe 'list test' do
52
+ it 'should work' do
53
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
54
+ end
55
+ end
56
+
57
+ end
@@ -36,9 +36,31 @@ describe 'UsersApi' do
36
36
  # List users
37
37
  # ViewSet for User. NOTE: This API endpoint is in \"tech preview\" and subject to change
38
38
  # @param [Hash] opts the optional parameters
39
+ # @option opts [String] :email email
40
+ # @option opts [String] :email__contains email__contains
41
+ # @option opts [String] :email__icontains email__icontains
42
+ # @option opts [String] :email__iexact email__iexact
43
+ # @option opts [String] :email__in email__in
44
+ # @option opts [String] :first_name first_name
45
+ # @option opts [String] :first_name__contains first_name__contains
46
+ # @option opts [String] :first_name__icontains first_name__icontains
47
+ # @option opts [String] :first_name__iexact first_name__iexact
48
+ # @option opts [String] :first_name__in first_name__in
49
+ # @option opts [String] :is_active is_active
50
+ # @option opts [String] :is_staff is_staff
51
+ # @option opts [String] :last_name last_name
52
+ # @option opts [String] :last_name__contains last_name__contains
53
+ # @option opts [String] :last_name__icontains last_name__icontains
54
+ # @option opts [String] :last_name__iexact last_name__iexact
55
+ # @option opts [String] :last_name__in last_name__in
39
56
  # @option opts [Integer] :limit Number of results to return per page.
40
57
  # @option opts [Integer] :offset The initial index from which to return the results.
41
58
  # @option opts [String] :ordering Which field to use when ordering the results.
59
+ # @option opts [String] :username username
60
+ # @option opts [String] :username__contains username__contains
61
+ # @option opts [String] :username__icontains username__icontains
62
+ # @option opts [String] :username__iexact username__iexact
63
+ # @option opts [String] :username__in username__in
42
64
  # @option opts [String] :fields A list of fields to include in the response.
43
65
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
44
66
  # @return [PaginatedUserResponseList]
@@ -45,7 +45,10 @@ describe 'WorkersApi' do
45
45
  # @option opts [Integer] :limit Number of results to return per page.
46
46
  # @option opts [String] :missing missing
47
47
  # @option opts [String] :name name
48
+ # @option opts [String] :name__contains name__contains
49
+ # @option opts [String] :name__icontains name__icontains
48
50
  # @option opts [String] :name__in name__in
51
+ # @option opts [String] :name__startswith name__startswith
49
52
  # @option opts [Integer] :offset The initial index from which to return the results.
50
53
  # @option opts [String] :online online
51
54
  # @option opts [String] :ordering Which field to use when ordering the results.
@@ -62,4 +62,10 @@ describe 'AccessPolicyResponse' do
62
62
  end
63
63
  end
64
64
 
65
+ describe 'test attribute "customized"' 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
+
65
71
  end
@@ -44,10 +44,4 @@ describe 'AccessPolicy' do
44
44
  end
45
45
  end
46
46
 
47
- describe 'test attribute "viewset_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
47
  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.2.3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for PulpcoreClient::ContentGuardResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'ContentGuardResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpcoreClient::ContentGuardResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of ContentGuardResponse' do
31
+ it 'should create an instance of ContentGuardResponse' do
32
+ expect(@instance).to be_instance_of(PulpcoreClient::ContentGuardResponse)
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
+ 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.2.3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for PulpcoreClient::EvaluationResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'EvaluationResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpcoreClient::EvaluationResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of EvaluationResponse' do
31
+ it 'should create an instance of EvaluationResponse' do
32
+ expect(@instance).to be_instance_of(PulpcoreClient::EvaluationResponse)
33
+ end
34
+ end
35
+ describe 'test attribute "context"' 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 "is_valid"' 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 "messages"' 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