pulp_ansible_client 0.6.2 → 0.7.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 +9 -6
- data/docs/AnsibleAnsibleRepository.md +6 -2
- data/docs/AnsibleAnsibleRepositoryResponse.md +5 -1
- data/docs/AnsibleCollectionRemote.md +4 -0
- data/docs/AnsibleCollectionRemoteResponse.md +4 -0
- data/docs/AnsibleCollectionVersion.md +7 -1
- data/docs/AnsibleCollectionVersionResponse.md +10 -4
- data/docs/{RepositorySyncURL.md → AnsibleRepositorySyncURL.md} +5 -3
- data/docs/AnsibleRoleRemote.md +5 -1
- data/docs/AnsibleRoleRemoteResponse.md +5 -1
- data/docs/AnsibleRoleResponse.md +3 -3
- data/docs/CollectionResponse.md +1 -1
- data/docs/CollectionVersionResponse.md +6 -0
- data/docs/DistributionsAnsibleApi.md +8 -0
- data/docs/PatchedansibleAnsibleRepository.md +6 -2
- data/docs/PatchedansibleCollectionRemote.md +4 -0
- data/docs/PatchedansibleRoleRemote.md +5 -1
- data/docs/PulpAnsibleGalaxyApiCollectionsApi.md +6 -4
- data/docs/PulpAnsibleGalaxyApiV3AllApi.md +138 -0
- data/docs/PulpAnsibleGalaxyV3Api.md +61 -0
- data/docs/RemotesCollectionApi.md +8 -0
- data/docs/RemotesRoleApi.md +8 -0
- data/docs/{PatchedCollection.md → RepoMetadataResponse.md} +3 -3
- data/docs/RepositoriesAnsibleApi.md +12 -4
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +12 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_collections_api.rb +12 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_all_api.rb +190 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_v3_api.rb +88 -0
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +12 -0
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +12 -0
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +21 -9
- data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +25 -5
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +25 -5
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +21 -1
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +21 -1
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +60 -4
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +69 -13
- data/lib/pulp_ansible_client/models/{repository_sync_url.rb → ansible_repository_sync_url.rb} +20 -8
- data/lib/pulp_ansible_client/models/ansible_role_remote.rb +25 -5
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +25 -5
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +10 -10
- data/lib/pulp_ansible_client/models/collection_response.rb +0 -5
- data/lib/pulp_ansible_client/models/collection_version_response.rb +56 -1
- data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +25 -5
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +21 -1
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +25 -5
- data/lib/pulp_ansible_client/models/{patched_collection.rb → repo_metadata_response.rb} +16 -11
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +4 -2
- data/spec/api/distributions_ansible_api_spec.rb +4 -0
- data/spec/api/pulp_ansible_galaxy_api_collections_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_galaxy_api_v3_all_api_spec.rb +73 -0
- data/spec/api/pulp_ansible_galaxy_v3_api_spec.rb +48 -0
- data/spec/api/remotes_collection_api_spec.rb +4 -0
- data/spec/api/remotes_role_api_spec.rb +4 -0
- data/spec/api/repositories_ansible_api_spec.rb +5 -1
- data/spec/models/ansible_ansible_repository_response_spec.rb +12 -0
- data/spec/models/ansible_ansible_repository_spec.rb +12 -0
- data/spec/models/ansible_collection_remote_response_spec.rb +12 -0
- data/spec/models/ansible_collection_remote_spec.rb +12 -0
- data/spec/models/ansible_collection_version_response_spec.rb +21 -3
- data/spec/models/ansible_collection_version_spec.rb +18 -0
- data/spec/models/{repository_sync_url_spec.rb → ansible_repository_sync_url_spec.rb} +12 -6
- data/spec/models/ansible_role_remote_response_spec.rb +12 -0
- data/spec/models/ansible_role_remote_spec.rb +12 -0
- data/spec/models/ansible_role_response_spec.rb +3 -3
- data/spec/models/collection_version_response_spec.rb +18 -0
- data/spec/models/patchedansible_ansible_repository_spec.rb +12 -0
- data/spec/models/patchedansible_collection_remote_spec.rb +12 -0
- data/spec/models/patchedansible_role_remote_spec.rb +12 -0
- data/spec/models/{patched_collection_spec.rb → repo_metadata_response_spec.rb} +7 -7
- metadata +18 -10
@@ -13,21 +13,21 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpAnsibleClient
|
16
|
-
# A serializer
|
17
|
-
class
|
18
|
-
attr_accessor :
|
16
|
+
# A serializer to display RepositoryVersion metadata.
|
17
|
+
class RepoMetadataResponse
|
18
|
+
attr_accessor :published
|
19
19
|
|
20
20
|
# Attribute mapping from ruby-style variable name to JSON key.
|
21
21
|
def self.attribute_map
|
22
22
|
{
|
23
|
-
:'
|
23
|
+
:'published' => :'published'
|
24
24
|
}
|
25
25
|
end
|
26
26
|
|
27
27
|
# Attribute type mapping.
|
28
28
|
def self.openapi_types
|
29
29
|
{
|
30
|
-
:'
|
30
|
+
:'published' => :'DateTime'
|
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::RepoMetadataResponse` 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::RepoMetadataResponse`. 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?(:'published')
|
56
|
+
self.published = attributes[:'published']
|
57
57
|
end
|
58
58
|
end
|
59
59
|
|
@@ -61,12 +61,17 @@ 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 @published.nil?
|
65
|
+
invalid_properties.push('invalid value for "published", published cannot be nil.')
|
66
|
+
end
|
67
|
+
|
64
68
|
invalid_properties
|
65
69
|
end
|
66
70
|
|
67
71
|
# Check to see if the all the properties in the model are valid
|
68
72
|
# @return true if the model is valid
|
69
73
|
def valid?
|
74
|
+
return false if @published.nil?
|
70
75
|
true
|
71
76
|
end
|
72
77
|
|
@@ -75,7 +80,7 @@ module PulpAnsibleClient
|
|
75
80
|
def ==(o)
|
76
81
|
return true if self.equal?(o)
|
77
82
|
self.class == o.class &&
|
78
|
-
|
83
|
+
published == o.published
|
79
84
|
end
|
80
85
|
|
81
86
|
# @see the `==` method
|
@@ -87,7 +92,7 @@ module PulpAnsibleClient
|
|
87
92
|
# Calculates hash code according to all attributes.
|
88
93
|
# @return [Integer] Hash code
|
89
94
|
def hash
|
90
|
-
[
|
95
|
+
[published].hash
|
91
96
|
end
|
92
97
|
|
93
98
|
# Builds the object from hash
|
data/lib/pulp_ansible_client.rb
CHANGED
@@ -26,6 +26,7 @@ require 'pulp_ansible_client/models/ansible_collection_remote_response'
|
|
26
26
|
require 'pulp_ansible_client/models/ansible_collection_response'
|
27
27
|
require 'pulp_ansible_client/models/ansible_collection_version'
|
28
28
|
require 'pulp_ansible_client/models/ansible_collection_version_response'
|
29
|
+
require 'pulp_ansible_client/models/ansible_repository_sync_url'
|
29
30
|
require 'pulp_ansible_client/models/ansible_role'
|
30
31
|
require 'pulp_ansible_client/models/ansible_role_remote'
|
31
32
|
require 'pulp_ansible_client/models/ansible_role_remote_response'
|
@@ -66,14 +67,13 @@ require 'pulp_ansible_client/models/paginatedansible_collection_response_list'
|
|
66
67
|
require 'pulp_ansible_client/models/paginatedansible_collection_version_response_list'
|
67
68
|
require 'pulp_ansible_client/models/paginatedansible_role_remote_response_list'
|
68
69
|
require 'pulp_ansible_client/models/paginatedansible_role_response_list'
|
69
|
-
require 'pulp_ansible_client/models/patched_collection'
|
70
70
|
require 'pulp_ansible_client/models/patchedansible_ansible_distribution'
|
71
71
|
require 'pulp_ansible_client/models/patchedansible_ansible_repository'
|
72
72
|
require 'pulp_ansible_client/models/patchedansible_collection_remote'
|
73
73
|
require 'pulp_ansible_client/models/patchedansible_role_remote'
|
74
74
|
require 'pulp_ansible_client/models/policy_enum'
|
75
|
+
require 'pulp_ansible_client/models/repo_metadata_response'
|
75
76
|
require 'pulp_ansible_client/models/repository_add_remove_content'
|
76
|
-
require 'pulp_ansible_client/models/repository_sync_url'
|
77
77
|
require 'pulp_ansible_client/models/repository_version'
|
78
78
|
require 'pulp_ansible_client/models/repository_version_response'
|
79
79
|
require 'pulp_ansible_client/models/tag_response'
|
@@ -91,9 +91,11 @@ require 'pulp_ansible_client/api/galaxy_detail_api'
|
|
91
91
|
require 'pulp_ansible_client/api/pulp_ansible_api_api'
|
92
92
|
require 'pulp_ansible_client/api/pulp_ansible_galaxy_api_collections_api'
|
93
93
|
require 'pulp_ansible_client/api/pulp_ansible_galaxy_api_v2_versions_api'
|
94
|
+
require 'pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_all_api'
|
94
95
|
require 'pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_collections_api'
|
95
96
|
require 'pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_collections_docs_blob_api'
|
96
97
|
require 'pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_versions_api'
|
98
|
+
require 'pulp_ansible_client/api/pulp_ansible_galaxy_v3_api'
|
97
99
|
require 'pulp_ansible_client/api/pulp_ansible_tags_api'
|
98
100
|
require 'pulp_ansible_client/api/remotes_collection_api'
|
99
101
|
require 'pulp_ansible_client/api/remotes_role_api'
|
@@ -66,9 +66,13 @@ describe 'DistributionsAnsibleApi' do
|
|
66
66
|
# @option opts [String] :base_path__in base_path__in
|
67
67
|
# @option opts [Integer] :limit Number of results to return per page.
|
68
68
|
# @option opts [String] :name name
|
69
|
+
# @option opts [String] :name__contains name__contains
|
70
|
+
# @option opts [String] :name__icontains name__icontains
|
69
71
|
# @option opts [String] :name__in name__in
|
72
|
+
# @option opts [String] :name__startswith name__startswith
|
70
73
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
71
74
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
75
|
+
# @option opts [String] :pulp_label_select pulp_label_select
|
72
76
|
# @option opts [String] :fields A list of fields to include in the response.
|
73
77
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
74
78
|
# @return [PaginatedansibleAnsibleDistributionResponseList]
|
@@ -36,6 +36,7 @@ describe 'PulpAnsibleGalaxyApiCollectionsApi' do
|
|
36
36
|
# ViewSet for Collections.
|
37
37
|
# @param path
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [String] :deprecated deprecated
|
39
40
|
# @option opts [Integer] :limit Number of results to return per page.
|
40
41
|
# @option opts [String] :name name
|
41
42
|
# @option opts [String] :namespace namespace
|
@@ -69,7 +70,7 @@ describe 'PulpAnsibleGalaxyApiCollectionsApi' do
|
|
69
70
|
# @param name
|
70
71
|
# @param namespace
|
71
72
|
# @param path
|
72
|
-
# @param
|
73
|
+
# @param body
|
73
74
|
# @param [Hash] opts the optional parameters
|
74
75
|
# @return [CollectionResponse]
|
75
76
|
describe 'update test' do
|
@@ -0,0 +1,73 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for PulpAnsibleClient::PulpAnsibleGalaxyApiV3AllApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'PulpAnsibleGalaxyApiV3AllApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = PulpAnsibleClient::PulpAnsibleGalaxyApiV3AllApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of PulpAnsibleGalaxyApiV3AllApi' do
|
30
|
+
it 'should create an instance of PulpAnsibleGalaxyApiV3AllApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(PulpAnsibleClient::PulpAnsibleGalaxyApiV3AllApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for list
|
36
|
+
# Returns paginated CollectionVersions list.
|
37
|
+
# @param path
|
38
|
+
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [String] :is_highest is_highest
|
40
|
+
# @option opts [String] :name name
|
41
|
+
# @option opts [String] :namespace namespace
|
42
|
+
# @option opts [String] :q q
|
43
|
+
# @option opts [String] :repository_version repository_version
|
44
|
+
# @option opts [String] :repository_version_added repository_version_added
|
45
|
+
# @option opts [String] :repository_version_removed repository_version_removed
|
46
|
+
# @option opts [String] :tags tags
|
47
|
+
# @option opts [String] :version version
|
48
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
49
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
50
|
+
# @return [Array<CollectionVersionResponse>]
|
51
|
+
describe 'list test' do
|
52
|
+
it 'should work' do
|
53
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
# unit tests for list_0
|
58
|
+
# Unpaginated ViewSet for Collections.
|
59
|
+
# @param path
|
60
|
+
# @param [Hash] opts the optional parameters
|
61
|
+
# @option opts [String] :deprecated deprecated
|
62
|
+
# @option opts [String] :name name
|
63
|
+
# @option opts [String] :namespace namespace
|
64
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
65
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
66
|
+
# @return [Array<CollectionResponse>]
|
67
|
+
describe 'list_0 test' do
|
68
|
+
it 'should work' do
|
69
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
73
|
+
end
|
@@ -0,0 +1,48 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for PulpAnsibleClient::PulpAnsibleGalaxyV3Api
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'PulpAnsibleGalaxyV3Api' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = PulpAnsibleClient::PulpAnsibleGalaxyV3Api.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of PulpAnsibleGalaxyV3Api' do
|
30
|
+
it 'should create an instance of PulpAnsibleGalaxyV3Api' do
|
31
|
+
expect(@api_instance).to be_instance_of(PulpAnsibleClient::PulpAnsibleGalaxyV3Api)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for read
|
36
|
+
# ViewSet for Repository Metadata.
|
37
|
+
# @param path
|
38
|
+
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
40
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
41
|
+
# @return [RepoMetadataResponse]
|
42
|
+
describe 'read test' do
|
43
|
+
it 'should work' do
|
44
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
end
|
@@ -62,9 +62,13 @@ describe 'RemotesCollectionApi' do
|
|
62
62
|
# @param [Hash] opts the optional parameters
|
63
63
|
# @option opts [Integer] :limit Number of results to return per page.
|
64
64
|
# @option opts [String] :name name
|
65
|
+
# @option opts [String] :name__contains name__contains
|
66
|
+
# @option opts [String] :name__icontains name__icontains
|
65
67
|
# @option opts [String] :name__in name__in
|
68
|
+
# @option opts [String] :name__startswith name__startswith
|
66
69
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
67
70
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
71
|
+
# @option opts [String] :pulp_label_select pulp_label_select
|
68
72
|
# @option opts [String] :pulp_last_updated pulp_last_updated
|
69
73
|
# @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
|
70
74
|
# @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
|
@@ -62,9 +62,13 @@ describe 'RemotesRoleApi' do
|
|
62
62
|
# @param [Hash] opts the optional parameters
|
63
63
|
# @option opts [Integer] :limit Number of results to return per page.
|
64
64
|
# @option opts [String] :name name
|
65
|
+
# @option opts [String] :name__contains name__contains
|
66
|
+
# @option opts [String] :name__icontains name__icontains
|
65
67
|
# @option opts [String] :name__in name__in
|
68
|
+
# @option opts [String] :name__startswith name__startswith
|
66
69
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
67
70
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
71
|
+
# @option opts [String] :pulp_label_select pulp_label_select
|
68
72
|
# @option opts [String] :pulp_last_updated pulp_last_updated
|
69
73
|
# @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
|
70
74
|
# @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
|
@@ -62,9 +62,13 @@ describe 'RepositoriesAnsibleApi' do
|
|
62
62
|
# @param [Hash] opts the optional parameters
|
63
63
|
# @option opts [Integer] :limit Number of results to return per page.
|
64
64
|
# @option opts [String] :name name
|
65
|
+
# @option opts [String] :name__contains name__contains
|
66
|
+
# @option opts [String] :name__icontains name__icontains
|
65
67
|
# @option opts [String] :name__in name__in
|
68
|
+
# @option opts [String] :name__startswith name__startswith
|
66
69
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
67
70
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
71
|
+
# @option opts [String] :pulp_label_select pulp_label_select
|
68
72
|
# @option opts [String] :fields A list of fields to include in the response.
|
69
73
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
70
74
|
# @return [PaginatedansibleAnsibleRepositoryResponseList]
|
@@ -117,7 +121,7 @@ describe 'RepositoriesAnsibleApi' do
|
|
117
121
|
# unit tests for sync
|
118
122
|
# Trigger an asynchronous task to sync Ansible content.
|
119
123
|
# @param ansible_ansible_repository_href
|
120
|
-
# @param
|
124
|
+
# @param ansible_repository_sync_url
|
121
125
|
# @param [Hash] opts the optional parameters
|
122
126
|
# @return [AsyncOperationResponse]
|
123
127
|
describe 'sync test' do
|
@@ -50,6 +50,12 @@ describe 'AnsibleAnsibleRepositoryResponse' do
|
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
+
describe 'test attribute "pulp_labels"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
53
59
|
describe 'test attribute "latest_version_href"' do
|
54
60
|
it 'should work' do
|
55
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -74,4 +80,10 @@ describe 'AnsibleAnsibleRepositoryResponse' do
|
|
74
80
|
end
|
75
81
|
end
|
76
82
|
|
83
|
+
describe 'test attribute "last_synced_metadata_time"' do
|
84
|
+
it 'should work' do
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
77
89
|
end
|
@@ -32,6 +32,12 @@ describe 'AnsibleAnsibleRepository' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpAnsibleClient::AnsibleAnsibleRepository)
|
33
33
|
end
|
34
34
|
end
|
35
|
+
describe 'test attribute "pulp_labels"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
35
41
|
describe 'test attribute "name"' do
|
36
42
|
it 'should work' do
|
37
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -50,4 +56,10 @@ describe 'AnsibleAnsibleRepository' do
|
|
50
56
|
end
|
51
57
|
end
|
52
58
|
|
59
|
+
describe 'test attribute "last_synced_metadata_time"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
53
65
|
end
|
@@ -98,6 +98,12 @@ describe 'AnsibleCollectionRemoteResponse' do
|
|
98
98
|
end
|
99
99
|
end
|
100
100
|
|
101
|
+
describe 'test attribute "pulp_labels"' do
|
102
|
+
it 'should work' do
|
103
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
101
107
|
describe 'test attribute "pulp_last_updated"' do
|
102
108
|
it 'should work' do
|
103
109
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -140,6 +146,12 @@ describe 'AnsibleCollectionRemoteResponse' do
|
|
140
146
|
end
|
141
147
|
end
|
142
148
|
|
149
|
+
describe 'test attribute "rate_limit"' do
|
150
|
+
it 'should work' do
|
151
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
152
|
+
end
|
153
|
+
end
|
154
|
+
|
143
155
|
describe 'test attribute "requirements_file"' do
|
144
156
|
it 'should work' do
|
145
157
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -86,6 +86,12 @@ describe 'AnsibleCollectionRemote' do
|
|
86
86
|
end
|
87
87
|
end
|
88
88
|
|
89
|
+
describe 'test attribute "pulp_labels"' do
|
90
|
+
it 'should work' do
|
91
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
89
95
|
describe 'test attribute "download_concurrency"' do
|
90
96
|
it 'should work' do
|
91
97
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -122,6 +128,12 @@ describe 'AnsibleCollectionRemote' do
|
|
122
128
|
end
|
123
129
|
end
|
124
130
|
|
131
|
+
describe 'test attribute "rate_limit"' do
|
132
|
+
it 'should work' do
|
133
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
134
|
+
end
|
135
|
+
end
|
136
|
+
|
125
137
|
describe 'test attribute "requirements_file"' do
|
126
138
|
it 'should work' do
|
127
139
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -32,19 +32,19 @@ 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
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "
|
41
|
+
describe 'test attribute "artifact"' 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
|
@@ -122,6 +122,18 @@ describe 'AnsibleCollectionVersionResponse' do
|
|
122
122
|
end
|
123
123
|
end
|
124
124
|
|
125
|
+
describe 'test attribute "manifest"' do
|
126
|
+
it 'should work' do
|
127
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
128
|
+
end
|
129
|
+
end
|
130
|
+
|
131
|
+
describe 'test attribute "files"' do
|
132
|
+
it 'should work' do
|
133
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
134
|
+
end
|
135
|
+
end
|
136
|
+
|
125
137
|
describe 'test attribute "documentation"' do
|
126
138
|
it 'should work' do
|
127
139
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -176,4 +188,10 @@ describe 'AnsibleCollectionVersionResponse' do
|
|
176
188
|
end
|
177
189
|
end
|
178
190
|
|
191
|
+
describe 'test attribute "requires_ansible"' do
|
192
|
+
it 'should work' do
|
193
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
194
|
+
end
|
195
|
+
end
|
196
|
+
|
179
197
|
end
|
@@ -74,6 +74,18 @@ describe 'AnsibleCollectionVersion' do
|
|
74
74
|
end
|
75
75
|
end
|
76
76
|
|
77
|
+
describe 'test attribute "manifest"' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
describe 'test attribute "files"' do
|
84
|
+
it 'should work' do
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
77
89
|
describe 'test attribute "documentation"' do
|
78
90
|
it 'should work' do
|
79
91
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -122,4 +134,10 @@ describe 'AnsibleCollectionVersion' do
|
|
122
134
|
end
|
123
135
|
end
|
124
136
|
|
137
|
+
describe 'test attribute "requires_ansible"' do
|
138
|
+
it 'should work' do
|
139
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
140
|
+
end
|
141
|
+
end
|
142
|
+
|
125
143
|
end
|
@@ -14,22 +14,22 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for PulpAnsibleClient::
|
17
|
+
# Unit tests for PulpAnsibleClient::AnsibleRepositorySyncURL
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe '
|
20
|
+
describe 'AnsibleRepositorySyncURL' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance = PulpAnsibleClient::
|
23
|
+
@instance = PulpAnsibleClient::AnsibleRepositorySyncURL.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 AnsibleRepositorySyncURL' do
|
31
|
+
it 'should create an instance of AnsibleRepositorySyncURL' do
|
32
|
+
expect(@instance).to be_instance_of(PulpAnsibleClient::AnsibleRepositorySyncURL)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
describe 'test attribute "remote"' do
|
@@ -44,4 +44,10 @@ describe 'RepositorySyncURL' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
+
describe 'test attribute "optimize"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
47
53
|
end
|
@@ -98,6 +98,12 @@ describe 'AnsibleRoleRemoteResponse' do
|
|
98
98
|
end
|
99
99
|
end
|
100
100
|
|
101
|
+
describe 'test attribute "pulp_labels"' do
|
102
|
+
it 'should work' do
|
103
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
101
107
|
describe 'test attribute "pulp_last_updated"' do
|
102
108
|
it 'should work' do
|
103
109
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -140,4 +146,10 @@ describe 'AnsibleRoleRemoteResponse' do
|
|
140
146
|
end
|
141
147
|
end
|
142
148
|
|
149
|
+
describe 'test attribute "rate_limit"' do
|
150
|
+
it 'should work' do
|
151
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
152
|
+
end
|
153
|
+
end
|
154
|
+
|
143
155
|
end
|
@@ -86,6 +86,12 @@ describe 'AnsibleRoleRemote' do
|
|
86
86
|
end
|
87
87
|
end
|
88
88
|
|
89
|
+
describe 'test attribute "pulp_labels"' do
|
90
|
+
it 'should work' do
|
91
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
89
95
|
describe 'test attribute "download_concurrency"' do
|
90
96
|
it 'should work' do
|
91
97
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -122,4 +128,10 @@ describe 'AnsibleRoleRemote' do
|
|
122
128
|
end
|
123
129
|
end
|
124
130
|
|
131
|
+
describe 'test attribute "rate_limit"' do
|
132
|
+
it 'should work' do
|
133
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
134
|
+
end
|
135
|
+
end
|
136
|
+
|
125
137
|
end
|
@@ -32,19 +32,19 @@ 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
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "
|
41
|
+
describe 'test attribute "artifact"' 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
|
@@ -56,6 +56,24 @@ describe 'CollectionVersionResponse' do
|
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
+
describe 'test attribute "manifest"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
describe 'test attribute "files"' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
describe 'test attribute "requires_ansible"' do
|
72
|
+
it 'should work' do
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
59
77
|
describe 'test attribute "artifact"' do
|
60
78
|
it 'should work' do
|
61
79
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|