akeyless 2.16.8 → 2.16.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +5 -1
- data/docs/Configure.md +5 -1
- data/docs/GatewayCreateMigration.md +22 -22
- data/docs/GatewayCreateProducerArtifactory.md +2 -0
- data/docs/GatewayCreateProducerAws.md +2 -0
- data/docs/GatewayCreateProducerAzure.md +2 -0
- data/docs/GatewayCreateProducerCassandra.md +2 -0
- data/docs/GatewayCreateProducerCertificateAutomation.md +2 -0
- data/docs/GatewayCreateProducerChef.md +2 -0
- data/docs/GatewayCreateProducerCustom.md +2 -0
- data/docs/GatewayCreateProducerDockerhub.md +2 -0
- data/docs/GatewayCreateProducerEks.md +2 -0
- data/docs/GatewayCreateProducerGcp.md +2 -0
- data/docs/GatewayCreateProducerGithub.md +2 -0
- data/docs/GatewayCreateProducerGke.md +2 -0
- data/docs/GatewayCreateProducerHanaDb.md +2 -0
- data/docs/GatewayCreateProducerLdap.md +2 -0
- data/docs/GatewayCreateProducerMSSQL.md +2 -0
- data/docs/GatewayCreateProducerMongo.md +2 -0
- data/docs/GatewayCreateProducerMySQL.md +2 -0
- data/docs/GatewayCreateProducerNativeK8S.md +2 -0
- data/docs/GatewayCreateProducerOracleDb.md +2 -0
- data/docs/GatewayCreateProducerPostgreSQL.md +2 -0
- data/docs/GatewayCreateProducerRabbitMQ.md +2 -0
- data/docs/GatewayCreateProducerRdp.md +2 -0
- data/docs/GatewayCreateProducerRedshift.md +2 -0
- data/docs/GatewayCreateProducerSnowflake.md +2 -0
- data/docs/GatewayDeleteMigration.md +1 -1
- data/docs/GatewayGetMigration.md +1 -1
- data/docs/GatewayStatusMigration.md +24 -0
- data/docs/GatewayUpdateItem.md +2 -0
- data/docs/GatewayUpdateMigration.md +25 -25
- data/docs/GatewayUpdateProducerArtifactory.md +2 -0
- data/docs/GatewayUpdateProducerAws.md +2 -0
- data/docs/GatewayUpdateProducerAzure.md +2 -0
- data/docs/GatewayUpdateProducerCassandra.md +2 -0
- data/docs/GatewayUpdateProducerCertificateAutomation.md +2 -0
- data/docs/GatewayUpdateProducerChef.md +2 -0
- data/docs/GatewayUpdateProducerCustom.md +2 -0
- data/docs/GatewayUpdateProducerDockerhub.md +2 -0
- data/docs/GatewayUpdateProducerEks.md +2 -0
- data/docs/GatewayUpdateProducerGcp.md +2 -0
- data/docs/GatewayUpdateProducerGithub.md +2 -0
- data/docs/GatewayUpdateProducerGke.md +2 -0
- data/docs/GatewayUpdateProducerHanaDb.md +2 -0
- data/docs/GatewayUpdateProducerLdap.md +2 -0
- data/docs/GatewayUpdateProducerMSSQL.md +2 -0
- data/docs/GatewayUpdateProducerMongo.md +2 -0
- data/docs/GatewayUpdateProducerMySQL.md +2 -0
- data/docs/GatewayUpdateProducerNativeK8S.md +2 -0
- data/docs/GatewayUpdateProducerOracleDb.md +2 -0
- data/docs/GatewayUpdateProducerPostgreSQL.md +2 -0
- data/docs/GatewayUpdateProducerRabbitMQ.md +2 -0
- data/docs/GatewayUpdateProducerRdp.md +2 -0
- data/docs/GatewayUpdateProducerRedshift.md +2 -0
- data/docs/GatewayUpdateProducerSnowflake.md +2 -0
- data/docs/GetKubeExecCreds.md +4 -0
- data/docs/GetPKICertificate.md +4 -0
- data/docs/GetSSHCertificate.md +4 -0
- data/docs/Item.md +2 -0
- data/docs/ItemGeneralInfo.md +2 -0
- data/docs/MigrationGeneral.md +2 -0
- data/docs/MigrationItems.md +24 -0
- data/docs/MigrationStatusReplyObj.md +36 -0
- data/docs/TargetTypeDetailsInput.md +2 -0
- data/docs/UpdateItem.md +2 -0
- data/docs/UploadRSA.md +2 -0
- data/docs/V2Api.md +64 -1
- data/lib/akeyless/api/v2_api.rb +64 -0
- data/lib/akeyless/models/configure.rb +24 -4
- data/lib/akeyless/models/gateway_create_migration.rb +22 -22
- data/lib/akeyless/models/gateway_create_producer_artifactory.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_aws.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_azure.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_cassandra.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_certificate_automation.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_chef.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_custom.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_dockerhub.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_eks.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_gcp.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_github.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_gke.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_hana_db.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_ldap.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_mongo.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_mssql.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_my_sql.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_native_k8_s.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_oracle_db.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_postgre_sql.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_rabbit_mq.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_rdp.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_redshift.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_snowflake.rb +11 -1
- data/lib/akeyless/models/gateway_delete_migration.rb +1 -1
- data/lib/akeyless/models/gateway_get_migration.rb +1 -0
- data/lib/akeyless/models/gateway_status_migration.rb +251 -0
- data/lib/akeyless/models/gateway_update_item.rb +11 -1
- data/lib/akeyless/models/gateway_update_migration.rb +33 -38
- data/lib/akeyless/models/gateway_update_producer_artifactory.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_aws.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_azure.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_cassandra.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_certificate_automation.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_chef.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_custom.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_dockerhub.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_eks.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_gcp.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_github.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_gke.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_hana_db.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_ldap.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_mongo.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_mssql.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_my_sql.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_native_k8_s.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_oracle_db.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_postgre_sql.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_rabbit_mq.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_rdp.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_redshift.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_snowflake.rb +11 -1
- data/lib/akeyless/models/get_kube_exec_creds.rb +21 -1
- data/lib/akeyless/models/get_pki_certificate.rb +21 -1
- data/lib/akeyless/models/get_ssh_certificate.rb +21 -1
- data/lib/akeyless/models/item.rb +10 -1
- data/lib/akeyless/models/item_general_info.rb +10 -1
- data/lib/akeyless/models/migration_general.rb +10 -1
- data/lib/akeyless/models/migration_items.rb +246 -0
- data/lib/akeyless/models/migration_status_reply_obj.rb +300 -0
- data/lib/akeyless/models/target_type_details_input.rb +10 -1
- data/lib/akeyless/models/update_item.rb +11 -1
- data/lib/akeyless/models/upload_rsa.rb +11 -1
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +3 -0
- data/spec/models/gateway_status_migration_spec.rb +52 -0
- data/spec/models/migration_items_spec.rb +52 -0
- data/spec/models/migration_status_reply_obj_spec.rb +88 -0
- metadata +511 -499
|
@@ -0,0 +1,300 @@
|
|
|
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.0.1-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'date'
|
|
14
|
+
require 'time'
|
|
15
|
+
|
|
16
|
+
module Akeyless
|
|
17
|
+
class MigrationStatusReplyObj
|
|
18
|
+
attr_accessor :duration_time
|
|
19
|
+
|
|
20
|
+
attr_accessor :last_status_message
|
|
21
|
+
|
|
22
|
+
attr_accessor :max_name_length
|
|
23
|
+
|
|
24
|
+
attr_accessor :max_value_length
|
|
25
|
+
|
|
26
|
+
attr_accessor :migration_id
|
|
27
|
+
|
|
28
|
+
attr_accessor :migration_items
|
|
29
|
+
|
|
30
|
+
attr_accessor :migration_name
|
|
31
|
+
|
|
32
|
+
attr_accessor :migration_state
|
|
33
|
+
|
|
34
|
+
attr_accessor :migration_type
|
|
35
|
+
|
|
36
|
+
attr_accessor :start_time
|
|
37
|
+
|
|
38
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
39
|
+
def self.attribute_map
|
|
40
|
+
{
|
|
41
|
+
:'duration_time' => :'duration_time',
|
|
42
|
+
:'last_status_message' => :'last_status_message',
|
|
43
|
+
:'max_name_length' => :'max_name_length',
|
|
44
|
+
:'max_value_length' => :'max_value_length',
|
|
45
|
+
:'migration_id' => :'migration_id',
|
|
46
|
+
:'migration_items' => :'migration_items',
|
|
47
|
+
:'migration_name' => :'migration_name',
|
|
48
|
+
:'migration_state' => :'migration_state',
|
|
49
|
+
:'migration_type' => :'migration_type',
|
|
50
|
+
:'start_time' => :'start_time'
|
|
51
|
+
}
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
# Returns all the JSON keys this model knows about
|
|
55
|
+
def self.acceptable_attributes
|
|
56
|
+
attribute_map.values
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
# Attribute type mapping.
|
|
60
|
+
def self.openapi_types
|
|
61
|
+
{
|
|
62
|
+
:'duration_time' => :'String',
|
|
63
|
+
:'last_status_message' => :'String',
|
|
64
|
+
:'max_name_length' => :'Integer',
|
|
65
|
+
:'max_value_length' => :'Integer',
|
|
66
|
+
:'migration_id' => :'String',
|
|
67
|
+
:'migration_items' => :'MigrationItems',
|
|
68
|
+
:'migration_name' => :'String',
|
|
69
|
+
:'migration_state' => :'String',
|
|
70
|
+
:'migration_type' => :'String',
|
|
71
|
+
:'start_time' => :'String'
|
|
72
|
+
}
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
# List of attributes with nullable: true
|
|
76
|
+
def self.openapi_nullable
|
|
77
|
+
Set.new([
|
|
78
|
+
])
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
# Initializes the object
|
|
82
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
83
|
+
def initialize(attributes = {})
|
|
84
|
+
if (!attributes.is_a?(Hash))
|
|
85
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Akeyless::MigrationStatusReplyObj` initialize method"
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
89
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
90
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
91
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Akeyless::MigrationStatusReplyObj`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
92
|
+
end
|
|
93
|
+
h[k.to_sym] = v
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
if attributes.key?(:'duration_time')
|
|
97
|
+
self.duration_time = attributes[:'duration_time']
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
if attributes.key?(:'last_status_message')
|
|
101
|
+
self.last_status_message = attributes[:'last_status_message']
|
|
102
|
+
end
|
|
103
|
+
|
|
104
|
+
if attributes.key?(:'max_name_length')
|
|
105
|
+
self.max_name_length = attributes[:'max_name_length']
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
if attributes.key?(:'max_value_length')
|
|
109
|
+
self.max_value_length = attributes[:'max_value_length']
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
if attributes.key?(:'migration_id')
|
|
113
|
+
self.migration_id = attributes[:'migration_id']
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
if attributes.key?(:'migration_items')
|
|
117
|
+
self.migration_items = attributes[:'migration_items']
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
if attributes.key?(:'migration_name')
|
|
121
|
+
self.migration_name = attributes[:'migration_name']
|
|
122
|
+
end
|
|
123
|
+
|
|
124
|
+
if attributes.key?(:'migration_state')
|
|
125
|
+
self.migration_state = attributes[:'migration_state']
|
|
126
|
+
end
|
|
127
|
+
|
|
128
|
+
if attributes.key?(:'migration_type')
|
|
129
|
+
self.migration_type = attributes[:'migration_type']
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
if attributes.key?(:'start_time')
|
|
133
|
+
self.start_time = attributes[:'start_time']
|
|
134
|
+
end
|
|
135
|
+
end
|
|
136
|
+
|
|
137
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
138
|
+
# @return Array for valid properties with the reasons
|
|
139
|
+
def list_invalid_properties
|
|
140
|
+
invalid_properties = Array.new
|
|
141
|
+
invalid_properties
|
|
142
|
+
end
|
|
143
|
+
|
|
144
|
+
# Check to see if the all the properties in the model are valid
|
|
145
|
+
# @return true if the model is valid
|
|
146
|
+
def valid?
|
|
147
|
+
true
|
|
148
|
+
end
|
|
149
|
+
|
|
150
|
+
# Checks equality by comparing each attribute.
|
|
151
|
+
# @param [Object] Object to be compared
|
|
152
|
+
def ==(o)
|
|
153
|
+
return true if self.equal?(o)
|
|
154
|
+
self.class == o.class &&
|
|
155
|
+
duration_time == o.duration_time &&
|
|
156
|
+
last_status_message == o.last_status_message &&
|
|
157
|
+
max_name_length == o.max_name_length &&
|
|
158
|
+
max_value_length == o.max_value_length &&
|
|
159
|
+
migration_id == o.migration_id &&
|
|
160
|
+
migration_items == o.migration_items &&
|
|
161
|
+
migration_name == o.migration_name &&
|
|
162
|
+
migration_state == o.migration_state &&
|
|
163
|
+
migration_type == o.migration_type &&
|
|
164
|
+
start_time == o.start_time
|
|
165
|
+
end
|
|
166
|
+
|
|
167
|
+
# @see the `==` method
|
|
168
|
+
# @param [Object] Object to be compared
|
|
169
|
+
def eql?(o)
|
|
170
|
+
self == o
|
|
171
|
+
end
|
|
172
|
+
|
|
173
|
+
# Calculates hash code according to all attributes.
|
|
174
|
+
# @return [Integer] Hash code
|
|
175
|
+
def hash
|
|
176
|
+
[duration_time, last_status_message, max_name_length, max_value_length, migration_id, migration_items, migration_name, migration_state, migration_type, start_time].hash
|
|
177
|
+
end
|
|
178
|
+
|
|
179
|
+
# Builds the object from hash
|
|
180
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
181
|
+
# @return [Object] Returns the model itself
|
|
182
|
+
def self.build_from_hash(attributes)
|
|
183
|
+
new.build_from_hash(attributes)
|
|
184
|
+
end
|
|
185
|
+
|
|
186
|
+
# Builds the object from hash
|
|
187
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
188
|
+
# @return [Object] Returns the model itself
|
|
189
|
+
def build_from_hash(attributes)
|
|
190
|
+
return nil unless attributes.is_a?(Hash)
|
|
191
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
192
|
+
self.class.openapi_types.each_pair do |key, type|
|
|
193
|
+
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
|
194
|
+
self.send("#{key}=", nil)
|
|
195
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
196
|
+
# check to ensure the input is an array given that the attribute
|
|
197
|
+
# is documented as an array but the input is not
|
|
198
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
199
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
200
|
+
end
|
|
201
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
202
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
|
203
|
+
end
|
|
204
|
+
end
|
|
205
|
+
|
|
206
|
+
self
|
|
207
|
+
end
|
|
208
|
+
|
|
209
|
+
# Deserializes the data based on type
|
|
210
|
+
# @param string type Data type
|
|
211
|
+
# @param string value Value to be deserialized
|
|
212
|
+
# @return [Object] Deserialized data
|
|
213
|
+
def _deserialize(type, value)
|
|
214
|
+
case type.to_sym
|
|
215
|
+
when :Time
|
|
216
|
+
Time.parse(value)
|
|
217
|
+
when :Date
|
|
218
|
+
Date.parse(value)
|
|
219
|
+
when :String
|
|
220
|
+
value.to_s
|
|
221
|
+
when :Integer
|
|
222
|
+
value.to_i
|
|
223
|
+
when :Float
|
|
224
|
+
value.to_f
|
|
225
|
+
when :Boolean
|
|
226
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
227
|
+
true
|
|
228
|
+
else
|
|
229
|
+
false
|
|
230
|
+
end
|
|
231
|
+
when :Object
|
|
232
|
+
# generic object (usually a Hash), return directly
|
|
233
|
+
value
|
|
234
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
235
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
236
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
237
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
238
|
+
k_type = Regexp.last_match[:k_type]
|
|
239
|
+
v_type = Regexp.last_match[:v_type]
|
|
240
|
+
{}.tap do |hash|
|
|
241
|
+
value.each do |k, v|
|
|
242
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
243
|
+
end
|
|
244
|
+
end
|
|
245
|
+
else # model
|
|
246
|
+
# models (e.g. Pet) or oneOf
|
|
247
|
+
klass = Akeyless.const_get(type)
|
|
248
|
+
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
249
|
+
end
|
|
250
|
+
end
|
|
251
|
+
|
|
252
|
+
# Returns the string representation of the object
|
|
253
|
+
# @return [String] String presentation of the object
|
|
254
|
+
def to_s
|
|
255
|
+
to_hash.to_s
|
|
256
|
+
end
|
|
257
|
+
|
|
258
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
259
|
+
# @return [Hash] Returns the object in the form of hash
|
|
260
|
+
def to_body
|
|
261
|
+
to_hash
|
|
262
|
+
end
|
|
263
|
+
|
|
264
|
+
# Returns the object in the form of hash
|
|
265
|
+
# @return [Hash] Returns the object in the form of hash
|
|
266
|
+
def to_hash
|
|
267
|
+
hash = {}
|
|
268
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
269
|
+
value = self.send(attr)
|
|
270
|
+
if value.nil?
|
|
271
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
272
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
273
|
+
end
|
|
274
|
+
|
|
275
|
+
hash[param] = _to_hash(value)
|
|
276
|
+
end
|
|
277
|
+
hash
|
|
278
|
+
end
|
|
279
|
+
|
|
280
|
+
# Outputs non-array value in the form of hash
|
|
281
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
282
|
+
# @param [Object] value Any valid value
|
|
283
|
+
# @return [Hash] Returns the value in the form of hash
|
|
284
|
+
def _to_hash(value)
|
|
285
|
+
if value.is_a?(Array)
|
|
286
|
+
value.compact.map { |v| _to_hash(v) }
|
|
287
|
+
elsif value.is_a?(Hash)
|
|
288
|
+
{}.tap do |hash|
|
|
289
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
290
|
+
end
|
|
291
|
+
elsif value.respond_to? :to_hash
|
|
292
|
+
value.to_hash
|
|
293
|
+
else
|
|
294
|
+
value
|
|
295
|
+
end
|
|
296
|
+
end
|
|
297
|
+
|
|
298
|
+
end
|
|
299
|
+
|
|
300
|
+
end
|
|
@@ -21,6 +21,8 @@ module Akeyless
|
|
|
21
21
|
|
|
22
22
|
attr_accessor :artifactory_base_url
|
|
23
23
|
|
|
24
|
+
attr_accessor :auth_flow
|
|
25
|
+
|
|
24
26
|
attr_accessor :aws_access_key_id
|
|
25
27
|
|
|
26
28
|
attr_accessor :aws_region
|
|
@@ -210,6 +212,7 @@ module Akeyless
|
|
|
210
212
|
:'artifactory_admin_apikey' => :'artifactory_admin_apikey',
|
|
211
213
|
:'artifactory_admin_username' => :'artifactory_admin_username',
|
|
212
214
|
:'artifactory_base_url' => :'artifactory_base_url',
|
|
215
|
+
:'auth_flow' => :'auth_flow',
|
|
213
216
|
:'aws_access_key_id' => :'aws_access_key_id',
|
|
214
217
|
:'aws_region' => :'aws_region',
|
|
215
218
|
:'aws_secret_access_key' => :'aws_secret_access_key',
|
|
@@ -311,6 +314,7 @@ module Akeyless
|
|
|
311
314
|
:'artifactory_admin_apikey' => :'String',
|
|
312
315
|
:'artifactory_admin_username' => :'String',
|
|
313
316
|
:'artifactory_base_url' => :'String',
|
|
317
|
+
:'auth_flow' => :'String',
|
|
314
318
|
:'aws_access_key_id' => :'String',
|
|
315
319
|
:'aws_region' => :'String',
|
|
316
320
|
:'aws_secret_access_key' => :'String',
|
|
@@ -434,6 +438,10 @@ module Akeyless
|
|
|
434
438
|
self.artifactory_base_url = attributes[:'artifactory_base_url']
|
|
435
439
|
end
|
|
436
440
|
|
|
441
|
+
if attributes.key?(:'auth_flow')
|
|
442
|
+
self.auth_flow = attributes[:'auth_flow']
|
|
443
|
+
end
|
|
444
|
+
|
|
437
445
|
if attributes.key?(:'aws_access_key_id')
|
|
438
446
|
self.aws_access_key_id = attributes[:'aws_access_key_id']
|
|
439
447
|
end
|
|
@@ -806,6 +814,7 @@ module Akeyless
|
|
|
806
814
|
artifactory_admin_apikey == o.artifactory_admin_apikey &&
|
|
807
815
|
artifactory_admin_username == o.artifactory_admin_username &&
|
|
808
816
|
artifactory_base_url == o.artifactory_base_url &&
|
|
817
|
+
auth_flow == o.auth_flow &&
|
|
809
818
|
aws_access_key_id == o.aws_access_key_id &&
|
|
810
819
|
aws_region == o.aws_region &&
|
|
811
820
|
aws_secret_access_key == o.aws_secret_access_key &&
|
|
@@ -904,7 +913,7 @@ module Akeyless
|
|
|
904
913
|
# Calculates hash code according to all attributes.
|
|
905
914
|
# @return [Integer] Hash code
|
|
906
915
|
def hash
|
|
907
|
-
[artifactory_admin_apikey, artifactory_admin_username, artifactory_base_url, aws_access_key_id, aws_region, aws_secret_access_key, aws_session_token, azure_client_id, azure_client_secret, azure_resource_group_name, azure_resource_name, azure_subscription_id, azure_tenant_id, ca_cert_data, ca_cert_name, chef_server_host_name, chef_server_key, chef_server_port, chef_server_url, chef_server_username, chef_skip_ssl, client_id, client_secret, db_host_name, db_name, db_port, db_pwd, db_server_certificates, db_server_name, db_user_name, eks_access_key_id, eks_cluster_ca_certificate, eks_cluster_endpoint, eks_cluster_name, eks_region, eks_secret_access_key, gcp_service_account_email, gcp_service_account_key, github_app_id, github_app_private_key, github_base_url, gke_cluster_ca_certificate, gke_cluster_endpoint, gke_cluster_name, gke_service_account_key, gke_service_account_name, host, k8s_bearer_token, k8s_cluster_ca_certificate, k8s_cluster_endpoint, ldap_audience, ldap_bind_dn, ldap_bind_password, ldap_certificate, ldap_token_expiration, ldap_url, mongodb_atlas_api_private_key, mongodb_atlas_api_public_key, mongodb_atlas_project_id, mongodb_db_name, mongodb_default_auth_db, mongodb_host_port, mongodb_is_atlas, mongodb_password, mongodb_uri_connection, mongodb_uri_options, mongodb_username, password, payload, port, private_key, private_key_password, rabbitmq_server_password, rabbitmq_server_uri, rabbitmq_server_user, security_token, sf_account, ssl_connection_certificate, ssl_connection_mode, tenant_url, url, use_gw_cloud_identity, user_name, username, venafi_api_key, venafi_base_url, venafi_tpp_password, venafi_tpp_username, venafi_use_tpp, venafi_zone].hash
|
|
916
|
+
[artifactory_admin_apikey, artifactory_admin_username, artifactory_base_url, auth_flow, aws_access_key_id, aws_region, aws_secret_access_key, aws_session_token, azure_client_id, azure_client_secret, azure_resource_group_name, azure_resource_name, azure_subscription_id, azure_tenant_id, ca_cert_data, ca_cert_name, chef_server_host_name, chef_server_key, chef_server_port, chef_server_url, chef_server_username, chef_skip_ssl, client_id, client_secret, db_host_name, db_name, db_port, db_pwd, db_server_certificates, db_server_name, db_user_name, eks_access_key_id, eks_cluster_ca_certificate, eks_cluster_endpoint, eks_cluster_name, eks_region, eks_secret_access_key, gcp_service_account_email, gcp_service_account_key, github_app_id, github_app_private_key, github_base_url, gke_cluster_ca_certificate, gke_cluster_endpoint, gke_cluster_name, gke_service_account_key, gke_service_account_name, host, k8s_bearer_token, k8s_cluster_ca_certificate, k8s_cluster_endpoint, ldap_audience, ldap_bind_dn, ldap_bind_password, ldap_certificate, ldap_token_expiration, ldap_url, mongodb_atlas_api_private_key, mongodb_atlas_api_public_key, mongodb_atlas_project_id, mongodb_db_name, mongodb_default_auth_db, mongodb_host_port, mongodb_is_atlas, mongodb_password, mongodb_uri_connection, mongodb_uri_options, mongodb_username, password, payload, port, private_key, private_key_password, rabbitmq_server_password, rabbitmq_server_uri, rabbitmq_server_user, security_token, sf_account, ssl_connection_certificate, ssl_connection_mode, tenant_url, url, use_gw_cloud_identity, user_name, username, venafi_api_key, venafi_base_url, venafi_tpp_password, venafi_tpp_username, venafi_use_tpp, venafi_zone].hash
|
|
908
917
|
end
|
|
909
918
|
|
|
910
919
|
# Builds the object from hash
|
|
@@ -18,6 +18,9 @@ module Akeyless
|
|
|
18
18
|
# List of the new tags that will be attached to this item
|
|
19
19
|
attr_accessor :add_tag
|
|
20
20
|
|
|
21
|
+
# PEM Certificate in a Base64 format. Used for updating RSA keys' certificates.
|
|
22
|
+
attr_accessor :cert_file_data
|
|
23
|
+
|
|
21
24
|
attr_accessor :delete_protection
|
|
22
25
|
|
|
23
26
|
# Current item name
|
|
@@ -90,6 +93,7 @@ module Akeyless
|
|
|
90
93
|
def self.attribute_map
|
|
91
94
|
{
|
|
92
95
|
:'add_tag' => :'add-tag',
|
|
96
|
+
:'cert_file_data' => :'cert-file-data',
|
|
93
97
|
:'delete_protection' => :'delete_protection',
|
|
94
98
|
:'name' => :'name',
|
|
95
99
|
:'new_metadata' => :'new-metadata',
|
|
@@ -133,6 +137,7 @@ module Akeyless
|
|
|
133
137
|
def self.openapi_types
|
|
134
138
|
{
|
|
135
139
|
:'add_tag' => :'Array<String>',
|
|
140
|
+
:'cert_file_data' => :'String',
|
|
136
141
|
:'delete_protection' => :'String',
|
|
137
142
|
:'name' => :'String',
|
|
138
143
|
:'new_metadata' => :'String',
|
|
@@ -194,6 +199,10 @@ module Akeyless
|
|
|
194
199
|
end
|
|
195
200
|
end
|
|
196
201
|
|
|
202
|
+
if attributes.key?(:'cert_file_data')
|
|
203
|
+
self.cert_file_data = attributes[:'cert_file_data']
|
|
204
|
+
end
|
|
205
|
+
|
|
197
206
|
if attributes.key?(:'delete_protection')
|
|
198
207
|
self.delete_protection = attributes[:'delete_protection']
|
|
199
208
|
end
|
|
@@ -353,6 +362,7 @@ module Akeyless
|
|
|
353
362
|
return true if self.equal?(o)
|
|
354
363
|
self.class == o.class &&
|
|
355
364
|
add_tag == o.add_tag &&
|
|
365
|
+
cert_file_data == o.cert_file_data &&
|
|
356
366
|
delete_protection == o.delete_protection &&
|
|
357
367
|
name == o.name &&
|
|
358
368
|
new_metadata == o.new_metadata &&
|
|
@@ -395,7 +405,7 @@ module Akeyless
|
|
|
395
405
|
# Calculates hash code according to all attributes.
|
|
396
406
|
# @return [Integer] Hash code
|
|
397
407
|
def hash
|
|
398
|
-
[add_tag, delete_protection, name, new_metadata, new_name, rm_tag, secure_access_add_host, secure_access_allow_external_user, secure_access_allow_port_forwading, secure_access_aws_account_id, secure_access_aws_native_cli, secure_access_aws_region, secure_access_bastion_api, secure_access_bastion_issuer, secure_access_bastion_ssh, secure_access_cluster_endpoint, secure_access_dashboard_url, secure_access_db_name, secure_access_db_schema, secure_access_enable, secure_access_host, secure_access_rdp_domain, secure_access_rdp_user, secure_access_rm_host, secure_access_ssh_creds, secure_access_ssh_creds_user, secure_access_url, secure_access_use_internal_bastion, secure_access_web_browsing, secure_access_web_proxy, token, uid_token].hash
|
|
408
|
+
[add_tag, cert_file_data, delete_protection, name, new_metadata, new_name, rm_tag, secure_access_add_host, secure_access_allow_external_user, secure_access_allow_port_forwading, secure_access_aws_account_id, secure_access_aws_native_cli, secure_access_aws_region, secure_access_bastion_api, secure_access_bastion_issuer, secure_access_bastion_ssh, secure_access_cluster_endpoint, secure_access_dashboard_url, secure_access_db_name, secure_access_db_schema, secure_access_enable, secure_access_host, secure_access_rdp_domain, secure_access_rdp_user, secure_access_rm_host, secure_access_ssh_creds, secure_access_ssh_creds_user, secure_access_url, secure_access_use_internal_bastion, secure_access_web_browsing, secure_access_web_proxy, token, uid_token].hash
|
|
399
409
|
end
|
|
400
410
|
|
|
401
411
|
# Builds the object from hash
|
|
@@ -33,6 +33,9 @@ module Akeyless
|
|
|
33
33
|
# Name of key to be created
|
|
34
34
|
attr_accessor :name
|
|
35
35
|
|
|
36
|
+
# When the overwrite flag is set, this command will only update an existing key. [true, false]
|
|
37
|
+
attr_accessor :overwrite
|
|
38
|
+
|
|
36
39
|
# RSA private key data, base64 encoded
|
|
37
40
|
attr_accessor :rsa_file_data
|
|
38
41
|
|
|
@@ -57,6 +60,7 @@ module Akeyless
|
|
|
57
60
|
:'delete_protection' => :'delete_protection',
|
|
58
61
|
:'metadata' => :'metadata',
|
|
59
62
|
:'name' => :'name',
|
|
63
|
+
:'overwrite' => :'overwrite',
|
|
60
64
|
:'rsa_file_data' => :'rsa-file-data',
|
|
61
65
|
:'split_level' => :'split-level',
|
|
62
66
|
:'tag' => :'tag',
|
|
@@ -79,6 +83,7 @@ module Akeyless
|
|
|
79
83
|
:'delete_protection' => :'String',
|
|
80
84
|
:'metadata' => :'String',
|
|
81
85
|
:'name' => :'String',
|
|
86
|
+
:'overwrite' => :'String',
|
|
82
87
|
:'rsa_file_data' => :'String',
|
|
83
88
|
:'split_level' => :'Integer',
|
|
84
89
|
:'tag' => :'Array<String>',
|
|
@@ -132,6 +137,10 @@ module Akeyless
|
|
|
132
137
|
self.name = attributes[:'name']
|
|
133
138
|
end
|
|
134
139
|
|
|
140
|
+
if attributes.key?(:'overwrite')
|
|
141
|
+
self.overwrite = attributes[:'overwrite']
|
|
142
|
+
end
|
|
143
|
+
|
|
135
144
|
if attributes.key?(:'rsa_file_data')
|
|
136
145
|
self.rsa_file_data = attributes[:'rsa_file_data']
|
|
137
146
|
end
|
|
@@ -191,6 +200,7 @@ module Akeyless
|
|
|
191
200
|
delete_protection == o.delete_protection &&
|
|
192
201
|
metadata == o.metadata &&
|
|
193
202
|
name == o.name &&
|
|
203
|
+
overwrite == o.overwrite &&
|
|
194
204
|
rsa_file_data == o.rsa_file_data &&
|
|
195
205
|
split_level == o.split_level &&
|
|
196
206
|
tag == o.tag &&
|
|
@@ -207,7 +217,7 @@ module Akeyless
|
|
|
207
217
|
# Calculates hash code according to all attributes.
|
|
208
218
|
# @return [Integer] Hash code
|
|
209
219
|
def hash
|
|
210
|
-
[alg, cert_file_data, customer_frg_id, delete_protection, metadata, name, rsa_file_data, split_level, tag, token, uid_token].hash
|
|
220
|
+
[alg, cert_file_data, customer_frg_id, delete_protection, metadata, name, overwrite, rsa_file_data, split_level, tag, token, uid_token].hash
|
|
211
221
|
end
|
|
212
222
|
|
|
213
223
|
# Builds the object from hash
|
data/lib/akeyless/version.rb
CHANGED
data/lib/akeyless.rb
CHANGED
|
@@ -254,6 +254,7 @@ require 'akeyless/models/gateway_migration_update_output'
|
|
|
254
254
|
require 'akeyless/models/gateway_revoke_tmp_users'
|
|
255
255
|
require 'akeyless/models/gateway_start_producer'
|
|
256
256
|
require 'akeyless/models/gateway_start_producer_output'
|
|
257
|
+
require 'akeyless/models/gateway_status_migration'
|
|
257
258
|
require 'akeyless/models/gateway_stop_producer'
|
|
258
259
|
require 'akeyless/models/gateway_stop_producer_output'
|
|
259
260
|
require 'akeyless/models/gateway_sync_migration'
|
|
@@ -395,7 +396,9 @@ require 'akeyless/models/log_forwarding_config_part'
|
|
|
395
396
|
require 'akeyless/models/logstash_log_forwarding_config'
|
|
396
397
|
require 'akeyless/models/logz_io_log_forwarding_config'
|
|
397
398
|
require 'akeyless/models/migration_general'
|
|
399
|
+
require 'akeyless/models/migration_items'
|
|
398
400
|
require 'akeyless/models/migration_status'
|
|
401
|
+
require 'akeyless/models/migration_status_reply_obj'
|
|
399
402
|
require 'akeyless/models/migrations_config_last_change'
|
|
400
403
|
require 'akeyless/models/migrations_config_part'
|
|
401
404
|
require 'akeyless/models/move_objects'
|
|
@@ -0,0 +1,52 @@
|
|
|
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.0.1-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Akeyless::GatewayStatusMigration
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Akeyless::GatewayStatusMigration do
|
|
21
|
+
let(:instance) { Akeyless::GatewayStatusMigration.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of GatewayStatusMigration' do
|
|
24
|
+
it 'should create an instance of GatewayStatusMigration' do
|
|
25
|
+
expect(instance).to be_instance_of(Akeyless::GatewayStatusMigration)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
describe 'test attribute "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
|
+
describe 'test attribute "name"' 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 "token"' 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 "uid_token"' 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
|
+
end
|
|
@@ -0,0 +1,52 @@
|
|
|
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.0.1-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Akeyless::MigrationItems
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Akeyless::MigrationItems do
|
|
21
|
+
let(:instance) { Akeyless::MigrationItems.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of MigrationItems' do
|
|
24
|
+
it 'should create an instance of MigrationItems' do
|
|
25
|
+
expect(instance).to be_instance_of(Akeyless::MigrationItems)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
describe 'test attribute "failed"' 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 "migrated"' 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 "skipped"' 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 "total"' 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
|
+
end
|
|
@@ -0,0 +1,88 @@
|
|
|
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.0.1-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Akeyless::MigrationStatusReplyObj
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Akeyless::MigrationStatusReplyObj do
|
|
21
|
+
let(:instance) { Akeyless::MigrationStatusReplyObj.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of MigrationStatusReplyObj' do
|
|
24
|
+
it 'should create an instance of MigrationStatusReplyObj' do
|
|
25
|
+
expect(instance).to be_instance_of(Akeyless::MigrationStatusReplyObj)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
describe 'test attribute "duration_time"' 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 "last_status_message"' 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 "max_name_length"' 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 "max_value_length"' 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 "migration_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 "migration_items"' 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 "migration_name"' 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 "migration_state"' 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 "migration_type"' 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 "start_time"' 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
|
+
end
|