pulp_ansible_client 0.21.6 → 0.21.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -8
- data/docs/AnsibleAnsibleRepositoryResponse.md +2 -0
- data/docs/AnsibleCollectionRemoteResponse.md +2 -2
- data/docs/AnsibleCollectionRemoteResponseHiddenFields.md +2 -2
- data/docs/AnsibleCollectionVersion.md +3 -3
- data/docs/AnsibleCollectionVersionResponse.md +2 -0
- data/docs/AnsibleCollectionVersionSignatureResponse.md +2 -0
- data/docs/AnsibleCollectionsApi.md +1 -1
- data/docs/AnsibleCopyApi.md +1 -1
- data/docs/AnsibleGitRemote.md +28 -28
- data/docs/AnsibleGitRemoteResponse.md +24 -24
- data/docs/AnsibleRole.md +3 -3
- data/docs/AnsibleRoleRemoteResponse.md +2 -2
- data/docs/AnsibleRoleResponse.md +5 -3
- data/docs/ApiCollectionsApi.md +1 -1
- data/docs/{PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.md → ApiPluginAnsibleSearchCollectionVersionsApi.md} +18 -17
- data/docs/ApiRolesApi.md +1 -1
- data/docs/CollectionImportApi.md +1 -1
- data/docs/ContentCollectionDeprecationsApi.md +1 -1
- data/docs/ContentCollectionMarksApi.md +1 -1
- data/docs/ContentCollectionSignaturesApi.md +1 -1
- data/docs/ContentCollectionVersionsApi.md +3 -3
- data/docs/ContentNamespacesApi.md +1 -1
- data/docs/ContentRolesApi.md +1 -1
- data/docs/DistributionsAnsibleApi.md +1 -1
- data/docs/GalaxyDetailApi.md +1 -1
- data/docs/PaginatedGalaxyCollectionResponseList.md +2 -2
- data/docs/PaginatedGalaxyCollectionVersionResponseList.md +2 -2
- data/docs/PaginatedGalaxyRoleResponseList.md +2 -2
- data/docs/PaginatedGalaxyRoleVersionResponseList.md +2 -2
- data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
- data/docs/PaginatedTagResponseList.md +2 -2
- data/docs/PaginatedansibleAnsibleDistributionResponseList.md +2 -2
- data/docs/PaginatedansibleAnsibleNamespaceMetadataResponseList.md +2 -2
- data/docs/PaginatedansibleAnsibleRepositoryResponseList.md +2 -2
- data/docs/PaginatedansibleCollectionRemoteResponseList.md +2 -2
- data/docs/PaginatedansibleCollectionResponseList.md +2 -2
- data/docs/PaginatedansibleCollectionVersionMarkResponseList.md +2 -2
- data/docs/PaginatedansibleCollectionVersionResponseList.md +2 -2
- data/docs/PaginatedansibleCollectionVersionSignatureResponseList.md +2 -2
- data/docs/PaginatedansibleGitRemoteResponseList.md +2 -2
- data/docs/PaginatedansibleRoleRemoteResponseList.md +2 -2
- data/docs/PaginatedansibleRoleResponseList.md +2 -2
- data/docs/PatchedansibleGitRemote.md +28 -28
- 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 -1
- data/docs/PulpAnsibleApiV3CollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleApiV3NamespacesApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +1 -1
- 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 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +4 -3
- data/docs/PulpAnsibleTagsApi.md +1 -1
- data/docs/RemotesCollectionApi.md +1 -1
- data/docs/RemotesGitApi.md +1 -1
- data/docs/RemotesRoleApi.md +1 -1
- data/docs/RepositoriesAnsibleApi.md +1 -1
- data/docs/RepositoriesAnsibleVersionsApi.md +1 -1
- data/docs/RepositoryResponse.md +2 -0
- data/docs/RepositoryVersionResponse.md +2 -0
- data/docs/VersionsApi.md +1 -1
- data/lib/pulp_ansible_client/api/{pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api.rb → api_plugin_ansible_search_collection_versions_api.rb} +26 -24
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api.rb +2 -0
- data/lib/pulp_ansible_client/configuration.rb +2 -2
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +11 -1
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +20 -20
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +31 -31
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields.rb +10 -0
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +11 -1
- data/lib/pulp_ansible_client/models/ansible_collection_version_signature_response.rb +11 -1
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +249 -249
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +144 -144
- data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_role_remote.rb +20 -20
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +31 -31
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +18 -8
- data/lib/pulp_ansible_client/models/paginated_galaxy_collection_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginated_galaxy_collection_version_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginated_galaxy_role_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginated_galaxy_role_version_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginated_repository_version_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginated_tag_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginatedansible_ansible_distribution_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginatedansible_ansible_namespace_metadata_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginatedansible_ansible_repository_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginatedansible_collection_remote_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginatedansible_collection_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginatedansible_collection_version_mark_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginatedansible_collection_version_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginatedansible_collection_version_signature_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginatedansible_git_remote_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginatedansible_role_remote_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginatedansible_role_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +20 -20
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +237 -237
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +20 -20
- data/lib/pulp_ansible_client/models/repository_response.rb +11 -1
- data/lib/pulp_ansible_client/models/repository_version_response.rb +11 -1
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +1 -1
- data/spec/api/{pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api_spec.rb → api_plugin_ansible_search_collection_versions_api_spec.rb} +9 -8
- data/spec/api/content_collection_versions_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +1 -0
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/ansible_ansible_repository_response_spec.rb +6 -0
- data/spec/models/ansible_collection_remote_response_spec.rb +6 -6
- data/spec/models/ansible_collection_version_response_spec.rb +6 -0
- data/spec/models/ansible_collection_version_signature_response_spec.rb +6 -0
- data/spec/models/ansible_collection_version_spec.rb +3 -3
- data/spec/models/ansible_git_remote_response_spec.rb +18 -18
- data/spec/models/ansible_git_remote_spec.rb +18 -18
- data/spec/models/ansible_role_remote_response_spec.rb +6 -6
- data/spec/models/ansible_role_response_spec.rb +7 -1
- data/spec/models/ansible_role_spec.rb +2 -2
- data/spec/models/patchedansible_git_remote_spec.rb +18 -18
- data/spec/models/repository_response_spec.rb +6 -0
- data/spec/models/repository_version_response_spec.rb +6 -0
- metadata +143 -143
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpAnsibleClient::PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi
|
2
2
|
|
3
|
-
All URIs are relative to *http://
|
3
|
+
All URIs are relative to *http://localhost:24817*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpAnsibleClient::PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi
|
2
2
|
|
3
|
-
All URIs are relative to *http://
|
3
|
+
All URIs are relative to *http://localhost:24817*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpAnsibleClient::PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi
|
2
2
|
|
3
|
-
All URIs are relative to *http://
|
3
|
+
All URIs are relative to *http://localhost:24817*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpAnsibleClient::PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi
|
2
2
|
|
3
|
-
All URIs are relative to *http://
|
3
|
+
All URIs are relative to *http://localhost:24817*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpAnsibleClient::PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi
|
2
2
|
|
3
|
-
All URIs are relative to *http://
|
3
|
+
All URIs are relative to *http://localhost:24817*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
@@ -1,10 +1,10 @@
|
|
1
1
|
# PulpAnsibleClient::PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi
|
2
2
|
|
3
|
-
All URIs are relative to *http://
|
3
|
+
All URIs are relative to *http://localhost:24817*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**list**](PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md#list) | **GET** /pulp_ansible/galaxy/default/api/v3/plugin/ansible/search/collection-versions/ |
|
7
|
+
[**list**](PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md#list) | **GET** /pulp_ansible/galaxy/default/api/v3/plugin/ansible/search/collection-versions/ | List cross repository collection version indexs
|
8
8
|
[**rebuild**](PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md#rebuild) | **POST** /pulp_ansible/galaxy/default/api/v3/plugin/ansible/search/collection-versions/ |
|
9
9
|
|
10
10
|
|
@@ -13,7 +13,7 @@ Method | HTTP request | Description
|
|
13
13
|
|
14
14
|
> PaginatedCollectionVersionSearchListResponseList list(opts)
|
15
15
|
|
16
|
-
|
16
|
+
List cross repository collection version indexs
|
17
17
|
|
18
18
|
A viewset for cross-repo searches.
|
19
19
|
|
@@ -59,6 +59,7 @@ opts = {
|
|
59
59
|
}
|
60
60
|
|
61
61
|
begin
|
62
|
+
#List cross repository collection version indexs
|
62
63
|
result = api_instance.list(opts)
|
63
64
|
p result
|
64
65
|
rescue PulpAnsibleClient::ApiError => e
|
data/docs/PulpAnsibleTagsApi.md
CHANGED
data/docs/RemotesGitApi.md
CHANGED
data/docs/RemotesRoleApi.md
CHANGED
data/docs/RepositoryResponse.md
CHANGED
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
+
**pulp_last_updated** | **DateTime** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly]
|
9
10
|
**versions_href** | **String** | | [optional] [readonly]
|
10
11
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
11
12
|
**latest_version_href** | **String** | | [optional] [readonly]
|
@@ -21,6 +22,7 @@ require 'PulpAnsibleClient'
|
|
21
22
|
|
22
23
|
instance = PulpAnsibleClient::RepositoryResponse.new(pulp_href: null,
|
23
24
|
pulp_created: null,
|
25
|
+
pulp_last_updated: null,
|
24
26
|
versions_href: null,
|
25
27
|
pulp_labels: null,
|
26
28
|
latest_version_href: null,
|
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
+
**pulp_last_updated** | **DateTime** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly]
|
9
10
|
**number** | **Integer** | | [optional] [readonly]
|
10
11
|
**repository** | **String** | | [optional] [readonly]
|
11
12
|
**base_version** | **String** | A repository version whose content was used as the initial set of content for this repository version | [optional]
|
@@ -18,6 +19,7 @@ require 'PulpAnsibleClient'
|
|
18
19
|
|
19
20
|
instance = PulpAnsibleClient::RepositoryVersionResponse.new(pulp_href: null,
|
20
21
|
pulp_created: null,
|
22
|
+
pulp_last_updated: null,
|
21
23
|
number: null,
|
22
24
|
repository: null,
|
23
25
|
base_version: null,
|
data/docs/VersionsApi.md
CHANGED
@@ -13,14 +13,15 @@ OpenAPI Generator version: 4.3.1
|
|
13
13
|
require 'cgi'
|
14
14
|
|
15
15
|
module PulpAnsibleClient
|
16
|
-
class
|
16
|
+
class ApiPluginAnsibleSearchCollectionVersionsApi
|
17
17
|
attr_accessor :api_client
|
18
18
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
+
# List cross repository collection version indexs
|
22
23
|
# A viewset for cross-repo searches.
|
23
|
-
# @param
|
24
|
+
# @param ansible_cross_repository_collection_version_index_href [String]
|
24
25
|
# @param [Hash] opts the optional parameters
|
25
26
|
# @option opts [String] :dependency
|
26
27
|
# @option opts [Boolean] :deprecated
|
@@ -48,13 +49,14 @@ module PulpAnsibleClient
|
|
48
49
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
49
50
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
50
51
|
# @return [PaginatedCollectionVersionSearchListResponseList]
|
51
|
-
def list(
|
52
|
-
data, _status_code, _headers = list_with_http_info(
|
52
|
+
def list(ansible_cross_repository_collection_version_index_href, opts = {})
|
53
|
+
data, _status_code, _headers = list_with_http_info(ansible_cross_repository_collection_version_index_href, opts)
|
53
54
|
data
|
54
55
|
end
|
55
56
|
|
57
|
+
# List cross repository collection version indexs
|
56
58
|
# A viewset for cross-repo searches.
|
57
|
-
# @param
|
59
|
+
# @param ansible_cross_repository_collection_version_index_href [String]
|
58
60
|
# @param [Hash] opts the optional parameters
|
59
61
|
# @option opts [String] :dependency
|
60
62
|
# @option opts [Boolean] :deprecated
|
@@ -82,20 +84,20 @@ module PulpAnsibleClient
|
|
82
84
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
83
85
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
84
86
|
# @return [Array<(PaginatedCollectionVersionSearchListResponseList, Integer, Hash)>] PaginatedCollectionVersionSearchListResponseList data, response status code and response headers
|
85
|
-
def list_with_http_info(
|
87
|
+
def list_with_http_info(ansible_cross_repository_collection_version_index_href, opts = {})
|
86
88
|
if @api_client.config.debugging
|
87
|
-
@api_client.config.logger.debug 'Calling API:
|
89
|
+
@api_client.config.logger.debug 'Calling API: ApiPluginAnsibleSearchCollectionVersionsApi.list ...'
|
88
90
|
end
|
89
|
-
# verify the required parameter '
|
90
|
-
if @api_client.config.client_side_validation &&
|
91
|
-
fail ArgumentError, "Missing the required parameter '
|
91
|
+
# verify the required parameter 'ansible_cross_repository_collection_version_index_href' is set
|
92
|
+
if @api_client.config.client_side_validation && ansible_cross_repository_collection_version_index_href.nil?
|
93
|
+
fail ArgumentError, "Missing the required parameter 'ansible_cross_repository_collection_version_index_href' when calling ApiPluginAnsibleSearchCollectionVersionsApi.list"
|
92
94
|
end
|
93
95
|
allowable_values = ["-name", "-namespace", "-pulp_created", "-version", "name", "namespace", "pulp_created", "version"]
|
94
96
|
if @api_client.config.client_side_validation && opts[:'order_by'] && !opts[:'order_by'].all? { |item| allowable_values.include?(item) }
|
95
97
|
fail ArgumentError, "invalid value for \"order_by\", must include one of #{allowable_values}"
|
96
98
|
end
|
97
99
|
# resource path
|
98
|
-
local_var_path = '
|
100
|
+
local_var_path = '{ansible_cross_repository_collection_version_index_href}api/v3/plugin/ansible/search/collection-versions/'.sub('{' + 'ansible_cross_repository_collection_version_index_href' + '}', CGI.escape(ansible_cross_repository_collection_version_index_href.to_s).gsub('%2F', '/'))
|
99
101
|
|
100
102
|
# query parameters
|
101
103
|
query_params = opts[:query_params] || {}
|
@@ -153,40 +155,40 @@ module PulpAnsibleClient
|
|
153
155
|
|
154
156
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
155
157
|
if @api_client.config.debugging
|
156
|
-
@api_client.config.logger.debug "API called:
|
158
|
+
@api_client.config.logger.debug "API called: ApiPluginAnsibleSearchCollectionVersionsApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
157
159
|
end
|
158
160
|
return data, status_code, headers
|
159
161
|
end
|
160
162
|
|
161
163
|
# A viewset for cross-repo searches.
|
162
|
-
# @param
|
164
|
+
# @param ansible_cross_repository_collection_version_index_href [String]
|
163
165
|
# @param collection_version_search_list [CollectionVersionSearchList]
|
164
166
|
# @param [Hash] opts the optional parameters
|
165
167
|
# @return [CollectionVersionSearchListResponse]
|
166
|
-
def rebuild(
|
167
|
-
data, _status_code, _headers = rebuild_with_http_info(
|
168
|
+
def rebuild(ansible_cross_repository_collection_version_index_href, collection_version_search_list, opts = {})
|
169
|
+
data, _status_code, _headers = rebuild_with_http_info(ansible_cross_repository_collection_version_index_href, collection_version_search_list, opts)
|
168
170
|
data
|
169
171
|
end
|
170
172
|
|
171
173
|
# A viewset for cross-repo searches.
|
172
|
-
# @param
|
174
|
+
# @param ansible_cross_repository_collection_version_index_href [String]
|
173
175
|
# @param collection_version_search_list [CollectionVersionSearchList]
|
174
176
|
# @param [Hash] opts the optional parameters
|
175
177
|
# @return [Array<(CollectionVersionSearchListResponse, Integer, Hash)>] CollectionVersionSearchListResponse data, response status code and response headers
|
176
|
-
def rebuild_with_http_info(
|
178
|
+
def rebuild_with_http_info(ansible_cross_repository_collection_version_index_href, collection_version_search_list, opts = {})
|
177
179
|
if @api_client.config.debugging
|
178
|
-
@api_client.config.logger.debug 'Calling API:
|
180
|
+
@api_client.config.logger.debug 'Calling API: ApiPluginAnsibleSearchCollectionVersionsApi.rebuild ...'
|
179
181
|
end
|
180
|
-
# verify the required parameter '
|
181
|
-
if @api_client.config.client_side_validation &&
|
182
|
-
fail ArgumentError, "Missing the required parameter '
|
182
|
+
# verify the required parameter 'ansible_cross_repository_collection_version_index_href' is set
|
183
|
+
if @api_client.config.client_side_validation && ansible_cross_repository_collection_version_index_href.nil?
|
184
|
+
fail ArgumentError, "Missing the required parameter 'ansible_cross_repository_collection_version_index_href' when calling ApiPluginAnsibleSearchCollectionVersionsApi.rebuild"
|
183
185
|
end
|
184
186
|
# verify the required parameter 'collection_version_search_list' is set
|
185
187
|
if @api_client.config.client_side_validation && collection_version_search_list.nil?
|
186
|
-
fail ArgumentError, "Missing the required parameter 'collection_version_search_list' when calling
|
188
|
+
fail ArgumentError, "Missing the required parameter 'collection_version_search_list' when calling ApiPluginAnsibleSearchCollectionVersionsApi.rebuild"
|
187
189
|
end
|
188
190
|
# resource path
|
189
|
-
local_var_path = '
|
191
|
+
local_var_path = '{ansible_cross_repository_collection_version_index_href}api/v3/plugin/ansible/search/collection-versions/'.sub('{' + 'ansible_cross_repository_collection_version_index_href' + '}', CGI.escape(ansible_cross_repository_collection_version_index_href.to_s).gsub('%2F', '/'))
|
190
192
|
|
191
193
|
# query parameters
|
192
194
|
query_params = opts[:query_params] || {}
|
@@ -221,7 +223,7 @@ module PulpAnsibleClient
|
|
221
223
|
|
222
224
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
223
225
|
if @api_client.config.debugging
|
224
|
-
@api_client.config.logger.debug "API called:
|
226
|
+
@api_client.config.logger.debug "API called: ApiPluginAnsibleSearchCollectionVersionsApi#rebuild\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
225
227
|
end
|
226
228
|
return data, status_code, headers
|
227
229
|
end
|
@@ -22,9 +22,9 @@ module PulpAnsibleClient
|
|
22
22
|
# Create a collection version
|
23
23
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
|
+
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
25
26
|
# @option opts [String] :artifact Artifact file representing the physical content
|
26
27
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
27
|
-
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
28
28
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
29
29
|
# @option opts [String] :expected_name The name of the collection.
|
30
30
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
@@ -38,9 +38,9 @@ module PulpAnsibleClient
|
|
38
38
|
# Create a collection version
|
39
39
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
40
40
|
# @param [Hash] opts the optional parameters
|
41
|
+
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
41
42
|
# @option opts [String] :artifact Artifact file representing the physical content
|
42
43
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
43
|
-
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
44
44
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
45
45
|
# @option opts [String] :expected_name The name of the collection.
|
46
46
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
@@ -89,9 +89,9 @@ module PulpAnsibleClient
|
|
89
89
|
|
90
90
|
# form parameters
|
91
91
|
form_params = opts[:form_params] || {}
|
92
|
+
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
92
93
|
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
93
94
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
94
|
-
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
95
95
|
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
96
96
|
form_params['expected_name'] = opts[:'expected_name'] if !opts[:'expected_name'].nil?
|
97
97
|
form_params['expected_namespace'] = opts[:'expected_namespace'] if !opts[:'expected_namespace'].nil?
|
@@ -19,6 +19,7 @@ module PulpAnsibleClient
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
+
# List cross repository collection version indexs
|
22
23
|
# A viewset for cross-repo searches.
|
23
24
|
# @param [Hash] opts the optional parameters
|
24
25
|
# @option opts [String] :dependency
|
@@ -52,6 +53,7 @@ module PulpAnsibleClient
|
|
52
53
|
data
|
53
54
|
end
|
54
55
|
|
56
|
+
# List cross repository collection version indexs
|
55
57
|
# A viewset for cross-repo searches.
|
56
58
|
# @param [Hash] opts the optional parameters
|
57
59
|
# @option opts [String] :dependency
|
@@ -128,7 +128,7 @@ module PulpAnsibleClient
|
|
128
128
|
|
129
129
|
def initialize
|
130
130
|
@scheme = 'http'
|
131
|
-
@host = '
|
131
|
+
@host = 'localhost'
|
132
132
|
@base_path = ''
|
133
133
|
@api_key = {}
|
134
134
|
@api_key_prefix = {}
|
@@ -210,7 +210,7 @@ module PulpAnsibleClient
|
|
210
210
|
def server_settings
|
211
211
|
[
|
212
212
|
{
|
213
|
-
url: "http://
|
213
|
+
url: "http://localhost:24817/",
|
214
214
|
description: "No description provided",
|
215
215
|
}
|
216
216
|
]
|
@@ -20,6 +20,9 @@ module PulpAnsibleClient
|
|
20
20
|
# Timestamp of creation.
|
21
21
|
attr_accessor :pulp_created
|
22
22
|
|
23
|
+
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
24
|
+
attr_accessor :pulp_last_updated
|
25
|
+
|
23
26
|
attr_accessor :versions_href
|
24
27
|
|
25
28
|
attr_accessor :pulp_labels
|
@@ -53,6 +56,7 @@ module PulpAnsibleClient
|
|
53
56
|
{
|
54
57
|
:'pulp_href' => :'pulp_href',
|
55
58
|
:'pulp_created' => :'pulp_created',
|
59
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
56
60
|
:'versions_href' => :'versions_href',
|
57
61
|
:'pulp_labels' => :'pulp_labels',
|
58
62
|
:'latest_version_href' => :'latest_version_href',
|
@@ -72,6 +76,7 @@ module PulpAnsibleClient
|
|
72
76
|
{
|
73
77
|
:'pulp_href' => :'String',
|
74
78
|
:'pulp_created' => :'DateTime',
|
79
|
+
:'pulp_last_updated' => :'DateTime',
|
75
80
|
:'versions_href' => :'String',
|
76
81
|
:'pulp_labels' => :'Hash<String, String>',
|
77
82
|
:'latest_version_href' => :'String',
|
@@ -120,6 +125,10 @@ module PulpAnsibleClient
|
|
120
125
|
self.pulp_created = attributes[:'pulp_created']
|
121
126
|
end
|
122
127
|
|
128
|
+
if attributes.key?(:'pulp_last_updated')
|
129
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
130
|
+
end
|
131
|
+
|
123
132
|
if attributes.key?(:'versions_href')
|
124
133
|
self.versions_href = attributes[:'versions_href']
|
125
134
|
end
|
@@ -207,6 +216,7 @@ module PulpAnsibleClient
|
|
207
216
|
self.class == o.class &&
|
208
217
|
pulp_href == o.pulp_href &&
|
209
218
|
pulp_created == o.pulp_created &&
|
219
|
+
pulp_last_updated == o.pulp_last_updated &&
|
210
220
|
versions_href == o.versions_href &&
|
211
221
|
pulp_labels == o.pulp_labels &&
|
212
222
|
latest_version_href == o.latest_version_href &&
|
@@ -229,7 +239,7 @@ module PulpAnsibleClient
|
|
229
239
|
# Calculates hash code according to all attributes.
|
230
240
|
# @return [Integer] Hash code
|
231
241
|
def hash
|
232
|
-
[pulp_href, pulp_created, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote, last_synced_metadata_time, gpgkey, last_sync_task, private].hash
|
242
|
+
[pulp_href, pulp_created, pulp_last_updated, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote, last_synced_metadata_time, gpgkey, last_sync_task, private].hash
|
233
243
|
end
|
234
244
|
|
235
245
|
# Builds the object from hash
|
@@ -364,20 +364,20 @@ module PulpAnsibleClient
|
|
364
364
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
365
365
|
end
|
366
366
|
|
367
|
-
if !@total_timeout.nil? && @total_timeout < 0
|
368
|
-
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.
|
367
|
+
if !@total_timeout.nil? && @total_timeout < 0
|
368
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
|
369
369
|
end
|
370
370
|
|
371
|
-
if !@connect_timeout.nil? && @connect_timeout < 0
|
372
|
-
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.
|
371
|
+
if !@connect_timeout.nil? && @connect_timeout < 0
|
372
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
|
373
373
|
end
|
374
374
|
|
375
|
-
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
376
|
-
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.
|
375
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
376
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
|
377
377
|
end
|
378
378
|
|
379
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
380
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.
|
379
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
380
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
|
381
381
|
end
|
382
382
|
|
383
383
|
if !@requirements_file.nil? && @requirements_file.to_s.length < 1
|
@@ -419,10 +419,10 @@ module PulpAnsibleClient
|
|
419
419
|
return false if !@username.nil? && @username.to_s.length < 1
|
420
420
|
return false if !@password.nil? && @password.to_s.length < 1
|
421
421
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
422
|
-
return false if !@total_timeout.nil? && @total_timeout < 0
|
423
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
424
|
-
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
425
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
422
|
+
return false if !@total_timeout.nil? && @total_timeout < 0
|
423
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
424
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
425
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
426
426
|
return false if !@requirements_file.nil? && @requirements_file.to_s.length < 1
|
427
427
|
return false if !@auth_url.nil? && @auth_url.to_s.length > 255
|
428
428
|
return false if !@auth_url.nil? && @auth_url.to_s.length < 1
|
@@ -552,8 +552,8 @@ module PulpAnsibleClient
|
|
552
552
|
# Custom attribute writer method with validation
|
553
553
|
# @param [Object] total_timeout Value to be assigned
|
554
554
|
def total_timeout=(total_timeout)
|
555
|
-
if !total_timeout.nil? && total_timeout < 0
|
556
|
-
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.
|
555
|
+
if !total_timeout.nil? && total_timeout < 0
|
556
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
|
557
557
|
end
|
558
558
|
|
559
559
|
@total_timeout = total_timeout
|
@@ -562,8 +562,8 @@ module PulpAnsibleClient
|
|
562
562
|
# Custom attribute writer method with validation
|
563
563
|
# @param [Object] connect_timeout Value to be assigned
|
564
564
|
def connect_timeout=(connect_timeout)
|
565
|
-
if !connect_timeout.nil? && connect_timeout < 0
|
566
|
-
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.
|
565
|
+
if !connect_timeout.nil? && connect_timeout < 0
|
566
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
|
567
567
|
end
|
568
568
|
|
569
569
|
@connect_timeout = connect_timeout
|
@@ -572,8 +572,8 @@ module PulpAnsibleClient
|
|
572
572
|
# Custom attribute writer method with validation
|
573
573
|
# @param [Object] sock_connect_timeout Value to be assigned
|
574
574
|
def sock_connect_timeout=(sock_connect_timeout)
|
575
|
-
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
576
|
-
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.
|
575
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
576
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
|
577
577
|
end
|
578
578
|
|
579
579
|
@sock_connect_timeout = sock_connect_timeout
|
@@ -582,8 +582,8 @@ module PulpAnsibleClient
|
|
582
582
|
# Custom attribute writer method with validation
|
583
583
|
# @param [Object] sock_read_timeout Value to be assigned
|
584
584
|
def sock_read_timeout=(sock_read_timeout)
|
585
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
586
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.
|
585
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
586
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
|
587
587
|
end
|
588
588
|
|
589
589
|
@sock_read_timeout = sock_read_timeout
|