pulp_npm_client 0.1.0a1.dev01596158992 → 0.1.0a1.dev01596591099
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 +24 -23
- data/docs/ContentPackagesApi.md +5 -5
- data/docs/DistributionsNpmApi.md +20 -20
- data/docs/PulpNpmPackagesApi.md +60 -0
- data/docs/RemotesNpmApi.md +20 -20
- data/docs/RepositoriesNpmApi.md +30 -30
- data/docs/RepositoriesNpmVersionsApi.md +20 -20
- data/lib/pulp_npm_client.rb +1 -0
- data/lib/pulp_npm_client/api/content_packages_api.rb +9 -9
- data/lib/pulp_npm_client/api/distributions_npm_api.rb +36 -36
- data/lib/pulp_npm_client/api/pulp_npm_packages_api.rb +86 -0
- data/lib/pulp_npm_client/api/remotes_npm_api.rb +36 -36
- data/lib/pulp_npm_client/api/repositories_npm_api.rb +54 -54
- data/lib/pulp_npm_client/api/repositories_npm_versions_api.rb +36 -36
- data/lib/pulp_npm_client/version.rb +1 -1
- data/spec/api/content_packages_api_spec.rb +1 -1
- data/spec/api/distributions_npm_api_spec.rb +4 -4
- data/spec/api/pulp_npm_packages_api_spec.rb +48 -0
- data/spec/api/remotes_npm_api_spec.rb +4 -4
- data/spec/api/repositories_npm_api_spec.rb +6 -6
- data/spec/api/repositories_npm_versions_api_spec.rb +4 -4
- metadata +6 -2
@@ -21,7 +21,7 @@ module PulpNpmClient
|
|
21
21
|
end
|
22
22
|
# Delete a repository version
|
23
23
|
# Trigger an asynchronous task to delete a repositroy version.
|
24
|
-
# @param
|
24
|
+
# @param npm_npm_repository_version_href [String]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
26
|
# @option opts [String] :content content
|
27
27
|
# @option opts [String] :content__in content__in
|
@@ -39,14 +39,14 @@ module PulpNpmClient
|
|
39
39
|
# @option opts [String] :pulp_created__lte pulp_created__lte
|
40
40
|
# @option opts [String] :pulp_created__range pulp_created__range
|
41
41
|
# @return [AsyncOperationResponse]
|
42
|
-
def delete(
|
43
|
-
data, _status_code, _headers = delete_with_http_info(
|
42
|
+
def delete(npm_npm_repository_version_href, opts = {})
|
43
|
+
data, _status_code, _headers = delete_with_http_info(npm_npm_repository_version_href, opts)
|
44
44
|
data
|
45
45
|
end
|
46
46
|
|
47
47
|
# Delete a repository version
|
48
48
|
# Trigger an asynchronous task to delete a repositroy version.
|
49
|
-
# @param
|
49
|
+
# @param npm_npm_repository_version_href [String]
|
50
50
|
# @param [Hash] opts the optional parameters
|
51
51
|
# @option opts [String] :content content
|
52
52
|
# @option opts [String] :content__in content__in
|
@@ -64,16 +64,16 @@ module PulpNpmClient
|
|
64
64
|
# @option opts [String] :pulp_created__lte pulp_created__lte
|
65
65
|
# @option opts [String] :pulp_created__range pulp_created__range
|
66
66
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
67
|
-
def delete_with_http_info(
|
67
|
+
def delete_with_http_info(npm_npm_repository_version_href, opts = {})
|
68
68
|
if @api_client.config.debugging
|
69
69
|
@api_client.config.logger.debug 'Calling API: RepositoriesNpmVersionsApi.delete ...'
|
70
70
|
end
|
71
|
-
# verify the required parameter '
|
72
|
-
if @api_client.config.client_side_validation &&
|
73
|
-
fail ArgumentError, "Missing the required parameter '
|
71
|
+
# verify the required parameter 'npm_npm_repository_version_href' is set
|
72
|
+
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.delete"
|
74
74
|
end
|
75
75
|
# resource path
|
76
|
-
local_var_path = '{
|
76
|
+
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
77
|
|
78
78
|
# query parameters
|
79
79
|
query_params = opts[:query_params] || {}
|
@@ -128,7 +128,7 @@ module PulpNpmClient
|
|
128
128
|
|
129
129
|
# List repository versions
|
130
130
|
# A ViewSet for a NpmRepositoryVersion represents a single Npm repository version.
|
131
|
-
# @param
|
131
|
+
# @param npm_npm_repository_href [String]
|
132
132
|
# @param [Hash] opts the optional parameters
|
133
133
|
# @option opts [String] :content content
|
134
134
|
# @option opts [String] :content__in content__in
|
@@ -150,14 +150,14 @@ module PulpNpmClient
|
|
150
150
|
# @option opts [String] :fields A list of fields to include in the response.
|
151
151
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
152
152
|
# @return [InlineResponse2004]
|
153
|
-
def list(
|
154
|
-
data, _status_code, _headers = list_with_http_info(
|
153
|
+
def list(npm_npm_repository_href, opts = {})
|
154
|
+
data, _status_code, _headers = list_with_http_info(npm_npm_repository_href, opts)
|
155
155
|
data
|
156
156
|
end
|
157
157
|
|
158
158
|
# List repository versions
|
159
159
|
# A ViewSet for a NpmRepositoryVersion represents a single Npm repository version.
|
160
|
-
# @param
|
160
|
+
# @param npm_npm_repository_href [String]
|
161
161
|
# @param [Hash] opts the optional parameters
|
162
162
|
# @option opts [String] :content content
|
163
163
|
# @option opts [String] :content__in content__in
|
@@ -179,16 +179,16 @@ module PulpNpmClient
|
|
179
179
|
# @option opts [String] :fields A list of fields to include in the response.
|
180
180
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
181
181
|
# @return [Array<(InlineResponse2004, Integer, Hash)>] InlineResponse2004 data, response status code and response headers
|
182
|
-
def list_with_http_info(
|
182
|
+
def list_with_http_info(npm_npm_repository_href, opts = {})
|
183
183
|
if @api_client.config.debugging
|
184
184
|
@api_client.config.logger.debug 'Calling API: RepositoriesNpmVersionsApi.list ...'
|
185
185
|
end
|
186
|
-
# verify the required parameter '
|
187
|
-
if @api_client.config.client_side_validation &&
|
188
|
-
fail ArgumentError, "Missing the required parameter '
|
186
|
+
# verify the required parameter 'npm_npm_repository_href' is set
|
187
|
+
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.list"
|
189
189
|
end
|
190
190
|
# resource path
|
191
|
-
local_var_path = '{
|
191
|
+
local_var_path = '{npm_npm_repository_href}versions/'.sub('{' + 'npm_npm_repository_href' + '}', CGI.escape(npm_npm_repository_href.to_s).gsub('%2F', '/'))
|
192
192
|
|
193
193
|
# query parameters
|
194
194
|
query_params = opts[:query_params] || {}
|
@@ -247,33 +247,33 @@ module PulpNpmClient
|
|
247
247
|
|
248
248
|
# Inspect a repository version
|
249
249
|
# A ViewSet for a NpmRepositoryVersion represents a single Npm repository version.
|
250
|
-
# @param
|
250
|
+
# @param npm_npm_repository_version_href [String]
|
251
251
|
# @param [Hash] opts the optional parameters
|
252
252
|
# @option opts [String] :fields A list of fields to include in the response.
|
253
253
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
254
254
|
# @return [RepositoryVersionResponse]
|
255
|
-
def read(
|
256
|
-
data, _status_code, _headers = read_with_http_info(
|
255
|
+
def read(npm_npm_repository_version_href, opts = {})
|
256
|
+
data, _status_code, _headers = read_with_http_info(npm_npm_repository_version_href, opts)
|
257
257
|
data
|
258
258
|
end
|
259
259
|
|
260
260
|
# Inspect a repository version
|
261
261
|
# A ViewSet for a NpmRepositoryVersion represents a single Npm repository version.
|
262
|
-
# @param
|
262
|
+
# @param npm_npm_repository_version_href [String]
|
263
263
|
# @param [Hash] opts the optional parameters
|
264
264
|
# @option opts [String] :fields A list of fields to include in the response.
|
265
265
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
266
266
|
# @return [Array<(RepositoryVersionResponse, Integer, Hash)>] RepositoryVersionResponse data, response status code and response headers
|
267
|
-
def read_with_http_info(
|
267
|
+
def read_with_http_info(npm_npm_repository_version_href, opts = {})
|
268
268
|
if @api_client.config.debugging
|
269
269
|
@api_client.config.logger.debug 'Calling API: RepositoriesNpmVersionsApi.read ...'
|
270
270
|
end
|
271
|
-
# verify the required parameter '
|
272
|
-
if @api_client.config.client_side_validation &&
|
273
|
-
fail ArgumentError, "Missing the required parameter '
|
271
|
+
# verify the required parameter 'npm_npm_repository_version_href' is set
|
272
|
+
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.read"
|
274
274
|
end
|
275
275
|
# resource path
|
276
|
-
local_var_path = '{
|
276
|
+
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', '/'))
|
277
277
|
|
278
278
|
# query parameters
|
279
279
|
query_params = opts[:query_params] || {}
|
@@ -314,34 +314,34 @@ module PulpNpmClient
|
|
314
314
|
end
|
315
315
|
|
316
316
|
# Trigger an asynchronous task to repair a repositroy version.
|
317
|
-
# @param
|
317
|
+
# @param npm_npm_repository_version_href [String]
|
318
318
|
# @param repository_version [RepositoryVersion]
|
319
319
|
# @param [Hash] opts the optional parameters
|
320
320
|
# @return [AsyncOperationResponse]
|
321
|
-
def repair(
|
322
|
-
data, _status_code, _headers = repair_with_http_info(
|
321
|
+
def repair(npm_npm_repository_version_href, repository_version, opts = {})
|
322
|
+
data, _status_code, _headers = repair_with_http_info(npm_npm_repository_version_href, repository_version, opts)
|
323
323
|
data
|
324
324
|
end
|
325
325
|
|
326
326
|
# Trigger an asynchronous task to repair a repositroy version.
|
327
|
-
# @param
|
327
|
+
# @param npm_npm_repository_version_href [String]
|
328
328
|
# @param repository_version [RepositoryVersion]
|
329
329
|
# @param [Hash] opts the optional parameters
|
330
330
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
331
|
-
def repair_with_http_info(
|
331
|
+
def repair_with_http_info(npm_npm_repository_version_href, repository_version, opts = {})
|
332
332
|
if @api_client.config.debugging
|
333
333
|
@api_client.config.logger.debug 'Calling API: RepositoriesNpmVersionsApi.repair ...'
|
334
334
|
end
|
335
|
-
# verify the required parameter '
|
336
|
-
if @api_client.config.client_side_validation &&
|
337
|
-
fail ArgumentError, "Missing the required parameter '
|
335
|
+
# verify the required parameter 'npm_npm_repository_version_href' is set
|
336
|
+
if @api_client.config.client_side_validation && npm_npm_repository_version_href.nil?
|
337
|
+
fail ArgumentError, "Missing the required parameter 'npm_npm_repository_version_href' when calling RepositoriesNpmVersionsApi.repair"
|
338
338
|
end
|
339
339
|
# verify the required parameter 'repository_version' is set
|
340
340
|
if @api_client.config.client_side_validation && repository_version.nil?
|
341
341
|
fail ArgumentError, "Missing the required parameter 'repository_version' when calling RepositoriesNpmVersionsApi.repair"
|
342
342
|
end
|
343
343
|
# resource path
|
344
|
-
local_var_path = '{
|
344
|
+
local_var_path = '{npm_npm_repository_version_href}repair/'.sub('{' + 'npm_npm_repository_version_href' + '}', CGI.escape(npm_npm_repository_version_href.to_s).gsub('%2F', '/'))
|
345
345
|
|
346
346
|
# query parameters
|
347
347
|
query_params = opts[:query_params] || {}
|
@@ -73,7 +73,7 @@ describe 'ContentPackagesApi' do
|
|
73
73
|
# unit tests for read
|
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
|
-
# @param
|
76
|
+
# @param npm_package_href
|
77
77
|
# @param [Hash] opts the optional parameters
|
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.
|
@@ -47,7 +47,7 @@ describe 'DistributionsNpmApi' do
|
|
47
47
|
# unit tests for delete
|
48
48
|
# Delete a npm distribution
|
49
49
|
# Trigger an asynchronous delete task
|
50
|
-
# @param
|
50
|
+
# @param npm_npm_distribution_href
|
51
51
|
# @param [Hash] opts the optional parameters
|
52
52
|
# @option opts [String] :base_path base_path
|
53
53
|
# @option opts [String] :base_path__contains base_path__contains
|
@@ -88,7 +88,7 @@ describe 'DistributionsNpmApi' do
|
|
88
88
|
# unit tests for partial_update
|
89
89
|
# Update a npm distribution
|
90
90
|
# Trigger an asynchronous partial update task
|
91
|
-
# @param
|
91
|
+
# @param npm_npm_distribution_href
|
92
92
|
# @param patchednpm_npm_distribution
|
93
93
|
# @param [Hash] opts the optional parameters
|
94
94
|
# @option opts [String] :base_path base_path
|
@@ -108,7 +108,7 @@ describe 'DistributionsNpmApi' do
|
|
108
108
|
# unit tests for read
|
109
109
|
# Inspect a npm distribution
|
110
110
|
# ViewSet for NPM Distributions.
|
111
|
-
# @param
|
111
|
+
# @param npm_npm_distribution_href
|
112
112
|
# @param [Hash] opts the optional parameters
|
113
113
|
# @option opts [String] :fields A list of fields to include in the response.
|
114
114
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
@@ -122,7 +122,7 @@ describe 'DistributionsNpmApi' do
|
|
122
122
|
# unit tests for update
|
123
123
|
# Update a npm distribution
|
124
124
|
# Trigger an asynchronous update task
|
125
|
-
# @param
|
125
|
+
# @param npm_npm_distribution_href
|
126
126
|
# @param npm_npm_distribution
|
127
127
|
# @param [Hash] opts the optional parameters
|
128
128
|
# @option opts [String] :base_path base_path
|
@@ -0,0 +1,48 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for PulpNpmClient::PulpNpmPackagesApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'PulpNpmPackagesApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = PulpNpmClient::PulpNpmPackagesApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of PulpNpmPackagesApi' do
|
30
|
+
it 'should create an instance of PulpNpmPackagesApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(PulpNpmClient::PulpNpmPackagesApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for read
|
36
|
+
# Return a published package.
|
37
|
+
# @param name
|
38
|
+
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
40
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
41
|
+
# @return [nil]
|
42
|
+
describe 'read test' do
|
43
|
+
it 'should work' do
|
44
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
end
|
@@ -47,7 +47,7 @@ describe 'RemotesNpmApi' do
|
|
47
47
|
# unit tests for delete
|
48
48
|
# Delete a npm remote
|
49
49
|
# Trigger an asynchronous delete task
|
50
|
-
# @param
|
50
|
+
# @param npm_npm_remote_href
|
51
51
|
# @param [Hash] opts the optional parameters
|
52
52
|
# @option opts [String] :name name
|
53
53
|
# @option opts [String] :name__in name__in
|
@@ -92,7 +92,7 @@ describe 'RemotesNpmApi' do
|
|
92
92
|
# unit tests for partial_update
|
93
93
|
# Update a npm remote
|
94
94
|
# Trigger an asynchronous partial update task
|
95
|
-
# @param
|
95
|
+
# @param npm_npm_remote_href
|
96
96
|
# @param patchednpm_npm_remote
|
97
97
|
# @param [Hash] opts the optional parameters
|
98
98
|
# @option opts [String] :name name
|
@@ -114,7 +114,7 @@ describe 'RemotesNpmApi' do
|
|
114
114
|
# unit tests for read
|
115
115
|
# Inspect a npm remote
|
116
116
|
# A ViewSet for NpmRemote. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
117
|
-
# @param
|
117
|
+
# @param npm_npm_remote_href
|
118
118
|
# @param [Hash] opts the optional parameters
|
119
119
|
# @option opts [String] :fields A list of fields to include in the response.
|
120
120
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
@@ -128,7 +128,7 @@ describe 'RemotesNpmApi' do
|
|
128
128
|
# unit tests for update
|
129
129
|
# Update a npm remote
|
130
130
|
# Trigger an asynchronous update task
|
131
|
-
# @param
|
131
|
+
# @param npm_npm_remote_href
|
132
132
|
# @param npm_npm_remote
|
133
133
|
# @param [Hash] opts the optional parameters
|
134
134
|
# @option opts [String] :name name
|
@@ -47,7 +47,7 @@ describe 'RepositoriesNpmApi' do
|
|
47
47
|
# unit tests for delete
|
48
48
|
# Delete a npm repository
|
49
49
|
# Trigger an asynchronous delete task
|
50
|
-
# @param
|
50
|
+
# @param npm_npm_repository_href
|
51
51
|
# @param [Hash] opts the optional parameters
|
52
52
|
# @option opts [String] :name name
|
53
53
|
# @option opts [String] :name__in name__in
|
@@ -80,7 +80,7 @@ describe 'RepositoriesNpmApi' do
|
|
80
80
|
# unit tests for modify
|
81
81
|
# Modify Repository Content
|
82
82
|
# Trigger an asynchronous task to create a new repository version.
|
83
|
-
# @param
|
83
|
+
# @param npm_npm_repository_href
|
84
84
|
# @param repository_add_remove_content
|
85
85
|
# @param [Hash] opts the optional parameters
|
86
86
|
# @return [AsyncOperationResponse]
|
@@ -93,7 +93,7 @@ describe 'RepositoriesNpmApi' do
|
|
93
93
|
# unit tests for partial_update
|
94
94
|
# Update a npm repository
|
95
95
|
# Trigger an asynchronous partial update task
|
96
|
-
# @param
|
96
|
+
# @param npm_npm_repository_href
|
97
97
|
# @param patchednpm_npm_repository
|
98
98
|
# @param [Hash] opts the optional parameters
|
99
99
|
# @option opts [String] :name name
|
@@ -109,7 +109,7 @@ describe 'RepositoriesNpmApi' do
|
|
109
109
|
# unit tests for read
|
110
110
|
# Inspect a npm repository
|
111
111
|
# A ViewSet for NpmRepository. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
112
|
-
# @param
|
112
|
+
# @param npm_npm_repository_href
|
113
113
|
# @param [Hash] opts the optional parameters
|
114
114
|
# @option opts [String] :fields A list of fields to include in the response.
|
115
115
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
@@ -123,7 +123,7 @@ describe 'RepositoriesNpmApi' do
|
|
123
123
|
# unit tests for sync
|
124
124
|
# Sync from remote
|
125
125
|
# Trigger an asynchronous task to sync content.
|
126
|
-
# @param
|
126
|
+
# @param npm_npm_repository_href
|
127
127
|
# @param repository_sync_url
|
128
128
|
# @param [Hash] opts the optional parameters
|
129
129
|
# @return [AsyncOperationResponse]
|
@@ -136,7 +136,7 @@ describe 'RepositoriesNpmApi' do
|
|
136
136
|
# unit tests for update
|
137
137
|
# Update a npm repository
|
138
138
|
# Trigger an asynchronous update task
|
139
|
-
# @param
|
139
|
+
# @param npm_npm_repository_href
|
140
140
|
# @param npm_npm_repository
|
141
141
|
# @param [Hash] opts the optional parameters
|
142
142
|
# @option opts [String] :name name
|
@@ -35,7 +35,7 @@ describe 'RepositoriesNpmVersionsApi' do
|
|
35
35
|
# unit tests for delete
|
36
36
|
# Delete a repository version
|
37
37
|
# Trigger an asynchronous task to delete a repositroy version.
|
38
|
-
# @param
|
38
|
+
# @param npm_npm_repository_version_href
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
40
|
# @option opts [String] :content content
|
41
41
|
# @option opts [String] :content__in content__in
|
@@ -62,7 +62,7 @@ describe 'RepositoriesNpmVersionsApi' do
|
|
62
62
|
# unit tests for list
|
63
63
|
# List repository versions
|
64
64
|
# A ViewSet for a NpmRepositoryVersion represents a single Npm repository version.
|
65
|
-
# @param
|
65
|
+
# @param npm_npm_repository_href
|
66
66
|
# @param [Hash] opts the optional parameters
|
67
67
|
# @option opts [String] :content content
|
68
68
|
# @option opts [String] :content__in content__in
|
@@ -93,7 +93,7 @@ describe 'RepositoriesNpmVersionsApi' do
|
|
93
93
|
# unit tests for read
|
94
94
|
# Inspect a repository version
|
95
95
|
# A ViewSet for a NpmRepositoryVersion represents a single Npm repository version.
|
96
|
-
# @param
|
96
|
+
# @param npm_npm_repository_version_href
|
97
97
|
# @param [Hash] opts the optional parameters
|
98
98
|
# @option opts [String] :fields A list of fields to include in the response.
|
99
99
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
@@ -106,7 +106,7 @@ describe 'RepositoriesNpmVersionsApi' do
|
|
106
106
|
|
107
107
|
# unit tests for repair
|
108
108
|
# Trigger an asynchronous task to repair a repositroy version.
|
109
|
-
# @param
|
109
|
+
# @param npm_npm_repository_version_href
|
110
110
|
# @param repository_version
|
111
111
|
# @param [Hash] opts the optional parameters
|
112
112
|
# @return [AsyncOperationResponse]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulp_npm_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0a1.
|
4
|
+
version: 0.1.0a1.dev01596591099
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-08-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -96,6 +96,7 @@ files:
|
|
96
96
|
- docs/PatchednpmNpmRemote.md
|
97
97
|
- docs/PatchednpmNpmRepository.md
|
98
98
|
- docs/PolicyEnum.md
|
99
|
+
- docs/PulpNpmPackagesApi.md
|
99
100
|
- docs/RemotesNpmApi.md
|
100
101
|
- docs/RepositoriesNpmApi.md
|
101
102
|
- docs/RepositoriesNpmVersionsApi.md
|
@@ -107,6 +108,7 @@ files:
|
|
107
108
|
- lib/pulp_npm_client.rb
|
108
109
|
- lib/pulp_npm_client/api/content_packages_api.rb
|
109
110
|
- lib/pulp_npm_client/api/distributions_npm_api.rb
|
111
|
+
- lib/pulp_npm_client/api/pulp_npm_packages_api.rb
|
110
112
|
- lib/pulp_npm_client/api/remotes_npm_api.rb
|
111
113
|
- lib/pulp_npm_client/api/repositories_npm_api.rb
|
112
114
|
- lib/pulp_npm_client/api/repositories_npm_versions_api.rb
|
@@ -141,6 +143,7 @@ files:
|
|
141
143
|
- pulp_npm_client.gemspec
|
142
144
|
- spec/api/content_packages_api_spec.rb
|
143
145
|
- spec/api/distributions_npm_api_spec.rb
|
146
|
+
- spec/api/pulp_npm_packages_api_spec.rb
|
144
147
|
- spec/api/remotes_npm_api_spec.rb
|
145
148
|
- spec/api/repositories_npm_api_spec.rb
|
146
149
|
- spec/api/repositories_npm_versions_api_spec.rb
|
@@ -199,6 +202,7 @@ test_files:
|
|
199
202
|
- spec/api/repositories_npm_api_spec.rb
|
200
203
|
- spec/api/remotes_npm_api_spec.rb
|
201
204
|
- spec/api/repositories_npm_versions_api_spec.rb
|
205
|
+
- spec/api/pulp_npm_packages_api_spec.rb
|
202
206
|
- spec/api/distributions_npm_api_spec.rb
|
203
207
|
- spec/api_client_spec.rb
|
204
208
|
- spec/configuration_spec.rb
|