pulp_ansible_client 0.2.0b8 → 0.2.0b9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0bdaff2e6963ec8e1be6e4c556824ee56eb415c63e1f7f819f488b7de2048b89
4
- data.tar.gz: 07d4d219d09b099738f52fff90f272512c8d1f24364ba58507883feeecaac09c
3
+ metadata.gz: a77edbbbc9d19add3c0cd01f404e03d45f46b2a17afa6eeb5b973e8313a70079
4
+ data.tar.gz: 67958efb2b7e70a77f2a9d93847de46f8ad85e58381e31a51ff62cb468db8118
5
5
  SHA512:
6
- metadata.gz: fdb65124f5a9febe3d2266c6ebac49a5911098ac39b90714ec62a6de4d233ff8dc9ccb89e7a9a71d2d7dfad08c2de1d5698619b8f70b42101f3eafb9c537db78
7
- data.tar.gz: b47e76bdaaa6275bc2a46e9af529445627bced35e30990a256e2eb00e4bb12eb5cdbf5385aac460d062658cd0b50b15b557a40b19addaf2663e8239fa32ae9fd
6
+ metadata.gz: e480fcf95a4892eb1f8b6923a551e698400c0c260e4548c3f784b26994168438f6dbbe3a1c7d6cdb9d77ccb969ae51f43fa6d76c6d3dbb178a809358bb9469ee
7
+ data.tar.gz: c0dbfc215f64d2663d08eafa6d30eb80b8fd7b72a5b5225f9ae36e30cd4acac635235f8159a7f51859c3a2fc5197550b46eafdb5c9e6c3d2787eb6b1440de630
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.0b8
10
+ - Package version: 0.2.0b9
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.0b8.gem
26
+ gem install ./pulp_ansible_client-0.2.0b9.gem
27
27
  ```
28
28
 
29
- (for development, run `gem install --dev ./pulp_ansible_client-0.2.0b8.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./pulp_ansible_client-0.2.0b9.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.0b8'
35
+ gem 'pulp_ansible_client', '~> 0.2.0b9'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -104,7 +104,6 @@ Class | Method | HTTP request | Description
104
104
  *PulpAnsibleClient::DistributionsAnsibleApi* | [**read**](docs/DistributionsAnsibleApi.md#read) | **GET** {ansible_distribution_href} | Inspect an ansible distribution
105
105
  *PulpAnsibleClient::DistributionsAnsibleApi* | [**update**](docs/DistributionsAnsibleApi.md#update) | **PUT** {ansible_distribution_href} | Update an ansible distribution
106
106
  *PulpAnsibleClient::PulpAnsibleApiApi* | [**list**](docs/PulpAnsibleApiApi.md#list) | **GET** /pulp_ansible/galaxy/{path}/api/ |
107
- *PulpAnsibleClient::PulpAnsibleGalaxyApiCollectionImportsApi* | [**read**](docs/PulpAnsibleGalaxyApiCollectionImportsApi.md#read) | **GET** /pulp_ansible/galaxy/{path}/api/v2/collection-imports/{task} | Inspect a collection import
108
107
  *PulpAnsibleClient::PulpAnsibleGalaxyApiCollectionsApi* | [**create**](docs/PulpAnsibleGalaxyApiCollectionsApi.md#create) | **POST** /pulp_ansible/galaxy/{path}/api/v2/collections/ |
109
108
  *PulpAnsibleClient::PulpAnsibleGalaxyApiCollectionsApi* | [**list**](docs/PulpAnsibleGalaxyApiCollectionsApi.md#list) | **GET** /pulp_ansible/galaxy/{path}/api/v2/collections/ |
110
109
  *PulpAnsibleClient::PulpAnsibleGalaxyApiCollectionsApi* | [**list_0**](docs/PulpAnsibleGalaxyApiCollectionsApi.md#list_0) | **GET** /pulp_ansible/galaxy/{path}/api/v3/collections/ |
@@ -8,9 +8,9 @@ Name | Type | Description | Notes
8
8
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
9
  **name** | **String** | A unique name for this remote. |
10
10
  **url** | **String** | The URL of an external content source. |
11
- **ca_cert** | **String** | A string containing the PEM encoded CA certificate used to validate the server certificate presented by the remote server. All new line characters must be escaped. Returns SHA256 sum on GET. | [optional]
12
- **client_cert** | **String** | A string containing the PEM encoded client certificate used for authentication. All new line characters must be escaped. Returns SHA256 sum on GET. | [optional]
13
- **client_key** | **String** | A PEM encoded private key used for authentication. Returns SHA256 sum on GET. | [optional]
11
+ **ca_cert** | **String** | A string containing the PEM encoded CA certificate used to validate the server certificate presented by the remote server. All new line characters must be escaped. Returns SHA256 checksum of the certificate file on GET. | [optional]
12
+ **client_cert** | **String** | A string containing the PEM encoded client certificate used for authentication. All new line characters must be escaped. Returns SHA256 checksum of the certificate file on GET. | [optional]
13
+ **client_key** | **String** | A PEM encoded private key used for authentication. Returns SHA256 checksum of the certificate file on GET. | [optional]
14
14
  **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
15
15
  **proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
16
16
  **pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
@@ -8,9 +8,9 @@ Name | Type | Description | Notes
8
8
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
9
  **name** | **String** | A unique name for this remote. |
10
10
  **url** | **String** | The URL of an external content source. |
11
- **ca_cert** | **String** | A string containing the PEM encoded CA certificate used to validate the server certificate presented by the remote server. All new line characters must be escaped. Returns SHA256 sum on GET. | [optional]
12
- **client_cert** | **String** | A string containing the PEM encoded client certificate used for authentication. All new line characters must be escaped. Returns SHA256 sum on GET. | [optional]
13
- **client_key** | **String** | A PEM encoded private key used for authentication. Returns SHA256 sum on GET. | [optional]
11
+ **ca_cert** | **String** | A string containing the PEM encoded CA certificate used to validate the server certificate presented by the remote server. All new line characters must be escaped. Returns SHA256 checksum of the certificate file on GET. | [optional]
12
+ **client_cert** | **String** | A string containing the PEM encoded client certificate used for authentication. All new line characters must be escaped. Returns SHA256 checksum of the certificate file on GET. | [optional]
13
+ **client_key** | **String** | A PEM encoded private key used for authentication. Returns SHA256 checksum of the certificate file on GET. | [optional]
14
14
  **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
15
15
  **proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
16
16
  **pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
@@ -5,8 +5,8 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **pulp_href** | **String** | | [optional] [readonly]
8
- **artifact** | **String** | Artifact file representing the physical content |
9
8
  **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]
@@ -37,8 +37,8 @@ Name | Type | Description | Notes
37
37
  require 'PulpAnsibleClient'
38
38
 
39
39
  instance = PulpAnsibleClient::AnsibleCollectionVersion.new(pulp_href: null,
40
- artifact: null,
41
40
  pulp_created: null,
41
+ artifact: null,
42
42
  md5: null,
43
43
  sha1: null,
44
44
  sha224: null,
data/docs/AnsibleRole.md CHANGED
@@ -5,8 +5,8 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **pulp_href** | **String** | | [optional] [readonly]
8
- **artifact** | **String** | Artifact file representing the physical content |
9
8
  **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** | |
@@ -17,8 +17,8 @@ Name | Type | Description | Notes
17
17
  require 'PulpAnsibleClient'
18
18
 
19
19
  instance = PulpAnsibleClient::AnsibleRole.new(pulp_href: null,
20
- artifact: null,
21
20
  pulp_created: null,
21
+ artifact: null,
22
22
  version: null,
23
23
  name: null,
24
24
  namespace: null)
@@ -25,13 +25,13 @@ module PulpAnsibleClient
25
25
  # The URL of an external content source.
26
26
  attr_accessor :url
27
27
 
28
- # A string containing the PEM encoded CA certificate used to validate the server certificate presented by the remote server. All new line characters must be escaped. Returns SHA256 sum on GET.
28
+ # A string containing the PEM encoded CA certificate used to validate the server certificate presented by the remote server. All new line characters must be escaped. Returns SHA256 checksum of the certificate file on GET.
29
29
  attr_accessor :ca_cert
30
30
 
31
- # A string containing the PEM encoded client certificate used for authentication. All new line characters must be escaped. Returns SHA256 sum on GET.
31
+ # A string containing the PEM encoded client certificate used for authentication. All new line characters must be escaped. Returns SHA256 checksum of the certificate file on GET.
32
32
  attr_accessor :client_cert
33
33
 
34
- # A PEM encoded private key used for authentication. Returns SHA256 sum on GET.
34
+ # A PEM encoded private key used for authentication. Returns SHA256 checksum of the certificate file on GET.
35
35
  attr_accessor :client_key
36
36
 
37
37
  # If True, TLS peer validation must be performed.
@@ -25,13 +25,13 @@ module PulpAnsibleClient
25
25
  # The URL of an external content source.
26
26
  attr_accessor :url
27
27
 
28
- # A string containing the PEM encoded CA certificate used to validate the server certificate presented by the remote server. All new line characters must be escaped. Returns SHA256 sum on GET.
28
+ # A string containing the PEM encoded CA certificate used to validate the server certificate presented by the remote server. All new line characters must be escaped. Returns SHA256 checksum of the certificate file on GET.
29
29
  attr_accessor :ca_cert
30
30
 
31
- # A string containing the PEM encoded client certificate used for authentication. All new line characters must be escaped. Returns SHA256 sum on GET.
31
+ # A string containing the PEM encoded client certificate used for authentication. All new line characters must be escaped. Returns SHA256 checksum of the certificate file on GET.
32
32
  attr_accessor :client_cert
33
33
 
34
- # A PEM encoded private key used for authentication. Returns SHA256 sum on GET.
34
+ # A PEM encoded private key used for authentication. Returns SHA256 checksum of the certificate file on GET.
35
35
  attr_accessor :client_key
36
36
 
37
37
  # If True, TLS peer validation must be performed.
@@ -16,12 +16,12 @@ module PulpAnsibleClient
16
16
  class AnsibleCollectionVersion
17
17
  attr_accessor :pulp_href
18
18
 
19
- # Artifact file representing the physical content
20
- attr_accessor :artifact
21
-
22
19
  # Timestamp of creation.
23
20
  attr_accessor :pulp_created
24
21
 
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
 
@@ -94,8 +94,8 @@ module PulpAnsibleClient
94
94
  def self.attribute_map
95
95
  {
96
96
  :'pulp_href' => :'pulp_href',
97
- :'artifact' => :'artifact',
98
97
  :'pulp_created' => :'pulp_created',
98
+ :'artifact' => :'artifact',
99
99
  :'md5' => :'md5',
100
100
  :'sha1' => :'sha1',
101
101
  :'sha224' => :'sha224',
@@ -126,8 +126,8 @@ module PulpAnsibleClient
126
126
  def self.openapi_types
127
127
  {
128
128
  :'pulp_href' => :'String',
129
- :'artifact' => :'String',
130
129
  :'pulp_created' => :'DateTime',
130
+ :'artifact' => :'String',
131
131
  :'md5' => :'String',
132
132
  :'sha1' => :'String',
133
133
  :'sha224' => :'String',
@@ -179,14 +179,14 @@ module PulpAnsibleClient
179
179
  self.pulp_href = attributes[:'pulp_href']
180
180
  end
181
181
 
182
- if attributes.key?(:'artifact')
183
- self.artifact = attributes[:'artifact']
184
- end
185
-
186
182
  if attributes.key?(:'pulp_created')
187
183
  self.pulp_created = attributes[:'pulp_created']
188
184
  end
189
185
 
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
@@ -660,8 +660,8 @@ module PulpAnsibleClient
660
660
  return true if self.equal?(o)
661
661
  self.class == o.class &&
662
662
  pulp_href == o.pulp_href &&
663
- artifact == o.artifact &&
664
663
  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, artifact, 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
699
+ [pulp_href, pulp_created, artifact, 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
@@ -16,12 +16,12 @@ module PulpAnsibleClient
16
16
  class AnsibleRole
17
17
  attr_accessor :pulp_href
18
18
 
19
- # Artifact file representing the physical content
20
- attr_accessor :artifact
21
-
22
19
  # Timestamp of creation.
23
20
  attr_accessor :pulp_created
24
21
 
22
+ # Artifact file representing the physical content
23
+ attr_accessor :artifact
24
+
25
25
  attr_accessor :version
26
26
 
27
27
  attr_accessor :name
@@ -32,8 +32,8 @@ module PulpAnsibleClient
32
32
  def self.attribute_map
33
33
  {
34
34
  :'pulp_href' => :'pulp_href',
35
- :'artifact' => :'artifact',
36
35
  :'pulp_created' => :'pulp_created',
36
+ :'artifact' => :'artifact',
37
37
  :'version' => :'version',
38
38
  :'name' => :'name',
39
39
  :'namespace' => :'namespace'
@@ -44,8 +44,8 @@ module PulpAnsibleClient
44
44
  def self.openapi_types
45
45
  {
46
46
  :'pulp_href' => :'String',
47
- :'artifact' => :'String',
48
47
  :'pulp_created' => :'DateTime',
48
+ :'artifact' => :'String',
49
49
  :'version' => :'String',
50
50
  :'name' => :'String',
51
51
  :'namespace' => :'String'
@@ -77,14 +77,14 @@ module PulpAnsibleClient
77
77
  self.pulp_href = attributes[:'pulp_href']
78
78
  end
79
79
 
80
- if attributes.key?(:'artifact')
81
- self.artifact = attributes[:'artifact']
82
- end
83
-
84
80
  if attributes.key?(:'pulp_created')
85
81
  self.pulp_created = attributes[:'pulp_created']
86
82
  end
87
83
 
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
@@ -194,8 +194,8 @@ module PulpAnsibleClient
194
194
  return true if self.equal?(o)
195
195
  self.class == o.class &&
196
196
  pulp_href == o.pulp_href &&
197
- artifact == o.artifact &&
198
197
  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, artifact, pulp_created, version, name, namespace].hash
213
+ [pulp_href, pulp_created, artifact, version, name, namespace].hash
214
214
  end
215
215
 
216
216
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.2.2
11
11
  =end
12
12
 
13
13
  module PulpAnsibleClient
14
- VERSION = '0.2.0b8'
14
+ VERSION = '0.2.0b9'
15
15
  end
@@ -62,7 +62,6 @@ require 'pulp_ansible_client/api/content_collection_versions_api'
62
62
  require 'pulp_ansible_client/api/content_roles_api'
63
63
  require 'pulp_ansible_client/api/distributions_ansible_api'
64
64
  require 'pulp_ansible_client/api/pulp_ansible_api_api'
65
- require 'pulp_ansible_client/api/pulp_ansible_galaxy_api_collection_imports_api'
66
65
  require 'pulp_ansible_client/api/pulp_ansible_galaxy_api_collections_api'
67
66
  require 'pulp_ansible_client/api/pulp_ansible_galaxy_api_roles_api'
68
67
  require 'pulp_ansible_client/api/pulp_ansible_galaxy_api_v1_versions_api'
@@ -38,13 +38,13 @@ describe 'AnsibleCollectionVersion' do
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "artifact"' do
41
+ describe 'test attribute "pulp_created"' 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 "pulp_created"' do
47
+ describe 'test attribute "artifact"' 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
@@ -38,13 +38,13 @@ describe 'AnsibleRole' do
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "artifact"' do
41
+ describe 'test attribute "pulp_created"' 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 "pulp_created"' do
47
+ describe 'test attribute "artifact"' 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.0b8
4
+ version: 0.2.0b9
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-02-02 00:00:00.000000000 Z
11
+ date: 2020-02-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -113,7 +113,6 @@ files:
113
113
  - docs/InlineResponse2008.md
114
114
  - docs/InlineResponse2009.md
115
115
  - docs/PulpAnsibleApiApi.md
116
- - docs/PulpAnsibleGalaxyApiCollectionImportsApi.md
117
116
  - docs/PulpAnsibleGalaxyApiCollectionsApi.md
118
117
  - docs/PulpAnsibleGalaxyApiRolesApi.md
119
118
  - docs/PulpAnsibleGalaxyApiV1VersionsApi.md
@@ -135,7 +134,6 @@ files:
135
134
  - lib/pulp_ansible_client/api/content_roles_api.rb
136
135
  - lib/pulp_ansible_client/api/distributions_ansible_api.rb
137
136
  - lib/pulp_ansible_client/api/pulp_ansible_api_api.rb
138
- - lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_collection_imports_api.rb
139
137
  - lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_collections_api.rb
140
138
  - lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_roles_api.rb
141
139
  - lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v1_versions_api.rb
@@ -194,7 +192,6 @@ files:
194
192
  - spec/api/content_roles_api_spec.rb
195
193
  - spec/api/distributions_ansible_api_spec.rb
196
194
  - spec/api/pulp_ansible_api_api_spec.rb
197
- - spec/api/pulp_ansible_galaxy_api_collection_imports_api_spec.rb
198
195
  - spec/api/pulp_ansible_galaxy_api_collections_api_spec.rb
199
196
  - spec/api/pulp_ansible_galaxy_api_roles_api_spec.rb
200
197
  - spec/api/pulp_ansible_galaxy_api_v1_versions_api_spec.rb
@@ -270,60 +267,59 @@ signing_key:
270
267
  specification_version: 4
271
268
  summary: Pulp 3 API Ruby Gem
272
269
  test_files:
273
- - spec/api/remotes_ansible_api_spec.rb
270
+ - spec/api/repositories_ansible_versions_api_spec.rb
271
+ - spec/api/content_collection_versions_api_spec.rb
272
+ - spec/api/pulp_ansible_galaxy_api_collections_api_spec.rb
273
+ - spec/api/pulp_ansible_galaxy_api_v3_collections_api_spec.rb
274
+ - spec/api/ansible_collections_api_spec.rb
274
275
  - spec/api/pulp_ansible_tags_api_spec.rb
276
+ - spec/api/pulp_ansible_galaxy_api_v1_versions_api_spec.rb
277
+ - spec/api/remotes_collection_api_spec.rb
275
278
  - spec/api/pulp_ansible_api_api_spec.rb
276
279
  - spec/api/content_roles_api_spec.rb
277
- - spec/api/pulp_ansible_galaxy_api_v3_collections_api_spec.rb
280
+ - spec/api/repositories_ansible_api_spec.rb
278
281
  - spec/api/pulp_ansible_galaxy_api_v2_versions_api_spec.rb
279
- - spec/api/pulp_ansible_galaxy_api_collection_imports_api_spec.rb
280
- - spec/api/pulp_ansible_galaxy_api_roles_api_spec.rb
281
282
  - spec/api/distributions_ansible_api_spec.rb
282
- - spec/api/ansible_collections_api_spec.rb
283
- - spec/api/remotes_collection_api_spec.rb
284
- - spec/api/pulp_ansible_galaxy_api_v1_versions_api_spec.rb
285
- - spec/api/content_collection_versions_api_spec.rb
286
- - spec/api/repositories_ansible_versions_api_spec.rb
287
- - spec/api/pulp_ansible_galaxy_api_collections_api_spec.rb
288
- - spec/api/repositories_ansible_api_spec.rb
283
+ - spec/api/pulp_ansible_galaxy_api_roles_api_spec.rb
284
+ - spec/api/remotes_ansible_api_spec.rb
289
285
  - spec/api_client_spec.rb
290
286
  - spec/configuration_spec.rb
291
- - spec/models/galaxy_collection_version_spec.rb
292
- - spec/models/ansible_collection_version_spec.rb
293
- - spec/models/inline_response2007_spec.rb
294
- - spec/models/repository_version_spec.rb
295
- - spec/models/inline_response2002_spec.rb
296
- - spec/models/inline_response2008_spec.rb
297
- - spec/models/collection_namespace_spec.rb
298
- - spec/models/ansible_collection_remote_spec.rb
299
- - spec/models/async_operation_response_spec.rb
300
- - spec/models/ansible_ansible_remote_spec.rb
301
- - spec/models/repository_add_remove_content_spec.rb
302
- - spec/models/galaxy_collection_spec.rb
303
- - spec/models/inline_response2005_spec.rb
304
- - spec/models/ansible_ansible_distribution_spec.rb
287
+ - spec/models/collection_import_detail_spec.rb
305
288
  - spec/models/repository_sync_url_spec.rb
306
- - spec/models/inline_response2006_spec.rb
307
- - spec/models/inline_response200_spec.rb
289
+ - spec/models/async_operation_response_spec.rb
308
290
  - spec/models/collection_version_spec.rb
309
- - spec/models/inline_response2003_spec.rb
310
- - spec/models/collection_metadata_spec.rb
311
- - spec/models/collection_spec.rb
312
- - spec/models/inline_response20012_spec.rb
313
291
  - spec/models/galaxy_role_version_spec.rb
314
- - spec/models/inline_response2001_spec.rb
292
+ - spec/models/collection_ref_spec.rb
315
293
  - spec/models/inline_response20013_spec.rb
294
+ - spec/models/repository_add_remove_content_spec.rb
295
+ - spec/models/inline_response2003_spec.rb
296
+ - spec/models/collection_namespace_spec.rb
297
+ - spec/models/collection_spec.rb
298
+ - spec/models/collection_metadata_spec.rb
299
+ - spec/models/ansible_collection_spec.rb
300
+ - spec/models/tag_spec.rb
316
301
  - spec/models/ansible_role_spec.rb
302
+ - spec/models/inline_response2007_spec.rb
303
+ - spec/models/galaxy_collection_version_spec.rb
304
+ - spec/models/repository_version_spec.rb
305
+ - spec/models/inline_response2004_spec.rb
306
+ - spec/models/inline_response2005_spec.rb
307
+ - spec/models/inline_response2001_spec.rb
308
+ - spec/models/inline_response20012_spec.rb
309
+ - spec/models/ansible_ansible_repository_spec.rb
310
+ - spec/models/galaxy_collection_spec.rb
311
+ - spec/models/ansible_ansible_remote_spec.rb
317
312
  - spec/models/galaxy_role_spec.rb
313
+ - spec/models/inline_response200_spec.rb
318
314
  - spec/models/inline_response2009_spec.rb
315
+ - spec/models/inline_response2002_spec.rb
316
+ - spec/models/ansible_ansible_distribution_spec.rb
317
+ - spec/models/inline_response20011_spec.rb
318
+ - spec/models/inline_response2006_spec.rb
319
+ - spec/models/ansible_collection_remote_spec.rb
319
320
  - spec/models/content_summary_spec.rb
320
- - spec/models/ansible_ansible_repository_spec.rb
321
- - spec/models/inline_response2004_spec.rb
322
- - spec/models/tag_spec.rb
323
- - spec/models/collection_ref_spec.rb
324
- - spec/models/collection_import_detail_spec.rb
321
+ - spec/models/inline_response2008_spec.rb
322
+ - spec/models/ansible_collection_version_spec.rb
325
323
  - spec/models/ansible_tag_spec.rb
326
324
  - spec/models/inline_response20010_spec.rb
327
- - spec/models/ansible_collection_spec.rb
328
- - spec/models/inline_response20011_spec.rb
329
325
  - spec/spec_helper.rb
@@ -1,72 +0,0 @@
1
- # PulpAnsibleClient::PulpAnsibleGalaxyApiCollectionImportsApi
2
-
3
- All URIs are relative to *http://localhost:24817*
4
-
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**read**](PulpAnsibleGalaxyApiCollectionImportsApi.md#read) | **GET** /pulp_ansible/galaxy/{path}/api/v2/collection-imports/{task} | Inspect a collection import
8
-
9
-
10
-
11
- ## read
12
-
13
- > CollectionImportDetail read(path, task, opts)
14
-
15
- Inspect a collection import
16
-
17
- Returns a CollectionImport object.
18
-
19
- ### Example
20
-
21
- ```ruby
22
- # load the gem
23
- require 'pulp_ansible_client'
24
- # setup authorization
25
- PulpAnsibleClient.configure do |config|
26
- # Configure HTTP basic authorization: Basic
27
- config.username = 'YOUR USERNAME'
28
- config.password = 'YOUR PASSWORD'
29
- end
30
-
31
- api_instance = PulpAnsibleClient::PulpAnsibleGalaxyApiCollectionImportsApi.new
32
- path = 'path_example' # String |
33
- task = 'task_example' # String | A unique value identifying this collection import.
34
- opts = {
35
- fields: 'fields_example', # String | A list of fields to include in the response.
36
- exclude_fields: 'exclude_fields_example', # String | A list of fields to exclude from the response.
37
- since: DateTime.parse('2013-10-20T19:20:30+01:00') # DateTime | Filter messages since a given timestamp
38
- }
39
-
40
- begin
41
- #Inspect a collection import
42
- result = api_instance.read(path, task, opts)
43
- p result
44
- rescue PulpAnsibleClient::ApiError => e
45
- puts "Exception when calling PulpAnsibleGalaxyApiCollectionImportsApi->read: #{e}"
46
- end
47
- ```
48
-
49
- ### Parameters
50
-
51
-
52
- Name | Type | Description | Notes
53
- ------------- | ------------- | ------------- | -------------
54
- **path** | **String**| |
55
- **task** | **String**| A unique value identifying this collection import. |
56
- **fields** | **String**| A list of fields to include in the response. | [optional]
57
- **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
58
- **since** | **DateTime**| Filter messages since a given timestamp | [optional]
59
-
60
- ### Return type
61
-
62
- [**CollectionImportDetail**](CollectionImportDetail.md)
63
-
64
- ### Authorization
65
-
66
- [Basic](../README.md#Basic)
67
-
68
- ### HTTP request headers
69
-
70
- - **Content-Type**: Not defined
71
- - **Accept**: application/json
72
-
@@ -1,99 +0,0 @@
1
- =begin
2
- #Pulp 3 API
3
-
4
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
-
6
- The version of the OpenAPI document: v3
7
-
8
- Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2
10
-
11
- =end
12
-
13
- require 'cgi'
14
-
15
- module PulpAnsibleClient
16
- class PulpAnsibleGalaxyApiCollectionImportsApi
17
- attr_accessor :api_client
18
-
19
- def initialize(api_client = ApiClient.default)
20
- @api_client = api_client
21
- end
22
- # Inspect a collection import
23
- # Returns a CollectionImport object.
24
- # @param path [String]
25
- # @param task [String] A unique value identifying this collection import.
26
- # @param [Hash] opts the optional parameters
27
- # @option opts [String] :fields A list of fields to include in the response.
28
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
29
- # @option opts [DateTime] :since Filter messages since a given timestamp
30
- # @return [CollectionImportDetail]
31
- def read(path, task, opts = {})
32
- data, _status_code, _headers = read_with_http_info(path, task, opts)
33
- data
34
- end
35
-
36
- # Inspect a collection import
37
- # Returns a CollectionImport object.
38
- # @param path [String]
39
- # @param task [String] A unique value identifying this collection import.
40
- # @param [Hash] opts the optional parameters
41
- # @option opts [String] :fields A list of fields to include in the response.
42
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
43
- # @option opts [DateTime] :since Filter messages since a given timestamp
44
- # @return [Array<(CollectionImportDetail, Integer, Hash)>] CollectionImportDetail data, response status code and response headers
45
- def read_with_http_info(path, task, opts = {})
46
- if @api_client.config.debugging
47
- @api_client.config.logger.debug 'Calling API: PulpAnsibleGalaxyApiCollectionImportsApi.read ...'
48
- end
49
- # verify the required parameter 'path' is set
50
- if @api_client.config.client_side_validation && path.nil?
51
- fail ArgumentError, "Missing the required parameter 'path' when calling PulpAnsibleGalaxyApiCollectionImportsApi.read"
52
- end
53
- # verify the required parameter 'task' is set
54
- if @api_client.config.client_side_validation && task.nil?
55
- fail ArgumentError, "Missing the required parameter 'task' when calling PulpAnsibleGalaxyApiCollectionImportsApi.read"
56
- end
57
- # resource path
58
- local_var_path = '/pulp_ansible/galaxy/{path}/api/v2/collection-imports/{task}'.sub('{' + 'path' + '}', CGI.escape(path.to_s).gsub('%2F', '/')).sub('{' + 'task' + '}', CGI.escape(task.to_s).gsub('%2F', '/'))
59
-
60
- # query parameters
61
- query_params = opts[:query_params] || {}
62
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
63
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
64
- query_params[:'since'] = opts[:'since'] if !opts[:'since'].nil?
65
-
66
- # header parameters
67
- header_params = opts[:header_params] || {}
68
- # HTTP header 'Accept' (if needed)
69
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
70
-
71
- # form parameters
72
- form_params = opts[:form_params] || {}
73
-
74
- # http body (model)
75
- post_body = opts[:body]
76
-
77
- # return_type
78
- return_type = opts[:return_type] || 'CollectionImportDetail'
79
-
80
- # auth_names
81
- auth_names = opts[:auth_names] || ['Basic']
82
-
83
- new_options = opts.merge(
84
- :header_params => header_params,
85
- :query_params => query_params,
86
- :form_params => form_params,
87
- :body => post_body,
88
- :auth_names => auth_names,
89
- :return_type => return_type
90
- )
91
-
92
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
93
- if @api_client.config.debugging
94
- @api_client.config.logger.debug "API called: PulpAnsibleGalaxyApiCollectionImportsApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
95
- end
96
- return data, status_code, headers
97
- end
98
- end
99
- end
@@ -1,51 +0,0 @@
1
- =begin
2
- #Pulp 3 API
3
-
4
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
-
6
- The version of the OpenAPI document: v3
7
-
8
- Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
-
16
- # Unit tests for PulpAnsibleClient::PulpAnsibleGalaxyApiCollectionImportsApi
17
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
- # Please update as you see appropriate
19
- describe 'PulpAnsibleGalaxyApiCollectionImportsApi' do
20
- before do
21
- # run before each test
22
- @api_instance = PulpAnsibleClient::PulpAnsibleGalaxyApiCollectionImportsApi.new
23
- end
24
-
25
- after do
26
- # run after each test
27
- end
28
-
29
- describe 'test an instance of PulpAnsibleGalaxyApiCollectionImportsApi' do
30
- it 'should create an instance of PulpAnsibleGalaxyApiCollectionImportsApi' do
31
- expect(@api_instance).to be_instance_of(PulpAnsibleClient::PulpAnsibleGalaxyApiCollectionImportsApi)
32
- end
33
- end
34
-
35
- # unit tests for read
36
- # Inspect a collection import
37
- # Returns a CollectionImport object.
38
- # @param path
39
- # @param task A unique value identifying this collection import.
40
- # @param [Hash] opts the optional parameters
41
- # @option opts [String] :fields A list of fields to include in the response.
42
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
43
- # @option opts [DateTime] :since Filter messages since a given timestamp
44
- # @return [CollectionImportDetail]
45
- describe 'read test' do
46
- it 'should work' do
47
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
48
- end
49
- end
50
-
51
- end