pulp_ansible_client 0.2.0b11 → 0.2.0b12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -4
- data/docs/AnsibleCollectionVersion.md +3 -3
- data/docs/AnsibleCollectionsApi.md +2 -0
- data/docs/AnsibleRole.md +3 -3
- data/docs/ContentRolesApi.md +2 -0
- data/docs/DistributionsAnsibleApi.md +2 -0
- data/docs/PulpAnsibleTagsApi.md +2 -0
- data/docs/RemotesAnsibleApi.md +2 -0
- data/docs/RemotesCollectionApi.md +2 -0
- data/docs/RepositoriesAnsibleApi.md +2 -0
- data/docs/RepositoriesAnsibleVersionsApi.md +55 -0
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/content_roles_api.rb +3 -0
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +3 -0
- data/lib/pulp_ansible_client/api/remotes_ansible_api.rb +3 -0
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +3 -0
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +3 -0
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +68 -0
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/ansible_collections_api_spec.rb +1 -0
- data/spec/api/content_roles_api_spec.rb +1 -0
- data/spec/api/distributions_ansible_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_tags_api_spec.rb +1 -0
- data/spec/api/remotes_ansible_api_spec.rb +1 -0
- data/spec/api/remotes_collection_api_spec.rb +1 -0
- data/spec/api/repositories_ansible_api_spec.rb +1 -0
- data/spec/api/repositories_ansible_versions_api_spec.rb +12 -0
- data/spec/models/ansible_collection_version_spec.rb +3 -3
- data/spec/models/ansible_role_spec.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 46a2bcb54dfe26a383b20370990e912376c15834e9d33902ab344a74eabd7773
|
4
|
+
data.tar.gz: da38b18b47a97d168991a4bab7dc900855308e8c1643a90bb0e9316b08401349
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b1b06f8ef2ff1df024811d6338f065ecac4ad852dcf5cf492ebeb9869bfb8fd1656594b68347d850b092d603a37acce16e9b2401ca3bafd0f87398c7e88ac75
|
7
|
+
data.tar.gz: 9d49e4ae7c7a68a928bd6e9de42cf81e256009e49c6c7a650468208cd02aa50847333029a360cddd1fe1851404a7690da99fea88e000288f2159c0175ffaaf09
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: v3
|
10
|
-
- Package version: 0.2.
|
10
|
+
- Package version: 0.2.0b12
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
|
13
13
|
## Installation
|
@@ -23,16 +23,16 @@ gem build pulp_ansible_client.gemspec
|
|
23
23
|
Then either install the gem locally:
|
24
24
|
|
25
25
|
```shell
|
26
|
-
gem install ./pulp_ansible_client-0.2.
|
26
|
+
gem install ./pulp_ansible_client-0.2.0b12.gem
|
27
27
|
```
|
28
28
|
|
29
|
-
(for development, run `gem install --dev ./pulp_ansible_client-0.2.
|
29
|
+
(for development, run `gem install --dev ./pulp_ansible_client-0.2.0b12.gem` to install the development dependencies)
|
30
30
|
|
31
31
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
32
32
|
|
33
33
|
Finally add this to the Gemfile:
|
34
34
|
|
35
|
-
gem 'pulp_ansible_client', '~> 0.2.
|
35
|
+
gem 'pulp_ansible_client', '~> 0.2.0b12'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -65,6 +65,7 @@ end
|
|
65
65
|
|
66
66
|
api_instance = PulpAnsibleClient::AnsibleCollectionsApi.new
|
67
67
|
opts = {
|
68
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
68
69
|
namespace: 'namespace_example', # String |
|
69
70
|
name: 'name_example', # String |
|
70
71
|
limit: 56, # Integer | Number of results to return per page.
|
@@ -137,6 +138,7 @@ Class | Method | HTTP request | Description
|
|
137
138
|
*PulpAnsibleClient::RepositoriesAnsibleVersionsApi* | [**delete**](docs/RepositoriesAnsibleVersionsApi.md#delete) | **DELETE** {ansible_repository_version_href} | Delete a repository version
|
138
139
|
*PulpAnsibleClient::RepositoriesAnsibleVersionsApi* | [**list**](docs/RepositoriesAnsibleVersionsApi.md#list) | **GET** {ansible_repository_href}versions/ | List repository versions
|
139
140
|
*PulpAnsibleClient::RepositoriesAnsibleVersionsApi* | [**read**](docs/RepositoriesAnsibleVersionsApi.md#read) | **GET** {ansible_repository_version_href} | Inspect a repository version
|
141
|
+
*PulpAnsibleClient::RepositoriesAnsibleVersionsApi* | [**repair**](docs/RepositoriesAnsibleVersionsApi.md#repair) | **POST** {ansible_repository_version_href}repair/ |
|
140
142
|
|
141
143
|
|
142
144
|
## Documentation for Models
|
@@ -4,9 +4,9 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**artifact** | **String** | Artifact file representing the physical content |
|
7
8
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
9
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
-
**artifact** | **String** | Artifact file representing the physical content |
|
10
10
|
**md5** | **String** | The MD5 checksum if available. | [optional] [readonly]
|
11
11
|
**sha1** | **String** | The SHA-1 checksum if available. | [optional] [readonly]
|
12
12
|
**sha224** | **String** | The SHA-224 checksum if available. | [optional] [readonly]
|
@@ -36,9 +36,9 @@ Name | Type | Description | Notes
|
|
36
36
|
```ruby
|
37
37
|
require 'PulpAnsibleClient'
|
38
38
|
|
39
|
-
instance = PulpAnsibleClient::AnsibleCollectionVersion.new(
|
39
|
+
instance = PulpAnsibleClient::AnsibleCollectionVersion.new(artifact: null,
|
40
|
+
pulp_href: null,
|
40
41
|
pulp_created: null,
|
41
|
-
artifact: null,
|
42
42
|
md5: null,
|
43
43
|
sha1: null,
|
44
44
|
sha224: null,
|
@@ -31,6 +31,7 @@ end
|
|
31
31
|
|
32
32
|
api_instance = PulpAnsibleClient::AnsibleCollectionsApi.new
|
33
33
|
opts = {
|
34
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
34
35
|
namespace: 'namespace_example', # String |
|
35
36
|
name: 'name_example', # String |
|
36
37
|
limit: 56, # Integer | Number of results to return per page.
|
@@ -53,6 +54,7 @@ end
|
|
53
54
|
|
54
55
|
Name | Type | Description | Notes
|
55
56
|
------------- | ------------- | ------------- | -------------
|
57
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
56
58
|
**namespace** | **String**| | [optional]
|
57
59
|
**name** | **String**| | [optional]
|
58
60
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
data/docs/AnsibleRole.md
CHANGED
@@ -4,9 +4,9 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**artifact** | **String** | Artifact file representing the physical content |
|
7
8
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
9
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
-
**artifact** | **String** | Artifact file representing the physical content |
|
10
10
|
**version** | **String** | |
|
11
11
|
**name** | **String** | |
|
12
12
|
**namespace** | **String** | |
|
@@ -16,9 +16,9 @@ Name | Type | Description | Notes
|
|
16
16
|
```ruby
|
17
17
|
require 'PulpAnsibleClient'
|
18
18
|
|
19
|
-
instance = PulpAnsibleClient::AnsibleRole.new(
|
19
|
+
instance = PulpAnsibleClient::AnsibleRole.new(artifact: null,
|
20
|
+
pulp_href: null,
|
20
21
|
pulp_created: null,
|
21
|
-
artifact: null,
|
22
22
|
version: null,
|
23
23
|
name: null,
|
24
24
|
namespace: null)
|
data/docs/ContentRolesApi.md
CHANGED
@@ -85,6 +85,7 @@ end
|
|
85
85
|
|
86
86
|
api_instance = PulpAnsibleClient::ContentRolesApi.new
|
87
87
|
opts = {
|
88
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
88
89
|
name: 'name_example', # String | Filter results where name matches value
|
89
90
|
namespace: 'namespace_example', # String | Filter results where namespace matches value
|
90
91
|
version: 'version_example', # String | Filter results where version matches value
|
@@ -111,6 +112,7 @@ end
|
|
111
112
|
|
112
113
|
Name | Type | Description | Notes
|
113
114
|
------------- | ------------- | ------------- | -------------
|
115
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
114
116
|
**name** | **String**| Filter results where name matches value | [optional]
|
115
117
|
**namespace** | **String**| Filter results where namespace matches value | [optional]
|
116
118
|
**version** | **String**| Filter results where version matches value | [optional]
|
@@ -141,6 +141,7 @@ end
|
|
141
141
|
|
142
142
|
api_instance = PulpAnsibleClient::DistributionsAnsibleApi.new
|
143
143
|
opts = {
|
144
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
144
145
|
name: 'name_example', # String |
|
145
146
|
name__in: 'name__in_example', # String | Filter results where name is in a comma-separated list of values
|
146
147
|
base_path: 'base_path_example', # String |
|
@@ -167,6 +168,7 @@ end
|
|
167
168
|
|
168
169
|
Name | Type | Description | Notes
|
169
170
|
------------- | ------------- | ------------- | -------------
|
171
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
170
172
|
**name** | **String**| | [optional]
|
171
173
|
**name__in** | **String**| Filter results where name is in a comma-separated list of values | [optional]
|
172
174
|
**base_path** | **String**| | [optional]
|
data/docs/PulpAnsibleTagsApi.md
CHANGED
@@ -30,6 +30,7 @@ end
|
|
30
30
|
|
31
31
|
api_instance = PulpAnsibleClient::PulpAnsibleTagsApi.new
|
32
32
|
opts = {
|
33
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
33
34
|
limit: 56, # Integer | Number of results to return per page.
|
34
35
|
offset: 56, # Integer | The initial index from which to return the results.
|
35
36
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
@@ -50,6 +51,7 @@ end
|
|
50
51
|
|
51
52
|
Name | Type | Description | Notes
|
52
53
|
------------- | ------------- | ------------- | -------------
|
54
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
53
55
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
54
56
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
55
57
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
data/docs/RemotesAnsibleApi.md
CHANGED
@@ -141,6 +141,7 @@ end
|
|
141
141
|
|
142
142
|
api_instance = PulpAnsibleClient::RemotesAnsibleApi.new
|
143
143
|
opts = {
|
144
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
144
145
|
name: 'name_example', # String |
|
145
146
|
name__in: 'name__in_example', # String | Filter results where name is in a comma-separated list of values
|
146
147
|
pulp_last_updated__lt: 'pulp_last_updated__lt_example', # String | Filter results where pulp_last_updated is less than value
|
@@ -169,6 +170,7 @@ end
|
|
169
170
|
|
170
171
|
Name | Type | Description | Notes
|
171
172
|
------------- | ------------- | ------------- | -------------
|
173
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
172
174
|
**name** | **String**| | [optional]
|
173
175
|
**name__in** | **String**| Filter results where name is in a comma-separated list of values | [optional]
|
174
176
|
**pulp_last_updated__lt** | **String**| Filter results where pulp_last_updated is less than value | [optional]
|
@@ -141,6 +141,7 @@ end
|
|
141
141
|
|
142
142
|
api_instance = PulpAnsibleClient::RemotesCollectionApi.new
|
143
143
|
opts = {
|
144
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
144
145
|
name: 'name_example', # String |
|
145
146
|
name__in: 'name__in_example', # String | Filter results where name is in a comma-separated list of values
|
146
147
|
pulp_last_updated__lt: 'pulp_last_updated__lt_example', # String | Filter results where pulp_last_updated is less than value
|
@@ -169,6 +170,7 @@ end
|
|
169
170
|
|
170
171
|
Name | Type | Description | Notes
|
171
172
|
------------- | ------------- | ------------- | -------------
|
173
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
172
174
|
**name** | **String**| | [optional]
|
173
175
|
**name__in** | **String**| Filter results where name is in a comma-separated list of values | [optional]
|
174
176
|
**pulp_last_updated__lt** | **String**| Filter results where pulp_last_updated is less than value | [optional]
|
@@ -143,6 +143,7 @@ end
|
|
143
143
|
|
144
144
|
api_instance = PulpAnsibleClient::RepositoriesAnsibleApi.new
|
145
145
|
opts = {
|
146
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
146
147
|
name: 'name_example', # String |
|
147
148
|
name__in: 'name__in_example', # String | Filter results where name is in a comma-separated list of values
|
148
149
|
limit: 56, # Integer | Number of results to return per page.
|
@@ -165,6 +166,7 @@ end
|
|
165
166
|
|
166
167
|
Name | Type | Description | Notes
|
167
168
|
------------- | ------------- | ------------- | -------------
|
169
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
168
170
|
**name** | **String**| | [optional]
|
169
171
|
**name__in** | **String**| Filter results where name is in a comma-separated list of values | [optional]
|
170
172
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
@@ -7,6 +7,7 @@ Method | HTTP request | Description
|
|
7
7
|
[**delete**](RepositoriesAnsibleVersionsApi.md#delete) | **DELETE** {ansible_repository_version_href} | Delete a repository version
|
8
8
|
[**list**](RepositoriesAnsibleVersionsApi.md#list) | **GET** {ansible_repository_href}versions/ | List repository versions
|
9
9
|
[**read**](RepositoriesAnsibleVersionsApi.md#read) | **GET** {ansible_repository_version_href} | Inspect a repository version
|
10
|
+
[**repair**](RepositoriesAnsibleVersionsApi.md#repair) | **POST** {ansible_repository_version_href}repair/ |
|
10
11
|
|
11
12
|
|
12
13
|
|
@@ -212,3 +213,57 @@ Name | Type | Description | Notes
|
|
212
213
|
- **Content-Type**: Not defined
|
213
214
|
- **Accept**: application/json
|
214
215
|
|
216
|
+
|
217
|
+
## repair
|
218
|
+
|
219
|
+
> AsyncOperationResponse repair(ansible_repository_version_href, data)
|
220
|
+
|
221
|
+
|
222
|
+
|
223
|
+
Trigger an asynchronous task to repair a repositroy version.
|
224
|
+
|
225
|
+
### Example
|
226
|
+
|
227
|
+
```ruby
|
228
|
+
# load the gem
|
229
|
+
require 'pulp_ansible_client'
|
230
|
+
# setup authorization
|
231
|
+
PulpAnsibleClient.configure do |config|
|
232
|
+
# Configure HTTP basic authorization: Basic
|
233
|
+
config.username = 'YOUR USERNAME'
|
234
|
+
config.password = 'YOUR PASSWORD'
|
235
|
+
end
|
236
|
+
|
237
|
+
api_instance = PulpAnsibleClient::RepositoriesAnsibleVersionsApi.new
|
238
|
+
ansible_repository_version_href = 'ansible_repository_version_href_example' # String | URI of Repository Version. e.g.: /pulp/api/v3/repositories/ansible/ansible/1/versions/1/
|
239
|
+
data = PulpAnsibleClient::RepositoryVersion.new # RepositoryVersion |
|
240
|
+
|
241
|
+
begin
|
242
|
+
result = api_instance.repair(ansible_repository_version_href, data)
|
243
|
+
p result
|
244
|
+
rescue PulpAnsibleClient::ApiError => e
|
245
|
+
puts "Exception when calling RepositoriesAnsibleVersionsApi->repair: #{e}"
|
246
|
+
end
|
247
|
+
```
|
248
|
+
|
249
|
+
### Parameters
|
250
|
+
|
251
|
+
|
252
|
+
Name | Type | Description | Notes
|
253
|
+
------------- | ------------- | ------------- | -------------
|
254
|
+
**ansible_repository_version_href** | **String**| URI of Repository Version. e.g.: /pulp/api/v3/repositories/ansible/ansible/1/versions/1/ |
|
255
|
+
**data** | [**RepositoryVersion**](RepositoryVersion.md)| |
|
256
|
+
|
257
|
+
### Return type
|
258
|
+
|
259
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
260
|
+
|
261
|
+
### Authorization
|
262
|
+
|
263
|
+
[Basic](../README.md#Basic)
|
264
|
+
|
265
|
+
### HTTP request headers
|
266
|
+
|
267
|
+
- **Content-Type**: application/json
|
268
|
+
- **Accept**: application/json
|
269
|
+
|
@@ -22,6 +22,7 @@ module PulpAnsibleClient
|
|
22
22
|
# List collections
|
23
23
|
# Viewset for Ansible Collections.
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
25
26
|
# @option opts [String] :namespace
|
26
27
|
# @option opts [String] :name
|
27
28
|
# @option opts [Integer] :limit Number of results to return per page.
|
@@ -37,6 +38,7 @@ module PulpAnsibleClient
|
|
37
38
|
# List collections
|
38
39
|
# Viewset for Ansible Collections.
|
39
40
|
# @param [Hash] opts the optional parameters
|
41
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
40
42
|
# @option opts [String] :namespace
|
41
43
|
# @option opts [String] :name
|
42
44
|
# @option opts [Integer] :limit Number of results to return per page.
|
@@ -53,6 +55,7 @@ module PulpAnsibleClient
|
|
53
55
|
|
54
56
|
# query parameters
|
55
57
|
query_params = opts[:query_params] || {}
|
58
|
+
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
56
59
|
query_params[:'namespace'] = opts[:'namespace'] if !opts[:'namespace'].nil?
|
57
60
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
58
61
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
@@ -86,6 +86,7 @@ module PulpAnsibleClient
|
|
86
86
|
# List roles
|
87
87
|
# ViewSet for Role.
|
88
88
|
# @param [Hash] opts the optional parameters
|
89
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
89
90
|
# @option opts [String] :name Filter results where name matches value
|
90
91
|
# @option opts [String] :namespace Filter results where namespace matches value
|
91
92
|
# @option opts [String] :version Filter results where version matches value
|
@@ -105,6 +106,7 @@ module PulpAnsibleClient
|
|
105
106
|
# List roles
|
106
107
|
# ViewSet for Role.
|
107
108
|
# @param [Hash] opts the optional parameters
|
109
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
108
110
|
# @option opts [String] :name Filter results where name matches value
|
109
111
|
# @option opts [String] :namespace Filter results where namespace matches value
|
110
112
|
# @option opts [String] :version Filter results where version matches value
|
@@ -125,6 +127,7 @@ module PulpAnsibleClient
|
|
125
127
|
|
126
128
|
# query parameters
|
127
129
|
query_params = opts[:query_params] || {}
|
130
|
+
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
128
131
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
129
132
|
query_params[:'namespace'] = opts[:'namespace'] if !opts[:'namespace'].nil?
|
130
133
|
query_params[:'version'] = opts[:'version'] if !opts[:'version'].nil?
|
@@ -148,6 +148,7 @@ module PulpAnsibleClient
|
|
148
148
|
# List ansible distributions
|
149
149
|
# ViewSet for Ansible Distributions.
|
150
150
|
# @param [Hash] opts the optional parameters
|
151
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
151
152
|
# @option opts [String] :name
|
152
153
|
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
153
154
|
# @option opts [String] :base_path
|
@@ -167,6 +168,7 @@ module PulpAnsibleClient
|
|
167
168
|
# List ansible distributions
|
168
169
|
# ViewSet for Ansible Distributions.
|
169
170
|
# @param [Hash] opts the optional parameters
|
171
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
170
172
|
# @option opts [String] :name
|
171
173
|
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
172
174
|
# @option opts [String] :base_path
|
@@ -187,6 +189,7 @@ module PulpAnsibleClient
|
|
187
189
|
|
188
190
|
# query parameters
|
189
191
|
query_params = opts[:query_params] || {}
|
192
|
+
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
190
193
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
191
194
|
query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
|
192
195
|
query_params[:'base_path'] = opts[:'base_path'] if !opts[:'base_path'].nil?
|
@@ -22,6 +22,7 @@ module PulpAnsibleClient
|
|
22
22
|
# List tags
|
23
23
|
# ViewSet for Tag models.
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
25
26
|
# @option opts [Integer] :limit Number of results to return per page.
|
26
27
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
27
28
|
# @option opts [String] :fields A list of fields to include in the response.
|
@@ -35,6 +36,7 @@ module PulpAnsibleClient
|
|
35
36
|
# List tags
|
36
37
|
# ViewSet for Tag models.
|
37
38
|
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
38
40
|
# @option opts [Integer] :limit Number of results to return per page.
|
39
41
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
40
42
|
# @option opts [String] :fields A list of fields to include in the response.
|
@@ -49,6 +51,7 @@ module PulpAnsibleClient
|
|
49
51
|
|
50
52
|
# query parameters
|
51
53
|
query_params = opts[:query_params] || {}
|
54
|
+
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
52
55
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
53
56
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
54
57
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
@@ -148,6 +148,7 @@ module PulpAnsibleClient
|
|
148
148
|
# List ansible remotes
|
149
149
|
# ViewSet for Ansible Remotes.
|
150
150
|
# @param [Hash] opts the optional parameters
|
151
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
151
152
|
# @option opts [String] :name
|
152
153
|
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
153
154
|
# @option opts [String] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
@@ -169,6 +170,7 @@ module PulpAnsibleClient
|
|
169
170
|
# List ansible remotes
|
170
171
|
# ViewSet for Ansible Remotes.
|
171
172
|
# @param [Hash] opts the optional parameters
|
173
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
172
174
|
# @option opts [String] :name
|
173
175
|
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
174
176
|
# @option opts [String] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
@@ -191,6 +193,7 @@ module PulpAnsibleClient
|
|
191
193
|
|
192
194
|
# query parameters
|
193
195
|
query_params = opts[:query_params] || {}
|
196
|
+
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
194
197
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
195
198
|
query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
|
196
199
|
query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
|
@@ -148,6 +148,7 @@ module PulpAnsibleClient
|
|
148
148
|
# List collection remotes
|
149
149
|
# ViewSet for Collection Remotes.
|
150
150
|
# @param [Hash] opts the optional parameters
|
151
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
151
152
|
# @option opts [String] :name
|
152
153
|
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
153
154
|
# @option opts [String] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
@@ -169,6 +170,7 @@ module PulpAnsibleClient
|
|
169
170
|
# List collection remotes
|
170
171
|
# ViewSet for Collection Remotes.
|
171
172
|
# @param [Hash] opts the optional parameters
|
173
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
172
174
|
# @option opts [String] :name
|
173
175
|
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
174
176
|
# @option opts [String] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
@@ -191,6 +193,7 @@ module PulpAnsibleClient
|
|
191
193
|
|
192
194
|
# query parameters
|
193
195
|
query_params = opts[:query_params] || {}
|
196
|
+
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
194
197
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
195
198
|
query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
|
196
199
|
query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
|
@@ -148,6 +148,7 @@ module PulpAnsibleClient
|
|
148
148
|
# List ansible repositorys
|
149
149
|
# ViewSet for Ansible Remotes.
|
150
150
|
# @param [Hash] opts the optional parameters
|
151
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
151
152
|
# @option opts [String] :name
|
152
153
|
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
153
154
|
# @option opts [Integer] :limit Number of results to return per page.
|
@@ -163,6 +164,7 @@ module PulpAnsibleClient
|
|
163
164
|
# List ansible repositorys
|
164
165
|
# ViewSet for Ansible Remotes.
|
165
166
|
# @param [Hash] opts the optional parameters
|
167
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
166
168
|
# @option opts [String] :name
|
167
169
|
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
168
170
|
# @option opts [Integer] :limit Number of results to return per page.
|
@@ -179,6 +181,7 @@ module PulpAnsibleClient
|
|
179
181
|
|
180
182
|
# query parameters
|
181
183
|
query_params = opts[:query_params] || {}
|
184
|
+
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
182
185
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
183
186
|
query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
|
184
187
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
@@ -264,5 +264,73 @@ module PulpAnsibleClient
|
|
264
264
|
end
|
265
265
|
return data, status_code, headers
|
266
266
|
end
|
267
|
+
|
268
|
+
# Trigger an asynchronous task to repair a repositroy version.
|
269
|
+
# @param ansible_repository_version_href [String] URI of Repository Version. e.g.: /pulp/api/v3/repositories/ansible/ansible/1/versions/1/
|
270
|
+
# @param data [RepositoryVersion]
|
271
|
+
# @param [Hash] opts the optional parameters
|
272
|
+
# @return [AsyncOperationResponse]
|
273
|
+
def repair(ansible_repository_version_href, data, opts = {})
|
274
|
+
data, _status_code, _headers = repair_with_http_info(ansible_repository_version_href, data, opts)
|
275
|
+
data
|
276
|
+
end
|
277
|
+
|
278
|
+
# Trigger an asynchronous task to repair a repositroy version.
|
279
|
+
# @param ansible_repository_version_href [String] URI of Repository Version. e.g.: /pulp/api/v3/repositories/ansible/ansible/1/versions/1/
|
280
|
+
# @param data [RepositoryVersion]
|
281
|
+
# @param [Hash] opts the optional parameters
|
282
|
+
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
283
|
+
def repair_with_http_info(ansible_repository_version_href, data, opts = {})
|
284
|
+
if @api_client.config.debugging
|
285
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesAnsibleVersionsApi.repair ...'
|
286
|
+
end
|
287
|
+
# verify the required parameter 'ansible_repository_version_href' is set
|
288
|
+
if @api_client.config.client_side_validation && ansible_repository_version_href.nil?
|
289
|
+
fail ArgumentError, "Missing the required parameter 'ansible_repository_version_href' when calling RepositoriesAnsibleVersionsApi.repair"
|
290
|
+
end
|
291
|
+
# verify the required parameter 'data' is set
|
292
|
+
if @api_client.config.client_side_validation && data.nil?
|
293
|
+
fail ArgumentError, "Missing the required parameter 'data' when calling RepositoriesAnsibleVersionsApi.repair"
|
294
|
+
end
|
295
|
+
# resource path
|
296
|
+
local_var_path = '{ansible_repository_version_href}repair/'.sub('{' + 'ansible_repository_version_href' + '}', CGI.escape(ansible_repository_version_href.to_s).gsub('%2F', '/'))
|
297
|
+
|
298
|
+
# query parameters
|
299
|
+
query_params = opts[:query_params] || {}
|
300
|
+
|
301
|
+
# header parameters
|
302
|
+
header_params = opts[:header_params] || {}
|
303
|
+
# HTTP header 'Accept' (if needed)
|
304
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
305
|
+
# HTTP header 'Content-Type'
|
306
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
307
|
+
|
308
|
+
# form parameters
|
309
|
+
form_params = opts[:form_params] || {}
|
310
|
+
|
311
|
+
# http body (model)
|
312
|
+
post_body = opts[:body] || @api_client.object_to_http_body(data)
|
313
|
+
|
314
|
+
# return_type
|
315
|
+
return_type = opts[:return_type] || 'AsyncOperationResponse'
|
316
|
+
|
317
|
+
# auth_names
|
318
|
+
auth_names = opts[:auth_names] || ['Basic']
|
319
|
+
|
320
|
+
new_options = opts.merge(
|
321
|
+
:header_params => header_params,
|
322
|
+
:query_params => query_params,
|
323
|
+
:form_params => form_params,
|
324
|
+
:body => post_body,
|
325
|
+
:auth_names => auth_names,
|
326
|
+
:return_type => return_type
|
327
|
+
)
|
328
|
+
|
329
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
330
|
+
if @api_client.config.debugging
|
331
|
+
@api_client.config.logger.debug "API called: RepositoriesAnsibleVersionsApi#repair\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
332
|
+
end
|
333
|
+
return data, status_code, headers
|
334
|
+
end
|
267
335
|
end
|
268
336
|
end
|
@@ -14,14 +14,14 @@ require 'date'
|
|
14
14
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
class AnsibleCollectionVersion
|
17
|
+
# Artifact file representing the physical content
|
18
|
+
attr_accessor :artifact
|
19
|
+
|
17
20
|
attr_accessor :pulp_href
|
18
21
|
|
19
22
|
# Timestamp of creation.
|
20
23
|
attr_accessor :pulp_created
|
21
24
|
|
22
|
-
# Artifact file representing the physical content
|
23
|
-
attr_accessor :artifact
|
24
|
-
|
25
25
|
# The MD5 checksum if available.
|
26
26
|
attr_accessor :md5
|
27
27
|
|
@@ -93,9 +93,9 @@ module PulpAnsibleClient
|
|
93
93
|
# Attribute mapping from ruby-style variable name to JSON key.
|
94
94
|
def self.attribute_map
|
95
95
|
{
|
96
|
+
:'artifact' => :'artifact',
|
96
97
|
:'pulp_href' => :'pulp_href',
|
97
98
|
:'pulp_created' => :'pulp_created',
|
98
|
-
:'artifact' => :'artifact',
|
99
99
|
:'md5' => :'md5',
|
100
100
|
:'sha1' => :'sha1',
|
101
101
|
:'sha224' => :'sha224',
|
@@ -125,9 +125,9 @@ module PulpAnsibleClient
|
|
125
125
|
# Attribute type mapping.
|
126
126
|
def self.openapi_types
|
127
127
|
{
|
128
|
+
:'artifact' => :'String',
|
128
129
|
:'pulp_href' => :'String',
|
129
130
|
:'pulp_created' => :'DateTime',
|
130
|
-
:'artifact' => :'String',
|
131
131
|
:'md5' => :'String',
|
132
132
|
:'sha1' => :'String',
|
133
133
|
:'sha224' => :'String',
|
@@ -175,6 +175,10 @@ module PulpAnsibleClient
|
|
175
175
|
h[k.to_sym] = v
|
176
176
|
}
|
177
177
|
|
178
|
+
if attributes.key?(:'artifact')
|
179
|
+
self.artifact = attributes[:'artifact']
|
180
|
+
end
|
181
|
+
|
178
182
|
if attributes.key?(:'pulp_href')
|
179
183
|
self.pulp_href = attributes[:'pulp_href']
|
180
184
|
end
|
@@ -183,10 +187,6 @@ module PulpAnsibleClient
|
|
183
187
|
self.pulp_created = attributes[:'pulp_created']
|
184
188
|
end
|
185
189
|
|
186
|
-
if attributes.key?(:'artifact')
|
187
|
-
self.artifact = attributes[:'artifact']
|
188
|
-
end
|
189
|
-
|
190
190
|
if attributes.key?(:'md5')
|
191
191
|
self.md5 = attributes[:'md5']
|
192
192
|
end
|
@@ -659,9 +659,9 @@ module PulpAnsibleClient
|
|
659
659
|
def ==(o)
|
660
660
|
return true if self.equal?(o)
|
661
661
|
self.class == o.class &&
|
662
|
+
artifact == o.artifact &&
|
662
663
|
pulp_href == o.pulp_href &&
|
663
664
|
pulp_created == o.pulp_created &&
|
664
|
-
artifact == o.artifact &&
|
665
665
|
md5 == o.md5 &&
|
666
666
|
sha1 == o.sha1 &&
|
667
667
|
sha224 == o.sha224 &&
|
@@ -696,7 +696,7 @@ module PulpAnsibleClient
|
|
696
696
|
# Calculates hash code according to all attributes.
|
697
697
|
# @return [Integer] Hash code
|
698
698
|
def hash
|
699
|
-
[pulp_href, pulp_created,
|
699
|
+
[artifact, pulp_href, pulp_created, md5, sha1, sha224, sha256, sha384, sha512, id, authors, contents, dependencies, description, docs_blob, documentation, homepage, issues, certification, license, name, namespace, repository, tags, version, deprecated].hash
|
700
700
|
end
|
701
701
|
|
702
702
|
# Builds the object from hash
|
@@ -14,14 +14,14 @@ require 'date'
|
|
14
14
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
class AnsibleRole
|
17
|
+
# Artifact file representing the physical content
|
18
|
+
attr_accessor :artifact
|
19
|
+
|
17
20
|
attr_accessor :pulp_href
|
18
21
|
|
19
22
|
# Timestamp of creation.
|
20
23
|
attr_accessor :pulp_created
|
21
24
|
|
22
|
-
# Artifact file representing the physical content
|
23
|
-
attr_accessor :artifact
|
24
|
-
|
25
25
|
attr_accessor :version
|
26
26
|
|
27
27
|
attr_accessor :name
|
@@ -31,9 +31,9 @@ module PulpAnsibleClient
|
|
31
31
|
# Attribute mapping from ruby-style variable name to JSON key.
|
32
32
|
def self.attribute_map
|
33
33
|
{
|
34
|
+
:'artifact' => :'artifact',
|
34
35
|
:'pulp_href' => :'pulp_href',
|
35
36
|
:'pulp_created' => :'pulp_created',
|
36
|
-
:'artifact' => :'artifact',
|
37
37
|
:'version' => :'version',
|
38
38
|
:'name' => :'name',
|
39
39
|
:'namespace' => :'namespace'
|
@@ -43,9 +43,9 @@ module PulpAnsibleClient
|
|
43
43
|
# Attribute type mapping.
|
44
44
|
def self.openapi_types
|
45
45
|
{
|
46
|
+
:'artifact' => :'String',
|
46
47
|
:'pulp_href' => :'String',
|
47
48
|
:'pulp_created' => :'DateTime',
|
48
|
-
:'artifact' => :'String',
|
49
49
|
:'version' => :'String',
|
50
50
|
:'name' => :'String',
|
51
51
|
:'namespace' => :'String'
|
@@ -73,6 +73,10 @@ module PulpAnsibleClient
|
|
73
73
|
h[k.to_sym] = v
|
74
74
|
}
|
75
75
|
|
76
|
+
if attributes.key?(:'artifact')
|
77
|
+
self.artifact = attributes[:'artifact']
|
78
|
+
end
|
79
|
+
|
76
80
|
if attributes.key?(:'pulp_href')
|
77
81
|
self.pulp_href = attributes[:'pulp_href']
|
78
82
|
end
|
@@ -81,10 +85,6 @@ module PulpAnsibleClient
|
|
81
85
|
self.pulp_created = attributes[:'pulp_created']
|
82
86
|
end
|
83
87
|
|
84
|
-
if attributes.key?(:'artifact')
|
85
|
-
self.artifact = attributes[:'artifact']
|
86
|
-
end
|
87
|
-
|
88
88
|
if attributes.key?(:'version')
|
89
89
|
self.version = attributes[:'version']
|
90
90
|
end
|
@@ -193,9 +193,9 @@ module PulpAnsibleClient
|
|
193
193
|
def ==(o)
|
194
194
|
return true if self.equal?(o)
|
195
195
|
self.class == o.class &&
|
196
|
+
artifact == o.artifact &&
|
196
197
|
pulp_href == o.pulp_href &&
|
197
198
|
pulp_created == o.pulp_created &&
|
198
|
-
artifact == o.artifact &&
|
199
199
|
version == o.version &&
|
200
200
|
name == o.name &&
|
201
201
|
namespace == o.namespace
|
@@ -210,7 +210,7 @@ module PulpAnsibleClient
|
|
210
210
|
# Calculates hash code according to all attributes.
|
211
211
|
# @return [Integer] Hash code
|
212
212
|
def hash
|
213
|
-
[pulp_href, pulp_created,
|
213
|
+
[artifact, pulp_href, pulp_created, version, name, namespace].hash
|
214
214
|
end
|
215
215
|
|
216
216
|
# Builds the object from hash
|
@@ -36,6 +36,7 @@ describe 'AnsibleCollectionsApi' do
|
|
36
36
|
# List collections
|
37
37
|
# Viewset for Ansible Collections.
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
39
40
|
# @option opts [String] :namespace
|
40
41
|
# @option opts [String] :name
|
41
42
|
# @option opts [Integer] :limit Number of results to return per page.
|
@@ -48,6 +48,7 @@ describe 'ContentRolesApi' do
|
|
48
48
|
# List roles
|
49
49
|
# ViewSet for Role.
|
50
50
|
# @param [Hash] opts the optional parameters
|
51
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
51
52
|
# @option opts [String] :name Filter results where name matches value
|
52
53
|
# @option opts [String] :namespace Filter results where namespace matches value
|
53
54
|
# @option opts [String] :version Filter results where version matches value
|
@@ -60,6 +60,7 @@ describe 'DistributionsAnsibleApi' do
|
|
60
60
|
# List ansible distributions
|
61
61
|
# ViewSet for Ansible Distributions.
|
62
62
|
# @param [Hash] opts the optional parameters
|
63
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
63
64
|
# @option opts [String] :name
|
64
65
|
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
65
66
|
# @option opts [String] :base_path
|
@@ -36,6 +36,7 @@ describe 'PulpAnsibleTagsApi' do
|
|
36
36
|
# List tags
|
37
37
|
# ViewSet for Tag models.
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
39
40
|
# @option opts [Integer] :limit Number of results to return per page.
|
40
41
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
41
42
|
# @option opts [String] :fields A list of fields to include in the response.
|
@@ -60,6 +60,7 @@ describe 'RemotesAnsibleApi' do
|
|
60
60
|
# List ansible remotes
|
61
61
|
# ViewSet for Ansible Remotes.
|
62
62
|
# @param [Hash] opts the optional parameters
|
63
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
63
64
|
# @option opts [String] :name
|
64
65
|
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
65
66
|
# @option opts [String] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
@@ -60,6 +60,7 @@ describe 'RemotesCollectionApi' do
|
|
60
60
|
# List collection remotes
|
61
61
|
# ViewSet for Collection Remotes.
|
62
62
|
# @param [Hash] opts the optional parameters
|
63
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
63
64
|
# @option opts [String] :name
|
64
65
|
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
65
66
|
# @option opts [String] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
@@ -60,6 +60,7 @@ describe 'RepositoriesAnsibleApi' do
|
|
60
60
|
# List ansible repositorys
|
61
61
|
# ViewSet for Ansible Remotes.
|
62
62
|
# @param [Hash] opts the optional parameters
|
63
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
63
64
|
# @option opts [String] :name
|
64
65
|
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
65
66
|
# @option opts [Integer] :limit Number of results to return per page.
|
@@ -88,4 +88,16 @@ describe 'RepositoriesAnsibleVersionsApi' do
|
|
88
88
|
end
|
89
89
|
end
|
90
90
|
|
91
|
+
# unit tests for repair
|
92
|
+
# Trigger an asynchronous task to repair a repositroy version.
|
93
|
+
# @param ansible_repository_version_href URI of Repository Version. e.g.: /pulp/api/v3/repositories/ansible/ansible/1/versions/1/
|
94
|
+
# @param data
|
95
|
+
# @param [Hash] opts the optional parameters
|
96
|
+
# @return [AsyncOperationResponse]
|
97
|
+
describe 'repair test' do
|
98
|
+
it 'should work' do
|
99
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
100
|
+
end
|
101
|
+
end
|
102
|
+
|
91
103
|
end
|
@@ -32,19 +32,19 @@ 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 "artifact"' 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
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "
|
41
|
+
describe 'test attribute "pulp_href"' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
describe 'test attribute "
|
47
|
+
describe 'test attribute "pulp_created"' 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,19 +32,19 @@ describe 'AnsibleRole' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpAnsibleClient::AnsibleRole)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "artifact"' 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
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "
|
41
|
+
describe 'test attribute "pulp_href"' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
describe 'test attribute "
|
47
|
+
describe 'test attribute "pulp_created"' 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
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulp_ansible_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.0b12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-04-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|