pulp_npm_client 0.1.0a1.dev01595813316 → 0.1.0a1.dev01596158992
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 -11
- data/docs/ContentPackagesApi.md +27 -27
- data/docs/ContentSummary.md +3 -3
- data/docs/ContentSummaryResponse.md +21 -0
- data/docs/DistributionsNpmApi.md +104 -56
- data/docs/InlineResponse200.md +3 -3
- data/docs/InlineResponse2001.md +3 -3
- data/docs/InlineResponse2002.md +3 -3
- data/docs/InlineResponse2003.md +3 -3
- data/docs/InlineResponse2004.md +3 -3
- data/docs/NpmNpmDistribution.md +1 -7
- data/docs/NpmNpmDistributionResponse.md +31 -0
- data/docs/NpmNpmRemote.md +4 -10
- data/docs/NpmNpmRemoteResponse.md +43 -0
- data/docs/NpmNpmRepository.md +4 -10
- data/docs/NpmNpmRepositoryResponse.md +29 -0
- data/docs/NpmPackage.md +5 -5
- data/docs/NpmPackageResponse.md +27 -0
- data/docs/PatchednpmNpmDistribution.md +25 -0
- data/docs/PatchednpmNpmRemote.md +37 -0
- data/docs/PatchednpmNpmRepository.md +21 -0
- data/docs/PolicyEnum.md +16 -0
- data/docs/RemotesNpmApi.md +124 -64
- data/docs/RepositoriesNpmApi.md +94 -70
- data/docs/RepositoriesNpmVersionsApi.md +90 -58
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/docs/RepositorySyncURL.md +1 -1
- data/docs/RepositoryVersion.md +1 -9
- data/docs/RepositoryVersionResponse.md +25 -0
- data/lib/pulp_npm_client.rb +12 -2
- data/lib/pulp_npm_client/api/content_packages_api.rb +34 -46
- data/lib/pulp_npm_client/api/distributions_npm_api.rb +131 -68
- data/lib/pulp_npm_client/api/remotes_npm_api.rb +165 -84
- data/lib/pulp_npm_client/api/repositories_npm_api.rb +121 -94
- data/lib/pulp_npm_client/api/repositories_npm_versions_api.rb +119 -74
- data/lib/pulp_npm_client/api_client.rb +2 -2
- data/lib/pulp_npm_client/api_error.rb +2 -2
- data/lib/pulp_npm_client/configuration.rb +3 -3
- data/lib/pulp_npm_client/models/async_operation_response.rb +3 -2
- data/lib/pulp_npm_client/models/content_summary.rb +9 -15
- data/lib/pulp_npm_client/models/content_summary_response.rb +240 -0
- data/lib/pulp_npm_client/models/inline_response200.rb +3 -13
- data/lib/pulp_npm_client/models/inline_response2001.rb +3 -13
- data/lib/pulp_npm_client/models/inline_response2002.rb +3 -13
- data/lib/pulp_npm_client/models/inline_response2003.rb +3 -13
- data/lib/pulp_npm_client/models/inline_response2004.rb +3 -13
- data/lib/pulp_npm_client/models/npm_npm_distribution.rb +4 -85
- data/lib/pulp_npm_client/models/npm_npm_distribution_response.rb +290 -0
- data/lib/pulp_npm_client/models/npm_npm_remote.rb +7 -199
- data/lib/pulp_npm_client/models/npm_npm_remote_response.rb +368 -0
- data/lib/pulp_npm_client/models/npm_npm_repository.rb +18 -78
- data/lib/pulp_npm_client/models/npm_npm_repository_response.rb +271 -0
- data/lib/pulp_npm_client/models/npm_package.rb +24 -79
- data/lib/pulp_npm_client/models/npm_package_response.rb +269 -0
- data/lib/pulp_npm_client/models/patchednpm_npm_distribution.rb +251 -0
- data/lib/pulp_npm_client/models/patchednpm_npm_remote.rb +329 -0
- data/lib/pulp_npm_client/models/patchednpm_npm_repository.rb +229 -0
- data/lib/pulp_npm_client/models/policy_enum.rb +37 -0
- data/lib/pulp_npm_client/models/repository_add_remove_content.rb +5 -4
- data/lib/pulp_npm_client/models/repository_sync_url.rb +3 -8
- data/lib/pulp_npm_client/models/repository_version.rb +7 -43
- data/lib/pulp_npm_client/models/repository_version_response.rb +246 -0
- data/lib/pulp_npm_client/version.rb +3 -3
- data/pulp_npm_client.gemspec +4 -4
- data/spec/api/content_packages_api_spec.rb +14 -14
- data/spec/api/distributions_npm_api_spec.rb +39 -18
- data/spec/api/remotes_npm_api_spec.rb +51 -24
- data/spec/api/repositories_npm_api_spec.rb +31 -22
- data/spec/api/repositories_npm_versions_api_spec.rb +38 -23
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/async_operation_response_spec.rb +2 -2
- data/spec/models/content_summary_response_spec.rb +53 -0
- data/spec/models/content_summary_spec.rb +2 -2
- data/spec/models/inline_response2001_spec.rb +2 -2
- data/spec/models/inline_response2002_spec.rb +2 -2
- data/spec/models/inline_response2003_spec.rb +2 -2
- data/spec/models/inline_response2004_spec.rb +2 -2
- data/spec/models/inline_response200_spec.rb +2 -2
- data/spec/models/npm_npm_distribution_response_spec.rb +83 -0
- data/spec/models/npm_npm_distribution_spec.rb +2 -20
- data/spec/models/npm_npm_remote_response_spec.rb +119 -0
- data/spec/models/npm_npm_remote_spec.rb +2 -24
- data/spec/models/npm_npm_repository_response_spec.rb +77 -0
- data/spec/models/npm_npm_repository_spec.rb +5 -23
- data/spec/models/npm_package_response_spec.rb +71 -0
- data/spec/models/npm_package_spec.rb +6 -6
- data/spec/models/patchednpm_npm_distribution_spec.rb +65 -0
- data/spec/models/patchednpm_npm_remote_spec.rb +101 -0
- data/spec/models/patchednpm_npm_repository_spec.rb +53 -0
- data/spec/models/policy_enum_spec.rb +35 -0
- data/spec/models/repository_add_remove_content_spec.rb +2 -2
- data/spec/models/repository_sync_url_spec.rb +2 -2
- data/spec/models/repository_version_response_spec.rb +65 -0
- data/spec/models/repository_version_spec.rb +2 -26
- data/spec/spec_helper.rb +2 -2
- metadata +54 -14
@@ -1,15 +1,15 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
|
-
|
7
|
+
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module PulpNpmClient
|
14
|
-
VERSION = '0.1.0a1.
|
14
|
+
VERSION = '0.1.0a1.dev01596158992'
|
15
15
|
end
|
data/pulp_npm_client.gemspec
CHANGED
@@ -3,10 +3,10 @@
|
|
3
3
|
=begin
|
4
4
|
#Pulp 3 API
|
5
5
|
|
6
|
-
#
|
6
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
7
7
|
|
8
8
|
The version of the OpenAPI document: v3
|
9
|
-
|
9
|
+
Contact: pulp-list@redhat.com
|
10
10
|
Generated by: https://openapi-generator.tech
|
11
11
|
OpenAPI Generator version: 4.2.3
|
12
12
|
|
@@ -20,10 +20,10 @@ Gem::Specification.new do |s|
|
|
20
20
|
s.version = PulpNpmClient::VERSION
|
21
21
|
s.platform = Gem::Platform::RUBY
|
22
22
|
s.authors = ["OpenAPI-Generator"]
|
23
|
-
s.email = [""]
|
23
|
+
s.email = ["pulp-list@redhat.com"]
|
24
24
|
s.homepage = "https://openapi-generator.tech"
|
25
25
|
s.summary = "Pulp 3 API Ruby Gem"
|
26
|
-
s.description = "
|
26
|
+
s.description = "Fetch, Upload, Organize, and Distribute Software Packages"
|
27
27
|
s.license = 'GPL-2.0+'
|
28
28
|
s.required_ruby_version = ">= 1.9"
|
29
29
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
|
-
|
7
|
+
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -34,7 +34,7 @@ describe 'ContentPackagesApi' do
|
|
34
34
|
|
35
35
|
# unit tests for create
|
36
36
|
# Create a package
|
37
|
-
# \"Artifacts\" need to be popped off and saved indpendently, as they are not actually part of the Content model.
|
37
|
+
# Perform bookkeeping when saving Content. \"Artifacts\" need to be popped off and saved indpendently, as they are not actually part of the Content model.
|
38
38
|
# @param relative_path
|
39
39
|
# @param name
|
40
40
|
# @param version
|
@@ -42,7 +42,7 @@ describe 'ContentPackagesApi' do
|
|
42
42
|
# @option opts [String] :artifact Artifact file representing the physical content
|
43
43
|
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
44
44
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
45
|
-
# @return [
|
45
|
+
# @return [NpmPackageResponse]
|
46
46
|
describe 'create test' do
|
47
47
|
it 'should work' do
|
48
48
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -51,16 +51,16 @@ describe 'ContentPackagesApi' do
|
|
51
51
|
|
52
52
|
# unit tests for list
|
53
53
|
# List packages
|
54
|
-
# 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.
|
54
|
+
# 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.
|
55
55
|
# @param [Hash] opts the optional parameters
|
56
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
57
|
-
# @option opts [String] :name Filter results where name matches value
|
58
|
-
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
59
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
60
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
61
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
62
56
|
# @option opts [Integer] :limit Number of results to return per page.
|
57
|
+
# @option opts [String] :name name
|
58
|
+
# @option opts [String] :name__in name__in
|
63
59
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
60
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
61
|
+
# @option opts [String] :repository_version repository_version
|
62
|
+
# @option opts [String] :repository_version_added repository_version_added
|
63
|
+
# @option opts [String] :repository_version_removed repository_version_removed
|
64
64
|
# @option opts [String] :fields A list of fields to include in the response.
|
65
65
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
66
66
|
# @return [InlineResponse200]
|
@@ -72,12 +72,12 @@ describe 'ContentPackagesApi' do
|
|
72
72
|
|
73
73
|
# unit tests for read
|
74
74
|
# Inspect a package
|
75
|
-
# 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 package_href
|
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 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.
|
80
|
-
# @return [
|
80
|
+
# @return [NpmPackageResponse]
|
81
81
|
describe 'read test' do
|
82
82
|
it 'should work' do
|
83
83
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
|
-
|
7
|
+
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -35,7 +35,7 @@ describe 'DistributionsNpmApi' do
|
|
35
35
|
# unit tests for create
|
36
36
|
# Create a npm distribution
|
37
37
|
# Trigger an asynchronous create task
|
38
|
-
# @param
|
38
|
+
# @param npm_npm_distribution
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
40
|
# @return [AsyncOperationResponse]
|
41
41
|
describe 'create test' do
|
@@ -47,8 +47,15 @@ describe 'DistributionsNpmApi' do
|
|
47
47
|
# unit tests for delete
|
48
48
|
# Delete a npm distribution
|
49
49
|
# Trigger an asynchronous delete task
|
50
|
-
# @param npm_distribution_href
|
50
|
+
# @param 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.
|
52
59
|
# @return [AsyncOperationResponse]
|
53
60
|
describe 'delete test' do
|
54
61
|
it 'should work' do
|
@@ -60,15 +67,15 @@ describe 'DistributionsNpmApi' do
|
|
60
67
|
# List npm distributions
|
61
68
|
# ViewSet for NPM Distributions.
|
62
69
|
# @param [Hash] opts the optional parameters
|
63
|
-
# @option opts [String] :
|
64
|
-
# @option opts [String] :
|
65
|
-
# @option opts [String] :
|
66
|
-
# @option opts [String] :
|
67
|
-
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
68
|
-
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
69
|
-
# @option opts [String] :base_path__in Filter results where base_path is in a comma-separated list of values
|
70
|
+
# @option opts [String] :base_path base_path
|
71
|
+
# @option opts [String] :base_path__contains base_path__contains
|
72
|
+
# @option opts [String] :base_path__icontains base_path__icontains
|
73
|
+
# @option opts [String] :base_path__in base_path__in
|
70
74
|
# @option opts [Integer] :limit Number of results to return per page.
|
75
|
+
# @option opts [String] :name name
|
76
|
+
# @option opts [String] :name__in name__in
|
71
77
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
78
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
72
79
|
# @option opts [String] :fields A list of fields to include in the response.
|
73
80
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
74
81
|
# @return [InlineResponse2001]
|
@@ -79,11 +86,18 @@ describe 'DistributionsNpmApi' do
|
|
79
86
|
end
|
80
87
|
|
81
88
|
# unit tests for partial_update
|
82
|
-
#
|
89
|
+
# Update a npm distribution
|
83
90
|
# Trigger an asynchronous partial update task
|
84
|
-
# @param npm_distribution_href
|
85
|
-
# @param
|
91
|
+
# @param npm_distribution_href
|
92
|
+
# @param patchednpm_npm_distribution
|
86
93
|
# @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.
|
87
101
|
# @return [AsyncOperationResponse]
|
88
102
|
describe 'partial_update test' do
|
89
103
|
it 'should work' do
|
@@ -94,11 +108,11 @@ describe 'DistributionsNpmApi' do
|
|
94
108
|
# unit tests for read
|
95
109
|
# Inspect a npm distribution
|
96
110
|
# ViewSet for NPM Distributions.
|
97
|
-
# @param npm_distribution_href
|
111
|
+
# @param npm_distribution_href
|
98
112
|
# @param [Hash] opts the optional parameters
|
99
113
|
# @option opts [String] :fields A list of fields to include in the response.
|
100
114
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
101
|
-
# @return [
|
115
|
+
# @return [NpmNpmDistributionResponse]
|
102
116
|
describe 'read test' do
|
103
117
|
it 'should work' do
|
104
118
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -108,9 +122,16 @@ describe 'DistributionsNpmApi' do
|
|
108
122
|
# unit tests for update
|
109
123
|
# Update a npm distribution
|
110
124
|
# Trigger an asynchronous update task
|
111
|
-
# @param npm_distribution_href
|
112
|
-
# @param
|
125
|
+
# @param npm_distribution_href
|
126
|
+
# @param npm_npm_distribution
|
113
127
|
# @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.
|
114
135
|
# @return [AsyncOperationResponse]
|
115
136
|
describe 'update test' do
|
116
137
|
it 'should work' do
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
|
-
|
7
|
+
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -34,10 +34,10 @@ describe 'RemotesNpmApi' do
|
|
34
34
|
|
35
35
|
# unit tests for create
|
36
36
|
# Create a npm remote
|
37
|
-
# Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
38
|
-
# @param
|
37
|
+
# A ViewSet for NpmRemote. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
38
|
+
# @param npm_npm_remote
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [
|
40
|
+
# @return [NpmNpmRemoteResponse]
|
41
41
|
describe 'create test' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -47,8 +47,17 @@ describe 'RemotesNpmApi' do
|
|
47
47
|
# unit tests for delete
|
48
48
|
# Delete a npm remote
|
49
49
|
# Trigger an asynchronous delete task
|
50
|
-
# @param npm_remote_href
|
50
|
+
# @param 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
|
52
61
|
# @return [AsyncOperationResponse]
|
53
62
|
describe 'delete test' do
|
54
63
|
it 'should work' do
|
@@ -58,19 +67,19 @@ describe 'RemotesNpmApi' do
|
|
58
67
|
|
59
68
|
# unit tests for list
|
60
69
|
# List npm remotes
|
61
|
-
# Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
70
|
+
# A ViewSet for NpmRemote. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
62
71
|
# @param [Hash] opts the optional parameters
|
63
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
64
|
-
# @option opts [String] :name
|
65
|
-
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
66
|
-
# @option opts [String] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
67
|
-
# @option opts [String] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
68
|
-
# @option opts [String] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
69
|
-
# @option opts [String] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
70
|
-
# @option opts [String] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
71
|
-
# @option opts [String] :pulp_last_updated ISO 8601 formatted dates are supported
|
72
72
|
# @option opts [Integer] :limit Number of results to return per page.
|
73
|
+
# @option opts [String] :name name
|
74
|
+
# @option opts [String] :name__in name__in
|
73
75
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
76
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
77
|
+
# @option opts [String] :pulp_last_updated pulp_last_updated
|
78
|
+
# @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
|
79
|
+
# @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
|
80
|
+
# @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
|
81
|
+
# @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
|
82
|
+
# @option opts [String] :pulp_last_updated__range pulp_last_updated__range
|
74
83
|
# @option opts [String] :fields A list of fields to include in the response.
|
75
84
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
76
85
|
# @return [InlineResponse2002]
|
@@ -81,11 +90,20 @@ describe 'RemotesNpmApi' do
|
|
81
90
|
end
|
82
91
|
|
83
92
|
# unit tests for partial_update
|
84
|
-
#
|
93
|
+
# Update a npm remote
|
85
94
|
# Trigger an asynchronous partial update task
|
86
|
-
# @param npm_remote_href
|
87
|
-
# @param
|
95
|
+
# @param npm_remote_href
|
96
|
+
# @param patchednpm_npm_remote
|
88
97
|
# @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
|
89
107
|
# @return [AsyncOperationResponse]
|
90
108
|
describe 'partial_update test' do
|
91
109
|
it 'should work' do
|
@@ -95,12 +113,12 @@ describe 'RemotesNpmApi' do
|
|
95
113
|
|
96
114
|
# unit tests for read
|
97
115
|
# Inspect a npm remote
|
98
|
-
# Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
99
|
-
# @param npm_remote_href
|
116
|
+
# A ViewSet for NpmRemote. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
117
|
+
# @param npm_remote_href
|
100
118
|
# @param [Hash] opts the optional parameters
|
101
119
|
# @option opts [String] :fields A list of fields to include in the response.
|
102
120
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
103
|
-
# @return [
|
121
|
+
# @return [NpmNpmRemoteResponse]
|
104
122
|
describe 'read test' do
|
105
123
|
it 'should work' do
|
106
124
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -110,9 +128,18 @@ describe 'RemotesNpmApi' do
|
|
110
128
|
# unit tests for update
|
111
129
|
# Update a npm remote
|
112
130
|
# Trigger an asynchronous update task
|
113
|
-
# @param npm_remote_href
|
114
|
-
# @param
|
131
|
+
# @param npm_remote_href
|
132
|
+
# @param npm_npm_remote
|
115
133
|
# @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
|
116
143
|
# @return [AsyncOperationResponse]
|
117
144
|
describe 'update test' do
|
118
145
|
it 'should work' do
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
|
-
|
7
|
+
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -34,10 +34,10 @@ describe 'RepositoriesNpmApi' do
|
|
34
34
|
|
35
35
|
# unit tests for create
|
36
36
|
# Create a npm repository
|
37
|
-
# Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
38
|
-
# @param
|
37
|
+
# A ViewSet for NpmRepository. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
38
|
+
# @param npm_npm_repository
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [
|
40
|
+
# @return [NpmNpmRepositoryResponse]
|
41
41
|
describe 'create test' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -47,8 +47,11 @@ describe 'RepositoriesNpmApi' do
|
|
47
47
|
# unit tests for delete
|
48
48
|
# Delete a npm repository
|
49
49
|
# Trigger an asynchronous delete task
|
50
|
-
# @param npm_repository_href
|
50
|
+
# @param 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.
|
52
55
|
# @return [AsyncOperationResponse]
|
53
56
|
describe 'delete test' do
|
54
57
|
it 'should work' do
|
@@ -58,13 +61,13 @@ describe 'RepositoriesNpmApi' do
|
|
58
61
|
|
59
62
|
# unit tests for list
|
60
63
|
# List npm repositorys
|
61
|
-
# Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
64
|
+
# A ViewSet for NpmRepository. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
62
65
|
# @param [Hash] opts the optional parameters
|
63
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
64
|
-
# @option opts [String] :name
|
65
|
-
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
66
66
|
# @option opts [Integer] :limit Number of results to return per page.
|
67
|
+
# @option opts [String] :name name
|
68
|
+
# @option opts [String] :name__in name__in
|
67
69
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
70
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
68
71
|
# @option opts [String] :fields A list of fields to include in the response.
|
69
72
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
70
73
|
# @return [InlineResponse2003]
|
@@ -77,8 +80,8 @@ describe 'RepositoriesNpmApi' do
|
|
77
80
|
# unit tests for modify
|
78
81
|
# Modify Repository Content
|
79
82
|
# Trigger an asynchronous task to create a new repository version.
|
80
|
-
# @param npm_repository_href
|
81
|
-
# @param
|
83
|
+
# @param npm_repository_href
|
84
|
+
# @param repository_add_remove_content
|
82
85
|
# @param [Hash] opts the optional parameters
|
83
86
|
# @return [AsyncOperationResponse]
|
84
87
|
describe 'modify test' do
|
@@ -88,11 +91,14 @@ describe 'RepositoriesNpmApi' do
|
|
88
91
|
end
|
89
92
|
|
90
93
|
# unit tests for partial_update
|
91
|
-
#
|
94
|
+
# Update a npm repository
|
92
95
|
# Trigger an asynchronous partial update task
|
93
|
-
# @param npm_repository_href
|
94
|
-
# @param
|
96
|
+
# @param npm_repository_href
|
97
|
+
# @param patchednpm_npm_repository
|
95
98
|
# @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.
|
96
102
|
# @return [AsyncOperationResponse]
|
97
103
|
describe 'partial_update test' do
|
98
104
|
it 'should work' do
|
@@ -102,12 +108,12 @@ describe 'RepositoriesNpmApi' do
|
|
102
108
|
|
103
109
|
# unit tests for read
|
104
110
|
# Inspect a npm repository
|
105
|
-
# Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
106
|
-
# @param npm_repository_href
|
111
|
+
# A ViewSet for NpmRepository. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
112
|
+
# @param npm_repository_href
|
107
113
|
# @param [Hash] opts the optional parameters
|
108
114
|
# @option opts [String] :fields A list of fields to include in the response.
|
109
115
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
110
|
-
# @return [
|
116
|
+
# @return [NpmNpmRepositoryResponse]
|
111
117
|
describe 'read test' do
|
112
118
|
it 'should work' do
|
113
119
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -117,8 +123,8 @@ describe 'RepositoriesNpmApi' do
|
|
117
123
|
# unit tests for sync
|
118
124
|
# Sync from remote
|
119
125
|
# Trigger an asynchronous task to sync content.
|
120
|
-
# @param npm_repository_href
|
121
|
-
# @param
|
126
|
+
# @param npm_repository_href
|
127
|
+
# @param repository_sync_url
|
122
128
|
# @param [Hash] opts the optional parameters
|
123
129
|
# @return [AsyncOperationResponse]
|
124
130
|
describe 'sync test' do
|
@@ -130,9 +136,12 @@ describe 'RepositoriesNpmApi' do
|
|
130
136
|
# unit tests for update
|
131
137
|
# Update a npm repository
|
132
138
|
# Trigger an asynchronous update task
|
133
|
-
# @param npm_repository_href
|
134
|
-
# @param
|
139
|
+
# @param npm_repository_href
|
140
|
+
# @param npm_npm_repository
|
135
141
|
# @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.
|
136
145
|
# @return [AsyncOperationResponse]
|
137
146
|
describe 'update test' do
|
138
147
|
it 'should work' do
|