pulp_rpm_client 3.18.21 → 3.19.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 +35 -296
- data/docs/AcsRpmApi.md +230 -6
- data/docs/ContentAdvisoriesApi.md +2 -6
- data/docs/ContentDistributionTreesApi.md +2 -6
- data/docs/ContentModulemdDefaultsApi.md +2 -6
- data/docs/ContentModulemdObsoletesApi.md +2 -6
- data/docs/ContentModulemdsApi.md +2 -6
- data/docs/ContentPackagecategoriesApi.md +2 -6
- data/docs/ContentPackageenvironmentsApi.md +2 -6
- data/docs/ContentPackagegroupsApi.md +2 -6
- data/docs/ContentPackagelangpacksApi.md +2 -6
- data/docs/ContentPackagesApi.md +4 -8
- data/docs/ContentRepoMetadataFilesApi.md +2 -6
- data/docs/DistributionsRpmApi.md +230 -10
- data/docs/PatchedrpmRpmRemote.md +1 -1
- data/docs/PatchedrpmRpmRepository.md +3 -3
- data/docs/PatchedrpmUlnRemote.md +1 -1
- data/docs/{MethodEnum.md → PolicyEnum.md} +2 -2
- data/docs/PublicationsRpmApi.md +230 -6
- data/docs/RemotesRpmApi.md +230 -6
- data/docs/RemotesUlnApi.md +230 -6
- data/docs/RepositoriesRpmApi.md +230 -22
- data/docs/RepositoriesRpmVersionsApi.md +2 -4
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/docs/RpmModulemdObsolete.md +2 -2
- data/docs/RpmModulemdObsoleteResponse.md +2 -2
- data/docs/RpmRepositorySyncURL.md +1 -1
- data/docs/RpmRpmPublication.md +2 -2
- data/docs/RpmRpmPublicationResponse.md +2 -2
- data/docs/RpmRpmRemote.md +1 -1
- data/docs/RpmRpmRemoteResponse.md +2 -2
- data/docs/{RemoteResponseHiddenFields.md → RpmRpmRemoteResponseHiddenFields.md} +2 -2
- data/docs/RpmRpmRepository.md +3 -3
- data/docs/RpmRpmRepositoryResponse.md +3 -3
- data/docs/RpmUlnRemote.md +1 -1
- data/docs/RpmUlnRemoteResponse.md +2 -2
- data/lib/pulp_rpm_client/api/acs_rpm_api.rb +270 -8
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_packages_api.rb +4 -10
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +2 -8
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +270 -14
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +270 -8
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +270 -8
- data/lib/pulp_rpm_client/api/remotes_uln_api.rb +270 -8
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +270 -32
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +2 -5
- data/lib/pulp_rpm_client/models/nested_role.rb +0 -19
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +2 -2
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +3 -3
- data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +2 -2
- data/lib/pulp_rpm_client/models/{policy762_enum.rb → policy_enum.rb} +3 -3
- data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +2 -2
- data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete.rb +36 -2
- data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete_response.rb +2 -2
- data/lib/pulp_rpm_client/models/rpm_repository_sync_url.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +2 -2
- data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +2 -2
- data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +2 -2
- data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +3 -3
- data/lib/pulp_rpm_client/models/{remote_response_hidden_fields.rb → rpm_rpm_remote_response_hidden_fields.rb} +3 -3
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +3 -3
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +3 -3
- data/lib/pulp_rpm_client/models/rpm_uln_remote.rb +2 -2
- data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +3 -3
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/lib/pulp_rpm_client.rb +2 -160
- data/spec/api/acs_rpm_api_spec.rb +51 -3
- data/spec/api/content_advisories_api_spec.rb +1 -3
- data/spec/api/content_distribution_trees_api_spec.rb +1 -3
- data/spec/api/content_modulemd_defaults_api_spec.rb +1 -3
- data/spec/api/content_modulemd_obsoletes_api_spec.rb +1 -3
- data/spec/api/content_modulemds_api_spec.rb +1 -3
- data/spec/api/content_packagecategories_api_spec.rb +1 -3
- data/spec/api/content_packageenvironments_api_spec.rb +1 -3
- data/spec/api/content_packagegroups_api_spec.rb +1 -3
- data/spec/api/content_packagelangpacks_api_spec.rb +1 -3
- data/spec/api/content_packages_api_spec.rb +2 -4
- data/spec/api/content_repo_metadata_files_api_spec.rb +1 -3
- data/spec/api/distributions_rpm_api_spec.rb +51 -5
- data/spec/api/publications_rpm_api_spec.rb +51 -3
- data/spec/api/remotes_rpm_api_spec.rb +51 -3
- data/spec/api/remotes_uln_api_spec.rb +51 -3
- data/spec/api/repositories_rpm_api_spec.rb +51 -11
- data/spec/api/repositories_rpm_versions_api_spec.rb +1 -2
- data/spec/models/{states_enum_spec.rb → policy_enum_spec.rb} +6 -6
- data/spec/models/{remote_response_hidden_fields_spec.rb → rpm_rpm_remote_response_hidden_fields_spec.rb} +6 -6
- metadata +85 -717
- data/docs/AccessPoliciesApi.md +0 -313
- data/docs/AccessPolicy.md +0 -23
- data/docs/AccessPolicyResponse.md +0 -31
- data/docs/Artifact.md +0 -31
- data/docs/ArtifactDistributionResponse.md +0 -29
- data/docs/ArtifactsApi.md +0 -273
- data/docs/ContentApi.md +0 -84
- data/docs/ContentAppStatusResponse.md +0 -19
- data/docs/ContentGuardResponse.md +0 -23
- data/docs/ContentRedirectContentGuard.md +0 -19
- data/docs/ContentRedirectContentGuardResponse.md +0 -23
- data/docs/ContentSettingsResponse.md +0 -19
- data/docs/ContentguardsApi.md +0 -88
- data/docs/ContentguardsContentRedirectApi.md +0 -593
- data/docs/ContentguardsRbacApi.md +0 -593
- data/docs/DatabaseConnectionResponse.md +0 -17
- data/docs/DistributionResponse.md +0 -31
- data/docs/DistributionsApi.md +0 -104
- data/docs/DistributionsArtifactsApi.md +0 -162
- data/docs/DocsApiJsonApi.md +0 -61
- data/docs/DocsApiYamlApi.md +0 -61
- data/docs/Domain.md +0 -27
- data/docs/DomainResponse.md +0 -31
- data/docs/DomainsApi.md +0 -366
- data/docs/EvaluationResponse.md +0 -21
- data/docs/ExportersFilesystemApi.md +0 -366
- data/docs/ExportersFilesystemExportsApi.md +0 -241
- data/docs/ExportersPulpApi.md +0 -366
- data/docs/ExportersPulpExportsApi.md +0 -241
- data/docs/FilesystemExport.md +0 -23
- data/docs/FilesystemExportResponse.md +0 -25
- data/docs/FilesystemExporter.md +0 -21
- data/docs/FilesystemExporterResponse.md +0 -25
- data/docs/Group.md +0 -17
- data/docs/GroupProgressReportResponse.md +0 -25
- data/docs/GroupResponse.md +0 -21
- data/docs/GroupRole.md +0 -21
- data/docs/GroupRoleResponse.md +0 -29
- data/docs/GroupUser.md +0 -17
- data/docs/GroupUserResponse.md +0 -19
- data/docs/GroupsApi.md +0 -597
- data/docs/GroupsRolesApi.md +0 -261
- data/docs/GroupsUsersApi.md +0 -181
- data/docs/ImportResponse.md +0 -23
- data/docs/ImportersPulpApi.md +0 -365
- data/docs/ImportersPulpImportCheckApi.md +0 -62
- data/docs/ImportersPulpImportsApi.md +0 -241
- data/docs/MinimalTaskResponse.md +0 -29
- data/docs/MultipleArtifactContentResponse.md +0 -21
- data/docs/OrphansApi.md +0 -58
- data/docs/OrphansCleanup.md +0 -19
- data/docs/OrphansCleanupApi.md +0 -61
- data/docs/PaginatedAccessPolicyResponseList.md +0 -23
- data/docs/PaginatedArtifactDistributionResponseList.md +0 -23
- data/docs/PaginatedArtifactResponseList.md +0 -23
- data/docs/PaginatedContentGuardResponseList.md +0 -23
- data/docs/PaginatedContentRedirectContentGuardResponseList.md +0 -23
- data/docs/PaginatedDistributionResponseList.md +0 -23
- data/docs/PaginatedDomainResponseList.md +0 -23
- data/docs/PaginatedFilesystemExportResponseList.md +0 -23
- data/docs/PaginatedFilesystemExporterResponseList.md +0 -23
- data/docs/PaginatedGroupResponseList.md +0 -23
- data/docs/PaginatedGroupRoleResponseList.md +0 -23
- data/docs/PaginatedGroupUserResponseList.md +0 -23
- data/docs/PaginatedImportResponseList.md +0 -23
- data/docs/PaginatedMultipleArtifactContentResponseList.md +0 -23
- data/docs/PaginatedPublicationResponseList.md +0 -23
- data/docs/PaginatedPulpExportResponseList.md +0 -23
- data/docs/PaginatedPulpExporterResponseList.md +0 -23
- data/docs/PaginatedPulpImporterResponseList.md +0 -23
- data/docs/PaginatedRBACContentGuardResponseList.md +0 -23
- data/docs/PaginatedRemoteResponseList.md +0 -23
- data/docs/PaginatedRepositoryResponseList.md +0 -23
- data/docs/PaginatedRoleResponseList.md +0 -23
- data/docs/PaginatedSigningServiceResponseList.md +0 -23
- data/docs/PaginatedTaskGroupResponseList.md +0 -23
- data/docs/PaginatedTaskResponseList.md +0 -23
- data/docs/PaginatedTaskScheduleResponseList.md +0 -23
- data/docs/PaginatedUploadResponseList.md +0 -23
- data/docs/PaginatedUpstreamPulpResponseList.md +0 -23
- data/docs/PaginatedUserResponseList.md +0 -23
- data/docs/PaginatedUserRoleResponseList.md +0 -23
- data/docs/PaginatedWorkerResponseList.md +0 -23
- data/docs/PatchedAccessPolicy.md +0 -23
- data/docs/PatchedContentRedirectContentGuard.md +0 -19
- data/docs/PatchedDomain.md +0 -27
- data/docs/PatchedFilesystemExporter.md +0 -21
- data/docs/PatchedGroup.md +0 -17
- data/docs/PatchedPulpExporter.md +0 -23
- data/docs/PatchedPulpImporter.md +0 -19
- data/docs/PatchedRBACContentGuard.md +0 -19
- data/docs/PatchedRole.md +0 -21
- data/docs/PatchedTaskCancel.md +0 -17
- data/docs/PatchedUpstreamPulp.md +0 -37
- data/docs/PatchedUser.md +0 -29
- data/docs/Policy762Enum.md +0 -16
- data/docs/ProgressReportResponse.md +0 -27
- data/docs/PublicationResponse.md +0 -23
- data/docs/PublicationsApi.md +0 -98
- data/docs/PulpExport.md +0 -27
- data/docs/PulpExportResponse.md +0 -29
- data/docs/PulpExporter.md +0 -23
- data/docs/PulpExporterResponse.md +0 -27
- data/docs/PulpImport.md +0 -21
- data/docs/PulpImportCheck.md +0 -21
- data/docs/PulpImportCheckResponse.md +0 -21
- data/docs/PulpImporter.md +0 -19
- data/docs/PulpImporterResponse.md +0 -23
- data/docs/Purge.md +0 -19
- data/docs/RBACContentGuard.md +0 -19
- data/docs/RBACContentGuardResponse.md +0 -27
- data/docs/ReclaimSpace.md +0 -19
- data/docs/RedisConnectionResponse.md +0 -17
- data/docs/RemoteResponse.md +0 -55
- data/docs/RemoteResponsePolicyEnum.md +0 -16
- data/docs/RemotesApi.md +0 -102
- data/docs/RepairApi.md +0 -62
- data/docs/RepositoriesApi.md +0 -108
- data/docs/RepositoriesReclaimSpaceApi.md +0 -61
- data/docs/RepositoryResponse.md +0 -33
- data/docs/RepositoryVersionsApi.md +0 -102
- data/docs/Role.md +0 -21
- data/docs/RoleResponse.md +0 -27
- data/docs/RolesApi.md +0 -379
- data/docs/SigningServiceResponse.md +0 -27
- data/docs/SigningServicesApi.md +0 -138
- data/docs/StatesEnum.md +0 -16
- data/docs/StatusApi.md +0 -52
- data/docs/StatusResponse.md +0 -31
- data/docs/StorageClassEnum.md +0 -16
- data/docs/StorageResponse.md +0 -21
- data/docs/TaskGroupResponse.md +0 -39
- data/docs/TaskGroupsApi.md +0 -130
- data/docs/TaskResponse.md +0 -45
- data/docs/TaskScheduleResponse.md +0 -29
- data/docs/TaskSchedulesApi.md +0 -372
- data/docs/TasksApi.md +0 -591
- data/docs/Upload.md +0 -17
- data/docs/UploadChunk.md +0 -19
- data/docs/UploadChunkResponse.md +0 -19
- data/docs/UploadCommit.md +0 -17
- data/docs/UploadDetailResponse.md +0 -25
- data/docs/UploadResponse.md +0 -23
- data/docs/UploadsApi.md +0 -597
- data/docs/UpstreamPulp.md +0 -37
- data/docs/UpstreamPulpResponse.md +0 -39
- data/docs/UpstreamPulpsApi.md +0 -405
- data/docs/User.md +0 -29
- data/docs/UserGroup.md +0 -17
- data/docs/UserGroupResponse.md +0 -19
- data/docs/UserResponse.md +0 -37
- data/docs/UserRole.md +0 -21
- data/docs/UserRoleResponse.md +0 -29
- data/docs/UsersApi.md +0 -399
- data/docs/UsersRolesApi.md +0 -261
- data/docs/VersionResponse.md +0 -23
- data/docs/WorkerResponse.md +0 -25
- data/docs/WorkersApi.md +0 -162
- data/lib/pulp_rpm_client/api/access_policies_api.rb +0 -389
- data/lib/pulp_rpm_client/api/artifacts_api.rb +0 -362
- data/lib/pulp_rpm_client/api/content_api.rb +0 -119
- data/lib/pulp_rpm_client/api/contentguards_api.rb +0 -125
- data/lib/pulp_rpm_client/api/contentguards_content_redirect_api.rb +0 -718
- data/lib/pulp_rpm_client/api/contentguards_rbac_api.rb +0 -718
- data/lib/pulp_rpm_client/api/distributions_api.rb +0 -149
- data/lib/pulp_rpm_client/api/distributions_artifacts_api.rb +0 -210
- data/lib/pulp_rpm_client/api/docs_api_json_api.rb +0 -89
- data/lib/pulp_rpm_client/api/docs_api_yaml_api.rb +0 -89
- data/lib/pulp_rpm_client/api/domains_api.rb +0 -452
- data/lib/pulp_rpm_client/api/exporters_filesystem_api.rb +0 -452
- data/lib/pulp_rpm_client/api/exporters_filesystem_exports_api.rb +0 -294
- data/lib/pulp_rpm_client/api/exporters_pulp_api.rb +0 -452
- data/lib/pulp_rpm_client/api/exporters_pulp_exports_api.rb +0 -294
- data/lib/pulp_rpm_client/api/groups_api.rb +0 -724
- data/lib/pulp_rpm_client/api/groups_roles_api.rb +0 -328
- data/lib/pulp_rpm_client/api/groups_users_api.rb +0 -226
- data/lib/pulp_rpm_client/api/importers_pulp_api.rb +0 -450
- data/lib/pulp_rpm_client/api/importers_pulp_import_check_api.rb +0 -86
- data/lib/pulp_rpm_client/api/importers_pulp_imports_api.rb +0 -294
- data/lib/pulp_rpm_client/api/orphans_api.rb +0 -78
- data/lib/pulp_rpm_client/api/orphans_cleanup_api.rb +0 -84
- data/lib/pulp_rpm_client/api/publications_api.rb +0 -140
- data/lib/pulp_rpm_client/api/remotes_api.rb +0 -146
- data/lib/pulp_rpm_client/api/repair_api.rb +0 -86
- data/lib/pulp_rpm_client/api/repositories_api.rb +0 -155
- data/lib/pulp_rpm_client/api/repositories_reclaim_space_api.rb +0 -84
- data/lib/pulp_rpm_client/api/repository_versions_api.rb +0 -142
- data/lib/pulp_rpm_client/api/roles_api.rb +0 -471
- data/lib/pulp_rpm_client/api/signing_services_api.rb +0 -174
- data/lib/pulp_rpm_client/api/status_api.rb +0 -78
- data/lib/pulp_rpm_client/api/task_groups_api.rb +0 -158
- data/lib/pulp_rpm_client/api/task_schedules_api.rb +0 -451
- data/lib/pulp_rpm_client/api/tasks_api.rb +0 -733
- data/lib/pulp_rpm_client/api/uploads_api.rb +0 -730
- data/lib/pulp_rpm_client/api/upstream_pulps_api.rb +0 -492
- data/lib/pulp_rpm_client/api/users_api.rb +0 -501
- data/lib/pulp_rpm_client/api/users_roles_api.rb +0 -328
- data/lib/pulp_rpm_client/api/workers_api.rb +0 -210
- data/lib/pulp_rpm_client/models/access_policy.rb +0 -249
- data/lib/pulp_rpm_client/models/access_policy_response.rb +0 -288
- data/lib/pulp_rpm_client/models/artifact.rb +0 -379
- data/lib/pulp_rpm_client/models/artifact_distribution_response.rb +0 -279
- data/lib/pulp_rpm_client/models/content_app_status_response.rb +0 -218
- data/lib/pulp_rpm_client/models/content_guard_response.rb +0 -243
- data/lib/pulp_rpm_client/models/content_redirect_content_guard.rb +0 -258
- data/lib/pulp_rpm_client/models/content_redirect_content_guard_response.rb +0 -243
- data/lib/pulp_rpm_client/models/content_settings_response.rb +0 -228
- data/lib/pulp_rpm_client/models/database_connection_response.rb +0 -213
- data/lib/pulp_rpm_client/models/distribution_response.rb +0 -290
- data/lib/pulp_rpm_client/models/domain.rb +0 -323
- data/lib/pulp_rpm_client/models/domain_response.rb +0 -318
- data/lib/pulp_rpm_client/models/evaluation_response.rb +0 -245
- data/lib/pulp_rpm_client/models/filesystem_export.rb +0 -239
- data/lib/pulp_rpm_client/models/filesystem_export_response.rb +0 -250
- data/lib/pulp_rpm_client/models/filesystem_exporter.rb +0 -276
- data/lib/pulp_rpm_client/models/filesystem_exporter_response.rb +0 -257
- data/lib/pulp_rpm_client/models/group.rb +0 -241
- data/lib/pulp_rpm_client/models/group_progress_report_response.rb +0 -249
- data/lib/pulp_rpm_client/models/group_response.rb +0 -250
- data/lib/pulp_rpm_client/models/group_role.rb +0 -268
- data/lib/pulp_rpm_client/models/group_role_response.rb +0 -273
- data/lib/pulp_rpm_client/models/group_user.rb +0 -241
- data/lib/pulp_rpm_client/models/group_user_response.rb +0 -241
- data/lib/pulp_rpm_client/models/import_response.rb +0 -247
- data/lib/pulp_rpm_client/models/method_enum.rb +0 -37
- data/lib/pulp_rpm_client/models/minimal_task_response.rb +0 -272
- data/lib/pulp_rpm_client/models/multiple_artifact_content_response.rb +0 -232
- data/lib/pulp_rpm_client/models/orphans_cleanup.rb +0 -220
- data/lib/pulp_rpm_client/models/paginated_access_policy_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_artifact_distribution_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_artifact_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_content_guard_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_content_redirect_content_guard_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_distribution_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_domain_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_filesystem_export_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_filesystem_exporter_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_group_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_group_role_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_group_user_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_import_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_multiple_artifact_content_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_publication_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_pulp_export_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_pulp_exporter_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_pulp_importer_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_rbac_content_guard_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_remote_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_repository_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_role_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_signing_service_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_task_group_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_task_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_task_schedule_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_upload_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_upstream_pulp_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_user_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_user_role_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/paginated_worker_response_list.rb +0 -237
- data/lib/pulp_rpm_client/models/patched_access_policy.rb +0 -244
- data/lib/pulp_rpm_client/models/patched_content_redirect_content_guard.rb +0 -249
- data/lib/pulp_rpm_client/models/patched_domain.rb +0 -304
- data/lib/pulp_rpm_client/models/patched_filesystem_exporter.rb +0 -258
- data/lib/pulp_rpm_client/models/patched_group.rb +0 -232
- data/lib/pulp_rpm_client/models/patched_pulp_exporter.rb +0 -270
- data/lib/pulp_rpm_client/models/patched_pulp_importer.rb +0 -235
- data/lib/pulp_rpm_client/models/patched_rbac_content_guard.rb +0 -249
- data/lib/pulp_rpm_client/models/patched_role.rb +0 -261
- data/lib/pulp_rpm_client/models/patched_task_cancel.rb +0 -223
- data/lib/pulp_rpm_client/models/patched_upstream_pulp.rb +0 -450
- data/lib/pulp_rpm_client/models/patched_user.rb +0 -342
- data/lib/pulp_rpm_client/models/progress_report_response.rb +0 -259
- data/lib/pulp_rpm_client/models/publication_response.rb +0 -236
- data/lib/pulp_rpm_client/models/pulp_export.rb +0 -282
- data/lib/pulp_rpm_client/models/pulp_export_response.rb +0 -270
- data/lib/pulp_rpm_client/models/pulp_exporter.rb +0 -293
- data/lib/pulp_rpm_client/models/pulp_exporter_response.rb +0 -274
- data/lib/pulp_rpm_client/models/pulp_import.rb +0 -260
- data/lib/pulp_rpm_client/models/pulp_import_check.rb +0 -273
- data/lib/pulp_rpm_client/models/pulp_import_check_response.rb +0 -228
- data/lib/pulp_rpm_client/models/pulp_importer.rb +0 -244
- data/lib/pulp_rpm_client/models/pulp_importer_response.rb +0 -244
- data/lib/pulp_rpm_client/models/purge.rb +0 -219
- data/lib/pulp_rpm_client/models/rbac_content_guard.rb +0 -258
- data/lib/pulp_rpm_client/models/rbac_content_guard_response.rb +0 -265
- data/lib/pulp_rpm_client/models/reclaim_space.rb +0 -227
- data/lib/pulp_rpm_client/models/redis_connection_response.rb +0 -213
- data/lib/pulp_rpm_client/models/remote_response.rb +0 -497
- data/lib/pulp_rpm_client/models/remote_response_policy_enum.rb +0 -36
- data/lib/pulp_rpm_client/models/repository_response.rb +0 -309
- data/lib/pulp_rpm_client/models/role.rb +0 -275
- data/lib/pulp_rpm_client/models/role_response.rb +0 -270
- data/lib/pulp_rpm_client/models/signing_service_response.rb +0 -277
- data/lib/pulp_rpm_client/models/states_enum.rb +0 -38
- data/lib/pulp_rpm_client/models/status_response.rb +0 -314
- data/lib/pulp_rpm_client/models/storage_class_enum.rb +0 -37
- data/lib/pulp_rpm_client/models/storage_response.rb +0 -300
- data/lib/pulp_rpm_client/models/task_group_response.rb +0 -329
- data/lib/pulp_rpm_client/models/task_response.rb +0 -366
- data/lib/pulp_rpm_client/models/task_schedule_response.rb +0 -282
- data/lib/pulp_rpm_client/models/upload.rb +0 -213
- data/lib/pulp_rpm_client/models/upload_chunk.rb +0 -239
- data/lib/pulp_rpm_client/models/upload_chunk_response.rb +0 -216
- data/lib/pulp_rpm_client/models/upload_commit.rb +0 -232
- data/lib/pulp_rpm_client/models/upload_detail_response.rb +0 -253
- data/lib/pulp_rpm_client/models/upload_response.rb +0 -242
- data/lib/pulp_rpm_client/models/upstream_pulp.rb +0 -477
- data/lib/pulp_rpm_client/models/upstream_pulp_response.rb +0 -338
- data/lib/pulp_rpm_client/models/user.rb +0 -351
- data/lib/pulp_rpm_client/models/user_group.rb +0 -241
- data/lib/pulp_rpm_client/models/user_group_response.rb +0 -241
- data/lib/pulp_rpm_client/models/user_response.rb +0 -367
- data/lib/pulp_rpm_client/models/user_role.rb +0 -268
- data/lib/pulp_rpm_client/models/user_role_response.rb +0 -273
- data/lib/pulp_rpm_client/models/version_response.rb +0 -258
- data/lib/pulp_rpm_client/models/worker_response.rb +0 -247
- data/spec/api/access_policies_api_spec.rb +0 -110
- data/spec/api/artifacts_api_spec.rb +0 -105
- data/spec/api/content_api_spec.rb +0 -57
- data/spec/api/contentguards_api_spec.rb +0 -59
- data/spec/api/contentguards_content_redirect_api_spec.rb +0 -172
- data/spec/api/contentguards_rbac_api_spec.rb +0 -172
- data/spec/api/distributions_api_spec.rb +0 -67
- data/spec/api/distributions_artifacts_api_spec.rb +0 -80
- data/spec/api/docs_api_json_api_spec.rb +0 -48
- data/spec/api/docs_api_yaml_api_spec.rb +0 -48
- data/spec/api/domains_api_spec.rb +0 -122
- data/spec/api/exporters_filesystem_api_spec.rb +0 -122
- data/spec/api/exporters_filesystem_exports_api_spec.rb +0 -90
- data/spec/api/exporters_pulp_api_spec.rb +0 -122
- data/spec/api/exporters_pulp_exports_api_spec.rb +0 -90
- data/spec/api/groups_api_spec.rb +0 -174
- data/spec/api/groups_roles_api_spec.rb +0 -100
- data/spec/api/groups_users_api_spec.rb +0 -76
- data/spec/api/importers_pulp_api_spec.rb +0 -122
- data/spec/api/importers_pulp_import_check_api_spec.rb +0 -47
- data/spec/api/importers_pulp_imports_api_spec.rb +0 -90
- data/spec/api/orphans_api_spec.rb +0 -46
- data/spec/api/orphans_cleanup_api_spec.rb +0 -46
- data/spec/api/publications_api_spec.rb +0 -64
- data/spec/api/remotes_api_spec.rb +0 -66
- data/spec/api/repair_api_spec.rb +0 -47
- data/spec/api/repositories_api_spec.rb +0 -69
- data/spec/api/repositories_reclaim_space_api_spec.rb +0 -46
- data/spec/api/repository_versions_api_spec.rb +0 -66
- data/spec/api/roles_api_spec.rb +0 -129
- data/spec/api/signing_services_api_spec.rb +0 -68
- data/spec/api/status_api_spec.rb +0 -46
- data/spec/api/task_groups_api_spec.rb +0 -64
- data/spec/api/task_schedules_api_spec.rb +0 -121
- data/spec/api/tasks_api_spec.rb +0 -186
- data/spec/api/uploads_api_spec.rb +0 -173
- data/spec/api/upstream_pulps_api_spec.rb +0 -127
- data/spec/api/users_api_spec.rb +0 -139
- data/spec/api/users_roles_api_spec.rb +0 -100
- data/spec/api/workers_api_spec.rb +0 -80
- data/spec/models/access_policy_response_spec.rb +0 -83
- data/spec/models/access_policy_spec.rb +0 -59
- data/spec/models/artifact_distribution_response_spec.rb +0 -77
- data/spec/models/artifact_spec.rb +0 -83
- data/spec/models/content_app_status_response_spec.rb +0 -47
- data/spec/models/content_guard_response_spec.rb +0 -59
- data/spec/models/content_redirect_content_guard_response_spec.rb +0 -59
- data/spec/models/content_redirect_content_guard_spec.rb +0 -47
- data/spec/models/content_settings_response_spec.rb +0 -47
- data/spec/models/database_connection_response_spec.rb +0 -41
- data/spec/models/distribution_response_spec.rb +0 -83
- data/spec/models/domain_response_spec.rb +0 -83
- data/spec/models/domain_spec.rb +0 -71
- data/spec/models/evaluation_response_spec.rb +0 -53
- data/spec/models/filesystem_export_response_spec.rb +0 -65
- data/spec/models/filesystem_export_spec.rb +0 -59
- data/spec/models/filesystem_exporter_response_spec.rb +0 -65
- data/spec/models/filesystem_exporter_spec.rb +0 -53
- data/spec/models/group_progress_report_response_spec.rb +0 -65
- data/spec/models/group_response_spec.rb +0 -53
- data/spec/models/group_role_response_spec.rb +0 -77
- data/spec/models/group_role_spec.rb +0 -53
- data/spec/models/group_spec.rb +0 -41
- data/spec/models/group_user_response_spec.rb +0 -47
- data/spec/models/group_user_spec.rb +0 -41
- data/spec/models/import_response_spec.rb +0 -59
- data/spec/models/method_enum_spec.rb +0 -35
- data/spec/models/minimal_task_response_spec.rb +0 -77
- data/spec/models/multiple_artifact_content_response_spec.rb +0 -53
- data/spec/models/orphans_cleanup_spec.rb +0 -47
- data/spec/models/paginated_access_policy_response_list_spec.rb +0 -59
- data/spec/models/paginated_artifact_distribution_response_list_spec.rb +0 -59
- data/spec/models/paginated_artifact_response_list_spec.rb +0 -59
- data/spec/models/paginated_content_guard_response_list_spec.rb +0 -59
- data/spec/models/paginated_content_redirect_content_guard_response_list_spec.rb +0 -59
- data/spec/models/paginated_distribution_response_list_spec.rb +0 -59
- data/spec/models/paginated_domain_response_list_spec.rb +0 -59
- data/spec/models/paginated_filesystem_export_response_list_spec.rb +0 -59
- data/spec/models/paginated_filesystem_exporter_response_list_spec.rb +0 -59
- data/spec/models/paginated_group_response_list_spec.rb +0 -59
- data/spec/models/paginated_group_role_response_list_spec.rb +0 -59
- data/spec/models/paginated_group_user_response_list_spec.rb +0 -59
- data/spec/models/paginated_import_response_list_spec.rb +0 -59
- data/spec/models/paginated_multiple_artifact_content_response_list_spec.rb +0 -59
- data/spec/models/paginated_publication_response_list_spec.rb +0 -59
- data/spec/models/paginated_pulp_export_response_list_spec.rb +0 -59
- data/spec/models/paginated_pulp_exporter_response_list_spec.rb +0 -59
- data/spec/models/paginated_pulp_importer_response_list_spec.rb +0 -59
- data/spec/models/paginated_rbac_content_guard_response_list_spec.rb +0 -59
- data/spec/models/paginated_remote_response_list_spec.rb +0 -59
- data/spec/models/paginated_repository_response_list_spec.rb +0 -59
- data/spec/models/paginated_role_response_list_spec.rb +0 -59
- data/spec/models/paginated_signing_service_response_list_spec.rb +0 -59
- data/spec/models/paginated_task_group_response_list_spec.rb +0 -59
- data/spec/models/paginated_task_response_list_spec.rb +0 -59
- data/spec/models/paginated_task_schedule_response_list_spec.rb +0 -59
- data/spec/models/paginated_upload_response_list_spec.rb +0 -59
- data/spec/models/paginated_upstream_pulp_response_list_spec.rb +0 -59
- data/spec/models/paginated_user_response_list_spec.rb +0 -59
- data/spec/models/paginated_user_role_response_list_spec.rb +0 -59
- data/spec/models/paginated_worker_response_list_spec.rb +0 -59
- data/spec/models/patched_access_policy_spec.rb +0 -59
- data/spec/models/patched_content_redirect_content_guard_spec.rb +0 -47
- data/spec/models/patched_domain_spec.rb +0 -71
- data/spec/models/patched_filesystem_exporter_spec.rb +0 -53
- data/spec/models/patched_group_spec.rb +0 -41
- data/spec/models/patched_pulp_exporter_spec.rb +0 -59
- data/spec/models/patched_pulp_importer_spec.rb +0 -47
- data/spec/models/patched_rbac_content_guard_spec.rb +0 -47
- data/spec/models/patched_role_spec.rb +0 -53
- data/spec/models/patched_task_cancel_spec.rb +0 -41
- data/spec/models/patched_upstream_pulp_spec.rb +0 -101
- data/spec/models/patched_user_spec.rb +0 -77
- data/spec/models/policy762_enum_spec.rb +0 -35
- data/spec/models/progress_report_response_spec.rb +0 -71
- data/spec/models/publication_response_spec.rb +0 -59
- data/spec/models/pulp_export_response_spec.rb +0 -77
- data/spec/models/pulp_export_spec.rb +0 -71
- data/spec/models/pulp_exporter_response_spec.rb +0 -71
- data/spec/models/pulp_exporter_spec.rb +0 -59
- data/spec/models/pulp_import_check_response_spec.rb +0 -53
- data/spec/models/pulp_import_check_spec.rb +0 -53
- data/spec/models/pulp_import_spec.rb +0 -53
- data/spec/models/pulp_importer_response_spec.rb +0 -59
- data/spec/models/pulp_importer_spec.rb +0 -47
- data/spec/models/purge_spec.rb +0 -47
- data/spec/models/rbac_content_guard_response_spec.rb +0 -71
- data/spec/models/rbac_content_guard_spec.rb +0 -47
- data/spec/models/reclaim_space_spec.rb +0 -47
- data/spec/models/redis_connection_response_spec.rb +0 -41
- data/spec/models/remote_response_policy_enum_spec.rb +0 -35
- data/spec/models/remote_response_spec.rb +0 -155
- data/spec/models/repository_response_spec.rb +0 -89
- data/spec/models/role_response_spec.rb +0 -71
- data/spec/models/role_spec.rb +0 -53
- data/spec/models/signing_service_response_spec.rb +0 -71
- data/spec/models/status_response_spec.rb +0 -83
- data/spec/models/storage_class_enum_spec.rb +0 -35
- data/spec/models/storage_response_spec.rb +0 -53
- data/spec/models/task_group_response_spec.rb +0 -107
- data/spec/models/task_response_spec.rb +0 -125
- data/spec/models/task_schedule_response_spec.rb +0 -77
- data/spec/models/upload_chunk_response_spec.rb +0 -47
- data/spec/models/upload_chunk_spec.rb +0 -47
- data/spec/models/upload_commit_spec.rb +0 -41
- data/spec/models/upload_detail_response_spec.rb +0 -65
- data/spec/models/upload_response_spec.rb +0 -59
- data/spec/models/upload_spec.rb +0 -41
- data/spec/models/upstream_pulp_response_spec.rb +0 -107
- data/spec/models/upstream_pulp_spec.rb +0 -101
- data/spec/models/user_group_response_spec.rb +0 -47
- data/spec/models/user_group_spec.rb +0 -41
- data/spec/models/user_response_spec.rb +0 -101
- data/spec/models/user_role_response_spec.rb +0 -77
- data/spec/models/user_role_spec.rb +0 -53
- data/spec/models/user_spec.rb +0 -77
- data/spec/models/version_response_spec.rb +0 -59
- data/spec/models/worker_response_spec.rb +0 -65
@@ -1,64 +0,0 @@
|
|
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
|
-
|
16
|
-
# Unit tests for PulpRpmClient::TaskGroupsApi
|
17
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
-
# Please update as you see appropriate
|
19
|
-
describe 'TaskGroupsApi' do
|
20
|
-
before do
|
21
|
-
# run before each test
|
22
|
-
@api_instance = PulpRpmClient::TaskGroupsApi.new
|
23
|
-
end
|
24
|
-
|
25
|
-
after do
|
26
|
-
# run after each test
|
27
|
-
end
|
28
|
-
|
29
|
-
describe 'test an instance of TaskGroupsApi' do
|
30
|
-
it 'should create an instance of TaskGroupsApi' do
|
31
|
-
expect(@api_instance).to be_instance_of(PulpRpmClient::TaskGroupsApi)
|
32
|
-
end
|
33
|
-
end
|
34
|
-
|
35
|
-
# unit tests for list
|
36
|
-
# List task groups
|
37
|
-
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
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 [Array<String>] :fields A list of fields to include in the response.
|
42
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
43
|
-
# @return [PaginatedTaskGroupResponseList]
|
44
|
-
describe 'list 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
|
-
# unit tests for read
|
51
|
-
# Inspect a task group
|
52
|
-
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
53
|
-
# @param task_group_href
|
54
|
-
# @param [Hash] opts the optional parameters
|
55
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
56
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
57
|
-
# @return [TaskGroupResponse]
|
58
|
-
describe 'read test' do
|
59
|
-
it 'should work' do
|
60
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
-
end
|
62
|
-
end
|
63
|
-
|
64
|
-
end
|
@@ -1,121 +0,0 @@
|
|
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
|
-
|
16
|
-
# Unit tests for PulpRpmClient::TaskSchedulesApi
|
17
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
-
# Please update as you see appropriate
|
19
|
-
describe 'TaskSchedulesApi' do
|
20
|
-
before do
|
21
|
-
# run before each test
|
22
|
-
@api_instance = PulpRpmClient::TaskSchedulesApi.new
|
23
|
-
end
|
24
|
-
|
25
|
-
after do
|
26
|
-
# run after each test
|
27
|
-
end
|
28
|
-
|
29
|
-
describe 'test an instance of TaskSchedulesApi' do
|
30
|
-
it 'should create an instance of TaskSchedulesApi' do
|
31
|
-
expect(@api_instance).to be_instance_of(PulpRpmClient::TaskSchedulesApi)
|
32
|
-
end
|
33
|
-
end
|
34
|
-
|
35
|
-
# unit tests for add_role
|
36
|
-
# Add a role for this object to users/groups.
|
37
|
-
# @param task_schedule_href
|
38
|
-
# @param nested_role
|
39
|
-
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [NestedRoleResponse]
|
41
|
-
describe 'add_role 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 task schedules
|
49
|
-
# ViewSet to monitor task schedules.
|
50
|
-
# @param [Hash] opts the optional parameters
|
51
|
-
# @option opts [Integer] :limit Number of results to return per page.
|
52
|
-
# @option opts [String] :name Filter results where name matches value
|
53
|
-
# @option opts [String] :name__contains Filter results where name contains value
|
54
|
-
# @option opts [Integer] :offset The initial index from which to return the results.
|
55
|
-
# @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) * `next_dispatch` - Next dispatch * `-next_dispatch` - Next dispatch (descending) * `dispatch_interval` - Dispatch interval * `-dispatch_interval` - Dispatch interval (descending) * `task_name` - Task name * `-task_name` - Task name (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
56
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
57
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
58
|
-
# @option opts [String] :task_name Filter results where task_name matches value
|
59
|
-
# @option opts [String] :task_name__contains Filter results where task_name contains value
|
60
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
61
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
62
|
-
# @return [PaginatedTaskScheduleResponseList]
|
63
|
-
describe 'list test' do
|
64
|
-
it 'should work' do
|
65
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
66
|
-
end
|
67
|
-
end
|
68
|
-
|
69
|
-
# unit tests for list_roles
|
70
|
-
# List roles assigned to this object.
|
71
|
-
# @param task_schedule_href
|
72
|
-
# @param [Hash] opts the optional parameters
|
73
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
74
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
75
|
-
# @return [ObjectRolesResponse]
|
76
|
-
describe 'list_roles test' do
|
77
|
-
it 'should work' do
|
78
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
79
|
-
end
|
80
|
-
end
|
81
|
-
|
82
|
-
# unit tests for my_permissions
|
83
|
-
# List permissions available to the current user on this object.
|
84
|
-
# @param task_schedule_href
|
85
|
-
# @param [Hash] opts the optional parameters
|
86
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
87
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
88
|
-
# @return [MyPermissionsResponse]
|
89
|
-
describe 'my_permissions test' do
|
90
|
-
it 'should work' do
|
91
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
|
-
end
|
93
|
-
end
|
94
|
-
|
95
|
-
# unit tests for read
|
96
|
-
# Inspect a task schedule
|
97
|
-
# ViewSet to monitor task schedules.
|
98
|
-
# @param task_schedule_href
|
99
|
-
# @param [Hash] opts the optional parameters
|
100
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
101
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
102
|
-
# @return [TaskScheduleResponse]
|
103
|
-
describe 'read test' do
|
104
|
-
it 'should work' do
|
105
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
106
|
-
end
|
107
|
-
end
|
108
|
-
|
109
|
-
# unit tests for remove_role
|
110
|
-
# Remove a role for this object from users/groups.
|
111
|
-
# @param task_schedule_href
|
112
|
-
# @param nested_role
|
113
|
-
# @param [Hash] opts the optional parameters
|
114
|
-
# @return [NestedRoleResponse]
|
115
|
-
describe 'remove_role test' do
|
116
|
-
it 'should work' do
|
117
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
118
|
-
end
|
119
|
-
end
|
120
|
-
|
121
|
-
end
|
data/spec/api/tasks_api_spec.rb
DELETED
@@ -1,186 +0,0 @@
|
|
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
|
-
|
16
|
-
# Unit tests for PulpRpmClient::TasksApi
|
17
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
-
# Please update as you see appropriate
|
19
|
-
describe 'TasksApi' do
|
20
|
-
before do
|
21
|
-
# run before each test
|
22
|
-
@api_instance = PulpRpmClient::TasksApi.new
|
23
|
-
end
|
24
|
-
|
25
|
-
after do
|
26
|
-
# run after each test
|
27
|
-
end
|
28
|
-
|
29
|
-
describe 'test an instance of TasksApi' do
|
30
|
-
it 'should create an instance of TasksApi' do
|
31
|
-
expect(@api_instance).to be_instance_of(PulpRpmClient::TasksApi)
|
32
|
-
end
|
33
|
-
end
|
34
|
-
|
35
|
-
# unit tests for add_role
|
36
|
-
# Add a role for this object to users/groups.
|
37
|
-
# @param task_href
|
38
|
-
# @param nested_role
|
39
|
-
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [NestedRoleResponse]
|
41
|
-
describe 'add_role 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 task
|
49
|
-
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
50
|
-
# @param task_href
|
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 tasks
|
61
|
-
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
62
|
-
# @param [Hash] opts the optional parameters
|
63
|
-
# @option opts [String] :child_tasks Filter results where child_tasks matches value
|
64
|
-
# @option opts [String] :created_resources
|
65
|
-
# @option opts [String] :exclusive_resources
|
66
|
-
# @option opts [Array<String>] :exclusive_resources__in Multiple values may be separated by commas.
|
67
|
-
# @option opts [DateTime] :finished_at Filter results where finished_at matches value
|
68
|
-
# @option opts [DateTime] :finished_at__gt Filter results where finished_at is greater than value
|
69
|
-
# @option opts [DateTime] :finished_at__gte Filter results where finished_at is greater than or equal to value
|
70
|
-
# @option opts [DateTime] :finished_at__lt Filter results where finished_at is less than value
|
71
|
-
# @option opts [DateTime] :finished_at__lte Filter results where finished_at is less than or equal to value
|
72
|
-
# @option opts [Array<DateTime>] :finished_at__range Filter results where finished_at is between two comma separated values
|
73
|
-
# @option opts [Integer] :limit Number of results to return per page.
|
74
|
-
# @option opts [String] :logging_cid Filter results where logging_cid matches value
|
75
|
-
# @option opts [String] :logging_cid__contains Filter results where logging_cid contains value
|
76
|
-
# @option opts [String] :name Filter results where name matches value
|
77
|
-
# @option opts [String] :name__contains Filter results where name contains value
|
78
|
-
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
79
|
-
# @option opts [Integer] :offset The initial index from which to return the results.
|
80
|
-
# @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) * `state` - State * `-state` - State (descending) * `name` - Name * `-name` - Name (descending) * `logging_cid` - Logging cid * `-logging_cid` - Logging cid (descending) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `args` - Args * `-args` - Args (descending) * `kwargs` - Kwargs * `-kwargs` - Kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
81
|
-
# @option opts [String] :parent_task Filter results where parent_task matches value
|
82
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
83
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
84
|
-
# @option opts [String] :reserved_resources
|
85
|
-
# @option opts [Array<String>] :reserved_resources__in Multiple values may be separated by commas.
|
86
|
-
# @option opts [Array<String>] :reserved_resources_record
|
87
|
-
# @option opts [String] :shared_resources
|
88
|
-
# @option opts [Array<String>] :shared_resources__in Multiple values may be separated by commas.
|
89
|
-
# @option opts [DateTime] :started_at Filter results where started_at matches value
|
90
|
-
# @option opts [DateTime] :started_at__gt Filter results where started_at is greater than value
|
91
|
-
# @option opts [DateTime] :started_at__gte Filter results where started_at is greater than or equal to value
|
92
|
-
# @option opts [DateTime] :started_at__lt Filter results where started_at is less than value
|
93
|
-
# @option opts [DateTime] :started_at__lte Filter results where started_at is less than or equal to value
|
94
|
-
# @option opts [Array<DateTime>] :started_at__range Filter results where started_at is between two comma separated values
|
95
|
-
# @option opts [String] :state Filter results where state matches value * `waiting` - Waiting * `skipped` - Skipped * `running` - Running * `completed` - Completed * `failed` - Failed * `canceled` - Canceled * `canceling` - Canceling
|
96
|
-
# @option opts [Array<String>] :state__in Filter results where state is in a comma-separated list of values
|
97
|
-
# @option opts [String] :task_group Filter results where task_group matches value
|
98
|
-
# @option opts [String] :worker Filter results where worker matches value
|
99
|
-
# @option opts [Array<String>] :worker__in Filter results where worker is in a comma-separated list of values
|
100
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
101
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
102
|
-
# @return [PaginatedTaskResponseList]
|
103
|
-
describe 'list test' do
|
104
|
-
it 'should work' do
|
105
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
106
|
-
end
|
107
|
-
end
|
108
|
-
|
109
|
-
# unit tests for list_roles
|
110
|
-
# List roles assigned to this object.
|
111
|
-
# @param task_href
|
112
|
-
# @param [Hash] opts the optional parameters
|
113
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
114
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
115
|
-
# @return [ObjectRolesResponse]
|
116
|
-
describe 'list_roles test' do
|
117
|
-
it 'should work' do
|
118
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
119
|
-
end
|
120
|
-
end
|
121
|
-
|
122
|
-
# unit tests for my_permissions
|
123
|
-
# List permissions available to the current user on this object.
|
124
|
-
# @param task_href
|
125
|
-
# @param [Hash] opts the optional parameters
|
126
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
127
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
128
|
-
# @return [MyPermissionsResponse]
|
129
|
-
describe 'my_permissions test' do
|
130
|
-
it 'should work' do
|
131
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
132
|
-
end
|
133
|
-
end
|
134
|
-
|
135
|
-
# unit tests for purge
|
136
|
-
# Purge Completed Tasks
|
137
|
-
# Trigger an asynchronous task that deletes completed tasks that finished prior to a specified timestamp.
|
138
|
-
# @param purge
|
139
|
-
# @param [Hash] opts the optional parameters
|
140
|
-
# @return [AsyncOperationResponse]
|
141
|
-
describe 'purge test' do
|
142
|
-
it 'should work' do
|
143
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
144
|
-
end
|
145
|
-
end
|
146
|
-
|
147
|
-
# unit tests for read
|
148
|
-
# Inspect a task
|
149
|
-
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
150
|
-
# @param task_href
|
151
|
-
# @param [Hash] opts the optional parameters
|
152
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
153
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
154
|
-
# @return [TaskResponse]
|
155
|
-
describe 'read test' do
|
156
|
-
it 'should work' do
|
157
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
158
|
-
end
|
159
|
-
end
|
160
|
-
|
161
|
-
# unit tests for remove_role
|
162
|
-
# Remove a role for this object from users/groups.
|
163
|
-
# @param task_href
|
164
|
-
# @param nested_role
|
165
|
-
# @param [Hash] opts the optional parameters
|
166
|
-
# @return [NestedRoleResponse]
|
167
|
-
describe 'remove_role test' do
|
168
|
-
it 'should work' do
|
169
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
170
|
-
end
|
171
|
-
end
|
172
|
-
|
173
|
-
# unit tests for tasks_cancel
|
174
|
-
# Cancel a task
|
175
|
-
# This operation cancels a task.
|
176
|
-
# @param task_href
|
177
|
-
# @param patched_task_cancel
|
178
|
-
# @param [Hash] opts the optional parameters
|
179
|
-
# @return [TaskResponse]
|
180
|
-
describe 'tasks_cancel test' do
|
181
|
-
it 'should work' do
|
182
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
183
|
-
end
|
184
|
-
end
|
185
|
-
|
186
|
-
end
|
@@ -1,173 +0,0 @@
|
|
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
|
-
|
16
|
-
# Unit tests for PulpRpmClient::UploadsApi
|
17
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
-
# Please update as you see appropriate
|
19
|
-
describe 'UploadsApi' do
|
20
|
-
before do
|
21
|
-
# run before each test
|
22
|
-
@api_instance = PulpRpmClient::UploadsApi.new
|
23
|
-
end
|
24
|
-
|
25
|
-
after do
|
26
|
-
# run after each test
|
27
|
-
end
|
28
|
-
|
29
|
-
describe 'test an instance of UploadsApi' do
|
30
|
-
it 'should create an instance of UploadsApi' do
|
31
|
-
expect(@api_instance).to be_instance_of(PulpRpmClient::UploadsApi)
|
32
|
-
end
|
33
|
-
end
|
34
|
-
|
35
|
-
# unit tests for add_role
|
36
|
-
# Add a role for this object to users/groups.
|
37
|
-
# @param upload_href
|
38
|
-
# @param upload
|
39
|
-
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [NestedRoleResponse]
|
41
|
-
describe 'add_role 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 commit
|
48
|
-
# Finish an Upload
|
49
|
-
# Queues a Task that creates an Artifact, and the Upload gets deleted and cannot be re-used.
|
50
|
-
# @param upload_href
|
51
|
-
# @param upload_commit
|
52
|
-
# @param [Hash] opts the optional parameters
|
53
|
-
# @return [AsyncOperationResponse]
|
54
|
-
describe 'commit 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
|
-
|
60
|
-
# unit tests for create
|
61
|
-
# Create an upload
|
62
|
-
# View for chunked uploads.
|
63
|
-
# @param upload
|
64
|
-
# @param [Hash] opts the optional parameters
|
65
|
-
# @return [UploadResponse]
|
66
|
-
describe 'create test' do
|
67
|
-
it 'should work' do
|
68
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
69
|
-
end
|
70
|
-
end
|
71
|
-
|
72
|
-
# unit tests for delete
|
73
|
-
# Delete an upload
|
74
|
-
# View for chunked uploads.
|
75
|
-
# @param upload_href
|
76
|
-
# @param [Hash] opts the optional parameters
|
77
|
-
# @return [nil]
|
78
|
-
describe 'delete test' do
|
79
|
-
it 'should work' do
|
80
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
81
|
-
end
|
82
|
-
end
|
83
|
-
|
84
|
-
# unit tests for list
|
85
|
-
# List uploads
|
86
|
-
# View for chunked uploads.
|
87
|
-
# @param [Hash] opts the optional parameters
|
88
|
-
# @option opts [Integer] :limit Number of results to return per page.
|
89
|
-
# @option opts [Integer] :offset The initial index from which to return the results.
|
90
|
-
# @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) * `size` - Size * `-size` - Size (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
91
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
92
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
93
|
-
# @option opts [Integer] :size Filter results where size matches value
|
94
|
-
# @option opts [Integer] :size__gt Filter results where size is greater than value
|
95
|
-
# @option opts [Integer] :size__lt Filter results where size is less than value
|
96
|
-
# @option opts [Array<Integer>] :size__range Filter results where size is between two comma separated values
|
97
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
98
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
99
|
-
# @return [PaginatedUploadResponseList]
|
100
|
-
describe 'list test' do
|
101
|
-
it 'should work' do
|
102
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
103
|
-
end
|
104
|
-
end
|
105
|
-
|
106
|
-
# unit tests for list_roles
|
107
|
-
# List roles assigned to this object.
|
108
|
-
# @param upload_href
|
109
|
-
# @param [Hash] opts the optional parameters
|
110
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
111
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
112
|
-
# @return [ObjectRolesResponse]
|
113
|
-
describe 'list_roles test' do
|
114
|
-
it 'should work' do
|
115
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
116
|
-
end
|
117
|
-
end
|
118
|
-
|
119
|
-
# unit tests for my_permissions
|
120
|
-
# List permissions available to the current user on this object.
|
121
|
-
# @param upload_href
|
122
|
-
# @param [Hash] opts the optional parameters
|
123
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
124
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
125
|
-
# @return [MyPermissionsResponse]
|
126
|
-
describe 'my_permissions test' do
|
127
|
-
it 'should work' do
|
128
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
129
|
-
end
|
130
|
-
end
|
131
|
-
|
132
|
-
# unit tests for read
|
133
|
-
# Inspect an upload
|
134
|
-
# View for chunked uploads.
|
135
|
-
# @param upload_href
|
136
|
-
# @param [Hash] opts the optional parameters
|
137
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
138
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
139
|
-
# @return [UploadDetailResponse]
|
140
|
-
describe 'read test' do
|
141
|
-
it 'should work' do
|
142
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
143
|
-
end
|
144
|
-
end
|
145
|
-
|
146
|
-
# unit tests for remove_role
|
147
|
-
# Remove a role for this object from users/groups.
|
148
|
-
# @param upload_href
|
149
|
-
# @param upload
|
150
|
-
# @param [Hash] opts the optional parameters
|
151
|
-
# @return [NestedRoleResponse]
|
152
|
-
describe 'remove_role test' do
|
153
|
-
it 'should work' do
|
154
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
155
|
-
end
|
156
|
-
end
|
157
|
-
|
158
|
-
# unit tests for update
|
159
|
-
# Upload a file chunk
|
160
|
-
# Upload a chunk for an upload.
|
161
|
-
# @param content_range The Content-Range header specifies the location of the file chunk within the file.
|
162
|
-
# @param upload_href
|
163
|
-
# @param file A chunk of the uploaded file.
|
164
|
-
# @param [Hash] opts the optional parameters
|
165
|
-
# @option opts [String] :sha256 The SHA-256 checksum of the chunk if available.
|
166
|
-
# @return [UploadResponse]
|
167
|
-
describe 'update test' do
|
168
|
-
it 'should work' do
|
169
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
170
|
-
end
|
171
|
-
end
|
172
|
-
|
173
|
-
end
|
@@ -1,127 +0,0 @@
|
|
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
|
-
|
16
|
-
# Unit tests for PulpRpmClient::UpstreamPulpsApi
|
17
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
-
# Please update as you see appropriate
|
19
|
-
describe 'UpstreamPulpsApi' do
|
20
|
-
before do
|
21
|
-
# run before each test
|
22
|
-
@api_instance = PulpRpmClient::UpstreamPulpsApi.new
|
23
|
-
end
|
24
|
-
|
25
|
-
after do
|
26
|
-
# run after each test
|
27
|
-
end
|
28
|
-
|
29
|
-
describe 'test an instance of UpstreamPulpsApi' do
|
30
|
-
it 'should create an instance of UpstreamPulpsApi' do
|
31
|
-
expect(@api_instance).to be_instance_of(PulpRpmClient::UpstreamPulpsApi)
|
32
|
-
end
|
33
|
-
end
|
34
|
-
|
35
|
-
# unit tests for create
|
36
|
-
# Create an upstream pulp
|
37
|
-
# API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
38
|
-
# @param upstream_pulp
|
39
|
-
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [UpstreamPulpResponse]
|
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 an upstream pulp
|
49
|
-
# API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
50
|
-
# @param upstream_pulp_href
|
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 upstream pulps
|
61
|
-
# API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
62
|
-
# @param [Hash] opts the optional parameters
|
63
|
-
# @option opts [Integer] :limit Number of results to return per page.
|
64
|
-
# @option opts [Integer] :offset The initial index from which to return the results.
|
65
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
66
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
67
|
-
# @return [PaginatedUpstreamPulpResponseList]
|
68
|
-
describe 'list test' do
|
69
|
-
it 'should work' do
|
70
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
71
|
-
end
|
72
|
-
end
|
73
|
-
|
74
|
-
# unit tests for partial_update
|
75
|
-
# Update an upstream pulp
|
76
|
-
# API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
77
|
-
# @param upstream_pulp_href
|
78
|
-
# @param patched_upstream_pulp
|
79
|
-
# @param [Hash] opts the optional parameters
|
80
|
-
# @return [UpstreamPulpResponse]
|
81
|
-
describe 'partial_update test' do
|
82
|
-
it 'should work' do
|
83
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
84
|
-
end
|
85
|
-
end
|
86
|
-
|
87
|
-
# unit tests for read
|
88
|
-
# Inspect an upstream pulp
|
89
|
-
# API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
90
|
-
# @param upstream_pulp_href
|
91
|
-
# @param [Hash] opts the optional parameters
|
92
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
93
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
94
|
-
# @return [UpstreamPulpResponse]
|
95
|
-
describe 'read test' do
|
96
|
-
it 'should work' do
|
97
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
98
|
-
end
|
99
|
-
end
|
100
|
-
|
101
|
-
# unit tests for replicate
|
102
|
-
# Replicate
|
103
|
-
# Trigger an asynchronous repository replication task group. This API is provided as a tech preview.
|
104
|
-
# @param upstream_pulp_href
|
105
|
-
# @param upstream_pulp
|
106
|
-
# @param [Hash] opts the optional parameters
|
107
|
-
# @return [AsyncOperationResponse]
|
108
|
-
describe 'replicate test' do
|
109
|
-
it 'should work' do
|
110
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
111
|
-
end
|
112
|
-
end
|
113
|
-
|
114
|
-
# unit tests for update
|
115
|
-
# Update an upstream pulp
|
116
|
-
# API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
117
|
-
# @param upstream_pulp_href
|
118
|
-
# @param upstream_pulp
|
119
|
-
# @param [Hash] opts the optional parameters
|
120
|
-
# @return [UpstreamPulpResponse]
|
121
|
-
describe 'update test' do
|
122
|
-
it 'should work' do
|
123
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
124
|
-
end
|
125
|
-
end
|
126
|
-
|
127
|
-
end
|