pulp_ansible_client 0.3.0 → 0.4.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 -9
- data/docs/AnsibleAnsibleDistributionResponse.md +1 -1
- data/docs/AnsibleCollectionVersionResponse.md +3 -3
- data/docs/AnsibleRoleResponse.md +3 -3
- data/docs/{V2CollectionsApi.md → ApiCollectionsApi.md} +7 -7
- data/docs/{V1RolesApi.md → ApiRolesApi.md} +4 -4
- data/docs/CollectionRefResponse.md +1 -1
- data/docs/CollectionResponse.md +3 -3
- data/docs/CollectionVersionResponse.md +3 -3
- data/docs/DistributionsAnsibleApi.md +6 -54
- data/docs/GalaxyCollectionResponse.md +2 -2
- data/docs/GalaxyCollectionVersionResponse.md +4 -4
- data/docs/GalaxyRoleResponse.md +1 -1
- data/docs/GalaxyRoleVersionResponse.md +1 -1
- data/docs/InlineResponse20013.md +6 -8
- data/docs/InlineResponse20014.md +6 -8
- data/docs/PulpAnsibleGalaxyApiV3VersionsApi.md +0 -22
- data/docs/RemotesCollectionApi.md +6 -66
- data/docs/RemotesRoleApi.md +6 -66
- data/docs/RepositoriesAnsibleApi.md +6 -30
- data/docs/RepositoriesAnsibleVersionsApi.md +2 -34
- data/docs/VersionsApi.md +120 -0
- data/lib/pulp_ansible_client/api/{v2_collections_api.rb → api_collections_api.rb} +8 -8
- data/lib/pulp_ansible_client/api/{v1_roles_api.rb → api_roles_api.rb} +4 -4
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +0 -63
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_versions_api.rb +0 -37
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +0 -81
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +0 -81
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +0 -27
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +0 -45
- data/lib/pulp_ansible_client/api/{role_list_api.rb → versions_api.rb} +73 -4
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution_response.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +11 -11
- data/lib/pulp_ansible_client/models/collection_ref_response.rb +1 -1
- data/lib/pulp_ansible_client/models/collection_response.rb +2 -2
- data/lib/pulp_ansible_client/models/collection_version_response.rb +3 -3
- data/lib/pulp_ansible_client/models/galaxy_collection_response.rb +2 -2
- data/lib/pulp_ansible_client/models/galaxy_collection_version_response.rb +4 -4
- data/lib/pulp_ansible_client/models/galaxy_role_response.rb +1 -1
- data/lib/pulp_ansible_client/models/galaxy_role_version_response.rb +1 -1
- data/lib/pulp_ansible_client/models/inline_response20013.rb +20 -31
- data/lib/pulp_ansible_client/models/inline_response20014.rb +20 -31
- data/lib/pulp_ansible_client/models/repository_sync_url.rb +1 -0
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +3 -4
- data/spec/api/{v2_collections_api_spec.rb → api_collections_api_spec.rb} +6 -6
- data/spec/api/{v1_roles_api_spec.rb → api_roles_api_spec.rb} +6 -6
- data/spec/api/distributions_ansible_api_spec.rb +0 -21
- data/spec/api/pulp_ansible_galaxy_api_v3_versions_api_spec.rb +0 -11
- data/spec/api/remotes_collection_api_spec.rb +0 -27
- data/spec/api/remotes_role_api_spec.rb +0 -27
- data/spec/api/repositories_ansible_api_spec.rb +0 -9
- data/spec/api/repositories_ansible_versions_api_spec.rb +0 -15
- data/spec/api/{role_list_api_spec.rb → versions_api_spec.rb} +20 -6
- data/spec/models/ansible_collection_version_response_spec.rb +3 -3
- data/spec/models/ansible_role_response_spec.rb +3 -3
- data/spec/models/inline_response20013_spec.rb +3 -9
- data/spec/models/inline_response20014_spec.rb +3 -9
- metadata +14 -18
- data/docs/GalaxyCollectionListApi.md +0 -63
- data/docs/RoleListApi.md +0 -65
- data/lib/pulp_ansible_client/api/galaxy_collection_list_api.rb +0 -91
- data/spec/api/galaxy_collection_list_api_spec.rb +0 -49
@@ -49,13 +49,6 @@ describe 'DistributionsAnsibleApi' do
|
|
49
49
|
# Trigger an asynchronous delete task
|
50
50
|
# @param ansible_ansible_distribution_href
|
51
51
|
# @param [Hash] opts the optional parameters
|
52
|
-
# @option opts [String] :base_path base_path
|
53
|
-
# @option opts [String] :base_path__contains base_path__contains
|
54
|
-
# @option opts [String] :base_path__icontains base_path__icontains
|
55
|
-
# @option opts [String] :base_path__in base_path__in
|
56
|
-
# @option opts [String] :name name
|
57
|
-
# @option opts [String] :name__in name__in
|
58
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
59
52
|
# @return [AsyncOperationResponse]
|
60
53
|
describe 'delete test' do
|
61
54
|
it 'should work' do
|
@@ -91,13 +84,6 @@ describe 'DistributionsAnsibleApi' do
|
|
91
84
|
# @param ansible_ansible_distribution_href
|
92
85
|
# @param patchedansible_ansible_distribution
|
93
86
|
# @param [Hash] opts the optional parameters
|
94
|
-
# @option opts [String] :base_path base_path
|
95
|
-
# @option opts [String] :base_path__contains base_path__contains
|
96
|
-
# @option opts [String] :base_path__icontains base_path__icontains
|
97
|
-
# @option opts [String] :base_path__in base_path__in
|
98
|
-
# @option opts [String] :name name
|
99
|
-
# @option opts [String] :name__in name__in
|
100
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
101
87
|
# @return [AsyncOperationResponse]
|
102
88
|
describe 'partial_update test' do
|
103
89
|
it 'should work' do
|
@@ -125,13 +111,6 @@ describe 'DistributionsAnsibleApi' do
|
|
125
111
|
# @param ansible_ansible_distribution_href
|
126
112
|
# @param ansible_ansible_distribution
|
127
113
|
# @param [Hash] opts the optional parameters
|
128
|
-
# @option opts [String] :base_path base_path
|
129
|
-
# @option opts [String] :base_path__contains base_path__contains
|
130
|
-
# @option opts [String] :base_path__icontains base_path__icontains
|
131
|
-
# @option opts [String] :base_path__in base_path__in
|
132
|
-
# @option opts [String] :name name
|
133
|
-
# @option opts [String] :name__in name__in
|
134
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
135
114
|
# @return [AsyncOperationResponse]
|
136
115
|
describe 'update test' do
|
137
116
|
it 'should work' do
|
@@ -67,17 +67,6 @@ describe 'PulpAnsibleGalaxyApiV3VersionsApi' do
|
|
67
67
|
# @param path
|
68
68
|
# @param version
|
69
69
|
# @param [Hash] opts the optional parameters
|
70
|
-
# @option opts [String] :certification certification
|
71
|
-
# @option opts [String] :deprecated deprecated
|
72
|
-
# @option opts [String] :is_highest is_highest
|
73
|
-
# @option opts [String] :name2 name
|
74
|
-
# @option opts [String] :namespace2 namespace
|
75
|
-
# @option opts [String] :q q
|
76
|
-
# @option opts [String] :repository_version repository_version
|
77
|
-
# @option opts [String] :repository_version_added repository_version_added
|
78
|
-
# @option opts [String] :repository_version_removed repository_version_removed
|
79
|
-
# @option opts [String] :tags tags
|
80
|
-
# @option opts [String] :version2 version
|
81
70
|
# @option opts [String] :fields A list of fields to include in the response.
|
82
71
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
83
72
|
# @return [CollectionVersionResponse]
|
@@ -49,15 +49,6 @@ describe 'RemotesCollectionApi' do
|
|
49
49
|
# Trigger an asynchronous delete task
|
50
50
|
# @param ansible_collection_remote_href
|
51
51
|
# @param [Hash] opts the optional parameters
|
52
|
-
# @option opts [String] :name name
|
53
|
-
# @option opts [String] :name__in name__in
|
54
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
55
|
-
# @option opts [String] :pulp_last_updated pulp_last_updated
|
56
|
-
# @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
|
57
|
-
# @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
|
58
|
-
# @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
|
59
|
-
# @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
|
60
|
-
# @option opts [String] :pulp_last_updated__range pulp_last_updated__range
|
61
52
|
# @return [AsyncOperationResponse]
|
62
53
|
describe 'delete test' do
|
63
54
|
it 'should work' do
|
@@ -95,15 +86,6 @@ describe 'RemotesCollectionApi' do
|
|
95
86
|
# @param ansible_collection_remote_href
|
96
87
|
# @param patchedansible_collection_remote
|
97
88
|
# @param [Hash] opts the optional parameters
|
98
|
-
# @option opts [String] :name name
|
99
|
-
# @option opts [String] :name__in name__in
|
100
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
101
|
-
# @option opts [String] :pulp_last_updated pulp_last_updated
|
102
|
-
# @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
|
103
|
-
# @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
|
104
|
-
# @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
|
105
|
-
# @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
|
106
|
-
# @option opts [String] :pulp_last_updated__range pulp_last_updated__range
|
107
89
|
# @return [AsyncOperationResponse]
|
108
90
|
describe 'partial_update test' do
|
109
91
|
it 'should work' do
|
@@ -131,15 +113,6 @@ describe 'RemotesCollectionApi' do
|
|
131
113
|
# @param ansible_collection_remote_href
|
132
114
|
# @param ansible_collection_remote
|
133
115
|
# @param [Hash] opts the optional parameters
|
134
|
-
# @option opts [String] :name name
|
135
|
-
# @option opts [String] :name__in name__in
|
136
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
137
|
-
# @option opts [String] :pulp_last_updated pulp_last_updated
|
138
|
-
# @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
|
139
|
-
# @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
|
140
|
-
# @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
|
141
|
-
# @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
|
142
|
-
# @option opts [String] :pulp_last_updated__range pulp_last_updated__range
|
143
116
|
# @return [AsyncOperationResponse]
|
144
117
|
describe 'update test' do
|
145
118
|
it 'should work' do
|
@@ -49,15 +49,6 @@ describe 'RemotesRoleApi' do
|
|
49
49
|
# Trigger an asynchronous delete task
|
50
50
|
# @param ansible_role_remote_href
|
51
51
|
# @param [Hash] opts the optional parameters
|
52
|
-
# @option opts [String] :name name
|
53
|
-
# @option opts [String] :name__in name__in
|
54
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
55
|
-
# @option opts [String] :pulp_last_updated pulp_last_updated
|
56
|
-
# @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
|
57
|
-
# @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
|
58
|
-
# @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
|
59
|
-
# @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
|
60
|
-
# @option opts [String] :pulp_last_updated__range pulp_last_updated__range
|
61
52
|
# @return [AsyncOperationResponse]
|
62
53
|
describe 'delete test' do
|
63
54
|
it 'should work' do
|
@@ -95,15 +86,6 @@ describe 'RemotesRoleApi' do
|
|
95
86
|
# @param ansible_role_remote_href
|
96
87
|
# @param patchedansible_role_remote
|
97
88
|
# @param [Hash] opts the optional parameters
|
98
|
-
# @option opts [String] :name name
|
99
|
-
# @option opts [String] :name__in name__in
|
100
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
101
|
-
# @option opts [String] :pulp_last_updated pulp_last_updated
|
102
|
-
# @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
|
103
|
-
# @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
|
104
|
-
# @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
|
105
|
-
# @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
|
106
|
-
# @option opts [String] :pulp_last_updated__range pulp_last_updated__range
|
107
89
|
# @return [AsyncOperationResponse]
|
108
90
|
describe 'partial_update test' do
|
109
91
|
it 'should work' do
|
@@ -131,15 +113,6 @@ describe 'RemotesRoleApi' do
|
|
131
113
|
# @param ansible_role_remote_href
|
132
114
|
# @param ansible_role_remote
|
133
115
|
# @param [Hash] opts the optional parameters
|
134
|
-
# @option opts [String] :name name
|
135
|
-
# @option opts [String] :name__in name__in
|
136
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
137
|
-
# @option opts [String] :pulp_last_updated pulp_last_updated
|
138
|
-
# @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
|
139
|
-
# @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
|
140
|
-
# @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
|
141
|
-
# @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
|
142
|
-
# @option opts [String] :pulp_last_updated__range pulp_last_updated__range
|
143
116
|
# @return [AsyncOperationResponse]
|
144
117
|
describe 'update test' do
|
145
118
|
it 'should work' do
|
@@ -49,9 +49,6 @@ describe 'RepositoriesAnsibleApi' do
|
|
49
49
|
# Trigger an asynchronous delete task
|
50
50
|
# @param ansible_ansible_repository_href
|
51
51
|
# @param [Hash] opts the optional parameters
|
52
|
-
# @option opts [String] :name name
|
53
|
-
# @option opts [String] :name__in name__in
|
54
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
55
52
|
# @return [AsyncOperationResponse]
|
56
53
|
describe 'delete test' do
|
57
54
|
it 'should work' do
|
@@ -96,9 +93,6 @@ describe 'RepositoriesAnsibleApi' do
|
|
96
93
|
# @param ansible_ansible_repository_href
|
97
94
|
# @param patchedansible_ansible_repository
|
98
95
|
# @param [Hash] opts the optional parameters
|
99
|
-
# @option opts [String] :name name
|
100
|
-
# @option opts [String] :name__in name__in
|
101
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
102
96
|
# @return [AsyncOperationResponse]
|
103
97
|
describe 'partial_update test' do
|
104
98
|
it 'should work' do
|
@@ -138,9 +132,6 @@ describe 'RepositoriesAnsibleApi' do
|
|
138
132
|
# @param ansible_ansible_repository_href
|
139
133
|
# @param ansible_ansible_repository
|
140
134
|
# @param [Hash] opts the optional parameters
|
141
|
-
# @option opts [String] :name name
|
142
|
-
# @option opts [String] :name__in name__in
|
143
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
144
135
|
# @return [AsyncOperationResponse]
|
145
136
|
describe 'update test' do
|
146
137
|
it 'should work' do
|
@@ -37,21 +37,6 @@ describe 'RepositoriesAnsibleVersionsApi' do
|
|
37
37
|
# Trigger an asynchronous task to delete a repositroy version.
|
38
38
|
# @param ansible_ansible_repository_version_href
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
-
# @option opts [String] :content content
|
41
|
-
# @option opts [String] :content__in content__in
|
42
|
-
# @option opts [String] :number number
|
43
|
-
# @option opts [String] :number__gt number__gt
|
44
|
-
# @option opts [String] :number__gte number__gte
|
45
|
-
# @option opts [String] :number__lt number__lt
|
46
|
-
# @option opts [String] :number__lte number__lte
|
47
|
-
# @option opts [String] :number__range number__range
|
48
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
49
|
-
# @option opts [String] :pulp_created pulp_created
|
50
|
-
# @option opts [String] :pulp_created__gt pulp_created__gt
|
51
|
-
# @option opts [String] :pulp_created__gte pulp_created__gte
|
52
|
-
# @option opts [String] :pulp_created__lt pulp_created__lt
|
53
|
-
# @option opts [String] :pulp_created__lte pulp_created__lte
|
54
|
-
# @option opts [String] :pulp_created__range pulp_created__range
|
55
40
|
# @return [AsyncOperationResponse]
|
56
41
|
describe 'delete test' do
|
57
42
|
it 'should work' do
|
@@ -13,22 +13,22 @@ 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::VersionsApi
|
17
17
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
18
|
# Please update as you see appropriate
|
19
|
-
describe '
|
19
|
+
describe 'VersionsApi' do
|
20
20
|
before do
|
21
21
|
# run before each test
|
22
|
-
@api_instance = PulpAnsibleClient::
|
22
|
+
@api_instance = PulpAnsibleClient::VersionsApi.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 VersionsApi' do
|
30
|
+
it 'should create an instance of VersionsApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(PulpAnsibleClient::VersionsApi)
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
@@ -47,4 +47,18 @@ describe 'RoleListApi' do
|
|
47
47
|
end
|
48
48
|
end
|
49
49
|
|
50
|
+
# unit tests for get_0
|
51
|
+
# APIView for Collections by namespace/name.
|
52
|
+
# @param ansible_collection_version_href
|
53
|
+
# @param [Hash] opts the optional parameters
|
54
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
55
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
56
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
57
|
+
# @return [InlineResponse20012]
|
58
|
+
describe 'get_0 test' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
50
64
|
end
|
@@ -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_created"' do
|
36
36
|
it 'should work' do
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "
|
41
|
+
describe 'test attribute "pulp_href"' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
describe 'test attribute "
|
47
|
+
describe 'test attribute "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
|
@@ -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_created"' do
|
36
36
|
it 'should work' do
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "
|
41
|
+
describe 'test attribute "pulp_href"' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
describe 'test attribute "
|
47
|
+
describe 'test attribute "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
|
@@ -32,25 +32,19 @@ describe 'InlineResponse20013' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpAnsibleClient::InlineResponse20013)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "meta"' 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 "links"' 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 "
|
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
|
-
|
53
|
-
describe 'test attribute "results"' do
|
47
|
+
describe 'test attribute "data"' do
|
54
48
|
it 'should work' do
|
55
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
50
|
end
|
@@ -32,25 +32,19 @@ describe 'InlineResponse20014' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpAnsibleClient::InlineResponse20014)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "meta"' 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 "links"' 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 "
|
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
|
-
|
53
|
-
describe 'test attribute "results"' do
|
47
|
+
describe 'test attribute "data"' do
|
54
48
|
it 'should work' do
|
55
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
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.
|
4
|
+
version: 0.4.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-09-
|
11
|
+
date: 2020-09-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -89,6 +89,8 @@ files:
|
|
89
89
|
- docs/AnsibleRoleRemoteResponse.md
|
90
90
|
- docs/AnsibleRoleResponse.md
|
91
91
|
- docs/AnsibleTagResponse.md
|
92
|
+
- docs/ApiCollectionsApi.md
|
93
|
+
- docs/ApiRolesApi.md
|
92
94
|
- docs/AsyncOperationResponse.md
|
93
95
|
- docs/CertificationEnum.md
|
94
96
|
- docs/Collection.md
|
@@ -111,7 +113,6 @@ files:
|
|
111
113
|
- docs/ContentSummaryResponse.md
|
112
114
|
- docs/DistributionsAnsibleApi.md
|
113
115
|
- docs/GalaxyCollection.md
|
114
|
-
- docs/GalaxyCollectionListApi.md
|
115
116
|
- docs/GalaxyCollectionResponse.md
|
116
117
|
- docs/GalaxyCollectionVersionResponse.md
|
117
118
|
- docs/GalaxyDetailApi.md
|
@@ -153,18 +154,17 @@ files:
|
|
153
154
|
- docs/RepositorySyncURL.md
|
154
155
|
- docs/RepositoryVersion.md
|
155
156
|
- docs/RepositoryVersionResponse.md
|
156
|
-
- docs/RoleListApi.md
|
157
157
|
- docs/TagResponse.md
|
158
|
-
- docs/
|
159
|
-
- docs/V2CollectionsApi.md
|
158
|
+
- docs/VersionsApi.md
|
160
159
|
- git_push.sh
|
161
160
|
- lib/pulp_ansible_client.rb
|
162
161
|
- lib/pulp_ansible_client/api/ansible_collections_api.rb
|
162
|
+
- lib/pulp_ansible_client/api/api_collections_api.rb
|
163
|
+
- lib/pulp_ansible_client/api/api_roles_api.rb
|
163
164
|
- lib/pulp_ansible_client/api/collection_import_api.rb
|
164
165
|
- lib/pulp_ansible_client/api/content_collection_versions_api.rb
|
165
166
|
- lib/pulp_ansible_client/api/content_roles_api.rb
|
166
167
|
- lib/pulp_ansible_client/api/distributions_ansible_api.rb
|
167
|
-
- lib/pulp_ansible_client/api/galaxy_collection_list_api.rb
|
168
168
|
- lib/pulp_ansible_client/api/galaxy_detail_api.rb
|
169
169
|
- lib/pulp_ansible_client/api/pulp_ansible_api_api.rb
|
170
170
|
- lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_collections_api.rb
|
@@ -178,9 +178,7 @@ files:
|
|
178
178
|
- lib/pulp_ansible_client/api/remotes_role_api.rb
|
179
179
|
- lib/pulp_ansible_client/api/repositories_ansible_api.rb
|
180
180
|
- lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb
|
181
|
-
- lib/pulp_ansible_client/api/
|
182
|
-
- lib/pulp_ansible_client/api/v1_roles_api.rb
|
183
|
-
- lib/pulp_ansible_client/api/v2_collections_api.rb
|
181
|
+
- lib/pulp_ansible_client/api/versions_api.rb
|
184
182
|
- lib/pulp_ansible_client/api_client.rb
|
185
183
|
- lib/pulp_ansible_client/api_error.rb
|
186
184
|
- lib/pulp_ansible_client/configuration.rb
|
@@ -248,11 +246,12 @@ files:
|
|
248
246
|
- lib/pulp_ansible_client/version.rb
|
249
247
|
- pulp_ansible_client.gemspec
|
250
248
|
- spec/api/ansible_collections_api_spec.rb
|
249
|
+
- spec/api/api_collections_api_spec.rb
|
250
|
+
- spec/api/api_roles_api_spec.rb
|
251
251
|
- spec/api/collection_import_api_spec.rb
|
252
252
|
- spec/api/content_collection_versions_api_spec.rb
|
253
253
|
- spec/api/content_roles_api_spec.rb
|
254
254
|
- spec/api/distributions_ansible_api_spec.rb
|
255
|
-
- spec/api/galaxy_collection_list_api_spec.rb
|
256
255
|
- spec/api/galaxy_detail_api_spec.rb
|
257
256
|
- spec/api/pulp_ansible_api_api_spec.rb
|
258
257
|
- spec/api/pulp_ansible_galaxy_api_collections_api_spec.rb
|
@@ -266,9 +265,7 @@ files:
|
|
266
265
|
- spec/api/remotes_role_api_spec.rb
|
267
266
|
- spec/api/repositories_ansible_api_spec.rb
|
268
267
|
- spec/api/repositories_ansible_versions_api_spec.rb
|
269
|
-
- spec/api/
|
270
|
-
- spec/api/v1_roles_api_spec.rb
|
271
|
-
- spec/api/v2_collections_api_spec.rb
|
268
|
+
- spec/api/versions_api_spec.rb
|
272
269
|
- spec/api_client_spec.rb
|
273
270
|
- spec/configuration_spec.rb
|
274
271
|
- spec/models/ansible_ansible_distribution_response_spec.rb
|
@@ -358,10 +355,10 @@ specification_version: 4
|
|
358
355
|
summary: Pulp 3 API Ruby Gem
|
359
356
|
test_files:
|
360
357
|
- spec/api/pulp_ansible_galaxy_api_v2_versions_api_spec.rb
|
361
|
-
- spec/api/galaxy_collection_list_api_spec.rb
|
362
358
|
- spec/api/pulp_ansible_tags_api_spec.rb
|
363
359
|
- spec/api/repositories_ansible_versions_api_spec.rb
|
364
360
|
- spec/api/ansible_collections_api_spec.rb
|
361
|
+
- spec/api/versions_api_spec.rb
|
365
362
|
- spec/api/pulp_ansible_galaxy_api_collections_api_spec.rb
|
366
363
|
- spec/api/pulp_ansible_galaxy_api_v3_collections_docs_blob_api_spec.rb
|
367
364
|
- spec/api/pulp_ansible_api_api_spec.rb
|
@@ -370,15 +367,14 @@ test_files:
|
|
370
367
|
- spec/api/content_roles_api_spec.rb
|
371
368
|
- spec/api/pulp_ansible_galaxy_api_v3_collections_api_spec.rb
|
372
369
|
- spec/api/remotes_collection_api_spec.rb
|
373
|
-
- spec/api/
|
374
|
-
- spec/api/v1_roles_api_spec.rb
|
370
|
+
- spec/api/api_collections_api_spec.rb
|
375
371
|
- spec/api/content_collection_versions_api_spec.rb
|
376
372
|
- spec/api/remotes_role_api_spec.rb
|
377
373
|
- spec/api/collection_import_api_spec.rb
|
378
374
|
- spec/api/repositories_ansible_api_spec.rb
|
379
375
|
- spec/api/galaxy_detail_api_spec.rb
|
380
376
|
- spec/api/distributions_ansible_api_spec.rb
|
381
|
-
- spec/api/
|
377
|
+
- spec/api/api_roles_api_spec.rb
|
382
378
|
- spec/api_client_spec.rb
|
383
379
|
- spec/configuration_spec.rb
|
384
380
|
- spec/models/ansible_role_remote_spec.rb
|
@@ -1,63 +0,0 @@
|
|
1
|
-
# PulpAnsibleClient::GalaxyCollectionListApi
|
2
|
-
|
3
|
-
All URIs are relative to *http://pulp*
|
4
|
-
|
5
|
-
Method | HTTP request | Description
|
6
|
-
------------- | ------------- | -------------
|
7
|
-
[**get**](GalaxyCollectionListApi.md#get) | **GET** {ansible_collection_version_href}versions/ |
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
## get
|
12
|
-
|
13
|
-
> InlineResponse20012 get(ansible_collection_version_href, opts)
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
APIView for Collections by namespace/name.
|
18
|
-
|
19
|
-
### Example
|
20
|
-
|
21
|
-
```ruby
|
22
|
-
# load the gem
|
23
|
-
require 'pulp_ansible_client'
|
24
|
-
|
25
|
-
api_instance = PulpAnsibleClient::GalaxyCollectionListApi.new
|
26
|
-
ansible_collection_version_href = 'ansible_collection_version_href_example' # String |
|
27
|
-
opts = {
|
28
|
-
page: 56, # Integer | A page number within the paginated result set.
|
29
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
30
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
31
|
-
}
|
32
|
-
|
33
|
-
begin
|
34
|
-
result = api_instance.get(ansible_collection_version_href, opts)
|
35
|
-
p result
|
36
|
-
rescue PulpAnsibleClient::ApiError => e
|
37
|
-
puts "Exception when calling GalaxyCollectionListApi->get: #{e}"
|
38
|
-
end
|
39
|
-
```
|
40
|
-
|
41
|
-
### Parameters
|
42
|
-
|
43
|
-
|
44
|
-
Name | Type | Description | Notes
|
45
|
-
------------- | ------------- | ------------- | -------------
|
46
|
-
**ansible_collection_version_href** | **String**| |
|
47
|
-
**page** | **Integer**| A page number within the paginated result set. | [optional]
|
48
|
-
**fields** | **String**| A list of fields to include in the response. | [optional]
|
49
|
-
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
50
|
-
|
51
|
-
### Return type
|
52
|
-
|
53
|
-
[**InlineResponse20012**](InlineResponse20012.md)
|
54
|
-
|
55
|
-
### Authorization
|
56
|
-
|
57
|
-
No authorization required
|
58
|
-
|
59
|
-
### HTTP request headers
|
60
|
-
|
61
|
-
- **Content-Type**: Not defined
|
62
|
-
- **Accept**: application/json
|
63
|
-
|
data/docs/RoleListApi.md
DELETED
@@ -1,65 +0,0 @@
|
|
1
|
-
# PulpAnsibleClient::RoleListApi
|
2
|
-
|
3
|
-
All URIs are relative to *http://pulp*
|
4
|
-
|
5
|
-
Method | HTTP request | Description
|
6
|
-
------------- | ------------- | -------------
|
7
|
-
[**get**](RoleListApi.md#get) | **GET** {ansible_role_href}versions/ |
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
## get
|
12
|
-
|
13
|
-
> InlineResponse20010 get(ansible_role_href, opts)
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
APIView for Role Versions.
|
18
|
-
|
19
|
-
### Example
|
20
|
-
|
21
|
-
```ruby
|
22
|
-
# load the gem
|
23
|
-
require 'pulp_ansible_client'
|
24
|
-
|
25
|
-
api_instance = PulpAnsibleClient::RoleListApi.new
|
26
|
-
ansible_role_href = 'ansible_role_href_example' # String |
|
27
|
-
opts = {
|
28
|
-
limit: 56, # Integer | Number of results to return per page.
|
29
|
-
offset: 56, # Integer | The initial index from which to return the results.
|
30
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
31
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
32
|
-
}
|
33
|
-
|
34
|
-
begin
|
35
|
-
result = api_instance.get(ansible_role_href, opts)
|
36
|
-
p result
|
37
|
-
rescue PulpAnsibleClient::ApiError => e
|
38
|
-
puts "Exception when calling RoleListApi->get: #{e}"
|
39
|
-
end
|
40
|
-
```
|
41
|
-
|
42
|
-
### Parameters
|
43
|
-
|
44
|
-
|
45
|
-
Name | Type | Description | Notes
|
46
|
-
------------- | ------------- | ------------- | -------------
|
47
|
-
**ansible_role_href** | **String**| |
|
48
|
-
**limit** | **Integer**| Number of results to return per page. | [optional]
|
49
|
-
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
50
|
-
**fields** | **String**| A list of fields to include in the response. | [optional]
|
51
|
-
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
52
|
-
|
53
|
-
### Return type
|
54
|
-
|
55
|
-
[**InlineResponse20010**](InlineResponse20010.md)
|
56
|
-
|
57
|
-
### Authorization
|
58
|
-
|
59
|
-
No authorization required
|
60
|
-
|
61
|
-
### HTTP request headers
|
62
|
-
|
63
|
-
- **Content-Type**: Not defined
|
64
|
-
- **Accept**: application/json
|
65
|
-
|