pulp_ansible_client 0.18.4 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +34 -47
- data/docs/AnsibleCollectionRemoteResponseHiddenFields.md +2 -2
- data/docs/AnsibleCollectionVersion.md +4 -4
- data/docs/AnsibleCollectionVersionResponse.md +4 -4
- data/docs/AnsibleCollectionsApi.md +9 -15
- data/docs/AnsibleCopyApi.md +1 -1
- data/docs/AnsibleGitRemote.md +26 -26
- data/docs/AnsibleGitRemoteResponse.md +24 -24
- data/docs/AnsibleRoleResponse.md +4 -4
- data/docs/ApiCollectionsApi.md +1 -1
- data/docs/ApiRolesApi.md +1 -1
- data/docs/CollectionImportApi.md +1 -1
- data/docs/CollectionNamespaceResponse.md +1 -1
- data/docs/CollectionResponse.md +5 -3
- data/docs/CollectionVersionResponse.md +1 -1
- data/docs/CollectionVersionSignatureResponse.md +23 -0
- data/docs/ContentCollectionDeprecationsApi.md +1 -3
- data/docs/ContentCollectionMarksApi.md +2 -4
- data/docs/ContentCollectionSignaturesApi.md +3 -5
- data/docs/ContentCollectionVersionsApi.md +7 -7
- data/docs/ContentNamespacesApi.md +1 -19
- data/docs/ContentRolesApi.md +1 -3
- data/docs/DistributionsAnsibleApi.md +10 -136
- data/docs/GalaxyDetailApi.md +1 -1
- data/docs/{UnsetLabel.md → PatchedCollection.md} +3 -3
- data/docs/PatchedansibleGitRemote.md +26 -26
- data/docs/PulpAnsibleApiApi.md +1 -1
- data/docs/PulpAnsibleApiV2CollectionsVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3Api.md +1 -1
- data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +1 -3
- data/docs/PulpAnsibleApiV3CollectionsApi.md +5 -7
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +3 -3
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleApiV3NamespacesApi.md +1 -19
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -3
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +5 -7
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +3 -3
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +5 -23
- data/docs/{ApiPluginAnsibleSearchCollectionVersionsApi.md → PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.md} +17 -18
- data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +1 -1
- data/docs/PulpAnsibleDefaultApiApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3Api.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +1 -3
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +5 -7
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +3 -3
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +1 -19
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -3
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +5 -7
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +3 -3
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +5 -23
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +3 -4
- data/docs/PulpAnsibleTagsApi.md +1 -1
- data/docs/RemotesCollectionApi.md +9 -135
- data/docs/RemotesGitApi.md +9 -135
- data/docs/RemotesRoleApi.md +9 -135
- data/docs/RepositoriesAnsibleApi.md +10 -136
- data/docs/RepositoriesAnsibleVersionsApi.md +1 -3
- data/docs/UnpaginatedCollectionVersionResponse.md +1 -1
- data/docs/VersionsApi.md +1 -1
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +0 -11
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +0 -3
- data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +0 -3
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +0 -3
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +9 -9
- data/lib/pulp_ansible_client/api/content_namespaces_api.rb +0 -27
- data/lib/pulp_ansible_client/api/content_roles_api.rb +0 -3
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +0 -163
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +9 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +0 -27
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +9 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +8 -35
- data/lib/pulp_ansible_client/api/{api_plugin_ansible_search_collection_versions_api.rb → pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api.rb} +24 -26
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +9 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +0 -27
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +9 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +8 -35
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api.rb +0 -2
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +0 -163
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +0 -163
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +0 -163
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +0 -163
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +0 -3
- data/lib/pulp_ansible_client/configuration.rb +3 -3
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields.rb +0 -10
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +15 -15
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +14 -14
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +232 -232
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +149 -149
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +14 -14
- data/lib/pulp_ansible_client/models/collection_namespace_response.rb +1 -0
- data/lib/pulp_ansible_client/models/collection_response.rb +19 -6
- data/lib/pulp_ansible_client/models/collection_version_response.rb +9 -2
- data/lib/pulp_ansible_client/models/{set_label.rb → collection_version_signature_response.rb} +49 -42
- data/lib/pulp_ansible_client/models/{unset_label_response.rb → patched_collection.rb} +11 -46
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +228 -228
- data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +9 -2
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +3 -5
- data/spec/api/ansible_collections_api_spec.rb +0 -5
- data/spec/api/content_collection_deprecations_api_spec.rb +0 -1
- data/spec/api/content_collection_marks_api_spec.rb +0 -1
- data/spec/api/content_collection_signatures_api_spec.rb +0 -1
- data/spec/api/content_collection_versions_api_spec.rb +3 -3
- data/spec/api/content_namespaces_api_spec.rb +0 -9
- data/spec/api/content_roles_api_spec.rb +0 -1
- data/spec/api/distributions_ansible_api_spec.rb +0 -35
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +1 -2
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +0 -9
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +4 -13
- data/spec/api/{api_plugin_ansible_search_collection_versions_api_spec.rb → pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api_spec.rb} +8 -9
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +1 -2
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +0 -9
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +4 -13
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +0 -1
- data/spec/api/remotes_collection_api_spec.rb +0 -35
- data/spec/api/remotes_git_api_spec.rb +0 -35
- data/spec/api/remotes_role_api_spec.rb +0 -35
- data/spec/api/repositories_ansible_api_spec.rb +0 -35
- data/spec/api/repositories_ansible_versions_api_spec.rb +0 -1
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/ansible_collection_version_response_spec.rb +2 -2
- data/spec/models/ansible_collection_version_spec.rb +2 -2
- data/spec/models/ansible_git_remote_response_spec.rb +19 -19
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_response_spec.rb +2 -2
- data/spec/models/collection_response_spec.rb +6 -0
- data/spec/models/collection_version_signature_response_spec.rb +59 -0
- data/spec/models/{unset_label_spec.rb → patched_collection_spec.rb} +7 -7
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- metadata +158 -166
- data/docs/SetLabel.md +0 -19
- data/docs/SetLabelResponse.md +0 -19
- data/docs/UnsetLabelResponse.md +0 -19
- data/lib/pulp_ansible_client/models/set_label_response.rb +0 -243
- data/lib/pulp_ansible_client/models/unset_label.rb +0 -242
- data/spec/models/set_label_response_spec.rb +0 -47
- data/spec/models/set_label_spec.rb +0 -47
- data/spec/models/unset_label_response_spec.rb +0 -47
@@ -55,7 +55,7 @@ describe 'PulpAnsibleDefaultApiV3CollectionsVersionsApi' do
|
|
55
55
|
# @option opts [String] :name2
|
56
56
|
# @option opts [String] :namespace2
|
57
57
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
58
|
-
# @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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `version` - Version * `-version` - Version (descending) * `
|
58
|
+
# @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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `requires_ansible` - Requires ansible * `-requires_ansible` - Requires ansible (descending) * `version` - Version * `-version` - Version (descending) * `version_major` - Version major * `-version_major` - Version major (descending) * `version_minor` - Version minor * `-version_minor` - Version minor (descending) * `version_patch` - Version patch * `-version_patch` - Version patch (descending) * `version_prerelease` - Version prerelease * `-version_prerelease` - Version prerelease (descending) * `is_highest` - Is highest * `-is_highest` - Is highest (descending) * `search_vector` - Search vector * `-search_vector` - Search vector (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
59
59
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
60
60
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
61
61
|
# @option opts [String] :q
|
@@ -38,11 +38,7 @@ describe 'PulpAnsibleDefaultApiV3NamespacesApi' do
|
|
38
38
|
# @option opts [String] :company Filter results where company matches value
|
39
39
|
# @option opts [String] :company__contains Filter results where company contains value
|
40
40
|
# @option opts [String] :company__icontains Filter results where company contains value
|
41
|
-
# @option opts [String] :company__iexact Filter results where company matches value
|
42
41
|
# @option opts [Array<String>] :company__in Filter results where company is in a comma-separated list of values
|
43
|
-
# @option opts [String] :company__iregex Filter results where company matches regex value
|
44
|
-
# @option opts [String] :company__istartswith Filter results where company starts with value
|
45
|
-
# @option opts [String] :company__regex Filter results where company matches regex value
|
46
42
|
# @option opts [String] :company__startswith Filter results where company starts with value
|
47
43
|
# @option opts [Integer] :limit Number of results to return per page.
|
48
44
|
# @option opts [String] :metadata_sha256 Filter results where metadata_sha256 matches value
|
@@ -50,17 +46,12 @@ describe 'PulpAnsibleDefaultApiV3NamespacesApi' do
|
|
50
46
|
# @option opts [String] :name Filter results where name matches value
|
51
47
|
# @option opts [String] :name__contains Filter results where name contains value
|
52
48
|
# @option opts [String] :name__icontains Filter results where name contains value
|
53
|
-
# @option opts [String] :name__iexact Filter results where name matches value
|
54
49
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
55
|
-
# @option opts [String] :name__iregex Filter results where name matches regex value
|
56
|
-
# @option opts [String] :name__istartswith Filter results where name starts with value
|
57
|
-
# @option opts [String] :name__regex Filter results where name matches regex value
|
58
50
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
59
51
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
60
52
|
# @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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `company` - Company * `-company` - Company (descending) * `email` - Email * `-email` - Email (descending) * `description` - Description * `-description` - Description (descending) * `resources` - Resources * `-resources` - Resources (descending) * `links` - Links * `-links` - Links (descending) * `avatar_sha256` - Avatar sha256 * `-avatar_sha256` - Avatar sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
61
53
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
62
54
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
63
|
-
# @option opts [String] :q
|
64
55
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
65
56
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
66
57
|
# @return [PaginatedansibleAnsibleNamespaceMetadataResponseList]
|
@@ -42,7 +42,6 @@ describe 'PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsAp
|
|
42
42
|
# @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) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
43
43
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
44
44
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
45
|
-
# @option opts [String] :q
|
46
45
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
47
46
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
48
47
|
# @return [Array<CollectionResponse>]
|
data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb
CHANGED
@@ -57,7 +57,6 @@ describe 'PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi' do
|
|
57
57
|
# @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) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
58
58
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
59
59
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
60
|
-
# @option opts [String] :q
|
61
60
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
62
61
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
63
62
|
# @return [PaginatedCollectionResponseList]
|
@@ -87,7 +86,7 @@ describe 'PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi' do
|
|
87
86
|
# @param distro_base_path
|
88
87
|
# @param name
|
89
88
|
# @param namespace
|
90
|
-
# @param
|
89
|
+
# @param patched_collection
|
91
90
|
# @param [Hash] opts the optional parameters
|
92
91
|
# @return [AsyncOperationResponse]
|
93
92
|
describe 'update test' do
|
@@ -57,7 +57,7 @@ describe 'PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi
|
|
57
57
|
# @option opts [String] :name2
|
58
58
|
# @option opts [String] :namespace2
|
59
59
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
60
|
-
# @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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `version` - Version * `-version` - Version (descending) * `
|
60
|
+
# @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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `requires_ansible` - Requires ansible * `-requires_ansible` - Requires ansible (descending) * `version` - Version * `-version` - Version (descending) * `version_major` - Version major * `-version_major` - Version major (descending) * `version_minor` - Version minor * `-version_minor` - Version minor (descending) * `version_patch` - Version patch * `-version_patch` - Version patch (descending) * `version_prerelease` - Version prerelease * `-version_prerelease` - Version prerelease (descending) * `is_highest` - Is highest * `-is_highest` - Is highest (descending) * `search_vector` - Search vector * `-search_vector` - Search vector (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
61
61
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
62
62
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
63
63
|
# @option opts [String] :q
|
@@ -33,7 +33,7 @@ describe 'PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for create
|
36
|
-
#
|
36
|
+
# Custom exception handler mixin class.
|
37
37
|
# @param distro_base_path
|
38
38
|
# @param name Required named, only accepts lowercase, numbers and underscores.
|
39
39
|
# @param [Hash] opts the optional parameters
|
@@ -63,17 +63,13 @@ describe 'PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi' do
|
|
63
63
|
end
|
64
64
|
|
65
65
|
# unit tests for list
|
66
|
-
#
|
66
|
+
# Custom exception handler mixin class.
|
67
67
|
# @param distro_base_path
|
68
68
|
# @param [Hash] opts the optional parameters
|
69
69
|
# @option opts [String] :company Filter results where company matches value
|
70
70
|
# @option opts [String] :company__contains Filter results where company contains value
|
71
71
|
# @option opts [String] :company__icontains Filter results where company contains value
|
72
|
-
# @option opts [String] :company__iexact Filter results where company matches value
|
73
72
|
# @option opts [Array<String>] :company__in Filter results where company is in a comma-separated list of values
|
74
|
-
# @option opts [String] :company__iregex Filter results where company matches regex value
|
75
|
-
# @option opts [String] :company__istartswith Filter results where company starts with value
|
76
|
-
# @option opts [String] :company__regex Filter results where company matches regex value
|
77
73
|
# @option opts [String] :company__startswith Filter results where company starts with value
|
78
74
|
# @option opts [Integer] :limit Number of results to return per page.
|
79
75
|
# @option opts [String] :metadata_sha256 Filter results where metadata_sha256 matches value
|
@@ -81,17 +77,12 @@ describe 'PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi' do
|
|
81
77
|
# @option opts [String] :name Filter results where name matches value
|
82
78
|
# @option opts [String] :name__contains Filter results where name contains value
|
83
79
|
# @option opts [String] :name__icontains Filter results where name contains value
|
84
|
-
# @option opts [String] :name__iexact Filter results where name matches value
|
85
80
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
86
|
-
# @option opts [String] :name__iregex Filter results where name matches regex value
|
87
|
-
# @option opts [String] :name__istartswith Filter results where name starts with value
|
88
|
-
# @option opts [String] :name__regex Filter results where name matches regex value
|
89
81
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
90
82
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
91
83
|
# @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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `company` - Company * `-company` - Company (descending) * `email` - Email * `-email` - Email (descending) * `description` - Description * `-description` - Description (descending) * `resources` - Resources * `-resources` - Resources (descending) * `links` - Links * `-links` - Links (descending) * `avatar_sha256` - Avatar sha256 * `-avatar_sha256` - Avatar sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
92
84
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
93
85
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
94
|
-
# @option opts [String] :q
|
95
86
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
96
87
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
97
88
|
# @return [PaginatedansibleAnsibleNamespaceMetadataResponseList]
|
@@ -102,7 +93,7 @@ describe 'PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi' do
|
|
102
93
|
end
|
103
94
|
|
104
95
|
# unit tests for partial_update
|
105
|
-
#
|
96
|
+
# Custom exception handler mixin class.
|
106
97
|
# @param distro_base_path
|
107
98
|
# @param name
|
108
99
|
# @param [Hash] opts the optional parameters
|
@@ -121,7 +112,7 @@ describe 'PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi' do
|
|
121
112
|
end
|
122
113
|
|
123
114
|
# unit tests for read
|
124
|
-
#
|
115
|
+
# Custom exception handler mixin class.
|
125
116
|
# @param distro_base_path
|
126
117
|
# @param name
|
127
118
|
# @param [Hash] opts the optional parameters
|
data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api_spec.rb
CHANGED
@@ -33,7 +33,6 @@ describe 'PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for list
|
36
|
-
# List cross repository collection version indexs
|
37
36
|
# A viewset for cross-repo searches.
|
38
37
|
# @param [Hash] opts the optional parameters
|
39
38
|
# @option opts [String] :dependency
|
@@ -33,7 +33,6 @@ describe 'RemotesCollectionApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for add_role
|
36
|
-
# Add a role
|
37
36
|
# Add a role for this object to users/groups.
|
38
37
|
# @param ansible_collection_remote_href
|
39
38
|
# @param nested_role
|
@@ -77,11 +76,7 @@ describe 'RemotesCollectionApi' do
|
|
77
76
|
# @option opts [String] :name Filter results where name matches value
|
78
77
|
# @option opts [String] :name__contains Filter results where name contains value
|
79
78
|
# @option opts [String] :name__icontains Filter results where name contains value
|
80
|
-
# @option opts [String] :name__iexact Filter results where name matches value
|
81
79
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
82
|
-
# @option opts [String] :name__iregex Filter results where name matches regex value
|
83
|
-
# @option opts [String] :name__istartswith Filter results where name starts with value
|
84
|
-
# @option opts [String] :name__regex Filter results where name matches regex value
|
85
80
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
86
81
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
87
82
|
# @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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `requirements_file` - Requirements file * `-requirements_file` - Requirements file (descending) * `auth_url` - Auth url * `-auth_url` - Auth url (descending) * `token` - Token * `-token` - Token (descending) * `sync_dependencies` - Sync dependencies * `-sync_dependencies` - Sync dependencies (descending) * `signed_only` - Signed only * `-signed_only` - Signed only (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -94,7 +89,6 @@ describe 'RemotesCollectionApi' do
|
|
94
89
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
95
90
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
96
91
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
97
|
-
# @option opts [String] :q
|
98
92
|
# @option opts [String] :url Filter results where url matches value
|
99
93
|
# @option opts [String] :url__contains Filter results where url contains value
|
100
94
|
# @option opts [String] :url__icontains Filter results where url contains value
|
@@ -109,7 +103,6 @@ describe 'RemotesCollectionApi' do
|
|
109
103
|
end
|
110
104
|
|
111
105
|
# unit tests for list_roles
|
112
|
-
# List roles
|
113
106
|
# List roles assigned to this object.
|
114
107
|
# @param ansible_collection_remote_href
|
115
108
|
# @param [Hash] opts the optional parameters
|
@@ -123,7 +116,6 @@ describe 'RemotesCollectionApi' do
|
|
123
116
|
end
|
124
117
|
|
125
118
|
# unit tests for my_permissions
|
126
|
-
# List user permissions
|
127
119
|
# List permissions available to the current user on this object.
|
128
120
|
# @param ansible_collection_remote_href
|
129
121
|
# @param [Hash] opts the optional parameters
|
@@ -164,7 +156,6 @@ describe 'RemotesCollectionApi' do
|
|
164
156
|
end
|
165
157
|
|
166
158
|
# unit tests for remove_role
|
167
|
-
# Remove a role
|
168
159
|
# Remove a role for this object from users/groups.
|
169
160
|
# @param ansible_collection_remote_href
|
170
161
|
# @param nested_role
|
@@ -176,32 +167,6 @@ describe 'RemotesCollectionApi' do
|
|
176
167
|
end
|
177
168
|
end
|
178
169
|
|
179
|
-
# unit tests for set_label
|
180
|
-
# Set a label
|
181
|
-
# Set a single pulp_label on the object to a specific value or null.
|
182
|
-
# @param ansible_collection_remote_href
|
183
|
-
# @param set_label
|
184
|
-
# @param [Hash] opts the optional parameters
|
185
|
-
# @return [SetLabelResponse]
|
186
|
-
describe 'set_label test' do
|
187
|
-
it 'should work' do
|
188
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
189
|
-
end
|
190
|
-
end
|
191
|
-
|
192
|
-
# unit tests for unset_label
|
193
|
-
# Unset a label
|
194
|
-
# Unset a single pulp_label on the object.
|
195
|
-
# @param ansible_collection_remote_href
|
196
|
-
# @param unset_label
|
197
|
-
# @param [Hash] opts the optional parameters
|
198
|
-
# @return [UnsetLabelResponse]
|
199
|
-
describe 'unset_label test' do
|
200
|
-
it 'should work' do
|
201
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
202
|
-
end
|
203
|
-
end
|
204
|
-
|
205
170
|
# unit tests for update
|
206
171
|
# Update a collection remote
|
207
172
|
# Trigger an asynchronous update task
|
@@ -33,7 +33,6 @@ describe 'RemotesGitApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for add_role
|
36
|
-
# Add a role
|
37
36
|
# Add a role for this object to users/groups.
|
38
37
|
# @param ansible_git_remote_href
|
39
38
|
# @param nested_role
|
@@ -77,11 +76,7 @@ describe 'RemotesGitApi' do
|
|
77
76
|
# @option opts [String] :name Filter results where name matches value
|
78
77
|
# @option opts [String] :name__contains Filter results where name contains value
|
79
78
|
# @option opts [String] :name__icontains Filter results where name contains value
|
80
|
-
# @option opts [String] :name__iexact Filter results where name matches value
|
81
79
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
82
|
-
# @option opts [String] :name__iregex Filter results where name matches regex value
|
83
|
-
# @option opts [String] :name__istartswith Filter results where name starts with value
|
84
|
-
# @option opts [String] :name__regex Filter results where name matches regex value
|
85
80
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
86
81
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
87
82
|
# @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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -94,7 +89,6 @@ describe 'RemotesGitApi' do
|
|
94
89
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
95
90
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
96
91
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
97
|
-
# @option opts [String] :q
|
98
92
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
99
93
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
100
94
|
# @return [PaginatedansibleGitRemoteResponseList]
|
@@ -105,7 +99,6 @@ describe 'RemotesGitApi' do
|
|
105
99
|
end
|
106
100
|
|
107
101
|
# unit tests for list_roles
|
108
|
-
# List roles
|
109
102
|
# List roles assigned to this object.
|
110
103
|
# @param ansible_git_remote_href
|
111
104
|
# @param [Hash] opts the optional parameters
|
@@ -119,7 +112,6 @@ describe 'RemotesGitApi' do
|
|
119
112
|
end
|
120
113
|
|
121
114
|
# unit tests for my_permissions
|
122
|
-
# List user permissions
|
123
115
|
# List permissions available to the current user on this object.
|
124
116
|
# @param ansible_git_remote_href
|
125
117
|
# @param [Hash] opts the optional parameters
|
@@ -160,7 +152,6 @@ describe 'RemotesGitApi' do
|
|
160
152
|
end
|
161
153
|
|
162
154
|
# unit tests for remove_role
|
163
|
-
# Remove a role
|
164
155
|
# Remove a role for this object from users/groups.
|
165
156
|
# @param ansible_git_remote_href
|
166
157
|
# @param nested_role
|
@@ -172,32 +163,6 @@ describe 'RemotesGitApi' do
|
|
172
163
|
end
|
173
164
|
end
|
174
165
|
|
175
|
-
# unit tests for set_label
|
176
|
-
# Set a label
|
177
|
-
# Set a single pulp_label on the object to a specific value or null.
|
178
|
-
# @param ansible_git_remote_href
|
179
|
-
# @param set_label
|
180
|
-
# @param [Hash] opts the optional parameters
|
181
|
-
# @return [SetLabelResponse]
|
182
|
-
describe 'set_label test' do
|
183
|
-
it 'should work' do
|
184
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
185
|
-
end
|
186
|
-
end
|
187
|
-
|
188
|
-
# unit tests for unset_label
|
189
|
-
# Unset a label
|
190
|
-
# Unset a single pulp_label on the object.
|
191
|
-
# @param ansible_git_remote_href
|
192
|
-
# @param unset_label
|
193
|
-
# @param [Hash] opts the optional parameters
|
194
|
-
# @return [UnsetLabelResponse]
|
195
|
-
describe 'unset_label test' do
|
196
|
-
it 'should work' do
|
197
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
198
|
-
end
|
199
|
-
end
|
200
|
-
|
201
166
|
# unit tests for update
|
202
167
|
# Update a git remote
|
203
168
|
# Trigger an asynchronous update task
|
@@ -33,7 +33,6 @@ describe 'RemotesRoleApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for add_role
|
36
|
-
# Add a role
|
37
36
|
# Add a role for this object to users/groups.
|
38
37
|
# @param ansible_role_remote_href
|
39
38
|
# @param nested_role
|
@@ -77,11 +76,7 @@ describe 'RemotesRoleApi' do
|
|
77
76
|
# @option opts [String] :name Filter results where name matches value
|
78
77
|
# @option opts [String] :name__contains Filter results where name contains value
|
79
78
|
# @option opts [String] :name__icontains Filter results where name contains value
|
80
|
-
# @option opts [String] :name__iexact Filter results where name matches value
|
81
79
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
82
|
-
# @option opts [String] :name__iregex Filter results where name matches regex value
|
83
|
-
# @option opts [String] :name__istartswith Filter results where name starts with value
|
84
|
-
# @option opts [String] :name__regex Filter results where name matches regex value
|
85
80
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
86
81
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
87
82
|
# @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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -94,7 +89,6 @@ describe 'RemotesRoleApi' do
|
|
94
89
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
95
90
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
96
91
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
97
|
-
# @option opts [String] :q
|
98
92
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
99
93
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
100
94
|
# @return [PaginatedansibleRoleRemoteResponseList]
|
@@ -105,7 +99,6 @@ describe 'RemotesRoleApi' do
|
|
105
99
|
end
|
106
100
|
|
107
101
|
# unit tests for list_roles
|
108
|
-
# List roles
|
109
102
|
# List roles assigned to this object.
|
110
103
|
# @param ansible_role_remote_href
|
111
104
|
# @param [Hash] opts the optional parameters
|
@@ -119,7 +112,6 @@ describe 'RemotesRoleApi' do
|
|
119
112
|
end
|
120
113
|
|
121
114
|
# unit tests for my_permissions
|
122
|
-
# List user permissions
|
123
115
|
# List permissions available to the current user on this object.
|
124
116
|
# @param ansible_role_remote_href
|
125
117
|
# @param [Hash] opts the optional parameters
|
@@ -160,7 +152,6 @@ describe 'RemotesRoleApi' do
|
|
160
152
|
end
|
161
153
|
|
162
154
|
# unit tests for remove_role
|
163
|
-
# Remove a role
|
164
155
|
# Remove a role for this object from users/groups.
|
165
156
|
# @param ansible_role_remote_href
|
166
157
|
# @param nested_role
|
@@ -172,32 +163,6 @@ describe 'RemotesRoleApi' do
|
|
172
163
|
end
|
173
164
|
end
|
174
165
|
|
175
|
-
# unit tests for set_label
|
176
|
-
# Set a label
|
177
|
-
# Set a single pulp_label on the object to a specific value or null.
|
178
|
-
# @param ansible_role_remote_href
|
179
|
-
# @param set_label
|
180
|
-
# @param [Hash] opts the optional parameters
|
181
|
-
# @return [SetLabelResponse]
|
182
|
-
describe 'set_label test' do
|
183
|
-
it 'should work' do
|
184
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
185
|
-
end
|
186
|
-
end
|
187
|
-
|
188
|
-
# unit tests for unset_label
|
189
|
-
# Unset a label
|
190
|
-
# Unset a single pulp_label on the object.
|
191
|
-
# @param ansible_role_remote_href
|
192
|
-
# @param unset_label
|
193
|
-
# @param [Hash] opts the optional parameters
|
194
|
-
# @return [UnsetLabelResponse]
|
195
|
-
describe 'unset_label test' do
|
196
|
-
it 'should work' do
|
197
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
198
|
-
end
|
199
|
-
end
|
200
|
-
|
201
166
|
# unit tests for update
|
202
167
|
# Update a role remote
|
203
168
|
# Trigger an asynchronous update task
|
@@ -33,7 +33,6 @@ describe 'RepositoriesAnsibleApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for add_role
|
36
|
-
# Add a role
|
37
36
|
# Add a role for this object to users/groups.
|
38
37
|
# @param ansible_ansible_repository_href
|
39
38
|
# @param nested_role
|
@@ -90,18 +89,13 @@ describe 'RepositoriesAnsibleApi' do
|
|
90
89
|
# @option opts [String] :name Filter results where name matches value
|
91
90
|
# @option opts [String] :name__contains Filter results where name contains value
|
92
91
|
# @option opts [String] :name__icontains Filter results where name contains value
|
93
|
-
# @option opts [String] :name__iexact Filter results where name matches value
|
94
92
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
95
|
-
# @option opts [String] :name__iregex Filter results where name matches regex value
|
96
|
-
# @option opts [String] :name__istartswith Filter results where name starts with value
|
97
|
-
# @option opts [String] :name__regex Filter results where name matches regex value
|
98
93
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
99
94
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
100
95
|
# @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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
101
96
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
102
97
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
103
98
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
104
|
-
# @option opts [String] :q
|
105
99
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
106
100
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
107
101
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
@@ -122,7 +116,6 @@ describe 'RepositoriesAnsibleApi' do
|
|
122
116
|
end
|
123
117
|
|
124
118
|
# unit tests for list_roles
|
125
|
-
# List roles
|
126
119
|
# List roles assigned to this object.
|
127
120
|
# @param ansible_ansible_repository_href
|
128
121
|
# @param [Hash] opts the optional parameters
|
@@ -173,7 +166,6 @@ describe 'RepositoriesAnsibleApi' do
|
|
173
166
|
end
|
174
167
|
|
175
168
|
# unit tests for my_permissions
|
176
|
-
# List user permissions
|
177
169
|
# List permissions available to the current user on this object.
|
178
170
|
# @param ansible_ansible_repository_href
|
179
171
|
# @param [Hash] opts the optional parameters
|
@@ -226,7 +218,6 @@ describe 'RepositoriesAnsibleApi' do
|
|
226
218
|
end
|
227
219
|
|
228
220
|
# unit tests for remove_role
|
229
|
-
# Remove a role
|
230
221
|
# Remove a role for this object from users/groups.
|
231
222
|
# @param ansible_ansible_repository_href
|
232
223
|
# @param nested_role
|
@@ -238,19 +229,6 @@ describe 'RepositoriesAnsibleApi' do
|
|
238
229
|
end
|
239
230
|
end
|
240
231
|
|
241
|
-
# unit tests for set_label
|
242
|
-
# Set a label
|
243
|
-
# Set a single pulp_label on the object to a specific value or null.
|
244
|
-
# @param ansible_ansible_repository_href
|
245
|
-
# @param set_label
|
246
|
-
# @param [Hash] opts the optional parameters
|
247
|
-
# @return [SetLabelResponse]
|
248
|
-
describe 'set_label test' do
|
249
|
-
it 'should work' do
|
250
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
251
|
-
end
|
252
|
-
end
|
253
|
-
|
254
232
|
# unit tests for sign
|
255
233
|
# Trigger an asynchronous task to sign Ansible content.
|
256
234
|
# @param ansible_ansible_repository_href
|
@@ -287,19 +265,6 @@ describe 'RepositoriesAnsibleApi' do
|
|
287
265
|
end
|
288
266
|
end
|
289
267
|
|
290
|
-
# unit tests for unset_label
|
291
|
-
# Unset a label
|
292
|
-
# Unset a single pulp_label on the object.
|
293
|
-
# @param ansible_ansible_repository_href
|
294
|
-
# @param unset_label
|
295
|
-
# @param [Hash] opts the optional parameters
|
296
|
-
# @return [UnsetLabelResponse]
|
297
|
-
describe 'unset_label test' do
|
298
|
-
it 'should work' do
|
299
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
300
|
-
end
|
301
|
-
end
|
302
|
-
|
303
268
|
# unit tests for update
|
304
269
|
# Update an ansible repository
|
305
270
|
# Trigger an asynchronous update task
|
@@ -67,7 +67,6 @@ describe 'RepositoriesAnsibleVersionsApi' do
|
|
67
67
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
68
68
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
69
69
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
70
|
-
# @option opts [String] :q
|
71
70
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
72
71
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
73
72
|
# @return [PaginatedRepositoryVersionResponseList]
|
data/spec/configuration_spec.rb
CHANGED
@@ -18,7 +18,7 @@ describe PulpAnsibleClient::Configuration do
|
|
18
18
|
before(:each) do
|
19
19
|
# uncomment below to setup host and base_path
|
20
20
|
# require 'URI'
|
21
|
-
# uri = URI.parse("
|
21
|
+
# uri = URI.parse("https://pulp")
|
22
22
|
# PulpAnsibleClient.configure do |c|
|
23
23
|
# c.host = uri.host
|
24
24
|
# c.base_path = uri.path
|
@@ -28,14 +28,14 @@ describe PulpAnsibleClient::Configuration do
|
|
28
28
|
describe '#base_url' do
|
29
29
|
it 'should have the default value' do
|
30
30
|
# uncomment below to test default value of the base path
|
31
|
-
# expect(config.base_url).to eq("
|
31
|
+
# expect(config.base_url).to eq("https://pulp")
|
32
32
|
end
|
33
33
|
|
34
34
|
it 'should remove trailing slashes' do
|
35
35
|
[nil, '', '/', '//'].each do |base_path|
|
36
36
|
config.base_path = base_path
|
37
37
|
# uncomment below to test trailing slashes
|
38
|
-
# expect(config.base_url).to eq("
|
38
|
+
# expect(config.base_url).to eq("https://pulp")
|
39
39
|
end
|
40
40
|
end
|
41
41
|
end
|
@@ -32,7 +32,7 @@ describe 'AnsibleCollectionVersionResponse' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpAnsibleClient::AnsibleCollectionVersionResponse)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "pulp_created"' do
|
36
36
|
it 'should work' do
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
38
|
end
|
@@ -44,7 +44,7 @@ describe 'AnsibleCollectionVersionResponse' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
describe 'test attribute "
|
47
|
+
describe 'test attribute "pulp_href"' do
|
48
48
|
it 'should work' do
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
50
|
end
|
@@ -32,7 +32,7 @@ describe 'AnsibleCollectionVersion' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpAnsibleClient::AnsibleCollectionVersion)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "upload"' do
|
36
36
|
it 'should work' do
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
38
|
end
|
@@ -50,7 +50,7 @@ describe 'AnsibleCollectionVersion' do
|
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
-
describe 'test attribute "
|
53
|
+
describe 'test attribute "file"' do
|
54
54
|
it 'should work' do
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
56
|
end
|