pulp_ansible_client 0.4.3 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -12
- data/docs/AnsibleCollectionVersion.md +0 -2
- data/docs/AnsibleCollectionVersionResponse.md +5 -9
- data/docs/AnsibleCopyApi.md +62 -0
- data/docs/AnsibleRoleResponse.md +4 -4
- data/docs/CollectionResponse.md +5 -5
- data/docs/CollectionVersionResponse.md +0 -2
- data/docs/ContentCollectionVersionsApi.md +0 -4
- data/docs/Copy.md +17 -0
- data/docs/{CertificationEnum.md → PatchedCollection.md} +3 -2
- data/docs/PulpAnsibleGalaxyApiCollectionsApi.md +5 -5
- data/docs/PulpAnsibleGalaxyApiV3VersionsApi.md +0 -4
- data/lib/pulp_ansible_client/api/ansible_copy_api.rb +86 -0
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +0 -10
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_collections_api.rb +10 -10
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_versions_api.rb +0 -10
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +1 -16
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +17 -42
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +14 -14
- data/lib/pulp_ansible_client/models/collection_response.rb +22 -32
- data/lib/pulp_ansible_client/models/collection_version_response.rb +1 -10
- data/lib/pulp_ansible_client/models/{collection_metadata.rb → copy.rb} +15 -16
- data/lib/pulp_ansible_client/models/{collection_namespace.rb → patched_collection.rb} +11 -16
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +3 -7
- data/spec/api/{pulp_ansible_galaxy_api_v3_collections_certified_api_spec.rb → ansible_copy_api_spec.rb} +12 -15
- data/spec/api/content_collection_versions_api_spec.rb +0 -2
- data/spec/api/pulp_ansible_galaxy_api_collections_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_galaxy_api_v3_versions_api_spec.rb +0 -2
- data/spec/models/ansible_collection_version_response_spec.rb +2 -14
- data/spec/models/ansible_collection_version_spec.rb +0 -6
- data/spec/models/ansible_role_response_spec.rb +2 -2
- data/spec/models/collection_response_spec.rb +7 -7
- data/spec/models/collection_version_response_spec.rb +0 -6
- data/spec/models/{collection_metadata_spec.rb → copy_spec.rb} +7 -7
- data/spec/models/{collection_namespace_spec.rb → patched_collection_spec.rb} +7 -7
- metadata +14 -30
- data/docs/Collection.md +0 -21
- data/docs/CollectionMetadata.md +0 -17
- data/docs/CollectionNamespace.md +0 -17
- data/docs/CollectionRef.md +0 -19
- data/docs/CollectionVersion.md +0 -21
- data/docs/PulpAnsibleGalaxyApiV3CollectionsCertifiedApi.md +0 -63
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_collections_certified_api.rb +0 -108
- data/lib/pulp_ansible_client/models/certification_enum.rb +0 -37
- data/lib/pulp_ansible_client/models/collection.rb +0 -240
- data/lib/pulp_ansible_client/models/collection_ref.rb +0 -226
- data/lib/pulp_ansible_client/models/collection_version.rb +0 -235
- data/spec/models/certification_enum_spec.rb +0 -35
- data/spec/models/collection_ref_spec.rb +0 -47
- data/spec/models/collection_spec.rb +0 -53
- data/spec/models/collection_version_spec.rb +0 -53
@@ -13,21 +13,21 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpAnsibleClient
|
16
|
-
# A serializer for a Collection
|
17
|
-
class
|
18
|
-
attr_accessor :
|
16
|
+
# A serializer for a Collection.
|
17
|
+
class PatchedCollection
|
18
|
+
attr_accessor :deprecated
|
19
19
|
|
20
20
|
# Attribute mapping from ruby-style variable name to JSON key.
|
21
21
|
def self.attribute_map
|
22
22
|
{
|
23
|
-
:'
|
23
|
+
:'deprecated' => :'deprecated'
|
24
24
|
}
|
25
25
|
end
|
26
26
|
|
27
27
|
# Attribute type mapping.
|
28
28
|
def self.openapi_types
|
29
29
|
{
|
30
|
-
:'
|
30
|
+
:'deprecated' => :'Boolean'
|
31
31
|
}
|
32
32
|
end
|
33
33
|
|
@@ -41,19 +41,19 @@ module PulpAnsibleClient
|
|
41
41
|
# @param [Hash] attributes Model attributes in the form of hash
|
42
42
|
def initialize(attributes = {})
|
43
43
|
if (!attributes.is_a?(Hash))
|
44
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpAnsibleClient::
|
44
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpAnsibleClient::PatchedCollection` initialize method"
|
45
45
|
end
|
46
46
|
|
47
47
|
# check to see if the attribute exists and convert string to symbol for hash key
|
48
48
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
49
49
|
if (!self.class.attribute_map.key?(k.to_sym))
|
50
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpAnsibleClient::
|
50
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpAnsibleClient::PatchedCollection`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
51
51
|
end
|
52
52
|
h[k.to_sym] = v
|
53
53
|
}
|
54
54
|
|
55
|
-
if attributes.key?(:'
|
56
|
-
self.
|
55
|
+
if attributes.key?(:'deprecated')
|
56
|
+
self.deprecated = attributes[:'deprecated']
|
57
57
|
end
|
58
58
|
end
|
59
59
|
|
@@ -61,17 +61,12 @@ module PulpAnsibleClient
|
|
61
61
|
# @return Array for valid properties with the reasons
|
62
62
|
def list_invalid_properties
|
63
63
|
invalid_properties = Array.new
|
64
|
-
if @name.nil?
|
65
|
-
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
66
|
-
end
|
67
|
-
|
68
64
|
invalid_properties
|
69
65
|
end
|
70
66
|
|
71
67
|
# Check to see if the all the properties in the model are valid
|
72
68
|
# @return true if the model is valid
|
73
69
|
def valid?
|
74
|
-
return false if @name.nil?
|
75
70
|
true
|
76
71
|
end
|
77
72
|
|
@@ -80,7 +75,7 @@ module PulpAnsibleClient
|
|
80
75
|
def ==(o)
|
81
76
|
return true if self.equal?(o)
|
82
77
|
self.class == o.class &&
|
83
|
-
|
78
|
+
deprecated == o.deprecated
|
84
79
|
end
|
85
80
|
|
86
81
|
# @see the `==` method
|
@@ -92,7 +87,7 @@ module PulpAnsibleClient
|
|
92
87
|
# Calculates hash code according to all attributes.
|
93
88
|
# @return [Integer] Hash code
|
94
89
|
def hash
|
95
|
-
[
|
90
|
+
[deprecated].hash
|
96
91
|
end
|
97
92
|
|
98
93
|
# Builds the object from hash
|
data/lib/pulp_ansible_client.rb
CHANGED
@@ -32,22 +32,17 @@ require 'pulp_ansible_client/models/ansible_role_remote_response'
|
|
32
32
|
require 'pulp_ansible_client/models/ansible_role_response'
|
33
33
|
require 'pulp_ansible_client/models/ansible_tag_response'
|
34
34
|
require 'pulp_ansible_client/models/async_operation_response'
|
35
|
-
require 'pulp_ansible_client/models/certification_enum'
|
36
|
-
require 'pulp_ansible_client/models/collection'
|
37
35
|
require 'pulp_ansible_client/models/collection_import_detail_response'
|
38
|
-
require 'pulp_ansible_client/models/collection_metadata'
|
39
36
|
require 'pulp_ansible_client/models/collection_metadata_response'
|
40
|
-
require 'pulp_ansible_client/models/collection_namespace'
|
41
37
|
require 'pulp_ansible_client/models/collection_namespace_response'
|
42
38
|
require 'pulp_ansible_client/models/collection_one_shot'
|
43
|
-
require 'pulp_ansible_client/models/collection_ref'
|
44
39
|
require 'pulp_ansible_client/models/collection_ref_response'
|
45
40
|
require 'pulp_ansible_client/models/collection_response'
|
46
|
-
require 'pulp_ansible_client/models/collection_version'
|
47
41
|
require 'pulp_ansible_client/models/collection_version_docs_response'
|
48
42
|
require 'pulp_ansible_client/models/collection_version_response'
|
49
43
|
require 'pulp_ansible_client/models/content_summary'
|
50
44
|
require 'pulp_ansible_client/models/content_summary_response'
|
45
|
+
require 'pulp_ansible_client/models/copy'
|
51
46
|
require 'pulp_ansible_client/models/galaxy_collection'
|
52
47
|
require 'pulp_ansible_client/models/galaxy_collection_response'
|
53
48
|
require 'pulp_ansible_client/models/galaxy_collection_version_response'
|
@@ -68,6 +63,7 @@ require 'pulp_ansible_client/models/paginatedansible_collection_response_list'
|
|
68
63
|
require 'pulp_ansible_client/models/paginatedansible_collection_version_response_list'
|
69
64
|
require 'pulp_ansible_client/models/paginatedansible_role_remote_response_list'
|
70
65
|
require 'pulp_ansible_client/models/paginatedansible_role_response_list'
|
66
|
+
require 'pulp_ansible_client/models/patched_collection'
|
71
67
|
require 'pulp_ansible_client/models/patchedansible_ansible_distribution'
|
72
68
|
require 'pulp_ansible_client/models/patchedansible_ansible_repository'
|
73
69
|
require 'pulp_ansible_client/models/patchedansible_collection_remote'
|
@@ -81,6 +77,7 @@ require 'pulp_ansible_client/models/tag_response'
|
|
81
77
|
|
82
78
|
# APIs
|
83
79
|
require 'pulp_ansible_client/api/ansible_collections_api'
|
80
|
+
require 'pulp_ansible_client/api/ansible_copy_api'
|
84
81
|
require 'pulp_ansible_client/api/api_collections_api'
|
85
82
|
require 'pulp_ansible_client/api/api_roles_api'
|
86
83
|
require 'pulp_ansible_client/api/collection_import_api'
|
@@ -92,7 +89,6 @@ require 'pulp_ansible_client/api/pulp_ansible_api_api'
|
|
92
89
|
require 'pulp_ansible_client/api/pulp_ansible_galaxy_api_collections_api'
|
93
90
|
require 'pulp_ansible_client/api/pulp_ansible_galaxy_api_v2_versions_api'
|
94
91
|
require 'pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_collections_api'
|
95
|
-
require 'pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_collections_certified_api'
|
96
92
|
require 'pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_collections_docs_blob_api'
|
97
93
|
require 'pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_versions_api'
|
98
94
|
require 'pulp_ansible_client/api/pulp_ansible_tags_api'
|
@@ -13,35 +13,32 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'spec_helper'
|
14
14
|
require 'json'
|
15
15
|
|
16
|
-
# Unit tests for PulpAnsibleClient::
|
16
|
+
# Unit tests for PulpAnsibleClient::AnsibleCopyApi
|
17
17
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
18
|
# Please update as you see appropriate
|
19
|
-
describe '
|
19
|
+
describe 'AnsibleCopyApi' do
|
20
20
|
before do
|
21
21
|
# run before each test
|
22
|
-
@api_instance = PulpAnsibleClient::
|
22
|
+
@api_instance = PulpAnsibleClient::AnsibleCopyApi.new
|
23
23
|
end
|
24
24
|
|
25
25
|
after do
|
26
26
|
# run after each test
|
27
27
|
end
|
28
28
|
|
29
|
-
describe 'test an instance of
|
30
|
-
it 'should create an instance of
|
31
|
-
expect(@api_instance).to be_instance_of(PulpAnsibleClient::
|
29
|
+
describe 'test an instance of AnsibleCopyApi' do
|
30
|
+
it 'should create an instance of AnsibleCopyApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(PulpAnsibleClient::AnsibleCopyApi)
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
-
# unit tests for
|
36
|
-
#
|
37
|
-
#
|
38
|
-
# @param
|
39
|
-
# @param path
|
40
|
-
# @param version
|
41
|
-
# @param collection_version
|
35
|
+
# unit tests for copy_content
|
36
|
+
# Copy content
|
37
|
+
# Trigger an asynchronous task to copy ansible content from one repository into another, creating a new repository version.
|
38
|
+
# @param copy
|
42
39
|
# @param [Hash] opts the optional parameters
|
43
|
-
# @return [
|
44
|
-
describe '
|
40
|
+
# @return [AsyncOperationResponse]
|
41
|
+
describe 'copy_content test' do
|
45
42
|
it 'should work' do
|
46
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
47
44
|
end
|
@@ -48,8 +48,6 @@ describe 'ContentCollectionVersionsApi' do
|
|
48
48
|
# List collection versions
|
49
49
|
# ViewSet for Ansible Collection.
|
50
50
|
# @param [Hash] opts the optional parameters
|
51
|
-
# @option opts [String] :certification certification
|
52
|
-
# @option opts [String] :deprecated deprecated
|
53
51
|
# @option opts [String] :is_highest is_highest
|
54
52
|
# @option opts [Integer] :limit Number of results to return per page.
|
55
53
|
# @option opts [String] :name name
|
@@ -67,7 +67,7 @@ describe 'PulpAnsibleGalaxyApiCollectionsApi' do
|
|
67
67
|
# @param name
|
68
68
|
# @param namespace
|
69
69
|
# @param path
|
70
|
-
# @param
|
70
|
+
# @param patched_collection
|
71
71
|
# @param [Hash] opts the optional parameters
|
72
72
|
# @return [CollectionResponse]
|
73
73
|
describe 'update test' do
|
@@ -38,8 +38,6 @@ describe 'PulpAnsibleGalaxyApiV3VersionsApi' do
|
|
38
38
|
# @param namespace
|
39
39
|
# @param path
|
40
40
|
# @param [Hash] opts the optional parameters
|
41
|
-
# @option opts [String] :certification certification
|
42
|
-
# @option opts [String] :deprecated deprecated
|
43
41
|
# @option opts [String] :is_highest is_highest
|
44
42
|
# @option opts [Integer] :limit Number of results to return per page.
|
45
43
|
# @option opts [String] :name2 name
|
@@ -32,7 +32,7 @@ describe 'AnsibleCollectionVersionResponse' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpAnsibleClient::AnsibleCollectionVersionResponse)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "pulp_href"' do
|
36
36
|
it 'should work' do
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
38
|
end
|
@@ -44,7 +44,7 @@ describe 'AnsibleCollectionVersionResponse' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
describe 'test attribute "
|
47
|
+
describe 'test attribute "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
|
@@ -140,12 +140,6 @@ describe 'AnsibleCollectionVersionResponse' do
|
|
140
140
|
end
|
141
141
|
end
|
142
142
|
|
143
|
-
describe 'test attribute "certification"' do
|
144
|
-
it 'should work' do
|
145
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
146
|
-
end
|
147
|
-
end
|
148
|
-
|
149
143
|
describe 'test attribute "license"' do
|
150
144
|
it 'should work' do
|
151
145
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -182,10 +176,4 @@ describe 'AnsibleCollectionVersionResponse' do
|
|
182
176
|
end
|
183
177
|
end
|
184
178
|
|
185
|
-
describe 'test attribute "deprecated"' do
|
186
|
-
it 'should work' do
|
187
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
188
|
-
end
|
189
|
-
end
|
190
|
-
|
191
179
|
end
|
@@ -92,12 +92,6 @@ describe 'AnsibleCollectionVersion' do
|
|
92
92
|
end
|
93
93
|
end
|
94
94
|
|
95
|
-
describe 'test attribute "certification"' do
|
96
|
-
it 'should work' do
|
97
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
98
|
-
end
|
99
|
-
end
|
100
|
-
|
101
95
|
describe 'test attribute "license"' do
|
102
96
|
it 'should work' do
|
103
97
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -32,7 +32,7 @@ describe 'AnsibleRoleResponse' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpAnsibleClient::AnsibleRoleResponse)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "pulp_href"' do
|
36
36
|
it 'should work' do
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
38
|
end
|
@@ -44,7 +44,7 @@ describe 'AnsibleRoleResponse' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
describe 'test attribute "
|
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,43 +38,43 @@ describe 'CollectionResponse' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "
|
41
|
+
describe 'test attribute "namespace"' 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 "name"' 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
|
51
51
|
end
|
52
52
|
|
53
|
-
describe 'test attribute "
|
53
|
+
describe 'test attribute "deprecated"' do
|
54
54
|
it 'should work' do
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
-
describe 'test attribute "
|
59
|
+
describe 'test attribute "versions_url"' do
|
60
60
|
it 'should work' do
|
61
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
-
describe 'test attribute "
|
65
|
+
describe 'test attribute "highest_version"' do
|
66
66
|
it 'should work' do
|
67
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
68
|
end
|
69
69
|
end
|
70
70
|
|
71
|
-
describe 'test attribute "
|
71
|
+
describe 'test attribute "created_at"' do
|
72
72
|
it 'should work' do
|
73
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
74
|
end
|
75
75
|
end
|
76
76
|
|
77
|
-
describe 'test attribute "
|
77
|
+
describe 'test attribute "updated_at"' do
|
78
78
|
it 'should work' do
|
79
79
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
80
|
end
|
@@ -38,12 +38,6 @@ describe 'CollectionVersionResponse' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "certification"' do
|
42
|
-
it 'should work' do
|
43
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
-
end
|
45
|
-
end
|
46
|
-
|
47
41
|
describe 'test attribute "href"' do
|
48
42
|
it 'should work' do
|
49
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -14,25 +14,25 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for PulpAnsibleClient::
|
17
|
+
# Unit tests for PulpAnsibleClient::Copy
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe '
|
20
|
+
describe 'Copy' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance = PulpAnsibleClient::
|
23
|
+
@instance = PulpAnsibleClient::Copy.new
|
24
24
|
end
|
25
25
|
|
26
26
|
after do
|
27
27
|
# run after each test
|
28
28
|
end
|
29
29
|
|
30
|
-
describe 'test an instance of
|
31
|
-
it 'should create an instance of
|
32
|
-
expect(@instance).to be_instance_of(PulpAnsibleClient::
|
30
|
+
describe 'test an instance of Copy' do
|
31
|
+
it 'should create an instance of Copy' do
|
32
|
+
expect(@instance).to be_instance_of(PulpAnsibleClient::Copy)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "config"' 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
|
@@ -14,25 +14,25 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for PulpAnsibleClient::
|
17
|
+
# Unit tests for PulpAnsibleClient::PatchedCollection
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe '
|
20
|
+
describe 'PatchedCollection' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance = PulpAnsibleClient::
|
23
|
+
@instance = PulpAnsibleClient::PatchedCollection.new
|
24
24
|
end
|
25
25
|
|
26
26
|
after do
|
27
27
|
# run after each test
|
28
28
|
end
|
29
29
|
|
30
|
-
describe 'test an instance of
|
31
|
-
it 'should create an instance of
|
32
|
-
expect(@instance).to be_instance_of(PulpAnsibleClient::
|
30
|
+
describe 'test an instance of PatchedCollection' do
|
31
|
+
it 'should create an instance of PatchedCollection' do
|
32
|
+
expect(@instance).to be_instance_of(PulpAnsibleClient::PatchedCollection)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "deprecated"' 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
|
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.
|
4
|
+
version: 0.5.0
|
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-10-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -84,6 +84,7 @@ files:
|
|
84
84
|
- docs/AnsibleCollectionVersion.md
|
85
85
|
- docs/AnsibleCollectionVersionResponse.md
|
86
86
|
- docs/AnsibleCollectionsApi.md
|
87
|
+
- docs/AnsibleCopyApi.md
|
87
88
|
- docs/AnsibleRole.md
|
88
89
|
- docs/AnsibleRoleRemote.md
|
89
90
|
- docs/AnsibleRoleRemoteResponse.md
|
@@ -92,25 +93,20 @@ files:
|
|
92
93
|
- docs/ApiCollectionsApi.md
|
93
94
|
- docs/ApiRolesApi.md
|
94
95
|
- docs/AsyncOperationResponse.md
|
95
|
-
- docs/CertificationEnum.md
|
96
|
-
- docs/Collection.md
|
97
96
|
- docs/CollectionImportApi.md
|
98
97
|
- docs/CollectionImportDetailResponse.md
|
99
|
-
- docs/CollectionMetadata.md
|
100
98
|
- docs/CollectionMetadataResponse.md
|
101
|
-
- docs/CollectionNamespace.md
|
102
99
|
- docs/CollectionNamespaceResponse.md
|
103
100
|
- docs/CollectionOneShot.md
|
104
|
-
- docs/CollectionRef.md
|
105
101
|
- docs/CollectionRefResponse.md
|
106
102
|
- docs/CollectionResponse.md
|
107
|
-
- docs/CollectionVersion.md
|
108
103
|
- docs/CollectionVersionDocsResponse.md
|
109
104
|
- docs/CollectionVersionResponse.md
|
110
105
|
- docs/ContentCollectionVersionsApi.md
|
111
106
|
- docs/ContentRolesApi.md
|
112
107
|
- docs/ContentSummary.md
|
113
108
|
- docs/ContentSummaryResponse.md
|
109
|
+
- docs/Copy.md
|
114
110
|
- docs/DistributionsAnsibleApi.md
|
115
111
|
- docs/GalaxyCollection.md
|
116
112
|
- docs/GalaxyCollectionResponse.md
|
@@ -133,6 +129,7 @@ files:
|
|
133
129
|
- docs/PaginatedansibleCollectionVersionResponseList.md
|
134
130
|
- docs/PaginatedansibleRoleRemoteResponseList.md
|
135
131
|
- docs/PaginatedansibleRoleResponseList.md
|
132
|
+
- docs/PatchedCollection.md
|
136
133
|
- docs/PatchedansibleAnsibleDistribution.md
|
137
134
|
- docs/PatchedansibleAnsibleRepository.md
|
138
135
|
- docs/PatchedansibleCollectionRemote.md
|
@@ -142,7 +139,6 @@ files:
|
|
142
139
|
- docs/PulpAnsibleGalaxyApiCollectionsApi.md
|
143
140
|
- docs/PulpAnsibleGalaxyApiV2VersionsApi.md
|
144
141
|
- docs/PulpAnsibleGalaxyApiV3CollectionsApi.md
|
145
|
-
- docs/PulpAnsibleGalaxyApiV3CollectionsCertifiedApi.md
|
146
142
|
- docs/PulpAnsibleGalaxyApiV3CollectionsDocsBlobApi.md
|
147
143
|
- docs/PulpAnsibleGalaxyApiV3VersionsApi.md
|
148
144
|
- docs/PulpAnsibleTagsApi.md
|
@@ -159,6 +155,7 @@ files:
|
|
159
155
|
- git_push.sh
|
160
156
|
- lib/pulp_ansible_client.rb
|
161
157
|
- lib/pulp_ansible_client/api/ansible_collections_api.rb
|
158
|
+
- lib/pulp_ansible_client/api/ansible_copy_api.rb
|
162
159
|
- lib/pulp_ansible_client/api/api_collections_api.rb
|
163
160
|
- lib/pulp_ansible_client/api/api_roles_api.rb
|
164
161
|
- lib/pulp_ansible_client/api/collection_import_api.rb
|
@@ -170,7 +167,6 @@ files:
|
|
170
167
|
- lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_collections_api.rb
|
171
168
|
- lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v2_versions_api.rb
|
172
169
|
- lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_collections_api.rb
|
173
|
-
- lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_collections_certified_api.rb
|
174
170
|
- lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_collections_docs_blob_api.rb
|
175
171
|
- lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_versions_api.rb
|
176
172
|
- lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb
|
@@ -197,22 +193,17 @@ files:
|
|
197
193
|
- lib/pulp_ansible_client/models/ansible_role_response.rb
|
198
194
|
- lib/pulp_ansible_client/models/ansible_tag_response.rb
|
199
195
|
- lib/pulp_ansible_client/models/async_operation_response.rb
|
200
|
-
- lib/pulp_ansible_client/models/certification_enum.rb
|
201
|
-
- lib/pulp_ansible_client/models/collection.rb
|
202
196
|
- lib/pulp_ansible_client/models/collection_import_detail_response.rb
|
203
|
-
- lib/pulp_ansible_client/models/collection_metadata.rb
|
204
197
|
- lib/pulp_ansible_client/models/collection_metadata_response.rb
|
205
|
-
- lib/pulp_ansible_client/models/collection_namespace.rb
|
206
198
|
- lib/pulp_ansible_client/models/collection_namespace_response.rb
|
207
199
|
- lib/pulp_ansible_client/models/collection_one_shot.rb
|
208
|
-
- lib/pulp_ansible_client/models/collection_ref.rb
|
209
200
|
- lib/pulp_ansible_client/models/collection_ref_response.rb
|
210
201
|
- lib/pulp_ansible_client/models/collection_response.rb
|
211
|
-
- lib/pulp_ansible_client/models/collection_version.rb
|
212
202
|
- lib/pulp_ansible_client/models/collection_version_docs_response.rb
|
213
203
|
- lib/pulp_ansible_client/models/collection_version_response.rb
|
214
204
|
- lib/pulp_ansible_client/models/content_summary.rb
|
215
205
|
- lib/pulp_ansible_client/models/content_summary_response.rb
|
206
|
+
- lib/pulp_ansible_client/models/copy.rb
|
216
207
|
- lib/pulp_ansible_client/models/galaxy_collection.rb
|
217
208
|
- lib/pulp_ansible_client/models/galaxy_collection_response.rb
|
218
209
|
- lib/pulp_ansible_client/models/galaxy_collection_version_response.rb
|
@@ -233,6 +224,7 @@ files:
|
|
233
224
|
- lib/pulp_ansible_client/models/paginatedansible_collection_version_response_list.rb
|
234
225
|
- lib/pulp_ansible_client/models/paginatedansible_role_remote_response_list.rb
|
235
226
|
- lib/pulp_ansible_client/models/paginatedansible_role_response_list.rb
|
227
|
+
- lib/pulp_ansible_client/models/patched_collection.rb
|
236
228
|
- lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb
|
237
229
|
- lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb
|
238
230
|
- lib/pulp_ansible_client/models/patchedansible_collection_remote.rb
|
@@ -246,6 +238,7 @@ files:
|
|
246
238
|
- lib/pulp_ansible_client/version.rb
|
247
239
|
- pulp_ansible_client.gemspec
|
248
240
|
- spec/api/ansible_collections_api_spec.rb
|
241
|
+
- spec/api/ansible_copy_api_spec.rb
|
249
242
|
- spec/api/api_collections_api_spec.rb
|
250
243
|
- spec/api/api_roles_api_spec.rb
|
251
244
|
- spec/api/collection_import_api_spec.rb
|
@@ -257,7 +250,6 @@ files:
|
|
257
250
|
- spec/api/pulp_ansible_galaxy_api_collections_api_spec.rb
|
258
251
|
- spec/api/pulp_ansible_galaxy_api_v2_versions_api_spec.rb
|
259
252
|
- spec/api/pulp_ansible_galaxy_api_v3_collections_api_spec.rb
|
260
|
-
- spec/api/pulp_ansible_galaxy_api_v3_collections_certified_api_spec.rb
|
261
253
|
- spec/api/pulp_ansible_galaxy_api_v3_collections_docs_blob_api_spec.rb
|
262
254
|
- spec/api/pulp_ansible_galaxy_api_v3_versions_api_spec.rb
|
263
255
|
- spec/api/pulp_ansible_tags_api_spec.rb
|
@@ -283,22 +275,17 @@ files:
|
|
283
275
|
- spec/models/ansible_role_spec.rb
|
284
276
|
- spec/models/ansible_tag_response_spec.rb
|
285
277
|
- spec/models/async_operation_response_spec.rb
|
286
|
-
- spec/models/certification_enum_spec.rb
|
287
278
|
- spec/models/collection_import_detail_response_spec.rb
|
288
279
|
- spec/models/collection_metadata_response_spec.rb
|
289
|
-
- spec/models/collection_metadata_spec.rb
|
290
280
|
- spec/models/collection_namespace_response_spec.rb
|
291
|
-
- spec/models/collection_namespace_spec.rb
|
292
281
|
- spec/models/collection_one_shot_spec.rb
|
293
282
|
- spec/models/collection_ref_response_spec.rb
|
294
|
-
- spec/models/collection_ref_spec.rb
|
295
283
|
- spec/models/collection_response_spec.rb
|
296
|
-
- spec/models/collection_spec.rb
|
297
284
|
- spec/models/collection_version_docs_response_spec.rb
|
298
285
|
- spec/models/collection_version_response_spec.rb
|
299
|
-
- spec/models/collection_version_spec.rb
|
300
286
|
- spec/models/content_summary_response_spec.rb
|
301
287
|
- spec/models/content_summary_spec.rb
|
288
|
+
- spec/models/copy_spec.rb
|
302
289
|
- spec/models/galaxy_collection_response_spec.rb
|
303
290
|
- spec/models/galaxy_collection_spec.rb
|
304
291
|
- spec/models/galaxy_collection_version_response_spec.rb
|
@@ -319,6 +306,7 @@ files:
|
|
319
306
|
- spec/models/paginatedansible_collection_version_response_list_spec.rb
|
320
307
|
- spec/models/paginatedansible_role_remote_response_list_spec.rb
|
321
308
|
- spec/models/paginatedansible_role_response_list_spec.rb
|
309
|
+
- spec/models/patched_collection_spec.rb
|
322
310
|
- spec/models/patchedansible_ansible_distribution_spec.rb
|
323
311
|
- spec/models/patchedansible_ansible_repository_spec.rb
|
324
312
|
- spec/models/patchedansible_collection_remote_spec.rb
|
@@ -363,12 +351,12 @@ test_files:
|
|
363
351
|
- spec/api/pulp_ansible_galaxy_api_v3_collections_docs_blob_api_spec.rb
|
364
352
|
- spec/api/pulp_ansible_api_api_spec.rb
|
365
353
|
- spec/api/pulp_ansible_galaxy_api_v3_versions_api_spec.rb
|
366
|
-
- spec/api/pulp_ansible_galaxy_api_v3_collections_certified_api_spec.rb
|
367
354
|
- spec/api/content_roles_api_spec.rb
|
368
355
|
- spec/api/pulp_ansible_galaxy_api_v3_collections_api_spec.rb
|
369
356
|
- spec/api/remotes_collection_api_spec.rb
|
370
357
|
- spec/api/api_collections_api_spec.rb
|
371
358
|
- spec/api/content_collection_versions_api_spec.rb
|
359
|
+
- spec/api/ansible_copy_api_spec.rb
|
372
360
|
- spec/api/remotes_role_api_spec.rb
|
373
361
|
- spec/api/collection_import_api_spec.rb
|
374
362
|
- spec/api/repositories_ansible_api_spec.rb
|
@@ -379,7 +367,6 @@ test_files:
|
|
379
367
|
- spec/configuration_spec.rb
|
380
368
|
- spec/models/ansible_role_remote_spec.rb
|
381
369
|
- spec/models/galaxy_role_response_spec.rb
|
382
|
-
- spec/models/collection_metadata_spec.rb
|
383
370
|
- spec/models/paginatedansible_ansible_distribution_response_list_spec.rb
|
384
371
|
- spec/models/paginatedansible_collection_remote_response_list_spec.rb
|
385
372
|
- spec/models/content_summary_response_spec.rb
|
@@ -391,10 +378,8 @@ test_files:
|
|
391
378
|
- spec/models/ansible_ansible_repository_response_spec.rb
|
392
379
|
- spec/models/collection_response_spec.rb
|
393
380
|
- spec/models/patchedansible_ansible_distribution_spec.rb
|
394
|
-
- spec/models/certification_enum_spec.rb
|
395
381
|
- spec/models/tag_response_spec.rb
|
396
382
|
- spec/models/galaxy_role_version_response_spec.rb
|
397
|
-
- spec/models/collection_spec.rb
|
398
383
|
- spec/models/ansible_tag_response_spec.rb
|
399
384
|
- spec/models/paginatedansible_ansible_repository_response_list_spec.rb
|
400
385
|
- spec/models/ansible_collection_remote_response_spec.rb
|
@@ -407,11 +392,11 @@ test_files:
|
|
407
392
|
- spec/models/paginated_collection_response_list_spec.rb
|
408
393
|
- spec/models/paginated_collection_version_response_list_spec.rb
|
409
394
|
- spec/models/collection_ref_response_spec.rb
|
395
|
+
- spec/models/patched_collection_spec.rb
|
410
396
|
- spec/models/paginated_galaxy_role_version_response_list_spec.rb
|
411
397
|
- spec/models/ansible_collection_remote_spec.rb
|
412
398
|
- spec/models/collection_version_response_spec.rb
|
413
399
|
- spec/models/patchedansible_role_remote_spec.rb
|
414
|
-
- spec/models/collection_version_spec.rb
|
415
400
|
- spec/models/ansible_ansible_repository_spec.rb
|
416
401
|
- spec/models/ansible_role_remote_response_spec.rb
|
417
402
|
- spec/models/paginatedansible_collection_version_response_list_spec.rb
|
@@ -419,7 +404,7 @@ test_files:
|
|
419
404
|
- spec/models/ansible_ansible_distribution_response_spec.rb
|
420
405
|
- spec/models/policy_enum_spec.rb
|
421
406
|
- spec/models/ansible_collection_version_spec.rb
|
422
|
-
- spec/models/
|
407
|
+
- spec/models/copy_spec.rb
|
423
408
|
- spec/models/paginatedansible_collection_response_list_spec.rb
|
424
409
|
- spec/models/paginated_tag_response_list_spec.rb
|
425
410
|
- spec/models/collection_namespace_response_spec.rb
|
@@ -437,5 +422,4 @@ test_files:
|
|
437
422
|
- spec/models/patchedansible_ansible_repository_spec.rb
|
438
423
|
- spec/models/galaxy_collection_version_response_spec.rb
|
439
424
|
- spec/models/galaxy_collection_response_spec.rb
|
440
|
-
- spec/models/collection_namespace_spec.rb
|
441
425
|
- spec/spec_helper.rb
|