pulp_npm_client 0.1.0a4 → 0.1.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 +24 -10
- data/docs/AsyncOperationResponse.md +8 -7
- data/docs/ContentPackagesApi.md +126 -64
- data/docs/ContentSummaryResponse.md +12 -11
- data/docs/DistributionsNpmApi.md +362 -93
- data/docs/NpmNpmDistribution.md +18 -15
- data/docs/NpmNpmDistributionResponse.md +30 -21
- data/docs/NpmNpmRemote.md +48 -47
- data/docs/NpmNpmRemoteResponse.md +48 -43
- data/docs/NpmNpmRemoteResponseHiddenFieldsInner.md +20 -0
- data/docs/NpmNpmRepository.md +16 -15
- data/docs/NpmNpmRepositoryResponse.md +28 -23
- data/docs/NpmPackageResponse.md +22 -17
- data/docs/PaginatedRepositoryVersionResponseList.md +14 -13
- data/docs/PaginatednpmNpmDistributionResponseList.md +14 -13
- data/docs/PaginatednpmNpmRemoteResponseList.md +14 -13
- data/docs/PaginatednpmNpmRepositoryResponseList.md +14 -13
- data/docs/PaginatednpmPackageResponseList.md +14 -13
- data/docs/PatchednpmNpmDistribution.md +18 -15
- data/docs/PatchednpmNpmRemote.md +48 -47
- data/docs/PatchednpmNpmRepository.md +16 -15
- data/docs/PolicyEnum.md +4 -5
- data/docs/RemotesNpmApi.md +364 -99
- data/docs/Repair.md +8 -7
- data/docs/RepositoriesNpmApi.md +429 -110
- data/docs/RepositoriesNpmVersionsApi.md +156 -80
- data/docs/RepositoryAddRemoveContent.md +12 -11
- data/docs/RepositorySyncURL.md +10 -9
- data/docs/RepositoryVersionResponse.md +22 -17
- data/docs/SetLabel.md +20 -0
- data/docs/SetLabelResponse.md +20 -0
- data/docs/UnsetLabel.md +18 -0
- data/docs/UnsetLabelResponse.md +20 -0
- data/lib/pulp_npm_client/api/content_packages_api.rb +72 -44
- data/lib/pulp_npm_client/api/distributions_npm_api.rb +243 -47
- data/lib/pulp_npm_client/api/remotes_npm_api.rb +247 -57
- data/lib/pulp_npm_client/api/repositories_npm_api.rb +283 -55
- data/lib/pulp_npm_client/api/repositories_npm_versions_api.rb +71 -52
- data/lib/pulp_npm_client/api_client.rb +137 -102
- data/lib/pulp_npm_client/api_error.rb +2 -1
- data/lib/pulp_npm_client/configuration.rb +163 -22
- data/lib/pulp_npm_client/models/async_operation_response.rb +32 -22
- data/lib/pulp_npm_client/models/content_summary_response.rb +36 -22
- data/lib/pulp_npm_client/models/npm_npm_distribution.rb +51 -25
- data/lib/pulp_npm_client/models/npm_npm_distribution_response.rb +83 -27
- data/lib/pulp_npm_client/models/npm_npm_remote.rb +61 -25
- data/lib/pulp_npm_client/models/npm_npm_remote_response.rb +99 -41
- data/lib/pulp_npm_client/models/npm_npm_remote_response_hidden_fields_inner.rb +237 -0
- data/lib/pulp_npm_client/models/npm_npm_repository.rb +37 -25
- data/lib/pulp_npm_client/models/npm_npm_repository_response.rb +59 -27
- data/lib/pulp_npm_client/models/npm_package_response.rb +58 -24
- data/lib/pulp_npm_client/models/paginated_repository_version_response_list.rb +44 -22
- data/lib/pulp_npm_client/models/paginatednpm_npm_distribution_response_list.rb +44 -22
- data/lib/pulp_npm_client/models/paginatednpm_npm_remote_response_list.rb +44 -22
- data/lib/pulp_npm_client/models/paginatednpm_npm_repository_response_list.rb +44 -22
- data/lib/pulp_npm_client/models/paginatednpm_package_response_list.rb +44 -22
- data/lib/pulp_npm_client/models/patchednpm_npm_distribution.rb +57 -27
- data/lib/pulp_npm_client/models/patchednpm_npm_remote.rb +67 -27
- data/lib/pulp_npm_client/models/patchednpm_npm_repository.rb +40 -26
- data/lib/pulp_npm_client/models/policy_enum.rb +8 -4
- data/lib/pulp_npm_client/models/repair.rb +30 -22
- data/lib/pulp_npm_client/models/repository_add_remove_content.rb +33 -25
- data/lib/pulp_npm_client/models/repository_sync_url.rb +30 -22
- data/lib/pulp_npm_client/models/repository_version_response.rb +53 -25
- data/lib/pulp_npm_client/models/set_label.rb +264 -0
- data/lib/pulp_npm_client/models/set_label_response.rb +255 -0
- data/lib/pulp_npm_client/models/unset_label.rb +252 -0
- data/lib/pulp_npm_client/models/unset_label_response.rb +252 -0
- data/lib/pulp_npm_client/version.rb +2 -2
- data/lib/pulp_npm_client.rb +6 -3
- data/pulp_npm_client.gemspec +10 -7
- data/spec/api/content_packages_api_spec.rb +22 -16
- data/spec/api/distributions_npm_api_spec.rb +51 -14
- data/spec/api/remotes_npm_api_spec.rb +54 -19
- data/spec/api/repositories_npm_api_spec.rb +60 -15
- data/spec/api/repositories_npm_versions_api_spec.rb +23 -19
- data/spec/models/async_operation_response_spec.rb +7 -12
- data/spec/models/content_summary_response_spec.rb +9 -14
- data/spec/models/npm_npm_distribution_response_spec.rb +38 -19
- data/spec/models/npm_npm_distribution_spec.rb +17 -16
- data/spec/models/npm_npm_remote_response_hidden_fields_inner_spec.rb +42 -0
- data/spec/models/npm_npm_remote_response_spec.rb +42 -35
- data/spec/models/npm_npm_remote_spec.rb +27 -32
- data/spec/models/npm_npm_repository_response_spec.rb +27 -20
- data/spec/models/npm_npm_repository_spec.rb +11 -16
- data/spec/models/npm_package_response_spec.rb +24 -17
- data/spec/models/paginated_repository_version_response_list_spec.rb +10 -15
- data/spec/models/paginatednpm_npm_distribution_response_list_spec.rb +10 -15
- data/spec/models/paginatednpm_npm_remote_response_list_spec.rb +10 -15
- data/spec/models/paginatednpm_npm_repository_response_list_spec.rb +10 -15
- data/spec/models/paginatednpm_package_response_list_spec.rb +10 -15
- data/spec/models/patchednpm_npm_distribution_spec.rb +17 -16
- data/spec/models/patchednpm_npm_remote_spec.rb +27 -32
- data/spec/models/patchednpm_npm_repository_spec.rb +11 -16
- data/spec/models/policy_enum_spec.rb +6 -11
- data/spec/models/repair_spec.rb +7 -12
- data/spec/models/repository_add_remove_content_spec.rb +9 -14
- data/spec/models/repository_sync_url_spec.rb +8 -13
- data/spec/models/repository_version_response_spec.rb +24 -17
- data/spec/models/set_label_response_spec.rb +42 -0
- data/spec/models/set_label_spec.rb +42 -0
- data/spec/models/unset_label_response_spec.rb +42 -0
- data/spec/models/unset_label_spec.rb +36 -0
- data/spec/spec_helper.rb +1 -1
- metadata +94 -59
- data/docs/NpmPackage.md +0 -29
- data/docs/PulpNpmPackagesApi.md +0 -60
- data/git_push.sh +0 -58
- data/lib/pulp_npm_client/api/pulp_npm_packages_api.rb +0 -86
- data/lib/pulp_npm_client/models/npm_package.rb +0 -337
- data/spec/api/pulp_npm_packages_api_spec.rb +0 -48
- data/spec/api_client_spec.rb +0 -188
- data/spec/configuration_spec.rb +0 -42
- data/spec/models/npm_package_spec.rb +0 -77
@@ -6,7 +6,7 @@
|
|
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
|
+
Generator version: 7.10.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -17,66 +17,85 @@ require 'date'
|
|
17
17
|
# Unit tests for PulpNpmClient::NpmNpmDistributionResponse
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe
|
21
|
-
|
22
|
-
# run before each test
|
23
|
-
@instance = PulpNpmClient::NpmNpmDistributionResponse.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
20
|
+
describe PulpNpmClient::NpmNpmDistributionResponse do
|
21
|
+
let(:instance) { PulpNpmClient::NpmNpmDistributionResponse.new }
|
29
22
|
|
30
23
|
describe 'test an instance of NpmNpmDistributionResponse' do
|
31
24
|
it 'should create an instance of NpmNpmDistributionResponse' do
|
32
|
-
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(PulpNpmClient::NpmNpmDistributionResponse)
|
33
27
|
end
|
34
28
|
end
|
29
|
+
|
35
30
|
describe 'test attribute "pulp_href"' do
|
36
31
|
it 'should work' do
|
37
|
-
# assertion here. ref: https://
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
describe 'test attribute "prn"' do
|
37
|
+
it 'should work' do
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
38
39
|
end
|
39
40
|
end
|
40
41
|
|
41
42
|
describe 'test attribute "pulp_created"' do
|
42
43
|
it 'should work' do
|
43
|
-
# assertion here. ref: https://
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
describe 'test attribute "pulp_last_updated"' do
|
49
|
+
it 'should work' do
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
44
51
|
end
|
45
52
|
end
|
46
53
|
|
47
54
|
describe 'test attribute "base_path"' do
|
48
55
|
it 'should work' do
|
49
|
-
# assertion here. ref: https://
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
50
57
|
end
|
51
58
|
end
|
52
59
|
|
53
60
|
describe 'test attribute "base_url"' do
|
54
61
|
it 'should work' do
|
55
|
-
# assertion here. ref: https://
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
56
63
|
end
|
57
64
|
end
|
58
65
|
|
59
66
|
describe 'test attribute "content_guard"' do
|
60
67
|
it 'should work' do
|
61
|
-
# assertion here. ref: https://
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
72
|
+
describe 'test attribute "no_content_change_since"' do
|
73
|
+
it 'should work' do
|
74
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
describe 'test attribute "hidden"' do
|
79
|
+
it 'should work' do
|
80
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
62
81
|
end
|
63
82
|
end
|
64
83
|
|
65
84
|
describe 'test attribute "pulp_labels"' do
|
66
85
|
it 'should work' do
|
67
|
-
# assertion here. ref: https://
|
86
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
68
87
|
end
|
69
88
|
end
|
70
89
|
|
71
90
|
describe 'test attribute "name"' do
|
72
91
|
it 'should work' do
|
73
|
-
# assertion here. ref: https://
|
92
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
74
93
|
end
|
75
94
|
end
|
76
95
|
|
77
96
|
describe 'test attribute "repository"' do
|
78
97
|
it 'should work' do
|
79
|
-
# assertion here. ref: https://
|
98
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
80
99
|
end
|
81
100
|
end
|
82
101
|
|
@@ -6,7 +6,7 @@
|
|
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
|
+
Generator version: 7.10.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -17,48 +17,49 @@ require 'date'
|
|
17
17
|
# Unit tests for PulpNpmClient::NpmNpmDistribution
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe
|
21
|
-
|
22
|
-
# run before each test
|
23
|
-
@instance = PulpNpmClient::NpmNpmDistribution.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
20
|
+
describe PulpNpmClient::NpmNpmDistribution do
|
21
|
+
let(:instance) { PulpNpmClient::NpmNpmDistribution.new }
|
29
22
|
|
30
23
|
describe 'test an instance of NpmNpmDistribution' do
|
31
24
|
it 'should create an instance of NpmNpmDistribution' do
|
32
|
-
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(PulpNpmClient::NpmNpmDistribution)
|
33
27
|
end
|
34
28
|
end
|
29
|
+
|
35
30
|
describe 'test attribute "base_path"' do
|
36
31
|
it 'should work' do
|
37
|
-
# assertion here. ref: https://
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
38
33
|
end
|
39
34
|
end
|
40
35
|
|
41
36
|
describe 'test attribute "content_guard"' do
|
42
37
|
it 'should work' do
|
43
|
-
# assertion here. ref: https://
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
describe 'test attribute "hidden"' do
|
43
|
+
it 'should work' do
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
44
45
|
end
|
45
46
|
end
|
46
47
|
|
47
48
|
describe 'test attribute "pulp_labels"' do
|
48
49
|
it 'should work' do
|
49
|
-
# assertion here. ref: https://
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
50
51
|
end
|
51
52
|
end
|
52
53
|
|
53
54
|
describe 'test attribute "name"' do
|
54
55
|
it 'should work' do
|
55
|
-
# assertion here. ref: https://
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
56
57
|
end
|
57
58
|
end
|
58
59
|
|
59
60
|
describe 'test attribute "repository"' do
|
60
61
|
it 'should work' do
|
61
|
-
# assertion here. ref: https://
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
62
63
|
end
|
63
64
|
end
|
64
65
|
|
@@ -0,0 +1,42 @@
|
|
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
|
+
Generator version: 7.10.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PulpNpmClient::NpmNpmRemoteResponseHiddenFieldsInner
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe PulpNpmClient::NpmNpmRemoteResponseHiddenFieldsInner do
|
21
|
+
let(:instance) { PulpNpmClient::NpmNpmRemoteResponseHiddenFieldsInner.new }
|
22
|
+
|
23
|
+
describe 'test an instance of NpmNpmRemoteResponseHiddenFieldsInner' do
|
24
|
+
it 'should create an instance of NpmNpmRemoteResponseHiddenFieldsInner' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(PulpNpmClient::NpmNpmRemoteResponseHiddenFieldsInner)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "name"' do
|
31
|
+
it 'should work' do
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
describe 'test attribute "is_set"' do
|
37
|
+
it 'should work' do
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
end
|
@@ -6,7 +6,7 @@
|
|
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
|
+
Generator version: 7.10.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -17,132 +17,139 @@ require 'date'
|
|
17
17
|
# Unit tests for PulpNpmClient::NpmNpmRemoteResponse
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe
|
21
|
-
|
22
|
-
# run before each test
|
23
|
-
@instance = PulpNpmClient::NpmNpmRemoteResponse.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
20
|
+
describe PulpNpmClient::NpmNpmRemoteResponse do
|
21
|
+
let(:instance) { PulpNpmClient::NpmNpmRemoteResponse.new }
|
29
22
|
|
30
23
|
describe 'test an instance of NpmNpmRemoteResponse' do
|
31
24
|
it 'should create an instance of NpmNpmRemoteResponse' do
|
32
|
-
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(PulpNpmClient::NpmNpmRemoteResponse)
|
33
27
|
end
|
34
28
|
end
|
29
|
+
|
35
30
|
describe 'test attribute "pulp_href"' do
|
36
31
|
it 'should work' do
|
37
|
-
# assertion here. ref: https://
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
describe 'test attribute "prn"' do
|
37
|
+
it 'should work' do
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
38
39
|
end
|
39
40
|
end
|
40
41
|
|
41
42
|
describe 'test attribute "pulp_created"' do
|
42
43
|
it 'should work' do
|
43
|
-
# assertion here. ref: https://
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
describe 'test attribute "pulp_last_updated"' do
|
49
|
+
it 'should work' do
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
44
51
|
end
|
45
52
|
end
|
46
53
|
|
47
54
|
describe 'test attribute "name"' do
|
48
55
|
it 'should work' do
|
49
|
-
# assertion here. ref: https://
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
50
57
|
end
|
51
58
|
end
|
52
59
|
|
53
60
|
describe 'test attribute "url"' do
|
54
61
|
it 'should work' do
|
55
|
-
# assertion here. ref: https://
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
56
63
|
end
|
57
64
|
end
|
58
65
|
|
59
66
|
describe 'test attribute "ca_cert"' do
|
60
67
|
it 'should work' do
|
61
|
-
# assertion here. ref: https://
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
62
69
|
end
|
63
70
|
end
|
64
71
|
|
65
72
|
describe 'test attribute "client_cert"' do
|
66
73
|
it 'should work' do
|
67
|
-
# assertion here. ref: https://
|
74
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
68
75
|
end
|
69
76
|
end
|
70
77
|
|
71
78
|
describe 'test attribute "tls_validation"' do
|
72
79
|
it 'should work' do
|
73
|
-
# assertion here. ref: https://
|
80
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
74
81
|
end
|
75
82
|
end
|
76
83
|
|
77
84
|
describe 'test attribute "proxy_url"' do
|
78
85
|
it 'should work' do
|
79
|
-
# assertion here. ref: https://
|
86
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
80
87
|
end
|
81
88
|
end
|
82
89
|
|
83
90
|
describe 'test attribute "pulp_labels"' do
|
84
91
|
it 'should work' do
|
85
|
-
# assertion here. ref: https://
|
86
|
-
end
|
87
|
-
end
|
88
|
-
|
89
|
-
describe 'test attribute "pulp_last_updated"' do
|
90
|
-
it 'should work' do
|
91
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
92
93
|
end
|
93
94
|
end
|
94
95
|
|
95
96
|
describe 'test attribute "download_concurrency"' do
|
96
97
|
it 'should work' do
|
97
|
-
# assertion here. ref: https://
|
98
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
98
99
|
end
|
99
100
|
end
|
100
101
|
|
101
102
|
describe 'test attribute "max_retries"' do
|
102
103
|
it 'should work' do
|
103
|
-
# assertion here. ref: https://
|
104
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
104
105
|
end
|
105
106
|
end
|
106
107
|
|
107
108
|
describe 'test attribute "policy"' do
|
108
109
|
it 'should work' do
|
109
|
-
# assertion here. ref: https://
|
110
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
110
111
|
end
|
111
112
|
end
|
112
113
|
|
113
114
|
describe 'test attribute "total_timeout"' do
|
114
115
|
it 'should work' do
|
115
|
-
# assertion here. ref: https://
|
116
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
116
117
|
end
|
117
118
|
end
|
118
119
|
|
119
120
|
describe 'test attribute "connect_timeout"' do
|
120
121
|
it 'should work' do
|
121
|
-
# assertion here. ref: https://
|
122
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
122
123
|
end
|
123
124
|
end
|
124
125
|
|
125
126
|
describe 'test attribute "sock_connect_timeout"' do
|
126
127
|
it 'should work' do
|
127
|
-
# assertion here. ref: https://
|
128
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
128
129
|
end
|
129
130
|
end
|
130
131
|
|
131
132
|
describe 'test attribute "sock_read_timeout"' do
|
132
133
|
it 'should work' do
|
133
|
-
# assertion here. ref: https://
|
134
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
134
135
|
end
|
135
136
|
end
|
136
137
|
|
137
138
|
describe 'test attribute "headers"' do
|
138
139
|
it 'should work' do
|
139
|
-
# assertion here. ref: https://
|
140
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
140
141
|
end
|
141
142
|
end
|
142
143
|
|
143
144
|
describe 'test attribute "rate_limit"' do
|
144
145
|
it 'should work' do
|
145
|
-
# assertion here. ref: https://
|
146
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
147
|
+
end
|
148
|
+
end
|
149
|
+
|
150
|
+
describe 'test attribute "hidden_fields"' do
|
151
|
+
it 'should work' do
|
152
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
146
153
|
end
|
147
154
|
end
|
148
155
|
|
@@ -6,7 +6,7 @@
|
|
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
|
+
Generator version: 7.10.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -17,144 +17,139 @@ require 'date'
|
|
17
17
|
# Unit tests for PulpNpmClient::NpmNpmRemote
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe
|
21
|
-
|
22
|
-
# run before each test
|
23
|
-
@instance = PulpNpmClient::NpmNpmRemote.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
20
|
+
describe PulpNpmClient::NpmNpmRemote do
|
21
|
+
let(:instance) { PulpNpmClient::NpmNpmRemote.new }
|
29
22
|
|
30
23
|
describe 'test an instance of NpmNpmRemote' do
|
31
24
|
it 'should create an instance of NpmNpmRemote' do
|
32
|
-
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(PulpNpmClient::NpmNpmRemote)
|
33
27
|
end
|
34
28
|
end
|
29
|
+
|
35
30
|
describe 'test attribute "name"' do
|
36
31
|
it 'should work' do
|
37
|
-
# assertion here. ref: https://
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
38
33
|
end
|
39
34
|
end
|
40
35
|
|
41
36
|
describe 'test attribute "url"' do
|
42
37
|
it 'should work' do
|
43
|
-
# assertion here. ref: https://
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
44
39
|
end
|
45
40
|
end
|
46
41
|
|
47
42
|
describe 'test attribute "ca_cert"' do
|
48
43
|
it 'should work' do
|
49
|
-
# assertion here. ref: https://
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
50
45
|
end
|
51
46
|
end
|
52
47
|
|
53
48
|
describe 'test attribute "client_cert"' do
|
54
49
|
it 'should work' do
|
55
|
-
# assertion here. ref: https://
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
56
51
|
end
|
57
52
|
end
|
58
53
|
|
59
54
|
describe 'test attribute "client_key"' do
|
60
55
|
it 'should work' do
|
61
|
-
# assertion here. ref: https://
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
62
57
|
end
|
63
58
|
end
|
64
59
|
|
65
60
|
describe 'test attribute "tls_validation"' do
|
66
61
|
it 'should work' do
|
67
|
-
# assertion here. ref: https://
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
68
63
|
end
|
69
64
|
end
|
70
65
|
|
71
66
|
describe 'test attribute "proxy_url"' do
|
72
67
|
it 'should work' do
|
73
|
-
# assertion here. ref: https://
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
74
69
|
end
|
75
70
|
end
|
76
71
|
|
77
72
|
describe 'test attribute "proxy_username"' do
|
78
73
|
it 'should work' do
|
79
|
-
# assertion here. ref: https://
|
74
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
80
75
|
end
|
81
76
|
end
|
82
77
|
|
83
78
|
describe 'test attribute "proxy_password"' do
|
84
79
|
it 'should work' do
|
85
|
-
# assertion here. ref: https://
|
80
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
86
81
|
end
|
87
82
|
end
|
88
83
|
|
89
84
|
describe 'test attribute "username"' do
|
90
85
|
it 'should work' do
|
91
|
-
# assertion here. ref: https://
|
86
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
92
87
|
end
|
93
88
|
end
|
94
89
|
|
95
90
|
describe 'test attribute "password"' do
|
96
91
|
it 'should work' do
|
97
|
-
# assertion here. ref: https://
|
92
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
98
93
|
end
|
99
94
|
end
|
100
95
|
|
101
96
|
describe 'test attribute "pulp_labels"' do
|
102
97
|
it 'should work' do
|
103
|
-
# assertion here. ref: https://
|
98
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
104
99
|
end
|
105
100
|
end
|
106
101
|
|
107
102
|
describe 'test attribute "download_concurrency"' do
|
108
103
|
it 'should work' do
|
109
|
-
# assertion here. ref: https://
|
104
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
110
105
|
end
|
111
106
|
end
|
112
107
|
|
113
108
|
describe 'test attribute "max_retries"' do
|
114
109
|
it 'should work' do
|
115
|
-
# assertion here. ref: https://
|
110
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
116
111
|
end
|
117
112
|
end
|
118
113
|
|
119
114
|
describe 'test attribute "policy"' do
|
120
115
|
it 'should work' do
|
121
|
-
# assertion here. ref: https://
|
116
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
122
117
|
end
|
123
118
|
end
|
124
119
|
|
125
120
|
describe 'test attribute "total_timeout"' do
|
126
121
|
it 'should work' do
|
127
|
-
# assertion here. ref: https://
|
122
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
128
123
|
end
|
129
124
|
end
|
130
125
|
|
131
126
|
describe 'test attribute "connect_timeout"' do
|
132
127
|
it 'should work' do
|
133
|
-
# assertion here. ref: https://
|
128
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
134
129
|
end
|
135
130
|
end
|
136
131
|
|
137
132
|
describe 'test attribute "sock_connect_timeout"' do
|
138
133
|
it 'should work' do
|
139
|
-
# assertion here. ref: https://
|
134
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
140
135
|
end
|
141
136
|
end
|
142
137
|
|
143
138
|
describe 'test attribute "sock_read_timeout"' do
|
144
139
|
it 'should work' do
|
145
|
-
# assertion here. ref: https://
|
140
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
146
141
|
end
|
147
142
|
end
|
148
143
|
|
149
144
|
describe 'test attribute "headers"' do
|
150
145
|
it 'should work' do
|
151
|
-
# assertion here. ref: https://
|
146
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
152
147
|
end
|
153
148
|
end
|
154
149
|
|
155
150
|
describe 'test attribute "rate_limit"' do
|
156
151
|
it 'should work' do
|
157
|
-
# assertion here. ref: https://
|
152
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
158
153
|
end
|
159
154
|
end
|
160
155
|
|