pulp_npm_client 0.1.0a1.dev01599615493 → 0.1.0a1.dev01600047508
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of pulp_npm_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +22 -22
- data/docs/ContentPackagesApi.md +5 -5
- data/docs/DistributionsNpmApi.md +16 -64
- data/docs/RemotesNpmApi.md +30 -90
- data/docs/RepositoriesNpmApi.md +30 -54
- data/docs/RepositoriesNpmVersionsApi.md +15 -47
- data/lib/pulp_npm_client/api/content_packages_api.rb +6 -6
- data/lib/pulp_npm_client/api/distributions_npm_api.rb +11 -74
- data/lib/pulp_npm_client/api/remotes_npm_api.rb +37 -118
- data/lib/pulp_npm_client/api/repositories_npm_api.rb +37 -64
- data/lib/pulp_npm_client/api/repositories_npm_versions_api.rb +18 -63
- data/lib/pulp_npm_client/version.rb +1 -1
- data/spec/api/content_packages_api_spec.rb +2 -2
- data/spec/api/distributions_npm_api_spec.rb +4 -25
- data/spec/api/remotes_npm_api_spec.rb +12 -39
- data/spec/api/repositories_npm_api_spec.rb +12 -21
- data/spec/api/repositories_npm_versions_api_spec.rb +6 -21
- metadata +2 -2
@@ -23,24 +23,9 @@ module PulpNpmClient
|
|
23
23
|
# Trigger an asynchronous task to delete a repositroy version.
|
24
24
|
# @param npm_npm_repository_version_href [String]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
-
# @option opts [String] :content content
|
27
|
-
# @option opts [String] :content__in content__in
|
28
|
-
# @option opts [String] :number number
|
29
|
-
# @option opts [String] :number__gt number__gt
|
30
|
-
# @option opts [String] :number__gte number__gte
|
31
|
-
# @option opts [String] :number__lt number__lt
|
32
|
-
# @option opts [String] :number__lte number__lte
|
33
|
-
# @option opts [String] :number__range number__range
|
34
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
35
|
-
# @option opts [String] :pulp_created pulp_created
|
36
|
-
# @option opts [String] :pulp_created__gt pulp_created__gt
|
37
|
-
# @option opts [String] :pulp_created__gte pulp_created__gte
|
38
|
-
# @option opts [String] :pulp_created__lt pulp_created__lt
|
39
|
-
# @option opts [String] :pulp_created__lte pulp_created__lte
|
40
|
-
# @option opts [String] :pulp_created__range pulp_created__range
|
41
26
|
# @return [AsyncOperationResponse]
|
42
|
-
def
|
43
|
-
data, _status_code, _headers =
|
27
|
+
def delete4(npm_npm_repository_version_href, opts = {})
|
28
|
+
data, _status_code, _headers = delete4_with_http_info(npm_npm_repository_version_href, opts)
|
44
29
|
data
|
45
30
|
end
|
46
31
|
|
@@ -48,50 +33,20 @@ module PulpNpmClient
|
|
48
33
|
# Trigger an asynchronous task to delete a repositroy version.
|
49
34
|
# @param npm_npm_repository_version_href [String]
|
50
35
|
# @param [Hash] opts the optional parameters
|
51
|
-
# @option opts [String] :content content
|
52
|
-
# @option opts [String] :content__in content__in
|
53
|
-
# @option opts [String] :number number
|
54
|
-
# @option opts [String] :number__gt number__gt
|
55
|
-
# @option opts [String] :number__gte number__gte
|
56
|
-
# @option opts [String] :number__lt number__lt
|
57
|
-
# @option opts [String] :number__lte number__lte
|
58
|
-
# @option opts [String] :number__range number__range
|
59
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
60
|
-
# @option opts [String] :pulp_created pulp_created
|
61
|
-
# @option opts [String] :pulp_created__gt pulp_created__gt
|
62
|
-
# @option opts [String] :pulp_created__gte pulp_created__gte
|
63
|
-
# @option opts [String] :pulp_created__lt pulp_created__lt
|
64
|
-
# @option opts [String] :pulp_created__lte pulp_created__lte
|
65
|
-
# @option opts [String] :pulp_created__range pulp_created__range
|
66
36
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
67
|
-
def
|
37
|
+
def delete4_with_http_info(npm_npm_repository_version_href, opts = {})
|
68
38
|
if @api_client.config.debugging
|
69
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesNpmVersionsApi.
|
39
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesNpmVersionsApi.delete4 ...'
|
70
40
|
end
|
71
41
|
# verify the required parameter 'npm_npm_repository_version_href' is set
|
72
42
|
if @api_client.config.client_side_validation && npm_npm_repository_version_href.nil?
|
73
|
-
fail ArgumentError, "Missing the required parameter 'npm_npm_repository_version_href' when calling RepositoriesNpmVersionsApi.
|
43
|
+
fail ArgumentError, "Missing the required parameter 'npm_npm_repository_version_href' when calling RepositoriesNpmVersionsApi.delete4"
|
74
44
|
end
|
75
45
|
# resource path
|
76
46
|
local_var_path = '{npm_npm_repository_version_href}'.sub('{' + 'npm_npm_repository_version_href' + '}', CGI.escape(npm_npm_repository_version_href.to_s).gsub('%2F', '/'))
|
77
47
|
|
78
48
|
# query parameters
|
79
49
|
query_params = opts[:query_params] || {}
|
80
|
-
query_params[:'content'] = opts[:'content'] if !opts[:'content'].nil?
|
81
|
-
query_params[:'content__in'] = opts[:'content__in'] if !opts[:'content__in'].nil?
|
82
|
-
query_params[:'number'] = opts[:'number'] if !opts[:'number'].nil?
|
83
|
-
query_params[:'number__gt'] = opts[:'number__gt'] if !opts[:'number__gt'].nil?
|
84
|
-
query_params[:'number__gte'] = opts[:'number__gte'] if !opts[:'number__gte'].nil?
|
85
|
-
query_params[:'number__lt'] = opts[:'number__lt'] if !opts[:'number__lt'].nil?
|
86
|
-
query_params[:'number__lte'] = opts[:'number__lte'] if !opts[:'number__lte'].nil?
|
87
|
-
query_params[:'number__range'] = opts[:'number__range'] if !opts[:'number__range'].nil?
|
88
|
-
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
89
|
-
query_params[:'pulp_created'] = opts[:'pulp_created'] if !opts[:'pulp_created'].nil?
|
90
|
-
query_params[:'pulp_created__gt'] = opts[:'pulp_created__gt'] if !opts[:'pulp_created__gt'].nil?
|
91
|
-
query_params[:'pulp_created__gte'] = opts[:'pulp_created__gte'] if !opts[:'pulp_created__gte'].nil?
|
92
|
-
query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
|
93
|
-
query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
|
94
|
-
query_params[:'pulp_created__range'] = opts[:'pulp_created__range'] if !opts[:'pulp_created__range'].nil?
|
95
50
|
|
96
51
|
# header parameters
|
97
52
|
header_params = opts[:header_params] || {}
|
@@ -121,7 +76,7 @@ module PulpNpmClient
|
|
121
76
|
|
122
77
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
123
78
|
if @api_client.config.debugging
|
124
|
-
@api_client.config.logger.debug "API called: RepositoriesNpmVersionsApi#
|
79
|
+
@api_client.config.logger.debug "API called: RepositoriesNpmVersionsApi#delete4\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
125
80
|
end
|
126
81
|
return data, status_code, headers
|
127
82
|
end
|
@@ -150,8 +105,8 @@ module PulpNpmClient
|
|
150
105
|
# @option opts [String] :fields A list of fields to include in the response.
|
151
106
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
152
107
|
# @return [InlineResponse2004]
|
153
|
-
def
|
154
|
-
data, _status_code, _headers =
|
108
|
+
def list5(npm_npm_repository_href, opts = {})
|
109
|
+
data, _status_code, _headers = list5_with_http_info(npm_npm_repository_href, opts)
|
155
110
|
data
|
156
111
|
end
|
157
112
|
|
@@ -179,13 +134,13 @@ module PulpNpmClient
|
|
179
134
|
# @option opts [String] :fields A list of fields to include in the response.
|
180
135
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
181
136
|
# @return [Array<(InlineResponse2004, Integer, Hash)>] InlineResponse2004 data, response status code and response headers
|
182
|
-
def
|
137
|
+
def list5_with_http_info(npm_npm_repository_href, opts = {})
|
183
138
|
if @api_client.config.debugging
|
184
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesNpmVersionsApi.
|
139
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesNpmVersionsApi.list5 ...'
|
185
140
|
end
|
186
141
|
# verify the required parameter 'npm_npm_repository_href' is set
|
187
142
|
if @api_client.config.client_side_validation && npm_npm_repository_href.nil?
|
188
|
-
fail ArgumentError, "Missing the required parameter 'npm_npm_repository_href' when calling RepositoriesNpmVersionsApi.
|
143
|
+
fail ArgumentError, "Missing the required parameter 'npm_npm_repository_href' when calling RepositoriesNpmVersionsApi.list5"
|
189
144
|
end
|
190
145
|
# resource path
|
191
146
|
local_var_path = '{npm_npm_repository_href}versions/'.sub('{' + 'npm_npm_repository_href' + '}', CGI.escape(npm_npm_repository_href.to_s).gsub('%2F', '/'))
|
@@ -240,7 +195,7 @@ module PulpNpmClient
|
|
240
195
|
|
241
196
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
242
197
|
if @api_client.config.debugging
|
243
|
-
@api_client.config.logger.debug "API called: RepositoriesNpmVersionsApi#
|
198
|
+
@api_client.config.logger.debug "API called: RepositoriesNpmVersionsApi#list5\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
244
199
|
end
|
245
200
|
return data, status_code, headers
|
246
201
|
end
|
@@ -252,8 +207,8 @@ module PulpNpmClient
|
|
252
207
|
# @option opts [String] :fields A list of fields to include in the response.
|
253
208
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
254
209
|
# @return [RepositoryVersionResponse]
|
255
|
-
def
|
256
|
-
data, _status_code, _headers =
|
210
|
+
def read4(npm_npm_repository_version_href, opts = {})
|
211
|
+
data, _status_code, _headers = read4_with_http_info(npm_npm_repository_version_href, opts)
|
257
212
|
data
|
258
213
|
end
|
259
214
|
|
@@ -264,13 +219,13 @@ module PulpNpmClient
|
|
264
219
|
# @option opts [String] :fields A list of fields to include in the response.
|
265
220
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
266
221
|
# @return [Array<(RepositoryVersionResponse, Integer, Hash)>] RepositoryVersionResponse data, response status code and response headers
|
267
|
-
def
|
222
|
+
def read4_with_http_info(npm_npm_repository_version_href, opts = {})
|
268
223
|
if @api_client.config.debugging
|
269
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesNpmVersionsApi.
|
224
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesNpmVersionsApi.read4 ...'
|
270
225
|
end
|
271
226
|
# verify the required parameter 'npm_npm_repository_version_href' is set
|
272
227
|
if @api_client.config.client_side_validation && npm_npm_repository_version_href.nil?
|
273
|
-
fail ArgumentError, "Missing the required parameter 'npm_npm_repository_version_href' when calling RepositoriesNpmVersionsApi.
|
228
|
+
fail ArgumentError, "Missing the required parameter 'npm_npm_repository_version_href' when calling RepositoriesNpmVersionsApi.read4"
|
274
229
|
end
|
275
230
|
# resource path
|
276
231
|
local_var_path = '{npm_npm_repository_version_href}'.sub('{' + 'npm_npm_repository_version_href' + '}', CGI.escape(npm_npm_repository_version_href.to_s).gsub('%2F', '/'))
|
@@ -308,7 +263,7 @@ module PulpNpmClient
|
|
308
263
|
|
309
264
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
310
265
|
if @api_client.config.debugging
|
311
|
-
@api_client.config.logger.debug "API called: RepositoriesNpmVersionsApi#
|
266
|
+
@api_client.config.logger.debug "API called: RepositoriesNpmVersionsApi#read4\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
312
267
|
end
|
313
268
|
return data, status_code, headers
|
314
269
|
end
|
@@ -70,7 +70,7 @@ describe 'ContentPackagesApi' do
|
|
70
70
|
end
|
71
71
|
end
|
72
72
|
|
73
|
-
# unit tests for
|
73
|
+
# unit tests for read5
|
74
74
|
# Inspect a package
|
75
75
|
# A ViewSet for Package. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/npm/units/ Also specify queryset and serializer for Package.
|
76
76
|
# @param npm_package_href
|
@@ -78,7 +78,7 @@ describe 'ContentPackagesApi' do
|
|
78
78
|
# @option opts [String] :fields A list of fields to include in the response.
|
79
79
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
80
80
|
# @return [NpmPackageResponse]
|
81
|
-
describe '
|
81
|
+
describe 'read5 test' do
|
82
82
|
it 'should work' do
|
83
83
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
84
84
|
end
|
@@ -32,13 +32,13 @@ describe 'DistributionsNpmApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
-
# unit tests for
|
35
|
+
# unit tests for create2
|
36
36
|
# Create a npm distribution
|
37
37
|
# Trigger an asynchronous create task
|
38
38
|
# @param npm_npm_distribution
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
40
|
# @return [AsyncOperationResponse]
|
41
|
-
describe '
|
41
|
+
describe 'create2 test' 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
|
@@ -49,13 +49,6 @@ describe 'DistributionsNpmApi' do
|
|
49
49
|
# Trigger an asynchronous delete task
|
50
50
|
# @param npm_npm_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
|
@@ -63,7 +56,7 @@ describe 'DistributionsNpmApi' do
|
|
63
56
|
end
|
64
57
|
end
|
65
58
|
|
66
|
-
# unit tests for
|
59
|
+
# unit tests for list2
|
67
60
|
# List npm distributions
|
68
61
|
# ViewSet for NPM Distributions.
|
69
62
|
# @param [Hash] opts the optional parameters
|
@@ -79,7 +72,7 @@ describe 'DistributionsNpmApi' do
|
|
79
72
|
# @option opts [String] :fields A list of fields to include in the response.
|
80
73
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
81
74
|
# @return [InlineResponse2001]
|
82
|
-
describe '
|
75
|
+
describe 'list2 test' do
|
83
76
|
it 'should work' do
|
84
77
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
85
78
|
end
|
@@ -91,13 +84,6 @@ describe 'DistributionsNpmApi' do
|
|
91
84
|
# @param npm_npm_distribution_href
|
92
85
|
# @param patchednpm_npm_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 'DistributionsNpmApi' do
|
|
125
111
|
# @param npm_npm_distribution_href
|
126
112
|
# @param npm_npm_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
|
@@ -32,40 +32,31 @@ describe 'RemotesNpmApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
-
# unit tests for
|
35
|
+
# unit tests for create3
|
36
36
|
# Create a npm remote
|
37
37
|
# A ViewSet for NpmRemote. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
38
38
|
# @param npm_npm_remote
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
40
|
# @return [NpmNpmRemoteResponse]
|
41
|
-
describe '
|
41
|
+
describe 'create3 test' 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
|
-
# unit tests for
|
47
|
+
# unit tests for delete2
|
48
48
|
# Delete a npm remote
|
49
49
|
# Trigger an asynchronous delete task
|
50
50
|
# @param npm_npm_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
|
-
describe '
|
53
|
+
describe 'delete2 test' do
|
63
54
|
it 'should work' do
|
64
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
65
56
|
end
|
66
57
|
end
|
67
58
|
|
68
|
-
# unit tests for
|
59
|
+
# unit tests for list3
|
69
60
|
# List npm remotes
|
70
61
|
# A ViewSet for NpmRemote. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
71
62
|
# @param [Hash] opts the optional parameters
|
@@ -83,35 +74,26 @@ describe 'RemotesNpmApi' do
|
|
83
74
|
# @option opts [String] :fields A list of fields to include in the response.
|
84
75
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
85
76
|
# @return [InlineResponse2002]
|
86
|
-
describe '
|
77
|
+
describe 'list3 test' do
|
87
78
|
it 'should work' do
|
88
79
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
89
80
|
end
|
90
81
|
end
|
91
82
|
|
92
|
-
# unit tests for
|
83
|
+
# unit tests for partial_update2
|
93
84
|
# Update a npm remote
|
94
85
|
# Trigger an asynchronous partial update task
|
95
86
|
# @param npm_npm_remote_href
|
96
87
|
# @param patchednpm_npm_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
|
-
describe '
|
90
|
+
describe 'partial_update2 test' do
|
109
91
|
it 'should work' do
|
110
92
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
111
93
|
end
|
112
94
|
end
|
113
95
|
|
114
|
-
# unit tests for
|
96
|
+
# unit tests for read2
|
115
97
|
# Inspect a npm remote
|
116
98
|
# A ViewSet for NpmRemote. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
117
99
|
# @param npm_npm_remote_href
|
@@ -119,29 +101,20 @@ describe 'RemotesNpmApi' do
|
|
119
101
|
# @option opts [String] :fields A list of fields to include in the response.
|
120
102
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
121
103
|
# @return [NpmNpmRemoteResponse]
|
122
|
-
describe '
|
104
|
+
describe 'read2 test' do
|
123
105
|
it 'should work' do
|
124
106
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
125
107
|
end
|
126
108
|
end
|
127
109
|
|
128
|
-
# unit tests for
|
110
|
+
# unit tests for update2
|
129
111
|
# Update a npm remote
|
130
112
|
# Trigger an asynchronous update task
|
131
113
|
# @param npm_npm_remote_href
|
132
114
|
# @param npm_npm_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
|
-
describe '
|
117
|
+
describe 'update2 test' do
|
145
118
|
it 'should work' do
|
146
119
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
147
120
|
end
|
@@ -32,34 +32,31 @@ describe 'RepositoriesNpmApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
-
# unit tests for
|
35
|
+
# unit tests for create4
|
36
36
|
# Create a npm repository
|
37
37
|
# A ViewSet for NpmRepository. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
38
38
|
# @param npm_npm_repository
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
40
|
# @return [NpmNpmRepositoryResponse]
|
41
|
-
describe '
|
41
|
+
describe 'create4 test' 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
|
-
# unit tests for
|
47
|
+
# unit tests for delete3
|
48
48
|
# Delete a npm repository
|
49
49
|
# Trigger an asynchronous delete task
|
50
50
|
# @param npm_npm_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
|
-
describe '
|
53
|
+
describe 'delete3 test' do
|
57
54
|
it 'should work' do
|
58
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
59
56
|
end
|
60
57
|
end
|
61
58
|
|
62
|
-
# unit tests for
|
59
|
+
# unit tests for list4
|
63
60
|
# List npm repositorys
|
64
61
|
# A ViewSet for NpmRepository. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
65
62
|
# @param [Hash] opts the optional parameters
|
@@ -71,7 +68,7 @@ describe 'RepositoriesNpmApi' do
|
|
71
68
|
# @option opts [String] :fields A list of fields to include in the response.
|
72
69
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
73
70
|
# @return [InlineResponse2003]
|
74
|
-
describe '
|
71
|
+
describe 'list4 test' do
|
75
72
|
it 'should work' do
|
76
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
77
74
|
end
|
@@ -90,23 +87,20 @@ describe 'RepositoriesNpmApi' do
|
|
90
87
|
end
|
91
88
|
end
|
92
89
|
|
93
|
-
# unit tests for
|
90
|
+
# unit tests for partial_update3
|
94
91
|
# Update a npm repository
|
95
92
|
# Trigger an asynchronous partial update task
|
96
93
|
# @param npm_npm_repository_href
|
97
94
|
# @param patchednpm_npm_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
|
-
describe '
|
97
|
+
describe 'partial_update3 test' do
|
104
98
|
it 'should work' do
|
105
99
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
106
100
|
end
|
107
101
|
end
|
108
102
|
|
109
|
-
# unit tests for
|
103
|
+
# unit tests for read3
|
110
104
|
# Inspect a npm repository
|
111
105
|
# A ViewSet for NpmRepository. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
112
106
|
# @param npm_npm_repository_href
|
@@ -114,7 +108,7 @@ describe 'RepositoriesNpmApi' do
|
|
114
108
|
# @option opts [String] :fields A list of fields to include in the response.
|
115
109
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
116
110
|
# @return [NpmNpmRepositoryResponse]
|
117
|
-
describe '
|
111
|
+
describe 'read3 test' do
|
118
112
|
it 'should work' do
|
119
113
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
120
114
|
end
|
@@ -133,17 +127,14 @@ describe 'RepositoriesNpmApi' do
|
|
133
127
|
end
|
134
128
|
end
|
135
129
|
|
136
|
-
# unit tests for
|
130
|
+
# unit tests for update3
|
137
131
|
# Update a npm repository
|
138
132
|
# Trigger an asynchronous update task
|
139
133
|
# @param npm_npm_repository_href
|
140
134
|
# @param npm_npm_repository
|
141
135
|
# @param [Hash] opts the optional parameters
|
142
|
-
# @option opts [String] :name name
|
143
|
-
# @option opts [String] :name__in name__in
|
144
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
145
136
|
# @return [AsyncOperationResponse]
|
146
|
-
describe '
|
137
|
+
describe 'update3 test' do
|
147
138
|
it 'should work' do
|
148
139
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
149
140
|
end
|