pulp_python_client 3.9.0 → 3.11.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 +18 -8
- data/docs/ContentPackagesApi.md +17 -11
- data/docs/DistributionsPypiApi.md +130 -4
- data/docs/PatchedpythonPythonDistribution.md +2 -0
- data/docs/PatchedpythonPythonRemote.md +1 -1
- data/docs/PublicationsPypiApi.md +9 -3
- data/docs/PypiApi.md +1 -1
- data/docs/PypiLegacyApi.md +1 -1
- data/docs/PypiMetadataApi.md +1 -1
- data/docs/PypiSimpleApi.md +1 -1
- data/docs/PythonBanderRemote.md +1 -1
- data/docs/PythonPythonDistribution.md +2 -0
- data/docs/PythonPythonDistributionResponse.md +2 -0
- data/docs/PythonPythonPackageContent.md +5 -5
- data/docs/PythonPythonRemote.md +1 -1
- data/docs/PythonPythonRemoteResponse.md +1 -1
- data/docs/RemotesPythonApi.md +131 -5
- data/docs/RepositoriesPythonApi.md +134 -4
- data/docs/RepositoriesPythonVersionsApi.md +7 -3
- data/docs/SetLabel.md +19 -0
- data/docs/SetLabelResponse.md +19 -0
- data/docs/UnsetLabel.md +17 -0
- data/docs/UnsetLabelResponse.md +19 -0
- data/lib/pulp_python_client/api/content_packages_api.rb +20 -11
- data/lib/pulp_python_client/api/distributions_pypi_api.rb +164 -3
- data/lib/pulp_python_client/api/publications_pypi_api.rb +11 -2
- data/lib/pulp_python_client/api/remotes_python_api.rb +165 -4
- data/lib/pulp_python_client/api/repositories_python_api.rb +169 -2
- data/lib/pulp_python_client/api/repositories_python_versions_api.rb +8 -2
- data/lib/pulp_python_client/configuration.rb +2 -2
- data/lib/pulp_python_client/models/patchedpython_python_distribution.rb +13 -1
- data/lib/pulp_python_client/models/patchedpython_python_remote.rb +1 -1
- data/lib/pulp_python_client/models/python_bander_remote.rb +1 -1
- data/lib/pulp_python_client/models/python_python_distribution.rb +13 -1
- data/lib/pulp_python_client/models/python_python_distribution_response.rb +13 -1
- data/lib/pulp_python_client/models/python_python_package_content.rb +13 -13
- data/lib/pulp_python_client/models/python_python_remote.rb +1 -1
- data/lib/pulp_python_client/models/python_python_remote_response.rb +1 -1
- data/lib/pulp_python_client/models/set_label.rb +252 -0
- data/lib/pulp_python_client/models/set_label_response.rb +243 -0
- data/lib/pulp_python_client/models/unset_label.rb +242 -0
- data/lib/pulp_python_client/models/unset_label_response.rb +242 -0
- data/lib/pulp_python_client/version.rb +1 -1
- data/lib/pulp_python_client.rb +4 -0
- data/spec/api/content_packages_api_spec.rb +8 -5
- data/spec/api/distributions_pypi_api_spec.rb +34 -1
- data/spec/api/publications_pypi_api_spec.rb +4 -1
- data/spec/api/remotes_python_api_spec.rb +35 -2
- data/spec/api/repositories_python_api_spec.rb +36 -1
- data/spec/api/repositories_python_versions_api_spec.rb +3 -1
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/patchedpython_python_distribution_spec.rb +6 -0
- data/spec/models/python_python_distribution_response_spec.rb +6 -0
- data/spec/models/python_python_distribution_spec.rb +6 -0
- data/spec/models/python_python_package_content_spec.rb +4 -4
- data/spec/models/set_label_response_spec.rb +47 -0
- data/spec/models/set_label_spec.rb +47 -0
- data/spec/models/unset_label_response_spec.rb +47 -0
- data/spec/models/unset_label_spec.rb +41 -0
- metadata +50 -34
@@ -62,7 +62,7 @@ describe 'RemotesPythonApi' do
|
|
62
62
|
# @param config A Bandersnatch config that may be used to construct a Python Remote.
|
63
63
|
# @param name A unique name for this remote
|
64
64
|
# @param [Hash] opts the optional parameters
|
65
|
-
# @option opts [PolicyEnum] :policy The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'on_demand' is the default.
|
65
|
+
# @option opts [PolicyEnum] :policy The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'on_demand' is the default. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again.
|
66
66
|
# @return [PythonPythonRemoteResponse]
|
67
67
|
describe 'from_bandersnatch test' do
|
68
68
|
it 'should work' do
|
@@ -78,10 +78,16 @@ describe 'RemotesPythonApi' do
|
|
78
78
|
# @option opts [String] :name Filter results where name matches value
|
79
79
|
# @option opts [String] :name__contains Filter results where name contains value
|
80
80
|
# @option opts [String] :name__icontains Filter results where name contains value
|
81
|
+
# @option opts [String] :name__iexact Filter results where name matches value
|
81
82
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
83
|
+
# @option opts [String] :name__iregex Filter results where name matches regex value
|
84
|
+
# @option opts [String] :name__istartswith Filter results where name starts with value
|
85
|
+
# @option opts [String] :name__regex Filter results where name matches regex value
|
82
86
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
83
87
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
84
|
-
# @option opts [Array<String>] :ordering Ordering
|
88
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
89
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
90
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
85
91
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
86
92
|
# @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
|
87
93
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
@@ -89,6 +95,7 @@ describe 'RemotesPythonApi' do
|
|
89
95
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
90
96
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
91
97
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
98
|
+
# @option opts [String] :q
|
92
99
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
93
100
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
94
101
|
# @return [PaginatedpythonPythonRemoteResponseList]
|
@@ -125,6 +132,32 @@ describe 'RemotesPythonApi' do
|
|
125
132
|
end
|
126
133
|
end
|
127
134
|
|
135
|
+
# unit tests for set_label
|
136
|
+
# Set a label
|
137
|
+
# Set a single pulp_label on the object to a specific value or null.
|
138
|
+
# @param python_python_remote_href
|
139
|
+
# @param set_label
|
140
|
+
# @param [Hash] opts the optional parameters
|
141
|
+
# @return [SetLabelResponse]
|
142
|
+
describe 'set_label test' do
|
143
|
+
it 'should work' do
|
144
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
145
|
+
end
|
146
|
+
end
|
147
|
+
|
148
|
+
# unit tests for unset_label
|
149
|
+
# Unset a label
|
150
|
+
# Unset a single pulp_label on the object.
|
151
|
+
# @param python_python_remote_href
|
152
|
+
# @param unset_label
|
153
|
+
# @param [Hash] opts the optional parameters
|
154
|
+
# @return [UnsetLabelResponse]
|
155
|
+
describe 'unset_label test' do
|
156
|
+
it 'should work' do
|
157
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
158
|
+
end
|
159
|
+
end
|
160
|
+
|
128
161
|
# unit tests for update
|
129
162
|
# Update a python remote
|
130
163
|
# Trigger an asynchronous update task
|
@@ -60,15 +60,23 @@ describe 'RepositoriesPythonApi' do
|
|
60
60
|
# List python repositorys
|
61
61
|
# PythonRepository represents a single Python repository, to which content can be synced, added, or removed.
|
62
62
|
# @param [Hash] opts the optional parameters
|
63
|
+
# @option opts [String] :latest_with_content Content Unit referenced by HREF
|
63
64
|
# @option opts [Integer] :limit Number of results to return per page.
|
64
65
|
# @option opts [String] :name Filter results where name matches value
|
65
66
|
# @option opts [String] :name__contains Filter results where name contains value
|
66
67
|
# @option opts [String] :name__icontains Filter results where name contains value
|
68
|
+
# @option opts [String] :name__iexact Filter results where name matches value
|
67
69
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
70
|
+
# @option opts [String] :name__iregex Filter results where name matches regex value
|
71
|
+
# @option opts [String] :name__istartswith Filter results where name starts with value
|
72
|
+
# @option opts [String] :name__regex Filter results where name matches regex value
|
68
73
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
69
74
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
70
|
-
# @option opts [Array<String>] :ordering Ordering
|
75
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
76
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
77
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
71
78
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
79
|
+
# @option opts [String] :q
|
72
80
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
73
81
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
74
82
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
@@ -78,6 +86,7 @@ describe 'RepositoriesPythonApi' do
|
|
78
86
|
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
79
87
|
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
80
88
|
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
89
|
+
# @option opts [String] :with_content Content Unit referenced by HREF
|
81
90
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
82
91
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
83
92
|
# @return [PaginatedpythonPythonRepositoryResponseList]
|
@@ -127,6 +136,19 @@ describe 'RepositoriesPythonApi' do
|
|
127
136
|
end
|
128
137
|
end
|
129
138
|
|
139
|
+
# unit tests for set_label
|
140
|
+
# Set a label
|
141
|
+
# Set a single pulp_label on the object to a specific value or null.
|
142
|
+
# @param python_python_repository_href
|
143
|
+
# @param set_label
|
144
|
+
# @param [Hash] opts the optional parameters
|
145
|
+
# @return [SetLabelResponse]
|
146
|
+
describe 'set_label test' do
|
147
|
+
it 'should work' do
|
148
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
149
|
+
end
|
150
|
+
end
|
151
|
+
|
130
152
|
# unit tests for sync
|
131
153
|
# Sync from remote
|
132
154
|
# Trigger an asynchronous task to sync python content. The sync task will retrieve Python content from the specified `Remote` and update the specified `Respository`, creating a new `RepositoryVersion`.
|
@@ -140,6 +162,19 @@ describe 'RepositoriesPythonApi' do
|
|
140
162
|
end
|
141
163
|
end
|
142
164
|
|
165
|
+
# unit tests for unset_label
|
166
|
+
# Unset a label
|
167
|
+
# Unset a single pulp_label on the object.
|
168
|
+
# @param python_python_repository_href
|
169
|
+
# @param unset_label
|
170
|
+
# @param [Hash] opts the optional parameters
|
171
|
+
# @return [UnsetLabelResponse]
|
172
|
+
describe 'unset_label test' do
|
173
|
+
it 'should work' do
|
174
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
175
|
+
end
|
176
|
+
end
|
177
|
+
|
143
178
|
# unit tests for update
|
144
179
|
# Update a python repository
|
145
180
|
# Trigger an asynchronous update task
|
@@ -59,13 +59,15 @@ describe 'RepositoriesPythonVersionsApi' do
|
|
59
59
|
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
60
60
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
61
61
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
62
|
-
# @option opts [Array<String>] :ordering Ordering
|
62
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
63
63
|
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
64
64
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
65
65
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
66
66
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
67
67
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
68
68
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
69
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
70
|
+
# @option opts [String] :q
|
69
71
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
70
72
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
71
73
|
# @return [PaginatedRepositoryVersionResponseList]
|
data/spec/configuration_spec.rb
CHANGED
@@ -18,7 +18,7 @@ describe PulpPythonClient::Configuration do
|
|
18
18
|
before(:each) do
|
19
19
|
# uncomment below to setup host and base_path
|
20
20
|
# require 'URI'
|
21
|
-
# uri = URI.parse("
|
21
|
+
# uri = URI.parse("http://pulp")
|
22
22
|
# PulpPythonClient.configure do |c|
|
23
23
|
# c.host = uri.host
|
24
24
|
# c.base_path = uri.path
|
@@ -28,14 +28,14 @@ describe PulpPythonClient::Configuration do
|
|
28
28
|
describe '#base_url' do
|
29
29
|
it 'should have the default value' do
|
30
30
|
# uncomment below to test default value of the base path
|
31
|
-
# expect(config.base_url).to eq("
|
31
|
+
# expect(config.base_url).to eq("http://pulp")
|
32
32
|
end
|
33
33
|
|
34
34
|
it 'should remove trailing slashes' do
|
35
35
|
[nil, '', '/', '//'].each do |base_path|
|
36
36
|
config.base_path = base_path
|
37
37
|
# uncomment below to test trailing slashes
|
38
|
-
# expect(config.base_url).to eq("
|
38
|
+
# expect(config.base_url).to eq("http://pulp")
|
39
39
|
end
|
40
40
|
end
|
41
41
|
end
|
@@ -44,6 +44,12 @@ describe 'PatchedpythonPythonDistribution' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
+
describe 'test attribute "hidden"' 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
|
describe 'test attribute "pulp_labels"' do
|
48
54
|
it 'should work' do
|
49
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -62,6 +62,12 @@ describe 'PythonPythonDistributionResponse' do
|
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
+
describe 'test attribute "hidden"' 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
|
+
|
65
71
|
describe 'test attribute "pulp_labels"' do
|
66
72
|
it 'should work' do
|
67
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -44,6 +44,12 @@ describe 'PythonPythonDistribution' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
+
describe 'test attribute "hidden"' 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
|
describe 'test attribute "pulp_labels"' do
|
48
54
|
it 'should work' do
|
49
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -32,25 +32,25 @@ describe 'PythonPythonPackageContent' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpPythonClient::PythonPythonPackageContent)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "repository"' 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 "relative_path"' 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 "file"' 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
|
@@ -0,0 +1,47 @@
|
|
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.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PulpPythonClient::SetLabelResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'SetLabelResponse' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpPythonClient::SetLabelResponse.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of SetLabelResponse' do
|
31
|
+
it 'should create an instance of SetLabelResponse' do
|
32
|
+
expect(@instance).to be_instance_of(PulpPythonClient::SetLabelResponse)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "key"' 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
|
+
|
41
|
+
describe 'test attribute "value"' 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
|
+
end
|
@@ -0,0 +1,47 @@
|
|
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.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PulpPythonClient::SetLabel
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'SetLabel' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpPythonClient::SetLabel.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of SetLabel' do
|
31
|
+
it 'should create an instance of SetLabel' do
|
32
|
+
expect(@instance).to be_instance_of(PulpPythonClient::SetLabel)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "key"' 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
|
+
|
41
|
+
describe 'test attribute "value"' 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
|
+
end
|
@@ -0,0 +1,47 @@
|
|
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.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PulpPythonClient::UnsetLabelResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'UnsetLabelResponse' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpPythonClient::UnsetLabelResponse.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of UnsetLabelResponse' do
|
31
|
+
it 'should create an instance of UnsetLabelResponse' do
|
32
|
+
expect(@instance).to be_instance_of(PulpPythonClient::UnsetLabelResponse)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "key"' 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
|
+
|
41
|
+
describe 'test attribute "value"' 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
|
+
end
|
@@ -0,0 +1,41 @@
|
|
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.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PulpPythonClient::UnsetLabel
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'UnsetLabel' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpPythonClient::UnsetLabel.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of UnsetLabel' do
|
31
|
+
it 'should create an instance of UnsetLabel' do
|
32
|
+
expect(@instance).to be_instance_of(PulpPythonClient::UnsetLabel)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "key"' 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
|
+
|
41
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulp_python_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.11.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: 2023-
|
11
|
+
date: 2023-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -123,7 +123,11 @@ files:
|
|
123
123
|
- docs/RepositoryAddRemoveContent.md
|
124
124
|
- docs/RepositorySyncURL.md
|
125
125
|
- docs/RepositoryVersionResponse.md
|
126
|
+
- docs/SetLabel.md
|
127
|
+
- docs/SetLabelResponse.md
|
126
128
|
- docs/SummaryResponse.md
|
129
|
+
- docs/UnsetLabel.md
|
130
|
+
- docs/UnsetLabelResponse.md
|
127
131
|
- lib/pulp_python_client.rb
|
128
132
|
- lib/pulp_python_client/api/content_packages_api.rb
|
129
133
|
- lib/pulp_python_client/api/distributions_pypi_api.rb
|
@@ -171,7 +175,11 @@ files:
|
|
171
175
|
- lib/pulp_python_client/models/repository_add_remove_content.rb
|
172
176
|
- lib/pulp_python_client/models/repository_sync_url.rb
|
173
177
|
- lib/pulp_python_client/models/repository_version_response.rb
|
178
|
+
- lib/pulp_python_client/models/set_label.rb
|
179
|
+
- lib/pulp_python_client/models/set_label_response.rb
|
174
180
|
- lib/pulp_python_client/models/summary_response.rb
|
181
|
+
- lib/pulp_python_client/models/unset_label.rb
|
182
|
+
- lib/pulp_python_client/models/unset_label_response.rb
|
175
183
|
- lib/pulp_python_client/version.rb
|
176
184
|
- pulp_python_client.gemspec
|
177
185
|
- spec/api/content_packages_api_spec.rb
|
@@ -219,7 +227,11 @@ files:
|
|
219
227
|
- spec/models/repository_add_remove_content_spec.rb
|
220
228
|
- spec/models/repository_sync_url_spec.rb
|
221
229
|
- spec/models/repository_version_response_spec.rb
|
230
|
+
- spec/models/set_label_response_spec.rb
|
231
|
+
- spec/models/set_label_spec.rb
|
222
232
|
- spec/models/summary_response_spec.rb
|
233
|
+
- spec/models/unset_label_response_spec.rb
|
234
|
+
- spec/models/unset_label_spec.rb
|
223
235
|
- spec/spec_helper.rb
|
224
236
|
homepage: https://github.com/pulp/pulp_python
|
225
237
|
licenses:
|
@@ -245,50 +257,54 @@ signing_key:
|
|
245
257
|
specification_version: 4
|
246
258
|
summary: Pulp 3 API Ruby Gem
|
247
259
|
test_files:
|
248
|
-
- spec/api/
|
260
|
+
- spec/api/remotes_python_api_spec.rb
|
249
261
|
- spec/api/pypi_simple_api_spec.rb
|
250
|
-
- spec/api/
|
251
|
-
- spec/api/pypi_metadata_api_spec.rb
|
252
|
-
- spec/api/distributions_pypi_api_spec.rb
|
253
|
-
- spec/api/repositories_python_versions_api_spec.rb
|
262
|
+
- spec/api/content_packages_api_spec.rb
|
254
263
|
- spec/api/publications_pypi_api_spec.rb
|
255
264
|
- spec/api/pypi_api_spec.rb
|
256
|
-
- spec/api/remotes_python_api_spec.rb
|
257
265
|
- spec/api/pypi_legacy_api_spec.rb
|
266
|
+
- spec/api/distributions_pypi_api_spec.rb
|
267
|
+
- spec/api/repositories_python_api_spec.rb
|
268
|
+
- spec/api/repositories_python_versions_api_spec.rb
|
269
|
+
- spec/api/pypi_metadata_api_spec.rb
|
258
270
|
- spec/api_client_spec.rb
|
259
271
|
- spec/configuration_spec.rb
|
260
|
-
- spec/models/repository_version_response_spec.rb
|
261
|
-
- spec/models/paginatedpython_python_repository_response_list_spec.rb
|
262
|
-
- spec/models/summary_response_spec.rb
|
263
|
-
- spec/models/paginatedpython_python_distribution_response_list_spec.rb
|
264
|
-
- spec/models/paginatedpython_python_publication_response_list_spec.rb
|
265
|
-
- spec/models/python_bander_remote_spec.rb
|
266
|
-
- spec/models/repository_sync_url_spec.rb
|
267
|
-
- spec/models/patchedpython_python_repository_spec.rb
|
268
|
-
- spec/models/python_python_repository_spec.rb
|
269
|
-
- spec/models/package_metadata_response_spec.rb
|
270
|
-
- spec/models/python_python_publication_response_spec.rb
|
271
|
-
- spec/models/python_python_remote_response_hidden_fields_spec.rb
|
272
|
-
- spec/models/paginatedpython_python_remote_response_list_spec.rb
|
273
|
-
- spec/models/repository_add_remove_content_spec.rb
|
274
|
-
- spec/models/repair_spec.rb
|
275
272
|
- spec/models/exclude_platforms_enum_spec.rb
|
276
|
-
- spec/models/
|
277
|
-
- spec/models/
|
273
|
+
- spec/models/repository_sync_url_spec.rb
|
274
|
+
- spec/models/python_python_distribution_response_spec.rb
|
278
275
|
- spec/models/package_upload_task_response_spec.rb
|
279
|
-
- spec/models/
|
280
|
-
- spec/models/python_python_package_content_spec.rb
|
281
|
-
- spec/models/paginatedpython_python_package_content_response_list_spec.rb
|
276
|
+
- spec/models/python_python_remote_response_hidden_fields_spec.rb
|
282
277
|
- spec/models/package_types_enum_spec.rb
|
283
|
-
- spec/models/
|
284
|
-
- spec/models/
|
278
|
+
- spec/models/python_python_repository_response_spec.rb
|
279
|
+
- spec/models/unset_label_spec.rb
|
285
280
|
- spec/models/patchedpython_python_remote_spec.rb
|
281
|
+
- spec/models/summary_response_spec.rb
|
282
|
+
- spec/models/repository_version_response_spec.rb
|
283
|
+
- spec/models/python_python_remote_response_spec.rb
|
284
|
+
- spec/models/python_python_repository_spec.rb
|
285
|
+
- spec/models/package_metadata_response_spec.rb
|
286
|
+
- spec/models/patchedpython_python_repository_spec.rb
|
287
|
+
- spec/models/paginated_repository_version_response_list_spec.rb
|
288
|
+
- spec/models/paginatedpython_python_repository_response_list_spec.rb
|
289
|
+
- spec/models/set_label_spec.rb
|
286
290
|
- spec/models/content_summary_response_spec.rb
|
291
|
+
- spec/models/paginatedpython_python_distribution_response_list_spec.rb
|
292
|
+
- spec/models/async_operation_response_spec.rb
|
287
293
|
- spec/models/python_python_remote_spec.rb
|
288
|
-
- spec/models/
|
289
|
-
- spec/models/
|
294
|
+
- spec/models/python_python_publication_response_spec.rb
|
295
|
+
- spec/models/python_bander_remote_spec.rb
|
290
296
|
- spec/models/python_python_publication_spec.rb
|
291
|
-
- spec/models/
|
292
|
-
- spec/models/
|
297
|
+
- spec/models/policy_enum_spec.rb
|
298
|
+
- spec/models/patchedpython_python_distribution_spec.rb
|
299
|
+
- spec/models/paginatedpython_python_publication_response_list_spec.rb
|
300
|
+
- spec/models/unset_label_response_spec.rb
|
301
|
+
- spec/models/repair_spec.rb
|
302
|
+
- spec/models/paginatedpython_python_package_content_response_list_spec.rb
|
293
303
|
- spec/models/python_python_distribution_spec.rb
|
304
|
+
- spec/models/repository_add_remove_content_spec.rb
|
305
|
+
- spec/models/python_python_package_content_spec.rb
|
306
|
+
- spec/models/paginatedpython_python_remote_response_list_spec.rb
|
307
|
+
- spec/models/package_upload_spec.rb
|
308
|
+
- spec/models/set_label_response_spec.rb
|
309
|
+
- spec/models/python_python_package_content_response_spec.rb
|
294
310
|
- spec/spec_helper.rb
|