akeyless 3.1.2 → 3.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +13 -1
- data/docs/CreateAWSTarget.md +3 -1
- data/docs/CreateArtifactoryTarget.md +3 -1
- data/docs/CreateAzureTarget.md +3 -1
- data/docs/CreateDBTarget.md +3 -1
- data/docs/CreateDockerhubTarget.md +3 -1
- data/docs/CreateEKSTarget.md +3 -1
- data/docs/CreateEventForwarder.md +3 -1
- data/docs/CreateGKETarget.md +3 -1
- data/docs/CreateGcpTarget.md +3 -1
- data/docs/CreateGithubTarget.md +3 -1
- data/docs/CreateLdapTarget.md +3 -1
- data/docs/CreateNativeK8STarget.md +3 -1
- data/docs/CreatePingTarget.md +40 -0
- data/docs/CreatePingTargetOutput.md +18 -0
- data/docs/CreateRabbitMQTarget.md +3 -1
- data/docs/CreateRole.md +3 -1
- data/docs/CreateRotatedSecret.md +2 -0
- data/docs/CreateSSHTarget.md +3 -1
- data/docs/CreateSalesforceTarget.md +3 -1
- data/docs/CreateWebTarget.md +3 -1
- data/docs/DSProducerDetails.md +40 -0
- data/docs/GatewayCreateProducerEks.md +1 -1
- data/docs/GatewayCreateProducerPing.md +66 -0
- data/docs/GatewayCreateProducerPingOutput.md +18 -0
- data/docs/GatewayUpdateProducerEks.md +1 -1
- data/docs/GatewayUpdateProducerPing.md +68 -0
- data/docs/GatewayUpdateProducerPingOutput.md +18 -0
- data/docs/GetKubeExecCreds.md +5 -3
- data/docs/GetPKICertificate.md +5 -3
- data/docs/ImporterInfo.md +20 -0
- data/docs/ItemGeneralInfo.md +2 -0
- data/docs/RequestAccess.md +3 -1
- data/docs/SecureRemoteAccess.md +2 -0
- data/docs/TargetTypeDetailsInput.md +10 -0
- data/docs/UidCreateChildToken.md +3 -1
- data/docs/UpdateAWSTarget.md +3 -1
- data/docs/UpdateArtifactoryTarget.md +3 -1
- data/docs/UpdateAzureTarget.md +3 -1
- data/docs/UpdateDBTarget.md +3 -1
- data/docs/UpdateDockerhubTarget.md +3 -1
- data/docs/UpdateEKSTarget.md +3 -1
- data/docs/UpdateEventForwarder.md +3 -1
- data/docs/UpdateGKETarget.md +3 -1
- data/docs/UpdateGcpTarget.md +3 -1
- data/docs/UpdateGithubTarget.md +3 -1
- data/docs/UpdateLdapTarget.md +3 -1
- data/docs/UpdateNativeK8STarget.md +3 -1
- data/docs/UpdatePingTarget.md +46 -0
- data/docs/UpdateRabbitMQTarget.md +3 -1
- data/docs/UpdateRole.md +3 -1
- data/docs/UpdateRotatedSecret.md +2 -0
- data/docs/UpdateSSHTarget.md +3 -1
- data/docs/UpdateSalesforceTarget.md +3 -1
- data/docs/UpdateTarget.md +3 -1
- data/docs/UpdateWebTarget.md +3 -1
- data/docs/V2Api.md +252 -0
- data/lib/akeyless/api/v2_api.rb +256 -0
- data/lib/akeyless/models/create_artifactory_target.rb +12 -2
- data/lib/akeyless/models/create_aws_target.rb +12 -2
- data/lib/akeyless/models/create_azure_target.rb +12 -2
- data/lib/akeyless/models/create_db_target.rb +12 -2
- data/lib/akeyless/models/create_dockerhub_target.rb +12 -2
- data/lib/akeyless/models/create_eks_target.rb +12 -2
- data/lib/akeyless/models/create_event_forwarder.rb +12 -2
- data/lib/akeyless/models/create_gcp_target.rb +12 -2
- data/lib/akeyless/models/create_github_target.rb +12 -2
- data/lib/akeyless/models/create_gke_target.rb +12 -2
- data/lib/akeyless/models/create_ldap_target.rb +12 -2
- data/lib/akeyless/models/create_native_k8_s_target.rb +12 -2
- data/lib/akeyless/models/create_ping_target.rb +339 -0
- data/lib/akeyless/models/create_ping_target_output.rb +219 -0
- data/lib/akeyless/models/create_rabbit_mq_target.rb +12 -2
- data/lib/akeyless/models/create_role.rb +12 -2
- data/lib/akeyless/models/create_rotated_secret.rb +13 -1
- data/lib/akeyless/models/create_salesforce_target.rb +12 -2
- data/lib/akeyless/models/create_ssh_target.rb +12 -2
- data/lib/akeyless/models/create_web_target.rb +12 -2
- data/lib/akeyless/models/ds_producer_details.rb +196 -1
- data/lib/akeyless/models/gateway_create_producer_eks.rb +1 -1
- data/lib/akeyless/models/gateway_create_producer_ping.rb +482 -0
- data/lib/akeyless/models/gateway_create_producer_ping_output.rb +219 -0
- data/lib/akeyless/models/gateway_update_producer_eks.rb +1 -1
- data/lib/akeyless/models/gateway_update_producer_ping.rb +492 -0
- data/lib/akeyless/models/gateway_update_producer_ping_output.rb +219 -0
- data/lib/akeyless/models/get_kube_exec_creds.rb +14 -4
- data/lib/akeyless/models/get_pki_certificate.rb +14 -4
- data/lib/akeyless/models/importer_info.rb +228 -0
- data/lib/akeyless/models/item_general_info.rb +10 -1
- data/lib/akeyless/models/request_access.rb +12 -2
- data/lib/akeyless/models/secure_remote_access.rb +10 -1
- data/lib/akeyless/models/target_type_details_input.rb +46 -1
- data/lib/akeyless/models/uid_create_child_token.rb +12 -2
- data/lib/akeyless/models/update_artifactory_target.rb +12 -2
- data/lib/akeyless/models/update_aws_target.rb +12 -2
- data/lib/akeyless/models/update_azure_target.rb +12 -2
- data/lib/akeyless/models/update_db_target.rb +12 -2
- data/lib/akeyless/models/update_dockerhub_target.rb +12 -2
- data/lib/akeyless/models/update_eks_target.rb +12 -2
- data/lib/akeyless/models/update_event_forwarder.rb +14 -2
- data/lib/akeyless/models/update_gcp_target.rb +12 -2
- data/lib/akeyless/models/update_github_target.rb +12 -2
- data/lib/akeyless/models/update_gke_target.rb +12 -2
- data/lib/akeyless/models/update_ldap_target.rb +12 -2
- data/lib/akeyless/models/update_native_k8_s_target.rb +12 -2
- data/lib/akeyless/models/update_ping_target.rb +368 -0
- data/lib/akeyless/models/update_rabbit_mq_target.rb +12 -2
- data/lib/akeyless/models/update_role.rb +14 -2
- data/lib/akeyless/models/update_rotated_secret.rb +13 -1
- data/lib/akeyless/models/update_salesforce_target.rb +12 -2
- data/lib/akeyless/models/update_ssh_target.rb +12 -2
- data/lib/akeyless/models/update_target.rb +14 -2
- data/lib/akeyless/models/update_web_target.rb +12 -2
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +8 -0
- data/spec/models/create_ping_target_output_spec.rb +34 -0
- data/spec/models/create_ping_target_spec.rb +94 -0
- data/spec/models/gateway_create_producer_ping_output_spec.rb +34 -0
- data/spec/models/gateway_create_producer_ping_spec.rb +178 -0
- data/spec/models/gateway_update_producer_ping_output_spec.rb +34 -0
- data/spec/models/gateway_update_producer_ping_spec.rb +184 -0
- data/spec/models/importer_info_spec.rb +40 -0
- data/spec/models/update_ping_target_spec.rb +112 -0
- metadata +594 -562
@@ -15,13 +15,16 @@ require 'time'
|
|
15
15
|
|
16
16
|
module Akeyless
|
17
17
|
class UpdateTarget
|
18
|
+
# Description of the object
|
19
|
+
attr_accessor :description
|
20
|
+
|
18
21
|
# Set output format to JSON
|
19
22
|
attr_accessor :json
|
20
23
|
|
21
24
|
# Target name
|
22
25
|
attr_accessor :name
|
23
26
|
|
24
|
-
#
|
27
|
+
# Deprecated - use description
|
25
28
|
attr_accessor :new_comment
|
26
29
|
|
27
30
|
# New Target name
|
@@ -36,6 +39,7 @@ module Akeyless
|
|
36
39
|
# Attribute mapping from ruby-style variable name to JSON key.
|
37
40
|
def self.attribute_map
|
38
41
|
{
|
42
|
+
:'description' => :'description',
|
39
43
|
:'json' => :'json',
|
40
44
|
:'name' => :'name',
|
41
45
|
:'new_comment' => :'new-comment',
|
@@ -53,6 +57,7 @@ module Akeyless
|
|
53
57
|
# Attribute type mapping.
|
54
58
|
def self.openapi_types
|
55
59
|
{
|
60
|
+
:'description' => :'String',
|
56
61
|
:'json' => :'Boolean',
|
57
62
|
:'name' => :'String',
|
58
63
|
:'new_comment' => :'String',
|
@@ -83,6 +88,12 @@ module Akeyless
|
|
83
88
|
h[k.to_sym] = v
|
84
89
|
}
|
85
90
|
|
91
|
+
if attributes.key?(:'description')
|
92
|
+
self.description = attributes[:'description']
|
93
|
+
else
|
94
|
+
self.description = 'default_comment'
|
95
|
+
end
|
96
|
+
|
86
97
|
if attributes.key?(:'json')
|
87
98
|
self.json = attributes[:'json']
|
88
99
|
end
|
@@ -133,6 +144,7 @@ module Akeyless
|
|
133
144
|
def ==(o)
|
134
145
|
return true if self.equal?(o)
|
135
146
|
self.class == o.class &&
|
147
|
+
description == o.description &&
|
136
148
|
json == o.json &&
|
137
149
|
name == o.name &&
|
138
150
|
new_comment == o.new_comment &&
|
@@ -150,7 +162,7 @@ module Akeyless
|
|
150
162
|
# Calculates hash code according to all attributes.
|
151
163
|
# @return [Integer] Hash code
|
152
164
|
def hash
|
153
|
-
[json, name, new_comment, new_name, token, uid_token].hash
|
165
|
+
[description, json, name, new_comment, new_name, token, uid_token].hash
|
154
166
|
end
|
155
167
|
|
156
168
|
# Builds the object from hash
|
@@ -15,9 +15,12 @@ require 'time'
|
|
15
15
|
|
16
16
|
module Akeyless
|
17
17
|
class UpdateWebTarget
|
18
|
-
#
|
18
|
+
# Deprecated - use description
|
19
19
|
attr_accessor :comment
|
20
20
|
|
21
|
+
# Description of the object
|
22
|
+
attr_accessor :description
|
23
|
+
|
21
24
|
# Set output format to JSON
|
22
25
|
attr_accessor :json
|
23
26
|
|
@@ -48,6 +51,7 @@ module Akeyless
|
|
48
51
|
def self.attribute_map
|
49
52
|
{
|
50
53
|
:'comment' => :'comment',
|
54
|
+
:'description' => :'description',
|
51
55
|
:'json' => :'json',
|
52
56
|
:'keep_prev_version' => :'keep-prev-version',
|
53
57
|
:'key' => :'key',
|
@@ -69,6 +73,7 @@ module Akeyless
|
|
69
73
|
def self.openapi_types
|
70
74
|
{
|
71
75
|
:'comment' => :'String',
|
76
|
+
:'description' => :'String',
|
72
77
|
:'json' => :'Boolean',
|
73
78
|
:'keep_prev_version' => :'String',
|
74
79
|
:'key' => :'String',
|
@@ -106,6 +111,10 @@ module Akeyless
|
|
106
111
|
self.comment = attributes[:'comment']
|
107
112
|
end
|
108
113
|
|
114
|
+
if attributes.key?(:'description')
|
115
|
+
self.description = attributes[:'description']
|
116
|
+
end
|
117
|
+
|
109
118
|
if attributes.key?(:'json')
|
110
119
|
self.json = attributes[:'json']
|
111
120
|
end
|
@@ -167,6 +176,7 @@ module Akeyless
|
|
167
176
|
return true if self.equal?(o)
|
168
177
|
self.class == o.class &&
|
169
178
|
comment == o.comment &&
|
179
|
+
description == o.description &&
|
170
180
|
json == o.json &&
|
171
181
|
keep_prev_version == o.keep_prev_version &&
|
172
182
|
key == o.key &&
|
@@ -187,7 +197,7 @@ module Akeyless
|
|
187
197
|
# Calculates hash code according to all attributes.
|
188
198
|
# @return [Integer] Hash code
|
189
199
|
def hash
|
190
|
-
[comment, json, keep_prev_version, key, name, new_name, token, uid_token, update_version, url].hash
|
200
|
+
[comment, description, json, keep_prev_version, key, name, new_name, token, uid_token, update_version, url].hash
|
191
201
|
end
|
192
202
|
|
193
203
|
# Builds the object from hash
|
data/lib/akeyless/version.rb
CHANGED
data/lib/akeyless.rb
CHANGED
@@ -118,6 +118,8 @@ require 'akeyless/models/create_native_k8_s_target'
|
|
118
118
|
require 'akeyless/models/create_native_k8_s_target_output'
|
119
119
|
require 'akeyless/models/create_pki_cert_issuer'
|
120
120
|
require 'akeyless/models/create_pki_cert_issuer_output'
|
121
|
+
require 'akeyless/models/create_ping_target'
|
122
|
+
require 'akeyless/models/create_ping_target_output'
|
121
123
|
require 'akeyless/models/create_rabbit_mq_target'
|
122
124
|
require 'akeyless/models/create_rabbit_mq_target_output'
|
123
125
|
require 'akeyless/models/create_role'
|
@@ -239,6 +241,8 @@ require 'akeyless/models/gateway_create_producer_native_k8_s'
|
|
239
241
|
require 'akeyless/models/gateway_create_producer_native_k8_s_output'
|
240
242
|
require 'akeyless/models/gateway_create_producer_oracle_db'
|
241
243
|
require 'akeyless/models/gateway_create_producer_oracle_db_output'
|
244
|
+
require 'akeyless/models/gateway_create_producer_ping'
|
245
|
+
require 'akeyless/models/gateway_create_producer_ping_output'
|
242
246
|
require 'akeyless/models/gateway_create_producer_postgre_sql'
|
243
247
|
require 'akeyless/models/gateway_create_producer_postgre_sql_output'
|
244
248
|
require 'akeyless/models/gateway_create_producer_rabbit_mq'
|
@@ -327,6 +331,8 @@ require 'akeyless/models/gateway_update_producer_native_k8_s'
|
|
327
331
|
require 'akeyless/models/gateway_update_producer_native_k8_s_output'
|
328
332
|
require 'akeyless/models/gateway_update_producer_oracle_db'
|
329
333
|
require 'akeyless/models/gateway_update_producer_oracle_db_output'
|
334
|
+
require 'akeyless/models/gateway_update_producer_ping'
|
335
|
+
require 'akeyless/models/gateway_update_producer_ping_output'
|
330
336
|
require 'akeyless/models/gateway_update_producer_postgre_sql'
|
331
337
|
require 'akeyless/models/gateway_update_producer_postgre_sql_output'
|
332
338
|
require 'akeyless/models/gateway_update_producer_rabbit_mq'
|
@@ -372,6 +378,7 @@ require 'akeyless/models/gw_cluster_identity'
|
|
372
378
|
require 'akeyless/models/hashi_migration'
|
373
379
|
require 'akeyless/models/hashi_payload'
|
374
380
|
require 'akeyless/models/huawei_access_rules'
|
381
|
+
require 'akeyless/models/importer_info'
|
375
382
|
require 'akeyless/models/item'
|
376
383
|
require 'akeyless/models/item_general_info'
|
377
384
|
require 'akeyless/models/item_target_association'
|
@@ -570,6 +577,7 @@ require 'akeyless/models/update_native_k8_s_target_output'
|
|
570
577
|
require 'akeyless/models/update_output'
|
571
578
|
require 'akeyless/models/update_pki_cert_issuer'
|
572
579
|
require 'akeyless/models/update_pki_cert_issuer_output'
|
580
|
+
require 'akeyless/models/update_ping_target'
|
573
581
|
require 'akeyless/models/update_rdp_target_details'
|
574
582
|
require 'akeyless/models/update_rabbit_mq_target'
|
575
583
|
require 'akeyless/models/update_rabbit_mq_target_details'
|
@@ -0,0 +1,34 @@
|
|
1
|
+
=begin
|
2
|
+
#Akeyless API
|
3
|
+
|
4
|
+
#The purpose of this application is to provide access to Akeyless API.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 2.0
|
7
|
+
Contact: support@akeyless.io
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 6.3.0-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Akeyless::CreatePingTargetOutput
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe Akeyless::CreatePingTargetOutput do
|
21
|
+
let(:instance) { Akeyless::CreatePingTargetOutput.new }
|
22
|
+
|
23
|
+
describe 'test an instance of CreatePingTargetOutput' do
|
24
|
+
it 'should create an instance of CreatePingTargetOutput' do
|
25
|
+
expect(instance).to be_instance_of(Akeyless::CreatePingTargetOutput)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "target_id"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
end
|
@@ -0,0 +1,94 @@
|
|
1
|
+
=begin
|
2
|
+
#Akeyless API
|
3
|
+
|
4
|
+
#The purpose of this application is to provide access to Akeyless API.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 2.0
|
7
|
+
Contact: support@akeyless.io
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 6.3.0-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Akeyless::CreatePingTarget
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe Akeyless::CreatePingTarget do
|
21
|
+
let(:instance) { Akeyless::CreatePingTarget.new }
|
22
|
+
|
23
|
+
describe 'test an instance of CreatePingTarget' do
|
24
|
+
it 'should create an instance of CreatePingTarget' do
|
25
|
+
expect(instance).to be_instance_of(Akeyless::CreatePingTarget)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "administrative_port"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'test attribute "authorization_port"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
describe 'test attribute "comment"' do
|
41
|
+
it 'should work' do
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
describe 'test attribute "json"' do
|
47
|
+
it 'should work' do
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
describe 'test attribute "key"' do
|
53
|
+
it 'should work' do
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
describe 'test attribute "name"' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
describe 'test attribute "password"' do
|
65
|
+
it 'should work' do
|
66
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
describe 'test attribute "ping_url"' do
|
71
|
+
it 'should work' do
|
72
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
describe 'test attribute "privileged_user"' do
|
77
|
+
it 'should work' do
|
78
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
describe 'test attribute "token"' do
|
83
|
+
it 'should work' do
|
84
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
describe 'test attribute "uid_token"' do
|
89
|
+
it 'should work' do
|
90
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
end
|
@@ -0,0 +1,34 @@
|
|
1
|
+
=begin
|
2
|
+
#Akeyless API
|
3
|
+
|
4
|
+
#The purpose of this application is to provide access to Akeyless API.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 2.0
|
7
|
+
Contact: support@akeyless.io
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 6.3.0-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Akeyless::GatewayCreateProducerPingOutput
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe Akeyless::GatewayCreateProducerPingOutput do
|
21
|
+
let(:instance) { Akeyless::GatewayCreateProducerPingOutput.new }
|
22
|
+
|
23
|
+
describe 'test an instance of GatewayCreateProducerPingOutput' do
|
24
|
+
it 'should create an instance of GatewayCreateProducerPingOutput' do
|
25
|
+
expect(instance).to be_instance_of(Akeyless::GatewayCreateProducerPingOutput)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "producer_details"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
end
|
@@ -0,0 +1,178 @@
|
|
1
|
+
=begin
|
2
|
+
#Akeyless API
|
3
|
+
|
4
|
+
#The purpose of this application is to provide access to Akeyless API.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 2.0
|
7
|
+
Contact: support@akeyless.io
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 6.3.0-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Akeyless::GatewayCreateProducerPing
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe Akeyless::GatewayCreateProducerPing do
|
21
|
+
let(:instance) { Akeyless::GatewayCreateProducerPing.new }
|
22
|
+
|
23
|
+
describe 'test an instance of GatewayCreateProducerPing' do
|
24
|
+
it 'should create an instance of GatewayCreateProducerPing' do
|
25
|
+
expect(instance).to be_instance_of(Akeyless::GatewayCreateProducerPing)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "delete_protection"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'test attribute "json"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
describe 'test attribute "name"' do
|
41
|
+
it 'should work' do
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
describe 'test attribute "ping_administrative_port"' do
|
47
|
+
it 'should work' do
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
describe 'test attribute "ping_atm_id"' do
|
53
|
+
it 'should work' do
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
describe 'test attribute "ping_authorization_port"' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
describe 'test attribute "ping_cert_subject_dn"' do
|
65
|
+
it 'should work' do
|
66
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
describe 'test attribute "ping_client_authentication_type"' do
|
71
|
+
it 'should work' do
|
72
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
describe 'test attribute "ping_enforce_replay_prevention"' do
|
77
|
+
it 'should work' do
|
78
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
describe 'test attribute "ping_grant_types"' do
|
83
|
+
it 'should work' do
|
84
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
describe 'test attribute "ping_issuer_dn"' do
|
89
|
+
it 'should work' do
|
90
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
describe 'test attribute "ping_jwks"' do
|
95
|
+
it 'should work' do
|
96
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
describe 'test attribute "ping_jwks_url"' do
|
101
|
+
it 'should work' do
|
102
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
describe 'test attribute "ping_password"' do
|
107
|
+
it 'should work' do
|
108
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
112
|
+
describe 'test attribute "ping_privileged_user"' do
|
113
|
+
it 'should work' do
|
114
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
115
|
+
end
|
116
|
+
end
|
117
|
+
|
118
|
+
describe 'test attribute "ping_redirect_uris"' do
|
119
|
+
it 'should work' do
|
120
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
121
|
+
end
|
122
|
+
end
|
123
|
+
|
124
|
+
describe 'test attribute "ping_restricted_scopes"' do
|
125
|
+
it 'should work' do
|
126
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
127
|
+
end
|
128
|
+
end
|
129
|
+
|
130
|
+
describe 'test attribute "ping_signing_algo"' do
|
131
|
+
it 'should work' do
|
132
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
133
|
+
end
|
134
|
+
end
|
135
|
+
|
136
|
+
describe 'test attribute "ping_url"' do
|
137
|
+
it 'should work' do
|
138
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
139
|
+
end
|
140
|
+
end
|
141
|
+
|
142
|
+
describe 'test attribute "producer_encryption_key_name"' do
|
143
|
+
it 'should work' do
|
144
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
145
|
+
end
|
146
|
+
end
|
147
|
+
|
148
|
+
describe 'test attribute "tags"' do
|
149
|
+
it 'should work' do
|
150
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
154
|
+
describe 'test attribute "target_name"' do
|
155
|
+
it 'should work' do
|
156
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
157
|
+
end
|
158
|
+
end
|
159
|
+
|
160
|
+
describe 'test attribute "token"' do
|
161
|
+
it 'should work' do
|
162
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
163
|
+
end
|
164
|
+
end
|
165
|
+
|
166
|
+
describe 'test attribute "uid_token"' do
|
167
|
+
it 'should work' do
|
168
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
169
|
+
end
|
170
|
+
end
|
171
|
+
|
172
|
+
describe 'test attribute "user_ttl"' do
|
173
|
+
it 'should work' do
|
174
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
175
|
+
end
|
176
|
+
end
|
177
|
+
|
178
|
+
end
|
@@ -0,0 +1,34 @@
|
|
1
|
+
=begin
|
2
|
+
#Akeyless API
|
3
|
+
|
4
|
+
#The purpose of this application is to provide access to Akeyless API.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 2.0
|
7
|
+
Contact: support@akeyless.io
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 6.3.0-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Akeyless::GatewayUpdateProducerPingOutput
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe Akeyless::GatewayUpdateProducerPingOutput do
|
21
|
+
let(:instance) { Akeyless::GatewayUpdateProducerPingOutput.new }
|
22
|
+
|
23
|
+
describe 'test an instance of GatewayUpdateProducerPingOutput' do
|
24
|
+
it 'should create an instance of GatewayUpdateProducerPingOutput' do
|
25
|
+
expect(instance).to be_instance_of(Akeyless::GatewayUpdateProducerPingOutput)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "producer_details"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
end
|